Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / resources / options / controlled_setting.css
blob496336ee1907aee9f563a3df1b39f02cdaa3d528
1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 /* Controlled setting indicator and bubble. */
7 .controlled-setting-with-label {
8 -webkit-box-align: center;
9 display: -webkit-box;
10 padding-bottom: 7px;
11 padding-top: 7px;
14 .controlled-setting-with-label > input + span {
15 -webkit-box-align: center;
16 -webkit-box-flex: 1;
17 -webkit-margin-start: 0.6em;
18 display: -webkit-box;
21 .controlled-setting-with-label > input:disabled + span label {
22 color: #999;
25 .controlled-setting-with-label label {
26 display: inline;
27 padding: 0;
30 input:-webkit-any([type='text'],[type='url'],:not([type])) +
31 .controlled-setting-indicator {
32 -webkit-margin-start: 5px;
35 .controlled-setting-indicator:not([controlled-by]) {
36 display: none;
39 .controlled-setting-indicator[controlled-by='policy'] > div {
40 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
43 .controlled-setting-indicator[controlled-by='owner'] > div {
44 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
47 .controlled-setting-indicator[controlled-by='extension'] > div {
48 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_EXTENSION');
51 .controlled-setting-indicator:-webkit-any([controlled-by='recommended'],
52 [controlled-by='hasRecommendation']) > div {
53 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
56 .controlled-setting-bubble-action {
57 padding: 0 !important;
60 .controlled-setting-bubble-content-row {
61 height: 35px;
62 position: relative;
65 .controlled-setting-bubble-extension-name {
66 -webkit-padding-start: 30px;
67 background-repeat: no-repeat;
68 font-weight: bold;
69 height: 24px;
70 margin-top: -12px;
71 overflow: hidden;
72 padding-top: 3px;
73 position: absolute;
74 text-overflow: ellipsis;
75 top: 50%;
76 white-space: nowrap;
77 width: 215px;
80 html[dir='rtl'] .controlled-setting-bubble-extension-name {
81 background-position: right top;
84 .controlled-setting-bubble-extension-manage-link {
85 margin-top: -0.5em;
86 position: absolute;
87 top: 50%;
90 .controlled-setting-bubble-extension-disable-button {
91 bottom: 0;
92 position: absolute;
93 right: 0;
96 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button {
97 left: 0;
98 right: auto;