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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 } | 407 } |
408 | 408 |
409 body[new-ui] button, | 409 body[new-ui] button, |
410 body[new-ui] input[type='button'], | 410 body[new-ui] input[type='button'], |
411 body[new-ui] input[type='submit'], | 411 body[new-ui] input[type='submit'], |
412 body[new-ui] select { | 412 body[new-ui] select { |
413 -webkit-border-radius: 2px; | 413 -webkit-border-radius: 2px; |
414 -webkit-box-shadow: inset 0 1px 1px 0 rgb(255, 255, 255); | 414 -webkit-box-shadow: inset 0 1px 1px 0 rgb(255, 255, 255); |
415 background-color: rgb(250, 250, 250); | 415 background-color: rgb(250, 250, 250); |
416 background-image: none; | 416 background-image: none; |
| 417 background-position: center; |
| 418 background-repeat: no-repeat; |
417 border: 1px solid rgb(255, 255, 255); | 419 border: 1px solid rgb(255, 255, 255); |
418 border-bottom: 1px solid rgb(180, 180, 180); | 420 border-bottom: 1px solid rgb(180, 180, 180); |
419 border-left: 1px solid rgb(220, 220, 220); | 421 border-left: 1px solid rgb(220, 220, 220); |
420 border-right: 1px solid rgb(200, 200, 200); | 422 border-right: 1px solid rgb(200, 200, 200); |
421 border-top: 1px solid rgb(220, 220, 220); | 423 border-top: 1px solid rgb(220, 220, 220); |
422 box-sizing: content-box; | 424 box-sizing: content-box; |
423 color: rgb(34, 34, 34); | 425 color: rgb(34, 34, 34); |
424 cursor: default; | 426 cursor: default; |
425 line-height: 27px; | 427 line-height: 27px; |
426 margin: 0; | 428 margin: 0; |
(...skipping 13 matching lines...) Expand all Loading... |
440 background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9); | 442 background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9); |
441 border-color: #999; | 443 border-color: #999; |
442 color: #222; | 444 color: #222; |
443 } | 445 } |
444 | 446 |
445 body[new-ui] button:hover, | 447 body[new-ui] button:hover, |
446 body[new-ui] input[type='button']:hover, | 448 body[new-ui] input[type='button']:hover, |
447 body[new-ui] input[type='submit']:hover, | 449 body[new-ui] input[type='submit']:hover, |
448 body[new-ui] select:hover { | 450 body[new-ui] select:hover { |
449 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); | 451 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); |
450 background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #f0f0f0); | 452 background-color: #ebebeb; |
| 453 background-image: -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #f0f0f0); |
451 border-color: rgb(190, 190, 190); | 454 border-color: rgb(190, 190, 190); |
452 color: #222; | 455 color: #222; |
453 } | 456 } |
454 | 457 |
455 body:not([new-ui]) button:active, | 458 body:not([new-ui]) button:active, |
456 body:not([new-ui]) input[type='button']:active, | 459 body:not([new-ui]) input[type='button']:active, |
457 body:not([new-ui]) input[type='submit']:active { | 460 body:not([new-ui]) input[type='submit']:active { |
458 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); | 461 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); |
459 background: #ebebeb -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc); | 462 background-color: #ebebeb; |
| 463 background-image: -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc); |
460 color: #333; | 464 color: #333; |
461 } | 465 } |
462 | 466 |
463 body[new-ui] button:active, | 467 body[new-ui] button:active, |
464 body[new-ui] input[type='button']:active, | 468 body[new-ui] input[type='button']:active, |
465 body[new-ui] input[type='submit']:active { | 469 body[new-ui] input[type='submit']:active { |
466 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); | 470 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); |
467 background: #ebebeb -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc); | 471 background-color: #ebebeb; |
| 472 background-image: -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc); |
468 color: #333; | 473 color: #333; |
469 } | 474 } |
470 | 475 |
471 body:not([new-ui]) button[disabled], | 476 body:not([new-ui]) button[disabled], |
472 body:not([new-ui]) input[type='button'][disabled], | 477 body:not([new-ui]) input[type='button'][disabled], |
473 body:not([new-ui]) input[type='submit'][disabled], | 478 body:not([new-ui]) input[type='submit'][disabled], |
474 body:not([new-ui]) button[disabled]:hover, | 479 body:not([new-ui]) button[disabled]:hover, |
475 body:not([new-ui]) input[type='button'][disabled]:hover, | 480 body:not([new-ui]) input[type='button'][disabled]:hover, |
476 body:not([new-ui]) input[type='submit'][disabled]:hover { | 481 body:not([new-ui]) input[type='submit'][disabled]:hover { |
477 -webkit-box-shadow: none; | 482 -webkit-box-shadow: none; |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 width: 44px; | 695 width: 44px; |
691 } | 696 } |
692 | 697 |
693 body[new-ui] .cr-dialog-close:hover { | 698 body[new-ui] .cr-dialog-close:hover { |
694 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H'); | 699 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H'); |
695 } | 700 } |
696 | 701 |
697 body[new-ui] .cr-dialog-close:active { | 702 body[new-ui] .cr-dialog-close:active { |
698 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P'); | 703 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P'); |
699 } | 704 } |
OLD | NEW |