OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 /* This file contains "borrowed" copy of standard styles. To simplify merging, | 5 /* This file contains "borrowed" copy of standard styles. To simplify merging, |
6 * when altering, please preserve original property value by adding comments. */ | 6 * when altering, please preserve original property value by adding comments. */ |
7 input.common[type='checkbox'], | 7 input.common[type='checkbox'], |
8 input.common[type='radio'] { | 8 input.common[type='radio'] { |
9 -webkit-appearance: none; | 9 -webkit-appearance: none; |
10 -webkit-border-radius: 1px; | 10 -webkit-border-radius: 1px; |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 button[disabled]:hover, | 373 button[disabled]:hover, |
374 input[type='button'][disabled]:hover, | 374 input[type='button'][disabled]:hover, |
375 input[type='submit'][disabled]:hover { | 375 input[type='submit'][disabled]:hover { |
376 -webkit-box-shadow: none; | 376 -webkit-box-shadow: none; |
377 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); | 377 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); |
378 border-color: #aaa; | 378 border-color: #aaa; |
379 color: #888; | 379 color: #888; |
380 } | 380 } |
381 | 381 |
382 /* Blue progress bar. */ | 382 /* Blue progress bar. */ |
383 .progress-bar { | 383 body:not([new-ui]) .progress-bar { |
384 background-color: #e6e6e6; | 384 background-color: #e6e6e6; |
385 border: 1px solid #ddd; | 385 border: 1px solid #ddd; |
386 border-radius: 2px; | 386 border-radius: 2px; |
387 box-sizing: border-box; | 387 box-sizing: border-box; |
388 margin: 2px 0; | 388 margin: 2px 0; |
389 } | 389 } |
390 | 390 |
391 .progress-track { | 391 body:not([new-ui]) .progress-track { |
392 background-image: -webkit-linear-gradient( | 392 background-image: -webkit-linear-gradient( |
393 rgb(110, 188, 249) 1px, rgb(86, 167, 247) 2px, | 393 rgb(110, 188, 249) 1px, rgb(86, 167, 247) 2px, |
394 rgb(76, 148, 245) 11px, rgb(41, 112, 211) 12px); | 394 rgb(76, 148, 245) 11px, rgb(41, 112, 211) 12px); |
395 border: 1px solid rgb(65, 137, 237); | 395 border: 1px solid rgb(65, 137, 237); |
396 border-radius: 2px; | 396 border-radius: 2px; |
397 height: 10px; | 397 height: 10px; |
398 margin: -1px; | 398 margin: -1px; |
399 } | 399 } |
400 | 400 |
| 401 body[new-ui] .progress-bar { |
| 402 background-color: #e6e6e6; |
| 403 border-radius: 3px; |
| 404 height: 6px; |
| 405 } |
| 406 |
| 407 body[new-ui] .progress-track { |
| 408 background-color: #888; |
| 409 border-radius: 3px; |
| 410 height: 6px; |
| 411 } |
| 412 |
401 .progress-track.smoothed { | 413 .progress-track.smoothed { |
402 -webkit-transition: width 1s linear; | 414 -webkit-transition: width 1s linear; |
403 } | 415 } |
404 | 416 |
405 /* Icons for the action choice dialog and choosing the default app. */ | 417 /* Icons for the action choice dialog and choosing the default app. */ |
406 div.import-photos-to-drive-icon { | 418 div.import-photos-to-drive-icon { |
407 background-image: -webkit-image-set( | 419 background-image: -webkit-image-set( |
408 url('../images/media/drive.png') 1x, | 420 url('../images/media/drive.png') 1x, |
409 url('../images/media/2x/drive.png') 2x); | 421 url('../images/media/2x/drive.png') 2x); |
410 } | 422 } |
411 | 423 |
412 div.view-files-icon { | 424 div.view-files-icon { |
413 background-image: -webkit-image-set( | 425 background-image: -webkit-image-set( |
414 url('../images/icon32.png') 1x, | 426 url('../images/icon32.png') 1x, |
415 url('../images/icon64.png') 2x); | 427 url('../images/icon64.png') 2x); |
416 } | 428 } |
417 | 429 |
418 div.watch-single-video-icon { | 430 div.watch-single-video-icon { |
419 background-image: -webkit-image-set( | 431 background-image: -webkit-image-set( |
420 url('../images/media/watch.png') 1x, | 432 url('../images/media/watch.png') 1x, |
421 url('../images/media/2x/watch.png') 2x); | 433 url('../images/media/2x/watch.png') 2x); |
422 } | 434 } |
OLD | NEW |