| 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 |
| 45 div.disabled { | 63 div.disabled { |
| 46 color: #888; | 64 color: #888; |
| 47 } | 65 } |
| 48 | 66 |
| 49 /* TODO(jhawkins): Refactor back into button.css once more pages are converted. | 67 /* TODO(jhawkins): Refactor back into button.css once more pages are converted. |
| 50 */ | 68 */ |
| 51 /* Note |link-button| has no additional styling for focus, hover, or active. */ | 69 /* Note |link-button| has no additional styling for focus, hover, or active. */ |
| 52 .link-button { | 70 .link-button { |
| 53 color: rgb(48, 57, 66); | 71 color: rgb(48, 57, 66); |
| 54 padding-left: 0; | 72 padding-left: 0; |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 min-width: 650px; | 306 min-width: 650px; |
| 289 padding: 0 20px; | 307 padding: 0 20px; |
| 290 width: 95%; | 308 width: 95%; |
| 291 } | 309 } |
| 292 | 310 |
| 293 .subpage-sheet-contents .page { | 311 .subpage-sheet-contents .page { |
| 294 z-index: 1; | 312 z-index: 1; |
| 295 } | 313 } |
| 296 | 314 |
| 297 .managed-prefs-banner { | 315 .managed-prefs-banner { |
| 316 -webkit-transition-duration: 200ms; |
| 317 -webkit-transition-property: height; |
| 298 background: -webkit-linear-gradient(rgb(255, 242, 183), | 318 background: -webkit-linear-gradient(rgb(255, 242, 183), |
| 299 rgb(250, 230, 145) 97%, | 319 rgb(250, 230, 145) 97%, |
| 300 rgb(135, 135, 135)); | 320 rgb(135, 135, 135)); |
| 301 height: 31px; | 321 height: 31px; |
| 302 margin: 0; | 322 margin: 0; |
| 303 padding: 0; | 323 padding: 0; |
| 304 position: relative; | 324 position: fixed; |
| 305 vertical-align: middle; | 325 vertical-align: middle; |
| 306 width: 100%; | 326 width: 100%; |
| 307 z-index: 9; | 327 z-index: 2; |
| 328 } |
| 329 |
| 330 .managed-prefs-banner[hidden] { |
| 331 height: 0; |
| 308 } | 332 } |
| 309 | 333 |
| 310 .managed-prefs-banner.clickable:active { | 334 .managed-prefs-banner.clickable:active { |
| 311 background: -webkit-linear-gradient(rgb(135, 135, 135), | 335 background: -webkit-linear-gradient(rgb(135, 135, 135), |
| 312 rgb(250, 230, 145) 3%, | 336 rgb(250, 230, 145) 3%, |
| 313 rgb(255, 242, 183)); | 337 rgb(255, 242, 183)); |
| 314 } | 338 } |
| 315 | 339 |
| 316 .managed-prefs-icon { | 340 .managed-prefs-icon { |
| 317 background-image: url('chrome://theme/IDR_WARNING'); | 341 background-image: url('chrome://theme/IDR_WARNING'); |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); | 768 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); |
| 745 } | 769 } |
| 746 | 770 |
| 747 html[dir='rtl'] .controlled-setting-bubble-text { | 771 html[dir='rtl'] .controlled-setting-bubble-text { |
| 748 background-position: right top; | 772 background-position: right top; |
| 749 } | 773 } |
| 750 | 774 |
| 751 .controlled-setting-bubble-action { | 775 .controlled-setting-bubble-action { |
| 752 padding: 0 !important; | 776 padding: 0 !important; |
| 753 } | 777 } |
| OLD | NEW |