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 /* The shield that overlays the background. */ | 5 /* The shield that overlays the background. */ |
6 .overlay { | 6 .overlay { |
7 -webkit-box-align: center; | 7 -webkit-box-align: center; |
8 -webkit-box-orient: vertical; | 8 -webkit-box-orient: vertical; |
9 -webkit-box-pack: center; | 9 -webkit-box-pack: center; |
10 /* TODO(dbeam): remove perspective when http://crbug.com/374970 is fixed. */ | 10 /* TODO(dbeam): remove perspective when http://crbug.com/374970 is fixed. */ |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 143 |
144 .overlay .page .button-strip > button { | 144 .overlay .page .button-strip > button { |
145 -webkit-margin-start: 10px; | 145 -webkit-margin-start: 10px; |
146 display: block; | 146 display: block; |
147 } | 147 } |
148 | 148 |
149 .overlay .page .button-strip > .default-button:not(:focus) { | 149 .overlay .page .button-strip > .default-button:not(:focus) { |
150 border-color: rgba(0, 0, 0, 0.5); | 150 border-color: rgba(0, 0, 0, 0.5); |
151 } | 151 } |
152 | 152 |
| 153 .overlay .page .spacer-div { |
| 154 -webkit-box-flex: 1; |
| 155 } |
| 156 |
153 /* On OSX 10.7, hidden scrollbars may prevent the user from realizing that the | 157 /* On OSX 10.7, hidden scrollbars may prevent the user from realizing that the |
154 * overlay contains scrollable content. To resolve this, style the scrollbars on | 158 * overlay contains scrollable content. To resolve this, style the scrollbars on |
155 * OSX so they are always visible. See http://crbug.com/123010. */ | 159 * OSX so they are always visible. See http://crbug.com/123010. */ |
156 <if expr="is_macosx or is_ios"> | 160 <if expr="is_macosx or is_ios"> |
157 .overlay .page .content-area::-webkit-scrollbar { | 161 .overlay .page .content-area::-webkit-scrollbar { |
158 -webkit-appearance: none; | 162 -webkit-appearance: none; |
159 width: 11px; | 163 width: 11px; |
160 } | 164 } |
161 | 165 |
162 .overlay .page .content-area::-webkit-scrollbar-thumb { | 166 .overlay .page .content-area::-webkit-scrollbar-thumb { |
(...skipping 25 matching lines...) Expand all Loading... |
188 #overlay-container-1 { | 192 #overlay-container-1 { |
189 z-index: 11; | 193 z-index: 11; |
190 } | 194 } |
191 #overlay-container-2 { | 195 #overlay-container-2 { |
192 z-index: 12; | 196 z-index: 12; |
193 } | 197 } |
194 | 198 |
195 .transparent { | 199 .transparent { |
196 opacity: 0; | 200 opacity: 0; |
197 } | 201 } |
OLD | NEW |