OLD | NEW |
1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 /* Controlled setting indicator and bubble. */ | 5 /* Controlled setting indicator and bubble. */ |
6 | 6 |
| 7 .controlled-setting-with-label { |
| 8 -webkit-box-align: center; |
| 9 display: -webkit-box; |
| 10 padding-bottom: 7px; |
| 11 padding-top: 7px; |
| 12 } |
| 13 |
7 .controlled-setting-with-label input + span { | 14 .controlled-setting-with-label input + span { |
8 -webkit-box-align: center; | 15 -webkit-box-align: center; |
9 -webkit-box-flex: 1; | 16 -webkit-box-flex: 1; |
10 -webkit-margin-start: 0.6em; | 17 -webkit-margin-start: 0.6em; |
11 display: -webkit-box; | 18 display: -webkit-box; |
12 } | 19 } |
13 | 20 |
14 .controlled-setting-with-label input:disabled + span { | 21 .controlled-setting-with-label input:disabled + span label { |
15 color: #999; | 22 color: #999; |
16 } | 23 } |
17 | 24 |
| 25 .controlled-setting-with-label label { |
| 26 display: inline; |
| 27 padding: 0; |
| 28 } |
| 29 |
18 .controlled-setting-indicator:not([controlled-by]) { | 30 .controlled-setting-indicator:not([controlled-by]) { |
19 display: none; | 31 display: none; |
20 } | 32 } |
21 | 33 |
22 .controlled-setting-indicator[controlled-by='policy'] > div { | 34 .controlled-setting-indicator[controlled-by='policy'] > div { |
23 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); | 35 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); |
24 } | 36 } |
25 | 37 |
26 .controlled-setting-indicator[controlled-by='owner'] > div { | 38 .controlled-setting-indicator[controlled-by='owner'] > div { |
27 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_OWNER'); | 39 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_OWNER'); |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 .controlled-setting-bubble-extension-disable-button { | 94 .controlled-setting-bubble-extension-disable-button { |
83 bottom: 0; | 95 bottom: 0; |
84 position: absolute; | 96 position: absolute; |
85 right: 0; | 97 right: 0; |
86 } | 98 } |
87 | 99 |
88 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { | 100 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { |
89 left: 0; | 101 left: 0; |
90 right: auto; | 102 right: auto; |
91 } | 103 } |
OLD | NEW |