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

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

Issue 8480037: Controlled settings indicator and bubble for chrome://preferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
OLDNEW
1 .hbox { 1 .hbox {
2 display: -webkit-box; 2 display: -webkit-box;
3 -webkit-box-orient: horizontal; 3 -webkit-box-orient: horizontal;
4 } 4 }
5 5
6 .vbox { 6 .vbox {
7 display: -webkit-box; 7 display: -webkit-box;
8 -webkit-box-orient: vertical; 8 -webkit-box-orient: vertical;
9 } 9 }
10 10
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 .displaytable > section > * { 604 .displaytable > section > * {
605 display: table-cell; 605 display: table-cell;
606 vertical-align: baseline; 606 vertical-align: baseline;
607 border-bottom: 1px solid #eeeeee; 607 border-bottom: 1px solid #eeeeee;
608 } 608 }
609 609
610 /* do not display a border after the last section in the table */ 610 /* do not display a border after the last section in the table */
611 .displaytable:not([searching='true']) > section:last-child > * { 611 .displaytable:not([searching='true']) > section:last-child > * {
612 border-bottom: none; 612 border-bottom: none;
613 } 613 }
614
615 /* Controlled setting indicator and bubble. */
616 .controlled-setting-indicator {
617 background-size: contain;
Patrick Dubroy 2011/11/21 12:41:16 Do you need this? It will cause the image to scale
Mattias Nissler (ping if slow) 2011/11/21 13:45:01 The scaling is exactly why I put it. The reason is
Patrick Dubroy 2011/11/21 13:53:19 No, that makes sense. I realized why you did it af
618 display: inline-block;
619 height: 16px;
620 position: relative;
Patrick Dubroy 2011/11/21 12:41:16 Maybe add a comment to explain why position:relati
Mattias Nissler (ping if slow) 2011/11/21 13:45:01 Done.
621 vertical-align: text-bottom;
622 width: 16px;
623 }
624
625 .controlled-setting-indicator[controlledBy='policy'] {
626 background-image: url('chrome://theme/IDR_MANAGED_GRAY');
627 }
628
629 .controlled-setting-indicator[controlledBy='extension'] {
630 background-image: url('chrome://theme/IDR_MANAGED_GRAY');
631 }
632
633 .controlled-setting-indicator[controlledBy='recommended'] {
634 background-image: url('chrome://theme/IDR_MANAGED_GRAY');
635 }
636
637 .controlled-setting-bubble {
638 -webkit-margin-start: -20px;
639 background-color: white;
640 border-radius: 4px;
641 border: 1px solid #ccc;
642 box-shadow: 0 2px 2px #ddd;
643 margin-top: 10px;
644 padding: 10px;
645 position: absolute;
646 top: 50%;
647 }
648
649 html[dir='ltr'] .controlled-setting-bubble {
650 left: 50%;
651 }
652
653 html[dir='rtl'] .controlled-setting-bubble {
654 right: 50%;
655 }
656
657 .controlled-setting-bubble:before {
658 -webkit-margin-start: 4px;
659 border-color: #ccc transparent;
660 border-style: solid;
661 border-width: 0px 5px 5px;
662 content: '';
663 position: absolute;
664 top: -5px;
665 }
666
667 .controlled-setting-bubble:after {
668 -webkit-margin-start: 5px;
669 border-color: white transparent;
670 border-style: solid;
671 border-width: 0px 4px 4px;
672 content: '';
673 position: absolute;
674 top: -4px;
675 }
676
677 .controlled-setting-bubble-text {
678 -webkit-padding-start: 40px;
679 background-image: url('chrome://theme/IDR_MANAGED_COLOR');
680 background-repeat: no-repeat;
681 min-height: 32px;
682 min-width: 200px;
683 }
684
685 html[dir='rtl'] .controlled-setting-bubble-text {
686 background-position: right top;
687 }
688
689 .controlled-setting-bubble-action {
690 padding: 0px !important;
691 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698