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 { | 7 .controlled-setting-with-label { |
8 -webkit-box-align: center; | 8 -webkit-box-align: center; |
9 display: -webkit-box; | 9 display: -webkit-box; |
10 padding-bottom: 7px; | 10 padding-bottom: 7px; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 .controlled-setting-indicator:-webkit-any([controlled-by='recommended'], | 50 .controlled-setting-indicator:-webkit-any([controlled-by='recommended'], |
51 [controlled-by='hasRecommendation']) > div { | 51 [controlled-by='hasRecommendation']) > div { |
52 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); | 52 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); |
53 } | 53 } |
54 | 54 |
55 .controlled-setting-bubble-action { | 55 .controlled-setting-bubble-action { |
56 padding: 0 !important; | 56 padding: 0 !important; |
57 } | 57 } |
58 | 58 |
| 59 .controlled-setting-bubble-header { |
| 60 margin-top: 3px; |
| 61 } |
| 62 |
59 .controlled-setting-bubble-content-row { | 63 .controlled-setting-bubble-content-row { |
60 height: 35px; | 64 height: 35px; |
61 position: relative; | 65 position: relative; |
62 } | 66 } |
63 | 67 |
64 .controlled-setting-bubble-extension-name { | 68 .controlled-setting-bubble-extension-name { |
65 -webkit-padding-start: 30px; | 69 -webkit-padding-start: 30px; |
66 background-repeat: no-repeat; | 70 background-repeat: no-repeat; |
67 font-weight: bold; | 71 font-weight: bold; |
68 height: 24px; | 72 height: 24px; |
69 margin-top: -12px; | 73 margin-top: -9px; |
70 overflow: hidden; | 74 overflow: hidden; |
71 padding-top: 3px; | 75 padding-top: 3px; |
72 position: absolute; | 76 position: absolute; |
73 text-overflow: ellipsis; | 77 text-overflow: ellipsis; |
74 top: 50%; | 78 top: 50%; |
75 white-space: nowrap; | 79 white-space: nowrap; |
76 width: 215px; | 80 width: 215px; |
77 } | 81 } |
78 | 82 |
79 html[dir='rtl'] .controlled-setting-bubble-extension-name { | 83 html[dir='rtl'] .controlled-setting-bubble-extension-name { |
80 background-position: right top; | 84 background-position: right top; |
81 } | 85 } |
82 | 86 |
83 .controlled-setting-bubble-extension-manage-link { | 87 .controlled-setting-bubble-extension-manage-link { |
84 margin-top: -0.5em; | 88 margin-left: -0.35em; |
| 89 margin-top: -0.30em; |
85 position: absolute; | 90 position: absolute; |
86 top: 50%; | 91 top: 50%; |
87 } | 92 } |
88 | 93 |
89 .controlled-setting-bubble-extension-disable-button { | 94 .controlled-setting-bubble-extension-disable-button { |
90 bottom: 0; | 95 bottom: 0; |
91 position: absolute; | 96 position: absolute; |
92 right: 0; | 97 right: 0; |
93 } | 98 } |
94 | 99 |
95 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { | 100 html[dir='rtl'] .controlled-setting-bubble-extension-disable-button { |
96 left: 0; | 101 left: 0; |
97 right: auto; | 102 right: auto; |
98 } | 103 } |
OLD | NEW |