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
;
14 .controlled-setting-with-label > input + span {
15 -webkit-box-align: center
;
17 -webkit-margin-start: 0.6em;
21 .controlled-setting-with-label > input:disabled + span label {
25 .controlled-setting-with-label label {
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]) {
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 {
65 .controlled-setting-bubble-extension-name {
66 -webkit-padding-start: 30px;
67 background-repeat: no-repeat
;
74 text-overflow: ellipsis
;
80 html
[dir
='rtl'] .controlled-setting-bubble-extension-name
{
81 background-position: right top
;
84 .controlled-setting-bubble-extension-manage-link {
90 .controlled-setting-bubble-extension-disable-button {
96 html
[dir
='rtl'] .controlled-setting-bubble-extension-disable-button
{