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

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

Issue 403723002: Gallery: Match the color of selection UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | ui/file_manager/gallery/js/slide_mode.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 94dee82d09d18b177bedd680489d7aa35b631a51..2e1e522be656de457deef4bb74659801e22159c4 100644
--- a/ui/file_manager/gallery/css/gallery.css
+++ b/ui/file_manager/gallery/css/gallery.css
@@ -9,6 +9,30 @@ body {
margin: 0;
}
+input:focus, button:focus {
+ outline: 1px solid rgb(77, 144, 254);
+}
+
+input[type='checkbox'] {
+ width: 15px;
+ height: 15px;
+ background: -webkit-image-set(
+ url(../../file_manager/foreground/images/common/checkbox_white_unchecked.png) 1x,
+ url(../../file_manager/foreground/images/common/2x/checkbox_white_unchecked.png) 2x)
+ -1px -1px;
+ -webkit-appearance: none;
+ display: inline-block;
+ margin: 1px 6px 1px 1px;
+ vertical-align: text-bottom;
+}
+
+input[type='checkbox']:checked {
+ background: -webkit-image-set(
+ url(../../file_manager/foreground/images/common/checkbox_white_checked.png) 1x,
+ url(../../file_manager/foreground/images/common/2x/checkbox_white_checked.png) 2x)
+ -1px -1px;
+}
+
.gallery,
.gallery .content {
bottom: 0;
@@ -24,40 +48,6 @@ body {
background-color: black;
}
-/* Close button */
-
-/* We actually want (left,top) to be (0,0) but for some weird reason
- this triggers :hover style on page reload which is ugly. */
-.gallery > .back-button {
- cursor: pointer;
- left: 1px;
- position: absolute;
- top: 1px;
- z-index: 200;
-}
-
-/* The close icon is in a nested div so that its opacity can be manipulated
- independently from its parent (which can be dimmed when the crop frame
- overlaps it) */
-.gallery > .back-button div {
- background-image: -webkit-image-set(
- url(../images/100/back_to_files.png) 1x,
- url(../images/200/back_to_files.png) 2x);
- background-position: center center;
- background-repeat: no-repeat;
- height: 40px;
- opacity: 0;
- width: 64px;
-}
-
-.gallery[tools] > .back-button div {
- opacity: 0.5;
-}
-
-.gallery[tools] > .back-button div:hover {
- opacity: 1;
-}
-
/* Image container and canvas elements */
.gallery .image-container {
@@ -402,11 +392,6 @@ body {
pointer-events: none;
}
-.gallery .filename-spacer .overwrite-original input {
- margin-bottom: -2px;
- margin-right: 6px;
-}
-
.gallery .filename-spacer .saved[highlighted] {
-webkit-transform: scaleX(1.1) scaleY(1.1) rotate(0);
opacity: 1;
@@ -485,7 +470,7 @@ body {
}
.gallery .ribbon-image[selected] {
- border: 2px solid rgba(255, 233, 168, 1);
+ border: 2px solid rgb(77, 144, 254);
}
.gallery .toolbar .ribbon.fade-left {
@@ -584,6 +569,10 @@ body {
width: 40px;
}
+.gallery .toolbar button:focus {
+ z-index: 11;
+}
+
/* By default, labels are hidden. */
.gallery > .toolbar button span {
display: none;
@@ -1050,24 +1039,6 @@ body {
padding-right: 10px;
}
-.gallery .prompt .back-button {
- background-image: -webkit-image-set(
- url(../images/100/butterbar_close_button.png) 1x,
- url(../images/200/butterbar_close_button.png) 2x);
- background-position: center center;
- background-repeat: no-repeat;
- height: 16px;
- margin-left: 16px;
- opacity: 0.65;
- pointer-events: auto;
- width: 16px;
-}
-
-.gallery .prompt .back-button:hover {
- background-color: rgba(81, 81, 81, 1);
- opacity: 1.0;
-}
-
.gallery .share-menu {
-webkit-box-align: stretch;
-webkit-box-orient: vertical;
« no previous file with comments | « no previous file | ui/file_manager/gallery/js/slide_mode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698