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

Side by Side 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, 9 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 html { 5 html {
6 height: 100%; 6 height: 100%;
7 } 7 }
8 8
9 body { 9 body {
10 -webkit-app-region: drag; 10 -webkit-app-region: drag;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #categories-list > li { 59 #categories-list > li {
60 -webkit-box-align: center; 60 -webkit-box-align: center;
61 -webkit-transition: border-top 130ms ease; 61 -webkit-transition: border-top 130ms ease;
62 -webkit-user-select: none; 62 -webkit-user-select: none;
63 border-top: 4px solid transparent; 63 border-top: 4px solid transparent;
64 color: #777; 64 color: #777;
65 display: -webkit-box; 65 display: -webkit-box;
66 height: 50px; 66 height: 50px;
67 } 67 }
68 68
69 #categories-list > li:hover { 69 #categories-list:not([disabled]) > li:hover {
70 border-top-color: rgba(255, 255, 255, 0.4); 70 border-top-color: rgba(255, 255, 255, 0.4);
71 cursor: pointer; 71 cursor: pointer;
72 } 72 }
73 73
74 #categories-list > li[selected] { 74 #categories-list > li[selected] {
75 color: rgb(70, 78, 90); 75 color: rgb(70, 78, 90);
76 cursor: default; 76 cursor: default;
77 } 77 }
78 78
79 #categories-list > li > div { 79 #categories-list > li > div {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } 152 }
153 153
154 .image-picker [role=listitem] { 154 .image-picker [role=listitem] {
155 -webkit-margin-end: 1px; 155 -webkit-margin-end: 1px;
156 height: 68px; 156 height: 68px;
157 margin-bottom: 1px; 157 margin-bottom: 1px;
158 position: relative; 158 position: relative;
159 width: 108px; 159 width: 108px;
160 } 160 }
161 161
162 .image-picker [role=listitem]:hover { 162 .image-picker:not([disabled]) [role=listitem]:hover {
163 outline: 3px solid #f1f1f1; 163 outline: 3px solid #f1f1f1;
164 z-index: 1; 164 z-index: 1;
165 } 165 }
166 166
167 .image-picker .check { 167 .image-picker .check {
168 background-image: url('../images/ui/check.png'); 168 background-image: url('../images/ui/check.png');
169 height: 32px; 169 height: 32px;
170 left: 38px; 170 left: 38px;
171 position: absolute; 171 position: absolute;
172 top: 18px; 172 top: 18px;
(...skipping 16 matching lines...) Expand all
189 /* The width and height of img tag need to be set here. Otherwise, an incorrect 189 /* The width and height of img tag need to be set here. Otherwise, an incorrect
190 * image size may be used during layout. Some images may be misaligned as a 190 * image size may be used during layout. Some images may be misaligned as a
191 * result. See http://code.google.com/p/chromium/issues/detail?id=148480 for 191 * result. See http://code.google.com/p/chromium/issues/detail?id=148480 for
192 * screen shot. 192 * screen shot.
193 */ 193 */
194 .image-picker img { 194 .image-picker img {
195 height: 68px; 195 height: 68px;
196 width: 108px; 196 width: 108px;
197 } 197 }
198 198
199 .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
200 .image-picker[disabled] .check {
201 visibility: hidden;
202 }
203
199 .image-picker[disabled], 204 .image-picker[disabled],
200 .image-picker-offline img:not([offline]) { 205 .image-picker-offline img:not([offline]) {
201 -webkit-filter: grayscale(1); 206 -webkit-filter: grayscale(1);
202 } 207 }
203 208
204 #wallpaper-attribute { 209 #wallpaper-attribute {
205 -webkit-box-orient: vertical; 210 -webkit-box-orient: vertical;
206 display: -webkit-box; 211 display: -webkit-box;
207 } 212 }
208 213
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 300
296 .overlay-container .close:hover { 301 .overlay-container .close:hover {
297 background-image: url('../images/ui/close-overlay-hover.png'); 302 background-image: url('../images/ui/close-overlay-hover.png');
298 } 303 }
299 304
300 /* Custom wallpaper thumbnail container. */ 305 /* Custom wallpaper thumbnail container. */
301 #add-new img { 306 #add-new img {
302 content: url('../images/ui/add-wallpaper-thumbnail.png'); 307 content: url('../images/ui/add-wallpaper-thumbnail.png');
303 } 308 }
304 309
305 #add-new:hover img { 310 .image-picker:not([disabled]) #add-new:hover img {
306 content: url('../images/ui/add-wallpaper-thumbnail-hover.png'); 311 content: url('../images/ui/add-wallpaper-thumbnail-hover.png');
307 } 312 }
308 313
309 #wallpaper-selection-container #content div { 314 #wallpaper-selection-container #content div {
310 margin: 20px 0 5px 0; 315 margin: 20px 0 5px 0;
311 } 316 }
312 317
313 #wallpaper-selection-container #warning span { 318 #wallpaper-selection-container #warning span {
314 line-height: 17px; 319 line-height: 17px;
315 } 320 }
(...skipping 17 matching lines...) Expand all
333 margin-right: 4px; 338 margin-right: 4px;
334 opacity: 0.7; 339 opacity: 0.7;
335 position: relative; 340 position: relative;
336 top: 4px; 341 top: 4px;
337 width: 17px; 342 width: 17px;
338 } 343 }
339 344
340 #surprise-me #checkbox.checked { 345 #surprise-me #checkbox.checked {
341 background-image: url('../images/ui/checkbox_checked.png'); 346 background-image: url('../images/ui/checkbox_checked.png');
342 } 347 }
OLDNEW
« 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