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; |
11 background-color: rgba(255, 255, 255, 0.75); | 11 background-color: rgba(255, 255, 255, 0.75); |
12 bottom: 0; | 12 bottom: 0; |
13 display: -webkit-box; | 13 display: -webkit-box; |
14 left: 0; | 14 left: 0; |
15 overflow: auto; | 15 overflow: auto; |
16 padding: 20px; | 16 padding: 20px; |
17 padding-bottom: 130px; | 17 padding-bottom: 130px; |
18 position: fixed; | 18 position: fixed; |
19 right: 0; | 19 right: 0; |
20 top: 0; | 20 top: 0; |
21 } | 21 } |
22 | 22 |
23 /* The foreground dialog. */ | 23 /* The foreground dialog. */ |
24 .overlay .page { | 24 .overlay .page { |
| 25 -webkit-box-orient: vertical; |
25 background: white; | 26 background: white; |
26 box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3), 0 3px 57px rgba(0, 0, 0, 0.3); | 27 box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3), 0 3px 57px rgba(0, 0, 0, 0.3); |
| 28 display: -webkit-box; |
| 29 height: 90%; |
| 30 max-height: 640px; |
27 min-width: 400px; | 31 min-width: 400px; |
28 padding: 0; | 32 padding: 0; |
29 position: relative; | 33 position: relative; |
30 } | 34 } |
31 | 35 |
32 /* keyframes used to shake the overlay */ | 36 /* keyframes used to shake the overlay */ |
33 @-webkit-keyframes shake { | 37 @-webkit-keyframes shake { |
34 0% { | 38 0% { |
35 -webkit-transform: translateX(-5px) rotateZ(-0.5deg) translateY(-2px); | 39 -webkit-transform: translateX(-5px) rotateZ(-0.5deg) translateY(-2px); |
36 } | 40 } |
(...skipping 20 matching lines...) Expand all Loading... |
57 border-bottom: 1px solid rgba(188, 193, 208, .5); | 61 border-bottom: 1px solid rgba(188, 193, 208, .5); |
58 color: #333; | 62 color: #333; |
59 font-size: 1.1em; | 63 font-size: 1.1em; |
60 font-weight: bold; | 64 font-weight: bold; |
61 margin: 0; | 65 margin: 0; |
62 padding: 10px 15px 8px; | 66 padding: 10px 15px 8px; |
63 text-shadow: white 0 1px 2px; | 67 text-shadow: white 0 1px 2px; |
64 } | 68 } |
65 | 69 |
66 .overlay .page .content-area { | 70 .overlay .page .content-area { |
| 71 -webkit-box-flex: 1; |
| 72 overflow: auto; |
67 padding: 10px 15px 5px; | 73 padding: 10px 15px 5px; |
68 } | 74 } |
69 | 75 |
70 .overlay .page .action-area { | 76 .overlay .page .action-area { |
71 -webkit-box-align: center; | 77 -webkit-box-align: center; |
72 -webkit-box-orient: horizontal; | 78 -webkit-box-orient: horizontal; |
73 -webkit-box-pack: end; | 79 -webkit-box-pack: end; |
74 border-top: 1px solid rgba(188, 193, 208, .5); | 80 border-top: 1px solid rgba(188, 193, 208, .5); |
75 display: -webkit-box; | 81 display: -webkit-box; |
76 padding: 12px; | 82 padding: 12px; |
77 } | 83 } |
78 | 84 |
79 html[dir='rtl'] .overlay .page .action-area { | 85 html[dir='rtl'] .overlay .page .action-area { |
80 left: 0; | 86 left: 0; |
81 } | 87 } |
82 | 88 |
83 .overlay .page .action-area-right { | 89 .overlay .page .action-area-right { |
84 display: -webkit-box; | 90 display: -webkit-box; |
85 } | 91 } |
86 | 92 |
87 .overlay .page .button-strip { | 93 .overlay .page .button-strip { |
88 -webkit-box-orient: horizontal; | 94 -webkit-box-orient: horizontal; |
89 display: -webkit-box; | 95 display: -webkit-box; |
90 } | 96 } |
91 | 97 |
92 .overlay .page .button-strip > button { | 98 .overlay .page .button-strip > button { |
93 -webkit-margin-start: 10px; | 99 -webkit-margin-start: 10px; |
94 display: block; | 100 display: block; |
95 } | 101 } |
OLD | NEW |