OLD | NEW |
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 background-color: rgba(20, 20, 20, 0.93); | 10 background-color: rgba(20, 20, 20, 0.93); |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 position: absolute; | 92 position: absolute; |
93 top: 0; | 93 top: 0; |
94 } | 94 } |
95 | 95 |
96 .dialog-main { | 96 .dialog-main { |
97 -webkit-box-align: stretch; | 97 -webkit-box-align: stretch; |
98 -webkit-box-flex: 1; | 98 -webkit-box-flex: 1; |
99 display: -webkit-box; | 99 display: -webkit-box; |
100 } | 100 } |
101 | 101 |
102 #category-container, | 102 #category-container { |
103 #custom-container { | |
104 -webkit-box-flex: 1; | 103 -webkit-box-flex: 1; |
105 -webkit-box-orient: vertical; | 104 -webkit-box-orient: vertical; |
106 display: -webkit-box; | 105 display: -webkit-box; |
107 } | 106 } |
108 | 107 |
109 #custom-container { | |
110 margin: 10px; | |
111 padding: 10px; | |
112 } | |
113 | |
114 #custom-container > div { | |
115 margin: 10px 0 5px 0; | |
116 } | |
117 | |
118 .image-picker { | 108 .image-picker { |
119 -webkit-padding-end: 5px; | 109 -webkit-padding-end: 5px; |
120 -webkit-padding-start: 15px; | 110 -webkit-padding-start: 15px; |
121 display: block; | 111 display: block; |
122 /* Set font size to 0 to remove the extra vertical margin between two rows of | 112 /* Set font size to 0 to remove the extra vertical margin between two rows of |
123 * thumbnails. | 113 * thumbnails. |
124 * TODO(bshe): Find the root cause of the margin. | 114 * TODO(bshe): Find the root cause of the margin. |
125 */ | 115 */ |
126 font-size: 0; | 116 font-size: 0; |
127 height: 287px; | 117 height: 287px; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 width: 54px; | 205 width: 54px; |
216 } | 206 } |
217 | 207 |
218 #author-website { | 208 #author-website { |
219 color: #999; | 209 color: #999; |
220 overflow: hidden; | 210 overflow: hidden; |
221 white-space: nowrap; | 211 white-space: nowrap; |
222 width: 240px; | 212 width: 240px; |
223 } | 213 } |
224 | 214 |
225 /* Custom wallpaper thumbnail container. */ | |
226 #preview { | |
227 -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); | |
228 height: 80px; | |
229 width: 128px; | |
230 } | |
231 | |
232 /* [hidden] does display:none, but its priority is too low. */ | 215 /* [hidden] does display:none, but its priority is too low. */ |
233 [hidden] { | 216 [hidden] { |
234 display: none !important; | 217 display: none !important; |
235 } | 218 } |
236 | 219 |
237 .progress-bar { | 220 .progress-bar { |
238 background-color: rgba(255, 255, 255, 0.7); | 221 background-color: rgba(255, 255, 255, 0.7); |
239 height: 6px; | 222 height: 6px; |
240 position: absolute; | 223 position: absolute; |
241 top: 62px; | 224 top: 62px; |
242 width: 100%; | 225 width: 100%; |
243 } | 226 } |
244 | 227 |
245 .progress-track { | 228 .progress-track { |
246 -webkit-transition: width 1ms linear; | 229 -webkit-transition: width 1ms linear; |
247 background-color: rgb(66, 129, 244); | 230 background-color: rgb(66, 129, 244); |
248 height: 100%; | 231 height: 100%; |
249 width: 0; | 232 width: 0; |
250 } | 233 } |
251 | 234 |
252 #error-container { | 235 .overlay-container { |
253 -webkit-box-align: center; | 236 -webkit-box-align: center; |
254 -webkit-box-orient: vertical; | 237 -webkit-box-orient: vertical; |
255 -webkit-box-pack: center; | 238 -webkit-box-pack: center; |
256 background-color: rgba(25, 25, 25, 0.25); | 239 background-color: rgba(25, 25, 25, 0.25); |
257 bottom: 0; | 240 bottom: 0; |
258 display: -webkit-box; | 241 display: -webkit-box; |
259 left: 0; | 242 left: 0; |
260 overflow: auto; | 243 overflow: auto; |
261 position: fixed; | 244 position: fixed; |
262 right: 0; | 245 right: 0; |
263 top: 0; | 246 top: 0; |
264 z-index: 4; | 247 z-index: 4; |
265 } | 248 } |
266 | 249 |
267 #error-container .page { | 250 .overlay-container .page { |
268 -webkit-border-radius: 3px; | 251 -webkit-border-radius: 3px; |
269 -webkit-box-orient: vertical; | 252 -webkit-box-orient: vertical; |
270 background: rgb(255, 255, 255); | 253 background: rgb(255, 255, 255); |
271 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15); | 254 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15); |
272 color: #333; | 255 color: #333; |
273 display: -webkit-box; | 256 display: -webkit-box; |
274 padding: 20px; | 257 padding: 20px; |
275 position: relative; | 258 position: relative; |
276 width: 302px; | 259 width: 302px; |
277 } | 260 } |
278 | 261 |
279 #close-error { | 262 #error-container { |
| 263 z-index: 5; |
| 264 } |
| 265 |
| 266 .close-overlay { |
280 background-image: url('../images/ui/close-error.png'); | 267 background-image: url('../images/ui/close-error.png'); |
281 height: 14px; | 268 height: 14px; |
282 position: absolute; | 269 position: absolute; |
283 right: 10px; | 270 right: 10px; |
284 top: 10px; | 271 top: 10px; |
285 width: 14px | 272 width: 14px |
286 } | 273 } |
287 | 274 |
288 #close-error:hover { | 275 .close-overlay:hover { |
289 background-image: url('../images/ui/close-error-hover.png'); | 276 background-image: url('../images/ui/close-error-hover.png'); |
290 } | 277 } |
| 278 |
| 279 /* Custom wallpaper thumbnail container. */ |
| 280 #add-new img { |
| 281 content: url('../images/ui/add-wallpaper-thumbnail.png'); |
| 282 } |
| 283 |
| 284 #add-new:hover img { |
| 285 content: url('../images/ui/add-wallpaper-thumbnail-hover.png'); |
| 286 } |
| 287 |
| 288 #wallpaper-selection-container #content div { |
| 289 margin: 20px 0 5px 0; |
| 290 } |
| 291 |
| 292 #wallpaper-selection-container #warning span { |
| 293 line-height: 17px; |
| 294 } |
| 295 |
| 296 #wallpaper-selection-container select { |
| 297 height: 30px; |
| 298 } |
| 299 |
| 300 #wallpaper-selection-container input[type='file']::-webkit-file-upload-button { |
| 301 height: 30px; |
| 302 } |
| 303 |
| 304 #wallpaper-selection-container .remember-icon { |
| 305 content: url('../images/ui/remember.png'); |
| 306 } |
OLD | NEW |