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 main (outer) container. */ | 5 /* The main (outer) container. */ |
6 #metro-setup-outer-container { | 6 #metro-setup-outer-container { |
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: start; |
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; | |
17 position: fixed; | 16 position: fixed; |
18 right: 0; | 17 right: 0; |
19 top: 0; | 18 top: 0; |
20 } | 19 } |
21 | 20 |
22 /* The page block within the outer container. */ | 21 /* The page block within the outer container. */ |
23 #metro-setup-outer-container .page { | 22 #metro-setup-outer-container .page { |
24 -webkit-border-radius: 3px; | 23 -webkit-border-radius: 3px; |
25 -webkit-box-orient: vertical; | 24 -webkit-box-orient: vertical; |
26 -webkit-user-select: none; | 25 -webkit-user-select: none; |
27 background: white; | 26 background: white; |
28 background-color: white; | 27 background-color: white; |
29 color: #333; | 28 color: #333; |
30 display: -webkit-box; | 29 display: -webkit-box; |
31 margin-bottom: 6px; | |
32 margin-top: 6px; | |
33 min-width: 400px; | 30 min-width: 400px; |
34 padding: 0; | 31 padding-top: 70pt; |
James Hawkins
2012/08/03 22:51:44
pt? We don't usually use pt, so can you use px in
motek.
2012/08/06 18:38:30
Done.
| |
35 position: relative; | 32 position: relative; |
36 width: 400px; | 33 width: 500px; |
37 } | 34 } |
38 | 35 |
39 #metro-setup-outer-container .page .content-area { | 36 #metro-setup-outer-container .page .content-area { |
40 -webkit-box-flex: 1; | 37 -webkit-box-flex: 1; |
38 margin: 0; | |
41 overflow: auto; | 39 overflow: auto; |
42 padding: 6px 17px 26px; | 40 padding: 0; |
43 } | 41 } |
44 | 42 |
45 #metro-setup-overlay { | 43 #metro-setup-overlay { |
46 background-color: transparent; | 44 background-color: transparent; |
47 margin: 0; | 45 margin: 0; |
48 width: 100%; | 46 width: 100%; |
49 } | 47 } |
50 | 48 |
51 /* Page Title. */ | 49 /* Page Title. */ |
52 #metro-title-container { | 50 #metro-title-container { |
53 display: block; | 51 display: block; |
54 margin: 37px 44px 35px; | 52 margin: 37px 44px 35px; |
55 text-align: center; | 53 text-align: center; |
56 } | 54 } |
57 | 55 |
58 #metro-setup-outer-container .page h1 { | 56 #metro-setup-outer-container .page h1 { |
59 border-bottom: 0; | 57 border-bottom: 0; |
60 color: rgb(34, 34, 34); | 58 color: #323232; |
61 font-size: 340%; | 59 font-size: 28pt; |
James Hawkins
2012/08/03 22:51:44
font-size needs to be relative, not absolute.
motek.
2012/08/06 18:38:30
Done.
| |
62 font-weight: normal; | 60 font-weight: normal; |
63 margin: 0; | 61 margin: 0; |
64 padding-bottom: 0; | 62 padding-bottom: 0; |
65 padding-top: 13px; | 63 padding-top: 0; |
66 text-align: center; | 64 text-align: center; |
67 } | 65 } |
68 | 66 |
69 #metro-setup-outer-container .page h2 { | 67 #metro-setup-outer-container .page h2 { |
70 border-bottom: 0; | 68 border-bottom: 0; |
71 color: rgb(102, 102, 102); | 69 color: #787878; |
72 font-size: 160%; | 70 font-size: 14pt; |
James Hawkins
2012/08/03 22:51:44
Relative, not absolute.
motek.
2012/08/06 18:38:30
Done.
| |
73 font-weight: normal; | 71 font-weight: normal; |
72 margin-bottom: 4.9em; | |
James Hawkins
2012/08/03 22:51:44
Any reason we're using em here and px elsewhere?
motek.
2012/08/06 18:38:30
Not really. I mean: there was a reason. I got a mo
| |
73 margin-top: 0.75em; | |
74 text-align: center; | 74 text-align: center; |
75 } | 75 } |
76 | 76 |
77 #metro-setup-overlay .content-area { | 77 #metro-setup-overlay .content-area { |
78 padding: 10px 15px; | 78 padding: 10px 15px; |
79 text-align: end; | 79 text-align: end; |
80 } | 80 } |
81 | 81 |
82 /* Action buttons. */ | 82 /* Action buttons. */ |
83 #metro-action-box button { | 83 #metro-action-box button { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
139 border-color: rgb(47, 91, 183); | 139 border-color: rgb(47, 91, 183); |
140 color: white; | 140 color: white; |
141 } | 141 } |
142 | 142 |
143 #metro-action-box #launch-button:focus { | 143 #metro-action-box #launch-button:focus { |
144 border-color: rgb(77, 144, 254); | 144 border-color: rgb(77, 144, 254); |
145 outline: none; | 145 outline: none; |
146 z-index: 4 !important; | 146 z-index: 4 !important; |
147 } | 147 } |
148 | 148 |
149 #metro-action-box #return-button { | 149 .button-strip { |
James Hawkins
2012/08/03 22:51:44
Is this the same button-strip class used in the op
motek.
2012/08/06 18:38:30
No, it is a coincidence. I needed a container to h
| |
150 -webkit-margin-end: auto; | 150 margin: 1px; |
151 -webkit-margin-start: 30px; | 151 text-align: center; |
152 } | 152 } |
153 | 153 |
154 .button-strip { | 154 #chrome-logo-box { |
155 padding: 7px; | 155 bottom: 23pt; |
James Hawkins
2012/08/03 22:51:44
px
motek.
2012/08/06 18:38:30
Done.
| |
156 position: absolute; | |
157 text-align: center; | |
158 width: 100%; | |
156 } | 159 } |
OLD | NEW |