summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtomasz@chromium.org <mtomasz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-17 05:14:30 +0000
committermtomasz@chromium.org <mtomasz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-17 05:14:30 +0000
commit6abb205bf9865a2413081afc6a4e2b6580f91bb3 (patch)
tree6c314cde88a2b833ade458125a22b0cfd34594ff
parentd7be70e77c11b90baafe94d432340988fd70ceb5 (diff)
downloadchromium_src-6abb205bf9865a2413081afc6a4e2b6580f91bb3.zip
chromium_src-6abb205bf9865a2413081afc6a4e2b6580f91bb3.tar.gz
chromium_src-6abb205bf9865a2413081afc6a4e2b6580f91bb3.tar.bz2
Fixed css for selected buttons in Files.app's photo editor.
Icons were not being changed to inverted ones when pressing the buttons, as a result icons were white on almost white backgroud. This patch fixes this issue. Undo and redo buttons are not fixed yet because of missing entities. TEST=Enter Files.app, edit a picture, click on buttons and observe if icons changes (try the rotate left button). BUG=170288 Review URL: https://chromiumcodereview.appspot.com/11946011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177355 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/resources/file_manager/css/gallery.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/resources/file_manager/css/gallery.css b/chrome/browser/resources/file_manager/css/gallery.css
index cca99e4..5c60e48 100644
--- a/chrome/browser/resources/file_manager/css/gallery.css
+++ b/chrome/browser/resources/file_manager/css/gallery.css
@@ -576,6 +576,7 @@ body {
url('../images/gallery/2x/icon_autofix.png') 2x);
}
+.gallery > .toolbar button.autofix:active,
.gallery > .toolbar button.autofix[pressed] {
background-image: -webkit-image-set(
url('../images/gallery/icon_autofix_selected.png') 1x,
@@ -588,6 +589,7 @@ body {
url('../images/gallery/2x/icon_crop.png') 2x);
}
+.gallery > .toolbar button.crop:active,
.gallery > .toolbar button.crop[pressed] {
background-image: -webkit-image-set(
url('../images/gallery/icon_crop_selected.png') 1x,
@@ -600,6 +602,7 @@ body {
url('../images/gallery/2x/icon_brightness.png') 2x);
}
+.gallery > .toolbar button.exposure:active,
.gallery > .toolbar button.exposure[pressed] {
background-image: -webkit-image-set(
url('../images/gallery/icon_brightness_selected.png') 1x,
@@ -612,6 +615,7 @@ body {
url('../images/gallery/2x/icon_rotate.png') 2x);
}
+.gallery > .toolbar button.rotate_right:active,
.gallery > .toolbar button.rotate_right[pressed] {
background-image: -webkit-image-set(
url('../images/gallery/icon_rotate_selected.png') 1x,
@@ -624,6 +628,7 @@ body {
url('../images/gallery/2x/icon_rotate_left.png') 2x);
}
+.gallery > .toolbar button.rotate_left:active,
.gallery > .toolbar button.rotate_left[pressed] {
background-image: -webkit-image-set(
url('../images/gallery/icon_rotate_left_selected.png') 1x,