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 .page.showing-banner { |
| 123 margin-top: 45px; |
| 124 } |
| 125 |
| 126 .page-banner { |
| 127 background-color: white; |
| 128 width: 100%; |
| 129 z-index: 2; |
| 130 } |
| 131 |
| 132 .page:not(.showing-banner) .page-banner { |
| 133 display: none; |
| 134 } |
| 135 |
| 136 .page-banner-gradient { |
| 137 background: -webkit-linear-gradient(rgb(255, 242, 183), |
| 138 rgb(250, 230, 145)); |
| 139 border: 1px solid rgb(201, 189, 141); |
| 140 border-radius: 3px; |
| 141 height: 25px; |
| 142 margin: 9px 9px 0 9px; |
| 143 } |
| 144 |
| 145 .page-banner .page-banner-gradient { |
| 146 -webkit-margin-end: 20px; |
| 147 -webkit-margin-start: 0; |
| 148 margin-bottom: 9px; |
| 149 } |
| 150 |
| 151 .page-banner-text { |
| 152 background-image: url('chrome://theme/IDR_MANAGED'); |
| 153 background-position: 5px center; |
| 154 background-repeat: no-repeat; |
| 155 display: block; |
| 156 line-height: 24px; |
| 157 padding-left: 26px; |
| 158 } |
| 159 |
| 160 .page-banner.clickable:active .page-banner-text { |
| 161 background: -webkit-linear-gradient(rgb(250, 230, 145), |
| 162 rgb(255, 242, 183)); |
| 163 } |
OLD | NEW |