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
,
26 .overlay-container
.page
,
29 -webkit-app-region: no-drag
;
33 -webkit-box-orient: vertical
;
39 -webkit-box-align: center
;
47 .dialog-topbar .spacer {
52 -webkit-box-orient: horizontal
;
59 #categories-list > li
{
60 -webkit-box-align: center
;
61 -webkit-transition: border-top
130ms ease
;
62 -webkit-user-select: none
;
63 border-top: 4px solid transparent
;
69 #categories-list > li:hover
{
70 border-top-color: rgba
(255, 255, 255, 0.4);
74 #categories-list > li
[selected
] {
75 color: rgb
(70, 78, 90);
79 #categories-list > li
> div
{
84 #categories-list > li
[selected
] > div
{
89 background-position: center
;
90 background-repeat: no-repeat
;
99 #window-close-button {
100 background-image: url
('../images/ui/close-white.png');
103 #window-close-button:hover
{
104 background-image: url
('../images/ui/close-white-hover.png');
108 -webkit-transition: left
130ms ease-in-out
;
109 background-color: #eee;
116 -webkit-box-align: stretch
;
118 display: -webkit-box
;
121 #category-container {
123 -webkit-box-orient: vertical
;
124 display: -webkit-box
;
128 -webkit-padding-end: 5px;
129 -webkit-padding-start: 15px;
131 /* Set font size to 0 to remove the extra vertical margin between two rows of
133 * TODO(bshe): Find the root cause of the margin.
139 padding-bottom: 15px;
143 .image-picker .spacer {
148 display: inline-block
;
154 .image-picker [role=listitem] {
155 -webkit-margin-end: 1px;
162 .image-picker [role=listitem]:hover {
163 outline: 3px solid
#f1f1f1;
167 .image-picker .check {
168 background-image: url
('../images/ui/check.png');
177 ::-webkit-scrollbar
{
181 ::-webkit-scrollbar-thumb
{
185 ::-webkit-scrollbar-thumb:hover
{
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
191 * result. See http://code.google.com/p/chromium/issues/detail?id=148480 for
199 .image-picker
[disabled
],
200 .image-picker-offline img:not([offline]) {
201 -webkit-filter: grayscale
(1);
204 #wallpaper-attribute {
205 -webkit-box-orient: vertical
;
206 display: -webkit-box
;
210 -webkit-box-align: center
;
211 -webkit-box-orient: horizontal
;
212 -webkit-box-pack: end
;
213 display: -webkit-box
;
215 padding: 11px 15px 8px 15px;
218 .bottom-bar > .spacer {
222 #online-wallpaper-attribute {
223 display: -webkit-box
;
227 -webkit-margin-end: 10px;
239 /* [hidden] does display:none, but its priority is too low. */
241 body
[custom
] [visibleif
]:not
([visibleif
~='custom']),
242 body:not
([custom
]) [visibleif
~='custom'] {
243 display: none
!important
;
247 background-color: rgba
(255, 255, 255, 0.7);
255 -webkit-transition: width
1ms linear
;
256 background-color: rgb
(66, 129, 244);
262 -webkit-box-align: center
;
263 -webkit-box-orient: vertical
;
264 -webkit-box-pack: center
;
265 background-color: rgba
(25, 25, 25, 0.25);
267 display: -webkit-box
;
276 .overlay-container .page {
277 -webkit-border-radius: 3px;
278 -webkit-box-orient: vertical
;
279 background: rgb
(255, 255, 255);
280 box-shadow: 0 4px 23px 5px rgba
(0, 0, 0, 0.2), 0 2px 6px rgba
(0, 0, 0, 0.15);
282 display: -webkit-box
;
292 .overlay-container .close {
293 background-image: url
('../images/ui/close-overlay.png');
296 .overlay-container .close:hover {
297 background-image: url
('../images/ui/close-overlay-hover.png');
300 /* Custom wallpaper thumbnail container. */
302 content: url
('../images/ui/add-wallpaper-thumbnail.png');
306 content: url
('../images/ui/add-wallpaper-thumbnail-hover.png');
309 #wallpaper-selection-container #content div
{
310 margin: 20px 0 5px 0;
313 #wallpaper-selection-container #warning span
{
317 #wallpaper-selection-container select
{
321 #wallpaper-selection-container input
[type
='file']::-webkit-file-upload-button
{
325 #wallpaper-selection-container .remember-icon
{
326 content: url
('../images/ui/remember.png');
329 #surprise-me #checkbox
{
330 background-image: url
('../images/ui/checkbox_unchecked.png');
331 display: inline-block
;
340 #surprise-me #checkbox
.checked
{
341 background-image: url
('../images/ui/checkbox_checked.png');