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 /* TEXT */ | 49 /* TEXT */ |
68 input[type='password'], | 50 input[type='password'], |
69 input[type='text'], | 51 input[type='text'], |
70 input[type='url'], | 52 input[type='url'], |
71 input:not([type]) { | 53 input:not([type]) { |
72 -webkit-border-radius: 2px; | 54 -webkit-border-radius: 2px; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 min-height: 100%; | 200 min-height: 100%; |
219 min-width: 650px; | 201 min-width: 650px; |
220 padding: 0 20px; | 202 padding: 0 20px; |
221 width: 95%; | 203 width: 95%; |
222 } | 204 } |
223 | 205 |
224 .subpage-sheet-contents .page { | 206 .subpage-sheet-contents .page { |
225 z-index: 1; | 207 z-index: 1; |
226 } | 208 } |
227 | 209 |
| 210 /* This is the banner for an overlay or the global banner. */ |
228 .managed-prefs-banner { | 211 .managed-prefs-banner { |
229 -webkit-transition-duration: 200ms; | 212 background-color: white; |
230 -webkit-transition-property: height; | |
231 background: -webkit-linear-gradient(rgb(255, 242, 183), | |
232 rgb(250, 230, 145) 97%, | |
233 rgb(135, 135, 135)); | |
234 height: 31px; | |
235 margin: 0; | |
236 padding: 0; | |
237 position: fixed; | |
238 vertical-align: middle; | |
239 width: 100%; | 213 width: 100%; |
240 z-index: 2; | 214 z-index: 2; |
241 } | 215 } |
242 | 216 |
243 .managed-prefs-banner[hidden] { | 217 .managed-prefs-gradient { |
244 height: 0; | 218 background: -webkit-linear-gradient(rgb(255, 242, 183), |
| 219 rgb(250, 230, 145)); |
| 220 border: 1px solid rgb(201, 189, 141); |
| 221 border-radius: 3px; |
| 222 height: 25px; |
| 223 margin: 9px 9px 0 9px; |
245 } | 224 } |
246 | 225 |
247 .managed-prefs-banner.clickable:active { | 226 .main-page-banner .managed-prefs-gradient { |
248 background: -webkit-linear-gradient(rgb(135, 135, 135), | 227 -webkit-margin-end: 100px; |
249 rgb(250, 230, 145) 3%, | 228 -webkit-margin-start: 0; |
| 229 margin-bottom: 9px; |
| 230 margin-top: 0; |
| 231 } |
| 232 |
| 233 .managed-prefs-text { |
| 234 background-image: url('chrome://theme/IDR_WARNING'); |
| 235 background-position: 3px center; |
| 236 background-repeat: no-repeat; |
| 237 display: block; |
| 238 line-height: 25px; |
| 239 padding-left: 31px; |
| 240 } |
| 241 |
| 242 .managed-prefs-banner.clickable:active .managed-prefs-text { |
| 243 background: -webkit-linear-gradient(rgb(250, 230, 145), |
250 rgb(255, 242, 183)); | 244 rgb(255, 242, 183)); |
251 } | 245 } |
252 | 246 |
253 .managed-prefs-icon { | 247 #page-container .page.showing-banner { |
254 background-image: url('chrome://theme/IDR_WARNING'); | 248 margin-top: 36px; |
255 background-position: center; | |
256 background-repeat: no-repeat; | |
257 display: inline-block; | |
258 height: 21px; | |
259 padding: 5px; | |
260 vertical-align: middle; | |
261 width: 24px; | |
262 } | |
263 | |
264 .managed-prefs-text { | |
265 vertical-align: middle; | |
266 } | 249 } |
267 | 250 |
268 .overlay .page h1 { | 251 .overlay .page h1 { |
269 background: -webkit-linear-gradient(white, #F8F8F8); | 252 background: -webkit-linear-gradient(white, #F8F8F8); |
270 border-bottom: 1px solid rgba(188, 193, 208, .5); | 253 border-bottom: 1px solid rgba(188, 193, 208, .5); |
271 font-size: 105%; | 254 font-size: 105%; |
272 font-weight: bold; | 255 font-weight: bold; |
273 padding: 10px 15px 8px 15px; | 256 padding: 10px 15px 8px 15px; |
274 } | 257 } |
275 | 258 |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); | 660 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); |
678 } | 661 } |
679 | 662 |
680 html[dir='rtl'] .controlled-setting-bubble-text { | 663 html[dir='rtl'] .controlled-setting-bubble-text { |
681 background-position: right top; | 664 background-position: right top; |
682 } | 665 } |
683 | 666 |
684 .controlled-setting-bubble-action { | 667 .controlled-setting-bubble-action { |
685 padding: 0 !important; | 668 padding: 0 !important; |
686 } | 669 } |
OLD | NEW |