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
3 * found in the LICENSE file. */
10 -webkit-app-region: drag;
11 background-color: rgba(20, 20, 20, 0.93);
19 /* Click events are not received in draggable area. Making all clickable areas
20 * not draggable to receive click events.
21 * TODO(bshe): Remove this when http://crbug.com/142275 fixed.
23 .dialog-topbar #navstrip,
24 .dialog-topbar #window-close-button,
25 .overlay-container .page,
27 /* TODO(bshe): Once http://crbug.com/369651 fixed, use .image-picker instead of
28 * #category-container.
32 -webkit-app-region: no-drag;
36 -webkit-box-orient: vertical;
42 -webkit-box-align: center;
50 .dialog-topbar .spacer {
55 -webkit-box-orient: horizontal;
62 #categories-list > li {
63 -webkit-box-align: center;
64 -webkit-transition: border-top 130ms ease;
65 -webkit-user-select: none;
66 border-top: 4px solid transparent;
72 #categories-list:not([disabled]) > li:hover {
73 border-top-color: rgba(255, 255, 255, 0.4);
77 #categories-list > li[selected] {
78 color: rgb(70, 78, 90);
82 #categories-list > li > div {
87 #categories-list > li[selected] > div {
92 background-position: center;
93 background-repeat: no-repeat;
102 #window-close-button {
103 background-image: url('../images/ui/close-white.png');
106 #window-close-button:hover {
107 background-image: url('../images/ui/close-white-hover.png');
111 -webkit-transition: left 130ms ease-in-out;
112 background-color: #eee;
119 -webkit-box-align: stretch;
121 display: -webkit-box;
124 #category-container {
126 -webkit-box-orient: vertical;
127 display: -webkit-box;
132 -webkit-box-align: center;
133 -webkit-box-pack: center;
134 display: -webkit-box;
136 padding-bottom: 15px;
143 @-webkit-keyframes spin {
145 -webkit-transform: rotate(0);
148 -webkit-transform: rotate(360deg);
152 #spinner-container #spinner {
153 -webkit-animation-duration: 1s;
154 -webkit-animation-iteration-count: infinite;
155 -webkit-animation-name: spin;
156 -webkit-animation-timing-function: linear;
157 background-image: url('../images/ui/spinner.png');
158 background-position: center;
159 background-repeat: no-repeat;
165 -webkit-padding-end: 5px;
166 -webkit-padding-start: 15px;
168 /* Set font size to 0 to remove the extra vertical margin between two rows of
170 * TODO(bshe): Find the root cause of the margin.
176 padding-bottom: 15px;
180 .image-picker .spacer {
185 display: inline-block;
191 .image-picker [role=listitem] {
192 -webkit-margin-end: 1px;
199 .image-picker:not([disabled]) [role=listitem]:hover {
200 outline: 3px solid #f1f1f1;
204 .image-picker .check {
205 background-image: url('../images/ui/check.png');
214 ::-webkit-scrollbar {
218 ::-webkit-scrollbar-thumb {
222 ::-webkit-scrollbar-thumb:hover {
226 /* The width and height of img tag need to be set here. Otherwise, an incorrect
227 * image size may be used during layout. Some images may be misaligned as a
228 * result. See http://code.google.com/p/chromium/issues/detail?id=148480 for
236 .image-picker[disabled]~.bottom-bar #online-wallpaper-attribute,
237 .image-picker[disabled] .check {
241 .image-picker[disabled],
242 .image-picker-offline img:not([offline]) {
243 -webkit-filter: grayscale(1);
246 #wallpaper-attribute {
247 -webkit-box-orient: vertical;
248 display: -webkit-box;
252 -webkit-box-align: center;
253 -webkit-box-orient: horizontal;
254 -webkit-box-pack: end;
255 display: -webkit-box;
257 padding: 11px 15px 8px 15px;
260 .bottom-bar > .spacer {
264 #online-wallpaper-attribute {
265 display: -webkit-box;
269 -webkit-margin-end: 10px;
281 /* [hidden] does display:none, but its priority is too low. */
283 body[custom] [visibleif]:not([visibleif~='custom']),
284 body:not([custom]) [visibleif~='custom'] {
285 display: none !important;
289 background-color: rgba(255, 255, 255, 0.7);
297 -webkit-transition: width 1ms linear;
298 background-color: rgb(66, 129, 244);
304 -webkit-box-align: center;
305 -webkit-box-orient: vertical;
306 -webkit-box-pack: center;
307 background-color: rgba(25, 25, 25, 0.25);
309 display: -webkit-box;
318 .overlay-container .page {
319 -webkit-border-radius: 3px;
320 -webkit-box-orient: vertical;
321 background: rgb(255, 255, 255);
322 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
324 display: -webkit-box;
334 .overlay-container .close {
335 background-image: url('../images/ui/close-overlay.png');
338 .overlay-container .close:hover {
339 background-image: url('../images/ui/close-overlay-hover.png');
342 /* Custom wallpaper thumbnail container. */
344 content: url('../images/ui/add-wallpaper-thumbnail.png');
347 .image-picker:not([disabled]) #add-new:hover img {
348 content: url('../images/ui/add-wallpaper-thumbnail-hover.png');
351 #wallpaper-selection-container #content div {
352 margin: 20px 0 5px 0;
355 #wallpaper-selection-container #warning span {
359 #wallpaper-selection-container select {
363 #wallpaper-selection-container input[type='file']::-webkit-file-upload-button {
367 #wallpaper-selection-container .remember-icon {
368 content: url('../images/ui/remember.png');
371 #surprise-me #checkbox {
372 background-image: url('../images/ui/checkbox_unchecked.png');
373 display: inline-block;
382 #surprise-me #checkbox.checked {
383 background-image: url('../images/ui/checkbox_checked.png');