From 0b78db47500f6a95640ef3a901148fd326e57de5 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Fri, 4 Oct 2013 20:21:36 +0300 Subject: [PATCH 1/4] fix disabled buttons not showing icons --- core/css/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/css/styles.css b/core/css/styles.css index 481fb6d5f3..f0b5b448dd 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -113,7 +113,7 @@ input:disabled, input:disabled:hover, input:disabled:focus, button:disabled, button:disabled:hover, button:disabled:focus, .button:disabled, .button:disabled:hover, .button:disabled:focus, a.disabled, a.disabled:hover, a.disabled:focus { - background: rgba(230,230,230,.9); + background-color: rgba(230,230,230,.9); color: #999; cursor: default; } From 2166d99b5355eb0b24cb3280fc3c42d2c496799d Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Fri, 4 Oct 2013 20:24:07 +0300 Subject: [PATCH 2/4] prevent hover effect when settings are open --- core/css/apps.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/css/apps.css b/core/css/apps.css index f6c20e6cc6..43f366975e 100644 --- a/core/css/apps.css +++ b/core/css/apps.css @@ -203,9 +203,14 @@ border: 0; border-radius: 0; } -.settings-button:hover { +.settings-button:hover, +.settings-button:focus { background-color: #ddd; } +.settings-button.opened:hover, +.settings-button.opened:focus { + background-color: transparent; +} /* icons */ .folder-icon, .delete-icon, .edit-icon, .progress-icon { From fcb9b49d1fc3f900ccc58ee2b2854c22e9452d1b Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Fri, 4 Oct 2013 20:25:18 +0300 Subject: [PATCH 3/4] increase font size of file actions for better readability --- apps/files/css/files.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/files/css/files.css b/apps/files/css/files.css index 138b15db04..70ce4963fb 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -234,9 +234,8 @@ table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; } /* File actions */ .fileactions { position: absolute; - top: 16px; + top: 14px; right: 0; - font-size: 11px; } #fileList tr:hover .fileactions { /* background to distinguish when overlaying with file names */ background-color: rgba(240,240,240,0.898); @@ -246,7 +245,6 @@ table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; } background-color: rgba(230,230,230,.9); box-shadow: -5px 0 7px rgba(230,230,230,.9); } -#fileList .fileactions a.action img { position:relative; top:.2em; } #fileList img.move2trash { display:inline; margin:-.5em 0; padding:1em .5em 1em .5em !important; float:right; } #fileList a.action.delete { From 1cae6661dfe7b4d4753c9665a056c7ebc2ad133f Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Fri, 4 Oct 2013 20:27:01 +0300 Subject: [PATCH 4/4] add useful icon from News app to core --- core/img/actions/checkmark.png | Bin 0 -> 303 bytes core/img/actions/checkmark.svg | 4 ++++ core/img/actions/star.png | Bin 0 -> 640 bytes core/img/actions/star.svg | 14 ++++++++++++++ core/img/actions/starred.png | Bin 0 -> 566 bytes core/img/actions/starred.svg | 14 ++++++++++++++ 6 files changed, 32 insertions(+) create mode 100644 core/img/actions/checkmark.png create mode 100644 core/img/actions/checkmark.svg create mode 100644 core/img/actions/star.png create mode 100644 core/img/actions/star.svg create mode 100644 core/img/actions/starred.png create mode 100644 core/img/actions/starred.svg diff --git a/core/img/actions/checkmark.png b/core/img/actions/checkmark.png new file mode 100644 index 0000000000000000000000000000000000000000..99a4019c69e1203874fca4a24e4d1697f583663d GIT binary patch literal 303 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4(>-0(E2dlz%1lOWI)Fn2H}@Cme0*j;LmbgqqC6l?cGBcJ{0e)lb=|fy1)l9QRfojAZ`Pd%XF*Xp>-__JT93+Wt@JST1%_sQFlvwA6Z4 sZ<{T7D^hclYaZ^^S)*C__xKhzTU*|jw{{;&0=k>Q)78&qol`;+0IZF5kpKVy literal 0 HcmV?d00001 diff --git a/core/img/actions/checkmark.svg b/core/img/actions/checkmark.svg new file mode 100644 index 0000000000..f70a407c2e --- /dev/null +++ b/core/img/actions/checkmark.svg @@ -0,0 +1,4 @@ +image/svg+xml + + + diff --git a/core/img/actions/star.png b/core/img/actions/star.png new file mode 100644 index 0000000000000000000000000000000000000000..124ce495af6da4d852987bd272b8432a671b0332 GIT binary patch literal 640 zcmV-`0)PF9P)jUEl{{`&5Pl1aA(sI3CkB<$Ov|gf(tXgK~wzs#Z zy4~)yb8b4%^O=MHw4@o}DKK8h+cUG5K0TVi?|;97 literal 0 HcmV?d00001 diff --git a/core/img/actions/star.svg b/core/img/actions/star.svg new file mode 100644 index 0000000000..7bcd8dc059 --- /dev/null +++ b/core/img/actions/star.svg @@ -0,0 +1,14 @@ + + + + + image/svg+xml + + + + + + + + + diff --git a/core/img/actions/starred.png b/core/img/actions/starred.png new file mode 100644 index 0000000000000000000000000000000000000000..5185d0f53819d869d83587d29ea889fcd0bd1a1a GIT binary patch literal 566 zcmV-60?GY}P)UCEw4V8?lJqo;XLR2hywm5WeuaMP1~%t@VE~saS;;kJ z{J{L5kv7Mwd5yFfsdNYT5FM+}Q^MVib}QqOFpb(Cp-aLI^)$29$7PHQPjToUpLSX_Qc8yG)Ya0Iz-42G4^cf92%Z7$&2Thtt-?y3DUg?j~W7&evd%oO%5g76SWKyt!ZdjI!|!z7xxujY6K3S(*3K10F- ztcmJASD&WPBaEu2xr(n + + + + image/svg+xml + + + + + + + + +