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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 -webkit-box-pack: end; | 192 -webkit-box-pack: end; |
203 display: -webkit-box; | 193 display: -webkit-box; |
204 height: 40px; | 194 height: 40px; |
205 padding: 11px 15px 8px 15px; | 195 padding: 11px 15px 8px 15px; |
206 } | 196 } |
207 | 197 |
208 .bottom-bar > .spacer { | 198 .bottom-bar > .spacer { |
209 -webkit-box-flex: 1; | 199 -webkit-box-flex: 1; |
210 } | 200 } |
211 | 201 |
| 202 #online-wallpaper-attribute { |
| 203 display: -webkit-box; |
| 204 } |
| 205 |
212 #attribute-image { | 206 #attribute-image { |
213 -webkit-margin-end: 10px; | 207 -webkit-margin-end: 10px; |
214 height: 34px; | 208 height: 34px; |
215 width: 54px; | 209 width: 54px; |
216 } | 210 } |
217 | 211 |
218 #author-website { | 212 #author-website { |
219 color: #999; | 213 color: #999; |
220 overflow: hidden; | 214 overflow: hidden; |
221 white-space: nowrap; | 215 white-space: nowrap; |
222 width: 240px; | 216 width: 240px; |
223 } | 217 } |
224 | 218 |
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. */ | 219 /* [hidden] does display:none, but its priority is too low. */ |
233 [hidden] { | 220 [hidden] { |
234 display: none !important; | 221 display: none !important; |
235 } | 222 } |
236 | 223 |
237 .progress-bar { | 224 .progress-bar { |
238 background-color: rgba(255, 255, 255, 0.7); | 225 background-color: rgba(255, 255, 255, 0.7); |
239 height: 6px; | 226 height: 6px; |
240 position: absolute; | 227 position: absolute; |
241 top: 62px; | 228 top: 62px; |
242 width: 100%; | 229 width: 100%; |
243 } | 230 } |
244 | 231 |
245 .progress-track { | 232 .progress-track { |
246 -webkit-transition: width 1ms linear; | 233 -webkit-transition: width 1ms linear; |
247 background-color: rgb(66, 129, 244); | 234 background-color: rgb(66, 129, 244); |
248 height: 100%; | 235 height: 100%; |
249 width: 0; | 236 width: 0; |
250 } | 237 } |
251 | 238 |
252 #error-container { | 239 .overlay-container { |
253 -webkit-box-align: center; | 240 -webkit-box-align: center; |
254 -webkit-box-orient: vertical; | 241 -webkit-box-orient: vertical; |
255 -webkit-box-pack: center; | 242 -webkit-box-pack: center; |
256 background-color: rgba(25, 25, 25, 0.25); | 243 background-color: rgba(25, 25, 25, 0.25); |
257 bottom: 0; | 244 bottom: 0; |
258 display: -webkit-box; | 245 display: -webkit-box; |
259 left: 0; | 246 left: 0; |
260 overflow: auto; | 247 overflow: auto; |
261 position: fixed; | 248 position: fixed; |
262 right: 0; | 249 right: 0; |
263 top: 0; | 250 top: 0; |
264 z-index: 4; | 251 z-index: 4; |
265 } | 252 } |
266 | 253 |
267 #error-container .page { | 254 .overlay-container .page { |
268 -webkit-border-radius: 3px; | 255 -webkit-border-radius: 3px; |
269 -webkit-box-orient: vertical; | 256 -webkit-box-orient: vertical; |
270 background: rgb(255, 255, 255); | 257 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); | 258 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15); |
272 color: #333; | 259 color: #333; |
273 display: -webkit-box; | 260 display: -webkit-box; |
274 padding: 20px; | 261 padding: 20px; |
275 position: relative; | 262 position: relative; |
276 width: 302px; | 263 width: 302px; |
277 } | 264 } |
278 | 265 |
279 #close-error { | 266 #error-container { |
| 267 z-index: 5; |
| 268 } |
| 269 |
| 270 .close-overlay { |
280 background-image: url('../images/ui/close-error.png'); | 271 background-image: url('../images/ui/close-error.png'); |
281 height: 14px; | 272 height: 14px; |
282 position: absolute; | 273 position: absolute; |
283 right: 10px; | 274 right: 10px; |
284 top: 10px; | 275 top: 10px; |
285 width: 14px | 276 width: 14px |
286 } | 277 } |
287 | 278 |
288 #close-error:hover { | 279 .close-overlay:hover { |
289 background-image: url('../images/ui/close-error-hover.png'); | 280 background-image: url('../images/ui/close-error-hover.png'); |
290 } | 281 } |
| 282 |
| 283 /* Custom wallpaper thumbnail container. */ |
| 284 #add-new img { |
| 285 content: url('../images/ui/add-wallpaper-thumbnail.png'); |
| 286 } |
| 287 |
| 288 #add-new:hover img { |
| 289 content: url('../images/ui/add-wallpaper-thumbnail-hover.png'); |
| 290 } |
| 291 |
| 292 #wallpaper-selection-container #content div { |
| 293 margin: 20px 0 5px 0; |
| 294 } |
| 295 |
| 296 #wallpaper-selection-container #warning span { |
| 297 line-height: 17px; |
| 298 } |
| 299 |
| 300 #wallpaper-selection-container select { |
| 301 height: 30px; |
| 302 } |
| 303 |
| 304 #wallpaper-selection-container input[type='file']::-webkit-file-upload-button { |
| 305 height: 30px; |
| 306 } |
| 307 |
| 308 #wallpaper-selection-container .remember-icon { |
| 309 content: url('../images/ui/remember.png'); |
| 310 } |
OLD | NEW |