| 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 | |
| 14 .controlled-setting-with-label input + span { | 7 .controlled-setting-with-label input + span { |
| 15 -webkit-box-align: center; | 8 -webkit-box-align: center; |
| 16 -webkit-box-flex: 1; | 9 -webkit-box-flex: 1; |
| 17 -webkit-margin-start: 0.6em; | 10 -webkit-margin-start: 0.6em; |
| 18 display: -webkit-box; | 11 display: -webkit-box; |
| 19 } | 12 } |
| 20 | 13 |
| 21 .controlled-setting-with-label input:disabled + span label { | 14 .controlled-setting-with-label input:disabled + span { |
| 22 color: #999; | 15 color: #999; |
| 23 } | 16 } |
| 24 | 17 |
| 25 .controlled-setting-with-label label { | |
| 26 display: inline; | |
| 27 padding: 0; | |
| 28 } | |
| 29 | |
| 30 .controlled-setting-indicator:not([controlled-by]) { | 18 .controlled-setting-indicator:not([controlled-by]) { |
| 31 display: none; | 19 display: none; |
| 32 } | 20 } |
| 33 | 21 |
| 34 .controlled-setting-indicator[controlled-by='policy'] > div { | 22 .controlled-setting-indicator[controlled-by='policy'] > div { |
| 35 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); | 23 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); |
| 36 } | 24 } |
| 37 | 25 |
| 38 .controlled-setting-indicator[controlled-by='owner'] > div { | 26 .controlled-setting-indicator[controlled-by='owner'] > div { |
| 39 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_OWNER'); | 27 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_OWNER'); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 .controlled-setting-bubble-extension-disable-button { | 82 .controlled-setting-bubble-extension-disable-button { |
| 95 bottom: 0; | 83 bottom: 0; |
| 96 position: absolute; | 84 position: absolute; |
| 97 right: 0; | 85 right: 0; |
| 98 } | 86 } |
| 99 | 87 |
| 100 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { | 88 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { |
| 101 left: 0; | 89 left: 0; |
| 102 right: auto; | 90 right: auto; |
| 103 } | 91 } |
| OLD | NEW |