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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 right: 0; | 102 right: 0; |
103 } | 103 } |
104 | 104 |
105 /* Omit top padding (currently only on #settings) whenever the search page is | 105 /* Omit top padding (currently only on #settings) whenever the search page is |
106 * showing. | 106 * showing. |
107 */ | 107 */ |
108 #searchPage:not([hidden]) + #settings { | 108 #searchPage:not([hidden]) + #settings { |
109 padding-top: 0; | 109 padding-top: 0; |
110 } | 110 } |
111 | 111 |
112 .managed-prefs-banner { | |
113 background-color: white; | |
114 width: 100%; | |
115 z-index: 2; | |
116 } | |
117 | |
118 .page:not(.showing-banner) .managed-prefs-banner { | |
119 display: none; | |
120 } | |
121 | |
122 .managed-prefs-gradient { | |
123 background: -webkit-linear-gradient(rgb(255, 242, 183), | |
124 rgb(250, 230, 145)); | |
125 border: 1px solid rgb(201, 189, 141); | |
126 border-radius: 3px; | |
127 height: 25px; | |
128 margin: 9px 9px 0 9px; | |
129 } | |
130 | |
131 .main-page-banner .managed-prefs-gradient { | |
132 -webkit-margin-end: 20px; | |
133 -webkit-margin-start: 0; | |
134 margin-bottom: 9px; | |
135 } | |
136 | |
137 .managed-prefs-text { | |
138 background-image: url('chrome://theme/IDR_MANAGED'); | |
139 background-position: 5px center; | |
140 background-repeat: no-repeat; | |
141 background-size: 16px; | |
142 display: block; | |
143 line-height: 24px; | |
144 padding-left: 26px; | |
145 } | |
146 | |
147 .managed-prefs-banner.clickable:active .managed-prefs-text { | |
148 background: -webkit-linear-gradient(rgb(250, 230, 145), | |
149 rgb(255, 242, 183)); | |
150 } | |
151 | |
152 #page-container .page.showing-banner { | |
153 margin-top: 45px; | |
154 } | |
155 | |
156 .page list { | 112 .page list { |
157 /* Min height is a multiple of the list item height (32) */ | 113 /* Min height is a multiple of the list item height (32) */ |
158 min-height: 192px; | 114 min-height: 192px; |
159 } | 115 } |
160 | 116 |
161 .option { | 117 .option { |
162 margin-top: 0; | 118 margin-top: 0; |
163 } | 119 } |
164 | 120 |
165 .transparent { | 121 .transparent { |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
572 background-size: 22px; | 528 background-size: 22px; |
573 } | 529 } |
574 | 530 |
575 html[dir='rtl'] .controlled-setting-bubble-text { | 531 html[dir='rtl'] .controlled-setting-bubble-text { |
576 background-position: right top; | 532 background-position: right top; |
577 } | 533 } |
578 | 534 |
579 .controlled-setting-bubble-action { | 535 .controlled-setting-bubble-action { |
580 padding: 0 !important; | 536 padding: 0 !important; |
581 } | 537 } |
OLD | NEW |