OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 body { | 5 body { |
6 position: relative; | 6 position: relative; |
7 } | 7 } |
8 | 8 |
9 #main-content { | 9 #main-content { |
10 bottom: 0; | 10 bottom: 0; |
(...skipping 24 matching lines...) Expand all Loading... |
35 position: relative; | 35 position: relative; |
36 } | 36 } |
37 | 37 |
38 #page-container { | 38 #page-container { |
39 -webkit-padding-end: 24px; | 39 -webkit-padding-end: 24px; |
40 box-sizing: border-box; | 40 box-sizing: border-box; |
41 max-width: 888px; | 41 max-width: 888px; |
42 min-width: 600px; | 42 min-width: 600px; |
43 } | 43 } |
44 | 44 |
45 #page-container .page { | |
46 -webkit-transition-duration: 200ms; | |
47 -webkit-transition-property: margin-top; | |
48 } | |
49 | |
50 #page-container .page.under-managed-prefs-banner { | |
51 margin-top: 31px; | |
52 } | |
53 | |
54 #page-container header { | |
55 -webkit-transition-duration: 200ms; | |
56 -webkit-transition-property: top; | |
57 } | |
58 | |
59 #page-container .page.under-managed-prefs-banner header { | |
60 top: 31px; | |
61 } | |
62 | |
63 div.disabled { | 45 div.disabled { |
64 color: #888; | 46 color: #888; |
65 } | 47 } |
66 | 48 |
67 .settings-row { | 49 .settings-row { |
68 display: block; | 50 display: block; |
69 margin-bottom: 0.45em; | 51 margin-bottom: 0.45em; |
70 margin-top: 0.45em; | 52 margin-top: 0.45em; |
71 } | 53 } |
72 | 54 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 } | 152 } |
171 | 153 |
172 /* Omit top padding (currently only on #settings) whenever the search page is | 154 /* Omit top padding (currently only on #settings) whenever the search page is |
173 * showing. | 155 * showing. |
174 */ | 156 */ |
175 #searchPage:not([hidden]) + #settings { | 157 #searchPage:not([hidden]) + #settings { |
176 padding-top: 0; | 158 padding-top: 0; |
177 } | 159 } |
178 | 160 |
179 .managed-prefs-banner { | 161 .managed-prefs-banner { |
180 -webkit-transition-duration: 200ms; | 162 background-color: white; |
181 -webkit-transition-property: height; | |
182 background: -webkit-linear-gradient(rgb(255, 242, 183), | |
183 rgb(250, 230, 145) 97%, | |
184 rgb(135, 135, 135)); | |
185 height: 31px; | |
186 margin: 0; | |
187 padding: 0; | |
188 position: fixed; | |
189 vertical-align: middle; | |
190 width: 100%; | 163 width: 100%; |
191 z-index: 2; | 164 z-index: 2; |
192 } | 165 } |
193 | 166 |
194 .managed-prefs-banner[hidden] { | 167 .page:not(.showing-banner) .managed-prefs-banner { |
195 height: 0; | 168 display: none; |
196 } | 169 } |
197 | 170 |
198 .managed-prefs-banner.clickable:active { | 171 .managed-prefs-gradient { |
199 background: -webkit-linear-gradient(rgb(135, 135, 135), | 172 background: -webkit-linear-gradient(rgb(255, 242, 183), |
200 rgb(250, 230, 145) 3%, | 173 rgb(250, 230, 145)); |
| 174 border: 1px solid rgb(201, 189, 141); |
| 175 border-radius: 3px; |
| 176 height: 25px; |
| 177 margin: 9px 9px 0 9px; |
| 178 } |
| 179 |
| 180 .main-page-banner .managed-prefs-gradient { |
| 181 -webkit-margin-end: 100px; |
| 182 -webkit-margin-start: 0; |
| 183 margin-bottom: 9px; |
| 184 margin-top: 0; |
| 185 } |
| 186 |
| 187 .managed-prefs-text { |
| 188 background-image: url('chrome://theme/IDR_WARNING'); |
| 189 background-position: 3px center; |
| 190 background-repeat: no-repeat; |
| 191 display: block; |
| 192 line-height: 25px; |
| 193 padding-left: 31px; |
| 194 } |
| 195 |
| 196 .managed-prefs-banner.clickable:active .managed-prefs-text { |
| 197 background: -webkit-linear-gradient(rgb(250, 230, 145), |
201 rgb(255, 242, 183)); | 198 rgb(255, 242, 183)); |
202 } | 199 } |
203 | 200 |
204 .managed-prefs-icon { | 201 #page-container .page.showing-banner { |
205 background-image: url('chrome://theme/IDR_WARNING'); | 202 margin-top: 36px; |
206 background-position: center; | |
207 background-repeat: no-repeat; | |
208 display: inline-block; | |
209 height: 21px; | |
210 padding: 5px; | |
211 vertical-align: middle; | |
212 width: 24px; | |
213 } | |
214 | |
215 .managed-prefs-text { | |
216 vertical-align: middle; | |
217 } | 203 } |
218 | 204 |
219 .overlay .page h1 { | 205 .overlay .page h1 { |
220 background: -webkit-linear-gradient(white, #F8F8F8); | 206 background: -webkit-linear-gradient(white, #F8F8F8); |
221 border-bottom: 1px solid rgba(188, 193, 208, .5); | 207 border-bottom: 1px solid rgba(188, 193, 208, .5); |
222 font-size: 105%; | 208 font-size: 105%; |
223 font-weight: bold; | 209 font-weight: bold; |
224 padding: 10px 15px 8px 15px; | 210 padding: 10px 15px 8px 15px; |
225 } | 211 } |
226 | 212 |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); | 610 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); |
625 } | 611 } |
626 | 612 |
627 html[dir='rtl'] .controlled-setting-bubble-text { | 613 html[dir='rtl'] .controlled-setting-bubble-text { |
628 background-position: right top; | 614 background-position: right top; |
629 } | 615 } |
630 | 616 |
631 .controlled-setting-bubble-action { | 617 .controlled-setting-bubble-action { |
632 padding: 0 !important; | 618 padding: 0 !important; |
633 } | 619 } |
OLD | NEW |