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 .controlled-setting-indicator:not([controlled-by]) {
34 .controlled-setting-indicator[controlled-by='policy'] > div {
35 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
38 .controlled-setting-indicator[controlled-by='owner'] > div {
39 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_OWNER');
42 .controlled-setting-indicator[controlled-by='extension'] > div {
43 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_EXTENSION');
46 .controlled-setting-indicator[controlled-by='shared'] > div {
47 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_SHARED');
50 .controlled-setting-indicator:-webkit-any([controlled-by='recommended'],
51 [controlled-by='hasRecommendation']) > div {
52 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
55 .controlled-setting-bubble-action {
56 padding: 0 !important;
59 .controlled-setting-bubble-content-row {
64 .controlled-setting-bubble-extension-name {
65 -webkit-padding-start: 30px;
66 background-repeat: no-repeat;
73 text-overflow: ellipsis;
79 html[dir='rtl'] .controlled-setting-bubble-extension-name {
80 background-position: right top;
83 .controlled-setting-bubble-extension-manage-link {
89 .controlled-setting-bubble-extension-disable-button {
95 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button {