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

Unified Diff: chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css

Issue 183853030: [Wallpaper Picker] Cleaned UI artefacts in Surprise Me Mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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 | chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_images_grid.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css
diff --git a/chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css b/chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css
index 9bb2399e89e48e62a916d14db217d5b4cb9b5c56..abb3488e95e8468974c22bc584f15ee7a0902a6e 100644
--- a/chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css
+++ b/chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css
@@ -66,7 +66,7 @@ body {
height: 50px;
}
-#categories-list > li:hover {
+#categories-list:not([disabled]) > li:hover {
border-top-color: rgba(255, 255, 255, 0.4);
cursor: pointer;
}
@@ -159,7 +159,7 @@ body {
width: 108px;
}
-.image-picker [role=listitem]:hover {
+.image-picker:not([disabled]) [role=listitem]:hover {
outline: 3px solid #f1f1f1;
z-index: 1;
}
@@ -196,6 +196,11 @@ body {
width: 108px;
}
+.image-picker[disabled]~.bottom-bar #online-wallpaper-attribute,
bshe 2014/03/05 19:12:24 nit: space instead of ~ ?
François Beaufort 2014/03/06 11:32:41 It is a ~ The general sibling combinator selector
bshe 2014/03/06 14:38:48 right, my mistake. I assumed bottom-bar is a child
+.image-picker[disabled] .check {
+ visibility: hidden;
+}
+
.image-picker[disabled],
.image-picker-offline img:not([offline]) {
-webkit-filter: grayscale(1);
@@ -302,7 +307,7 @@ body:not([custom]) [visibleif~='custom'] {
content: url('../images/ui/add-wallpaper-thumbnail.png');
}
-#add-new:hover img {
+.image-picker:not([disabled]) #add-new:hover img {
content: url('../images/ui/add-wallpaper-thumbnail-hover.png');
}
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_images_grid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698