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
;
37 flex-direction: column
;
43 -webkit-box-align: center
;
51 .dialog-topbar .spacer {
56 -webkit-box-orient: horizontal
;
63 #categories-list > li
{
64 -webkit-box-align: center
;
65 -webkit-transition: border-top
130ms ease
;
66 -webkit-user-select: none
;
67 border-top: 4px solid transparent
;
73 #categories-list:not
([disabled
]) > li:hover
{
74 border-top-color: rgba
(255, 255, 255, 0.4);
78 #categories-list > li
[selected
] {
79 color: rgb
(70, 78, 90);
83 #categories-list > li
> div
{
88 #categories-list > li
[selected
] > div
{
93 background-position: center
;
94 background-repeat: no-repeat
;
103 #window-close-button {
104 background-image: url
(../images
/ui
/close-white
.png
);
107 #window-close-button:hover
{
108 background-image: url
(../images
/ui
/close-white-hover
.png
);
112 -webkit-transition: left
130ms ease-in-out
;
113 background-color: #eee;
124 #category-container {
130 -webkit-box-align: center
;
131 -webkit-box-pack: center
;
132 background: url
(chrome://resources
/images
/throbber_medium
.svg
) center
/32px
134 display: -webkit-box
;
136 padding-bottom: 15px;
143 #wallpaper-set-by-message {
144 -webkit-padding-end: 5px;
145 -webkit-padding-start: 15px;
149 #wallpaper-set-by-message:empty
{
154 -webkit-padding-end: 5px;
155 -webkit-padding-start: 15px;
157 /* Set font size to 0 to remove the extra vertical margin between two rows of
159 * TODO(bshe): Find the root cause of the margin.
165 padding-bottom: 15px;
169 .image-picker .spacer {
174 display: inline-block
;
180 .image-picker [role=listitem] {
181 -webkit-margin-end: 1px;
188 .image-picker:not([disabled]) [role=listitem]:hover {
189 outline: 3px solid
#f1f1f1;
193 .image-picker .check {
194 background-image: url
(../images/ui/check.png);
203 ::-webkit-scrollbar
{
207 ::-webkit-scrollbar-thumb
{
211 ::-webkit-scrollbar-thumb:hover
{
215 /* The width and height of img tag need to be set here. Otherwise, an incorrect
216 * image size may be used during layout. Some images may be misaligned as a
217 * result. See http://code.google.com/p/chromium/issues/detail?id=148480 for
225 .image-picker
[disabled
]~.bottom-bar #online-wallpaper-attribute
,
226 .image-picker[disabled] .check {
230 .image-picker
[disabled
],
231 .image-picker-offline img:not([offline]) {
232 -webkit-filter: grayscale
(1);
235 #wallpaper-attribute {
236 -webkit-box-orient: vertical
;
237 display: -webkit-box
;
241 -webkit-box-align: center
;
242 -webkit-box-orient: horizontal
;
243 -webkit-box-pack: end
;
244 display: -webkit-box
;
246 padding: 11px 15px 8px 15px;
249 .bottom-bar > .spacer {
253 #online-wallpaper-attribute {
254 display: -webkit-box
;
258 -webkit-margin-end: 10px;
270 /* [hidden] does display:none, but its priority is too low. */
272 body
[custom
] [visibleif
]:not
([visibleif
~='custom']),
273 body:not
([custom
]) [visibleif
~='custom'] {
274 display: none
!important
;
277 body
[surprise-me-disabled
] [visibleif
]:not
([visibleif
~='surprise-me-disabled']),
278 body:not
([surprise-me-disabled
]) [visibleif
~='surprise-me-disabled'] {
279 display: none
!important
;
283 background-color: rgba
(255, 255, 255, 0.7);
291 -webkit-transition: width
1ms linear
;
292 background-color: rgb
(66, 129, 244);
298 -webkit-box-align: center
;
299 -webkit-box-orient: vertical
;
300 -webkit-box-pack: center
;
301 background-color: rgba
(25, 25, 25, 0.25);
303 display: -webkit-box
;
312 .overlay-container .page {
313 -webkit-box-orient: vertical
;
314 background: rgb
(255, 255, 255);
316 box-shadow: 0 4px 23px 5px rgba
(0, 0, 0, 0.2), 0 2px 6px rgba
(0, 0, 0, 0.15);
318 display: -webkit-box
;
328 .overlay-container .close {
329 background-image: url
(../images
/ui
/close-overlay
.png
);
332 .overlay-container .close:hover {
333 background-image: url
(../images
/ui
/close-overlay-hover
.png
);
336 /* Custom wallpaper thumbnail container. */
338 content: url
(../images
/ui
/add-wallpaper-thumbnail
.png
);
341 .image-picker:not([disabled]) #add-new:hover img {
342 content: url
(../images
/ui
/add-wallpaper-thumbnail-hover
.png
);
345 #wallpaper-selection-container #content div
{
346 margin: 20px 0 5px 0;
349 #wallpaper-selection-container #warning span
{
353 #wallpaper-selection-container select
{
357 #wallpaper-selection-container input
[type
='file']::-webkit-file-upload-button
{
361 #wallpaper-selection-container .remember-icon
{
362 content: url
(../images/ui/remember.png);
365 #surprise-me #checkbox
{
366 background-image: url
(../images/ui/checkbox_unchecked.png);
367 display: inline-block
;
376 #surprise-me #checkbox
.checked
{
377 background-image: url
(../images/ui/checkbox_checked.png);