Chromium Code Reviews| 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.uber-frame { | 5 body.uber-frame { |
| 6 -webkit-margin-start: 155px; | 6 -webkit-margin-start: 155px; |
| 7 color: rgb(48, 57, 66); | 7 color: rgb(48, 57, 66); |
| 8 } | 8 } |
| 9 | 9 |
| 10 html[dir='rtl'] body.uber-frame { | 10 html[dir='rtl'] body.uber-frame { |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 109 margin-bottom: 0; | 109 margin-bottom: 0; |
| 110 } | 110 } |
| 111 | 111 |
| 112 body.uber-frame section > h3 { | 112 body.uber-frame section > h3 { |
| 113 -webkit-margin-start: -18px; | 113 -webkit-margin-start: -18px; |
| 114 } | 114 } |
| 115 | 115 |
| 116 body.uber-frame section > div:only-of-type { | 116 body.uber-frame section > div:only-of-type { |
| 117 -webkit-box-flex: 1; | 117 -webkit-box-flex: 1; |
| 118 } | 118 } |
| 119 | |
| 120 /* Styles for a hideable notification banner at the top of a page. | |
| 121 * See the Options page .managed-prefs-banner for a usage example. | |
| 122 */ | |
|
Evan Stade
2012/06/20 21:27:35
move */ to previous line.
| |
| 123 .page.showing-banner { | |
| 124 margin-top: 45px; | |
| 125 } | |
| 126 | |
| 127 .page-banner { | |
| 128 background-color: white; | |
| 129 width: 100%; | |
| 130 z-index: 2; | |
| 131 } | |
| 132 | |
| 133 .page:not(.showing-banner) .page-banner { | |
| 134 display: none; | |
| 135 } | |
| 136 | |
| 137 .page-banner-gradient { | |
| 138 background: -webkit-linear-gradient(rgb(255, 242, 183), | |
| 139 rgb(250, 230, 145)); | |
| 140 border: 1px solid rgb(201, 189, 141); | |
| 141 border-radius: 3px; | |
| 142 height: 25px; | |
| 143 margin: 9px 9px 0 9px; | |
| 144 } | |
| 145 | |
| 146 .page-banner .page-banner-gradient { | |
| 147 -webkit-margin-end: 20px; | |
| 148 -webkit-margin-start: 0; | |
| 149 margin-bottom: 9px; | |
| 150 } | |
| 151 | |
| 152 .page-banner-text { | |
| 153 background-image: url('chrome://theme/IDR_MANAGED'); | |
|
Evan Stade
2012/06/20 21:27:35
I'm not sure that every page installs a theme data
Pam (message me for reviews)
2012/06/21 16:38:13
Currently it's only used on the Settings and Exten
| |
| 154 background-position: 5px center; | |
| 155 background-repeat: no-repeat; | |
| 156 display: block; | |
| 157 line-height: 24px; | |
| 158 padding-left: 26px; | |
| 159 } | |
| 160 | |
| 161 .page-banner.clickable:active .page-banner-text { | |
| 162 background: -webkit-linear-gradient(rgb(250, 230, 145), | |
| 163 rgb(255, 242, 183)); | |
| 164 } | |
| OLD | NEW |