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

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: Explain propagation. 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;
618 display: inline-block;
619 height: 16px;
620 /* Establish a containing block for absolutely positioning the bubble. */
621 position: relative;
622 vertical-align: text-bottom;
623 width: 16px;
624 }
625
626 .controlled-setting-indicator[controlledBy='policy'] {
627 background-image: url('chrome://theme/IDR_MANAGED_GRAY');
628 }
629
630 .controlled-setting-indicator[controlledBy='extension'] {
631 background-image: url('chrome://theme/IDR_MANAGED_GRAY');
632 }
633
634 .controlled-setting-indicator[controlledBy='recommended'] {
635 background-image: url('chrome://theme/IDR_MANAGED_GRAY');
636 }
637
638 .controlled-setting-bubble {
639 -webkit-margin-start: -20px;
640 background-color: white;
641 border-radius: 4px;
642 border: 1px solid #ccc;
643 box-shadow: 0 2px 2px #ddd;
644 margin-top: 10px;
645 padding: 10px;
646 position: absolute;
647 top: 50%;
648 }
649
650 html[dir='ltr'] .controlled-setting-bubble {
651 left: 50%;
652 }
653
654 html[dir='rtl'] .controlled-setting-bubble {
655 right: 50%;
656 }
657
658 .controlled-setting-bubble:before {
659 -webkit-margin-start: 4px;
660 border-color: #ccc transparent;
661 border-style: solid;
662 border-width: 0px 5px 5px;
663 content: '';
664 position: absolute;
665 top: -5px;
666 }
667
668 .controlled-setting-bubble:after {
669 -webkit-margin-start: 5px;
670 border-color: white transparent;
671 border-style: solid;
672 border-width: 0px 4px 4px;
673 content: '';
674 position: absolute;
675 top: -4px;
676 }
677
678 .controlled-setting-bubble-text {
679 -webkit-padding-start: 40px;
680 background-image: url('chrome://theme/IDR_MANAGED_COLOR');
681 background-repeat: no-repeat;
682 min-height: 32px;
683 min-width: 200px;
684 }
685
686 html[dir='rtl'] .controlled-setting-bubble-text {
687 background-position: right top;
688 }
689
690 .controlled-setting-bubble-action {
691 padding: 0px !important;
692 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698