summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfukino <fukino@chromium.org>2015-04-23 19:43:44 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-24 02:43:48 +0000
commita960578de10cb263de359ec49bd29401f2849b24 (patch)
treeba22ea9f0e20fe59157705d161291e112699cd19
parent9247a3e7c83bc064543cee983065f3187cf3995e (diff)
downloadchromium_src-a960578de10cb263de359ec49bd29401f2849b24.zip
chromium_src-a960578de10cb263de359ec49bd29401f2849b24.tar.gz
chromium_src-a960578de10cb263de359ec49bd29401f2849b24.tar.bz2
Files.app: Make selected grid items gray when the grid is not focused.
BUG=474195 TEST=manually Review URL: https://codereview.chromium.org/1071283003 Cr-Commit-Position: refs/heads/master@{#326726}
-rw-r--r--ui/file_manager/file_manager/foreground/css/file_manager.css10
1 files changed, 9 insertions, 1 deletions
diff --git a/ui/file_manager/file_manager/foreground/css/file_manager.css b/ui/file_manager/file_manager/foreground/css/file_manager.css
index ff5f158..d30d1cb 100644
--- a/ui/file_manager/file_manager/foreground/css/file_manager.css
+++ b/ui/file_manager/file_manager/foreground/css/file_manager.css
@@ -1130,7 +1130,7 @@ body.check-select .thumbnail-grid .thumbnail-item[selected] .checkmark.active {
}
.thumbnail-grid .shield {
- background-color: rgba(27, 168, 243, 0.5);
+ background-color: rgba(160, 160, 160, 0.5);
bottom: 0;
display: none;
left: 0;
@@ -1139,6 +1139,10 @@ body.check-select .thumbnail-grid .thumbnail-item[selected] .checkmark.active {
top: 0;
}
+.thumbnail-grid:focus .shield {
+ background-color: rgba(27, 168, 243, 0.5);
+}
+
.thumbnail-grid .thumbnail-item[selected] .shield {
display: block;
}
@@ -1154,6 +1158,10 @@ body.check-select .thumbnail-grid .thumbnail-item[selected] .checkmark.active {
}
.thumbnail-grid .thumbnail-item[selected].directory .thumbnail-bottom {
+ background-color: rgb(232, 232, 232);
+}
+
+.thumbnail-grid:focus .thumbnail-item[selected].directory .thumbnail-bottom {
background-color: rgb(232, 246, 253);
}