| /* Copyright 2013 The Chromium Authors. All rights reserved. |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. */ |
| |
| /* Controlled setting indicator and bubble. */ |
| |
| .controlled-setting-with-label { |
| -webkit-box-align: center; |
| display: -webkit-box; |
| padding-bottom: 7px; |
| padding-top: 7px; |
| } |
| |
| .controlled-setting-with-label > input + span { |
| -webkit-box-align: center; |
| -webkit-box-flex: 1; |
| -webkit-margin-start: 0.6em; |
| display: -webkit-box; |
| } |
| |
| .controlled-setting-with-label > input:disabled + span label { |
| color: #999; |
| } |
| |
| .controlled-setting-with-label label { |
| display: inline; |
| padding: 0; |
| } |
| |
| .controlled-setting-indicator:not([controlled-by]) { |
| display: none; |
| } |
| |
| .controlled-setting-indicator[controlled-by='policy'] > div { |
| background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); |
| } |
| |
| .controlled-setting-indicator[controlled-by='owner'] > div { |
| background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_OWNER'); |
| } |
| |
| .controlled-setting-indicator[controlled-by='extension'] > div { |
| background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_EXTENSION'); |
| } |
| |
| .controlled-setting-indicator[controlled-by='shared'] > div { |
| background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_SHARED'); |
| } |
| |
| .controlled-setting-indicator:-webkit-any([controlled-by='recommended'], |
| [controlled-by='hasRecommendation']) > div { |
| background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); |
| } |
| |
| .controlled-setting-bubble-action { |
| padding: 0 !important; |
| } |
| |
| .controlled-setting-bubble-header { |
| margin-top: 3px; |
| } |
| |
| .controlled-setting-bubble-content-row { |
| height: 35px; |
| position: relative; |
| } |
| |
| .controlled-setting-bubble-extension-name { |
| -webkit-padding-start: 30px; |
| background-repeat: no-repeat; |
| font-weight: bold; |
| height: 24px; |
| margin-top: -9px; |
| overflow: hidden; |
| padding-top: 3px; |
| position: absolute; |
| text-overflow: ellipsis; |
| top: 50%; |
| white-space: nowrap; |
| width: 215px; |
| } |
| |
| html[dir='rtl'] .controlled-setting-bubble-extension-name { |
| background-position: right top; |
| } |
| |
| .controlled-setting-bubble-extension-manage-link { |
| margin-left: -0.35em; |
| margin-top: -0.30em; |
| position: absolute; |
| top: 50%; |
| } |
| |
| .controlled-setting-bubble-extension-disable-button { |
| bottom: 0; |
| position: absolute; |
| right: 0; |
| } |
| |
| html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { |
| left: 0; |
| right: auto; |
| } |