Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(874)

Unified Diff: ui/file_manager/gallery/css/gallery.css

Issue 2400613002: Fix some accessibility issues in image editing. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/gallery/css/gallery.css
diff --git a/ui/file_manager/gallery/css/gallery.css b/ui/file_manager/gallery/css/gallery.css
index 1863a16c99fae4b3daa5384cf2166b2856ed7a65..3e977c0436dc2056852194c1b313ec695580422c 100644
--- a/ui/file_manager/gallery/css/gallery.css
+++ b/ui/file_manager/gallery/css/gallery.css
@@ -821,19 +821,20 @@ button[disabled] {
.edit-modal-wrapper .container {
justify-content: center;
+ left: 0;
+ position: absolute;
+ top: 0;
}
.edit-modal-wrapper .action-buttons {
justify-content: flex-end;
- left: 0;
- position: absolute;
- top: 0;
}
.edit-modal button.edit-toolbar {
background: transparent;
border: 0 none;
border-image: none;
+ border-radius: 2px;
box-sizing: border-box;
color: white;
min-width: 0;
@@ -841,6 +842,10 @@ button[disabled] {
position: relative;
}
+.edit-modal button.edit-toolbar:focus {
+ background-color: rgba(255, 255, 255, 0.12);
oka 2016/10/06 09:11:55 Should we use rgba(0, 0, 0, 0.3) for consistency?
fukino 2016/10/06 14:34:30 The background of this button is darker, so (0, 0,
+}
+
.edit-modal button.edit-toolbar .icon {
display: none;
}

Powered by Google App Engine
This is Rietveld 408576698