Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: chrome/browser/resources/options/options_page.css

Issue 6320015: DOMUI Prefs: Improve focus appearance on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 body { 1 body {
2 cursor: default; 2 cursor: default;
3 font-size: 100%; 3 font-size: 100%;
4 } 4 }
5 5
6 a:link { 6 a:link {
7 color: rgb(63, 110, 194); 7 color: rgb(63, 110, 194);
8 } 8 }
9 9
10 a:active { 10 a:active {
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 html[enable-cloud-print-proxy=false] #cloud-print-proxy-section { 552 html[enable-cloud-print-proxy=false] #cloud-print-proxy-section {
553 display: none; 553 display: none;
554 } 554 }
555 555
556 html[enable-cloud-print-proxy=true] #cloudPrintProxyManageButton { 556 html[enable-cloud-print-proxy=true] #cloudPrintProxyManageButton {
557 display: none; 557 display: none;
558 } 558 }
559 559
560 /* UI Controls */ 560 /* UI Controls */
561 561
562 button:focus, 562 /* Currently we can't make custom focus outlines look right on the Mac, so
563 input:focus, 563 * we stick to native focus rings. Once outlines follow border radius, we
564 input[type='submit']:focus, 564 * can revisit.
565 select:focus { 565 */
566 html:not([os=mac]) button:focus,
567 html:not([os=mac]) input:focus,
568 html:not([os=mac]) input[type='submit']:focus,
569 html:not([os=mac]) select:focus {
566 outline-color: rgba(0, 128, 256, 0.5); 570 outline-color: rgba(0, 128, 256, 0.5);
567 } 571 }
572 html[os=mac] button:focus,
573 html[os=mac] input[type='submit']:focus {
574 outline-offset: -2px;
575 }
568 576
569 /* TEXT */ 577 /* TEXT */
570 input[type='password'], 578 input[type='password'],
571 input[type='text'] { 579 input[type='text'] {
572 -webkit-border-radius: 2px; 580 -webkit-border-radius: 2px;
573 border: 1px solid #aaa; 581 border: 1px solid #aaa;
574 font-size: inherit; 582 font-size: inherit;
575 padding: 3px; 583 padding: 3px;
576 } 584 }
577 585
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 } 676 }
669 677
670 html[os=mac] label > input[type=checkbox], 678 html[os=mac] label > input[type=checkbox],
671 html[os=mac] label > input[type=radio] { 679 html[os=mac] label > input[type=radio] {
672 margin-top: 2px; 680 margin-top: 2px;
673 } 681 }
674 682
675 .suboption { 683 .suboption {
676 -webkit-margin-start: 16px; 684 -webkit-margin-start: 16px;
677 } 685 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698