Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 body { | 1 body { |
| 2 cursor: default; | 2 cursor: default; |
| 3 font-size: 100%; | 3 font-size: 100%; |
| 4 } | 4 } |
| 5 | 5 |
| 6 #settings-title { | 6 #settings-title { |
| 7 -webkit-padding-end: 24px; | 7 -webkit-padding-end: 24px; |
| 8 color: #53637d; | 8 color: #53637d; |
| 9 cursor: pointer; | 9 cursor: pointer; |
| 10 font-size: 200%; | 10 font-size: 200%; |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 35 background: rgba(0, 0, 0, .2); | 35 background: rgba(0, 0, 0, .2); |
| 36 top: 0; | 36 top: 0; |
| 37 bottom: 0; | 37 bottom: 0; |
| 38 z-index: 10; | 38 z-index: 10; |
| 39 padding: 20px; | 39 padding: 20px; |
| 40 display: -webkit-box; | 40 display: -webkit-box; |
| 41 -webkit-box-align: center; | 41 -webkit-box-align: center; |
| 42 -webkit-box-pack: center; | 42 -webkit-box-pack: center; |
| 43 } | 43 } |
| 44 | 44 |
| 45 .raw-button, | |
| 46 .raw-button:hover, | |
| 47 .raw-button:active { | |
| 48 -webkit-box-shadow: none; | |
| 49 background-color: transparent; | |
| 50 background-repeat: no-repeat; | |
| 51 border: none; | |
| 52 min-width: 0; | |
| 53 padding: 1px 6px; | |
| 54 } | |
| 55 | |
| 45 .close-subpage { | 56 .close-subpage { |
| 46 background-color: transparent; | |
| 47 background-image: url('chrome://theme/IDR_CLOSE_BAR'); | 57 background-image: url('chrome://theme/IDR_CLOSE_BAR'); |
| 48 border: none; | 58 height: 16px; |
| 59 min-width: 0; | |
| 49 position: relative; | 60 position: relative; |
| 50 top: 12px; | 61 top: 12px; |
| 51 height: 16px; | |
| 52 width: 16px; | 62 width: 16px; |
| 53 } | 63 } |
| 54 | 64 |
| 55 .close-subpage:hover { | 65 .close-subpage:hover { |
| 56 background-image: url('chrome://theme/IDR_CLOSE_BAR_H'); | 66 background-image: url('chrome://theme/IDR_CLOSE_BAR_H'); |
| 57 } | 67 } |
| 58 | 68 |
| 59 .close-subpage:active { | 69 .close-subpage:active { |
| 60 background-image: url('chrome://theme/IDR_CLOSE_BAR_P'); | 70 background-image: url('chrome://theme/IDR_CLOSE_BAR_P'); |
| 61 } | 71 } |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 313 } | 323 } |
| 314 | 324 |
| 315 .hidden { | 325 .hidden { |
| 316 display: none !important; | 326 display: none !important; |
| 317 } | 327 } |
| 318 | 328 |
| 319 .touch-slider { | 329 .touch-slider { |
| 320 -webkit-appearance: slider-horizontal; | 330 -webkit-appearance: slider-horizontal; |
| 321 } | 331 } |
| 322 | 332 |
| 323 select { | |
| 324 margin: 0; | |
| 325 } | |
| 326 | |
| 327 .link-button { | 333 .link-button { |
| 328 background-color: transparent; | 334 background-color: transparent; |
| 329 border: none; | 335 border: none; |
| 330 color: blue; | 336 color: blue; |
| 331 cursor: pointer; | 337 cursor: pointer; |
| 332 text-decoration: underline; | 338 text-decoration: underline; |
| 333 } | 339 } |
| 334 | 340 |
| 335 .text-button { | 341 .text-button { |
| 336 background-color: transparent; | 342 background-color: transparent; |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 506 } | 512 } |
| 507 | 513 |
| 508 html[enable-cloud-print-proxy=false] #cloud-print-proxy-section { | 514 html[enable-cloud-print-proxy=false] #cloud-print-proxy-section { |
| 509 display: none; | 515 display: none; |
| 510 } | 516 } |
| 511 | 517 |
| 512 html[enable-cloud-print-proxy=true] #cloudPrintProxyManageButton { | 518 html[enable-cloud-print-proxy=true] #cloudPrintProxyManageButton { |
| 513 display: none; | 519 display: none; |
| 514 } | 520 } |
| 515 | 521 |
| 522 /* UI Controls */ | |
| 523 | |
| 524 button:focus, | |
| 525 input:focus, | |
| 526 input[type='submit']:focus, | |
| 527 select:focus { | |
| 528 outline-color: rgba(0, 128, 256, 0.5); | |
| 529 } | |
| 530 | |
| 531 /* TEXT */ | |
| 532 input[type='text'] { | |
|
arv (Not doing code reviews)
2011/01/19 20:53:28
We probably need more types here eventually.
| |
| 533 -webkit-border-radius: 2px; | |
| 534 border: 1px solid #aaa; | |
| 535 font-size: inherit; | |
| 536 padding: 3px; | |
| 537 } | |
| 538 | |
| 539 /* BUTTON */ | |
| 540 button, | |
| 541 input[type='submit'] { | |
| 542 -webkit-border-radius: 2px; | |
| 543 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); | |
| 544 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); | |
| 545 border: 1px solid #aaa; | |
| 546 color: #444; | |
| 547 font-size: inherit; | |
| 548 margin-bottom: 0px; | |
| 549 min-width: 4em; | |
| 550 padding: 3px 12px 3px 12px; | |
| 551 } | |
| 552 | |
| 553 button:hover, | |
| 554 input[type='submit']:hover { | |
| 555 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2); | |
| 556 background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9); | |
| 557 border-color: #999; | |
| 558 color: #222; | |
| 559 } | |
| 560 | |
| 561 button:active, | |
| 562 input[type='submit']:active { | |
| 563 -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2); | |
| 564 background: #ebebeb -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc); | |
| 565 color: #333; | |
| 566 } | |
| 567 | |
| 568 button[disabled], | |
| 569 input[type='submit'][disabled], | |
| 570 button[disabled]:hover, | |
| 571 input[type='submit'][disabled]:hover { | |
| 572 -webkit-box-shadow: none; | |
| 573 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); | |
| 574 border-color: #aaa; | |
| 575 color: #888; | |
| 576 } | |
| 577 | |
| 578 /* SELECT */ | |
| 579 select { | |
| 580 -webkit-appearance: button; | |
| 581 -webkit-border-radius: 2px; | |
| 582 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); | |
| 583 background-image: url("select.png"), -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); | |
| 584 background-position: center right; | |
| 585 background-repeat: no-repeat; | |
| 586 border: 1px solid #aaa; | |
| 587 color: #555; | |
| 588 font-size: inherit; | |
| 589 margin: 0; | |
| 590 overflow: hidden; | |
| 591 padding: 2px 20px 2px 3px; | |
| 592 text-overflow: ellipsis; | |
| 593 white-space: nowrap; | |
| 594 } | |
| 595 | |
| 596 html[dir='rtl'] select { | |
| 597 background-position: center left; | |
| 598 } | |
| 599 | |
| 600 select:hover { | |
| 601 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2); | |
| 602 background-image: url("select.png"), -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9); | |
| 603 color: #333; | |
| 604 } | |
| 605 | |
| 606 select:active { | |
| 607 -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2); | |
| 608 background-image: url("select.png"), -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc); | |
| 609 color: #444; | |
| 610 } | |
| 611 | |
| 612 /* CHECKBOX, RADIO */ | |
| 516 input[type=checkbox], | 613 input[type=checkbox], |
| 517 input[type=radio], | 614 input[type=radio] { |
| 518 button { | |
| 519 margin-left: 0; | 615 margin-left: 0; |
| 520 margin-right: 0; | 616 margin-right: 0; |
| 617 position: relative; | |
| 618 top: 1px; | |
| 521 } | 619 } |
| 522 | 620 |
| 523 /* Checkbox and radio buttons have different sizes on different platforms. The | 621 /* Checkbox and radio buttons have different sizes on different platforms. The |
| 524 * following rules have platform specific tweaks. | 622 * following rules have platform specific tweaks. |
| 525 * TODO(arv): Test the vertical position on Linux and CrOS as well. | 623 * TODO(arv): Test the vertical position on Linux and CrOS as well. |
| 526 */ | 624 */ |
| 527 | 625 |
| 528 label > input[type=checkbox], | 626 label > input[type=checkbox], |
| 529 label > input[type=radio] { | 627 label > input[type=radio] { |
| 530 margin-top: 1px; | 628 margin-top: 1px; |
| 531 } | 629 } |
| 532 | 630 |
| 533 .suboption { | |
| 534 -webkit-margin-start: 16px; | |
| 535 } | |
| 536 | |
| 537 html[os=mac] label > input[type=checkbox], | 631 html[os=mac] label > input[type=checkbox], |
| 538 html[os=mac] label > input[type=radio] { | 632 html[os=mac] label > input[type=radio] { |
| 539 margin-top: 2px; | 633 margin-top: 2px; |
| 540 } | 634 } |
| 635 | |
| 636 .suboption { | |
| 637 -webkit-margin-start: 16px; | |
| 638 } | |
| OLD | NEW |