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 -webkit-transition: 200ms opacity; | 10 -webkit-transition: 200ms opacity; |
(...skipping 12 matching lines...) Expand all Loading... | |
23 .overlay.transparent .page { | 23 .overlay.transparent .page { |
24 /* TODO(flackr): Add perspective(500px) rotateX(5deg) when accelerated | 24 /* TODO(flackr): Add perspective(500px) rotateX(5deg) when accelerated |
25 * compositing is enabled on chrome:// pages. See http://crbug.com/116800. */ | 25 * compositing is enabled on chrome:// pages. See http://crbug.com/116800. */ |
26 -webkit-transform: scale(0.99) translateY(-20px); | 26 -webkit-transform: scale(0.99) translateY(-20px); |
27 } | 27 } |
28 | 28 |
29 /* The foreground dialog. */ | 29 /* The foreground dialog. */ |
30 .overlay .page { | 30 .overlay .page { |
31 -webkit-border-radius: 3px; | 31 -webkit-border-radius: 3px; |
32 -webkit-box-orient: vertical; | 32 -webkit-box-orient: vertical; |
33 -webkit-perspective: 1px; | |
reveman
2014/05/19 21:50:25
hm, I think this needs to be on the container. doe
Dan Beam
2014/05/19 21:59:22
Done. (that works!)
| |
33 -webkit-transition: 200ms -webkit-transform; | 34 -webkit-transition: 200ms -webkit-transform; |
34 background: white; | 35 background: white; |
35 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0,0,0,0.15); | 36 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0,0,0,0.15); |
36 color: #333; | 37 color: #333; |
37 display: -webkit-box; | 38 display: -webkit-box; |
38 min-width: 400px; | 39 min-width: 400px; |
39 padding: 0; | 40 padding: 0; |
40 position: relative; | 41 position: relative; |
41 z-index: 0; | 42 z-index: 0; |
42 } | 43 } |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
170 | 171 |
171 .gray-bottom-bar { | 172 .gray-bottom-bar { |
172 background-color: #f5f5f5; | 173 background-color: #f5f5f5; |
173 border-color: #e7e7e7; | 174 border-color: #e7e7e7; |
174 border-top-style: solid; | 175 border-top-style: solid; |
175 border-width: 1px; | 176 border-width: 1px; |
176 color: #888; | 177 color: #888; |
177 display: -webkit-box; | 178 display: -webkit-box; |
178 padding: 14px 17px; | 179 padding: 14px 17px; |
179 } | 180 } |
OLD | NEW |