Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / webui / resources / css / controlled_indicator.css
blob50bbc84097830582e92977d1395b6d7d82f0ab5c
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 input:disabled + span {
8 color: #999;
11 .controlled-setting-indicator {
12 -webkit-margin-end: 0.3em;
15 .controlled-setting-indicator:not([controlled-by]) {
16 display: none;
19 .controlled-setting-indicator[controlled-by='policy'] > div {
20 background-image: url(chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY);
23 .controlled-setting-indicator[controlled-by='owner'] > div {
24 background-image: url(chrome://theme/IDR_CONTROLLED_SETTING_OWNER);
27 .controlled-setting-indicator[controlled-by='extension'] > div {
28 background-image: url(chrome://theme/IDR_CONTROLLED_SETTING_EXTENSION);
31 .controlled-setting-indicator[controlled-by='shared'] > div {
32 background-image: url(chrome://theme/IDR_CONTROLLED_SETTING_SHARED);
35 .controlled-setting-indicator:-webkit-any([controlled-by='recommended'],
36 [controlled-by='hasRecommendation']) > div {
37 background-image: url(chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY);
40 .controlled-setting-bubble-action {
41 padding: 0 !important;
44 .controlled-setting-bubble-header {
45 margin-top: 3px;
48 .controlled-setting-bubble-content-row {
49 height: 35px;
50 position: relative;
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;
68 html[dir='rtl'] .controlled-setting-bubble-extension-name {
69 background-position: right top;
72 .controlled-setting-bubble-extension-manage-link {
73 margin-left: -0.35em;
74 margin-top: -0.30em;
75 position: absolute;
76 top: 50%;
79 .controlled-setting-bubble-extension-disable-button {
80 bottom: 0;
81 position: absolute;
82 right: 0;
85 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button {
86 left: 0;
87 right: auto;