From 6abb205bf9865a2413081afc6a4e2b6580f91bb3 Mon Sep 17 00:00:00 2001 From: "mtomasz@chromium.org" Date: Thu, 17 Jan 2013 05:14:30 +0000 Subject: 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 --- chrome/browser/resources/file_manager/css/gallery.css | 5 +++++ 1 file changed, 5 insertions(+) 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, -- cgit v1.1