• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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. */
4
5/* Controlled setting indicator and bubble. */
6
7.controlled-setting-with-label input:disabled + span {
8  color: #999;
9}
10
11.controlled-setting-indicator {
12  -webkit-margin-end: 0.3em;
13}
14
15.controlled-setting-indicator:not([controlled-by]) {
16  display: none;
17}
18
19.controlled-setting-indicator[controlled-by='policy'] > div {
20  background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
21}
22
23.controlled-setting-indicator[controlled-by='owner'] > div {
24  background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_OWNER');
25}
26
27.controlled-setting-indicator[controlled-by='extension'] > div {
28  background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_EXTENSION');
29}
30
31.controlled-setting-indicator[controlled-by='shared'] > div {
32  background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_SHARED');
33}
34
35.controlled-setting-indicator:-webkit-any([controlled-by='recommended'],
36    [controlled-by='hasRecommendation']) > div {
37  background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
38}
39
40.controlled-setting-bubble-action {
41  padding: 0 !important;
42}
43
44.controlled-setting-bubble-header {
45  margin-top: 3px;
46}
47
48.controlled-setting-bubble-content-row {
49  height: 35px;
50  position: relative;
51}
52
53.controlled-setting-bubble-extension-name {
54  -webkit-padding-start: 30px;
55  background-repeat: no-repeat;
56  font-weight: bold;
57  height: 24px;
58  margin-top: -9px;
59  overflow: hidden;
60  padding-top: 3px;
61  position: absolute;
62  text-overflow: ellipsis;
63  top: 50%;
64  white-space: nowrap;
65  width: 215px;
66}
67
68html[dir='rtl'] .controlled-setting-bubble-extension-name {
69  background-position: right top;
70}
71
72.controlled-setting-bubble-extension-manage-link {
73  margin-left: -0.35em;
74  margin-top: -0.30em;
75  position: absolute;
76  top: 50%;
77}
78
79.controlled-setting-bubble-extension-disable-button {
80  bottom: 0;
81  position: absolute;
82  right: 0;
83}
84
85html[dir='rtl'] .controlled-setting-bubble-extension-disable-button {
86  left: 0;
87  right: auto;
88}
89