Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: chrome/browser/resources/welcome/win10/sectioned/welcome.css

Issue 2401853005: Adding client code for new Windows 10 First Run Experience (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /* Copyright 2016 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
4
5 * {
6 font-weight: normal;
7 margin: 0;
8 padding: 0;
9 }
10
11 body {
12 box-sizing: border-box;
13 color: rgba(0, 0, 0, .87);
14 display: flex;
15 flex-direction: column;
16 font: 16px/24px Roboto, 'Helvetica Neue', 'Lucida Grande', sans-serif;
17 justify-content: center;
18 min-height: 100vh;
19 }
20
21 a {
22 color: rgb(0, 120, 215);
23 text-decoration: none;
24 }
25
26 strong {
27 color: rgba(0, 0, 0, .87);
28 font-weight: 500;
29 }
30
31 .content {
32 padding: 64px 24px 24px 24px;
33 }
34
35 .text {
36 margin: 0 auto;
37 max-width: 720px;
38 }
39
40 .heading {
41 font-size: 34px;
42 letter-spacing: -.44px;
43 margin-bottom: .25em;
44 margin-top: 1.5em;
45 }
46
47 .subheading {
48 color: var(--google-grey-500);
49 font-size: 1em;
50 margin-bottom: 1.5em;
51 margin-top: .25em;
52 text-align: center;
53 }
54
55 .sections {
56 margin-bottom: 48px;
57 }
58
59 .section {
60 border-top: 1px solid rgba(0, 0, 0, .12);
61 }
62
63 .section:last-child {
64 border-bottom: 1px solid rgba(0, 0, 0, .12);
65 }
66
67 .section-heading {
68 align-items: center;
69 display: flex;
70 padding: 24px 0;
71 }
72
73 .section-heading--expandable {
74 color: rgb(0, 120, 215);
75 cursor: pointer;
76 }
77
78 .section-heading-text {
79 flex: 1;
80 }
81
82 .section-heading-expand {
83 height: 20px;
84 opacity: 0.54;
85 transition: transform 150ms cubic-bezier(.4, .2, 0, 1) 50ms;
86 width: 20px;
87 }
88
89 .section-steps {
90 max-height: 0;
91 opacity: 0;
92 overflow: hidden;
93 transition: max-height 300ms cubic-bezier(.4, .2, 0, 1) 50ms, opacity 150ms;
94 }
95
96 .section-steps li {
97 margin-bottom: 16px;
98 margin-left: 1.25em;
99 padding-left: 1em;
100 }
101
102 .section-steps li:last-child {
103 margin-bottom: 16px;
104 }
105
106 .section--expanded .section-steps {
107 max-height: 140px;
108 opacity: 1;
109 transition: max-height 300ms cubic-bezier(.4, .2, 0, 1) 50ms,
110 opacity 150ms 250ms;
111 }
112
113 .section--expanded .section-heading-text {
114 font-weight: 500;
115 }
116
117 .section--expanded .section-heading-expand {
118 transform: rotate(180deg);
119 transition-delay: 150ms;
120 }
121
122 .button {
123 -webkit-font-smoothing: antialiased;
124 background: rgb(66, 133, 244);
125 border-radius: 2px;
126 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
127 color: #fff;
128 display: inline-block;
129 font-size: 12px;
130 font-weight: 500;
131 line-height: 28px;
132 min-width: 32px;
133 padding: 0 16px;
134 text-align: center;
135 transition: 300ms cubic-bezier(.4, .2, 0, 1);
136 will-change: box-shadow;
137 }
138
139 .button:hover {
140 background: rgb(62, 126, 231);
141 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .24);
142 }
143
144 .bg {
145 background: rgb(0, 120, 215);
146 flex: 1;
147 margin-top: 96px;
148 padding: 24px;
149 }
150
151 .screenshots {
152 display: block;
153 height: 440px;
154 margin: 0 auto;
155 max-width: 100%;
156 position: relative;
157 top: -96px;
158 width: 720px;
159 }
160
161 .screenshot-image {
162 box-shadow: 0 0 8px rgba(0, 0, 0, .12), 0 4px 16px rgba(0, 0, 0, .24);
163 height: 56vw;
164 max-height: 440px;
165 max-width: 720px;
166 min-height: 294px;
167 min-width: 480px;
168 opacity: 0;
169 position: absolute;
170 transition: opacity 150ms;
171 width: 92vw;
172 }
173
174 .screenshot-image--visible {
175 opacity: 1;
176 }
177
178 #screenshot-image--default {
179 background: -webkit-image-set(
180 url(https://www.gstatic.com/chrome/login/win10/default-large.webp) 1x,
181 url(https://www.gstatic.com/chrome/login/win10/default-large@2x.webp) 2x);
182 background-repeat: no-repeat;
183 background-size: cover;
184 }
185
186 #screenshot-image--taskbar {
187 background: -webkit-image-set(
188 url(https://www.gstatic.com/chrome/login/win10/pin-large.webp) 1x,
189 url(https://www.gstatic.com/chrome/login/win10/pin-large@2x.webp) 2x);
190 background-repeat: no-repeat;
191 background-size: cover;
192 }
193
194 .logo-small {
195 content: url(logo2x.png);
196 display: inline;
197 height: 20px;
198 vertical-align: top;
199 width: 20px;
200 }
201
202 .screenshot-html-overlay {
203 box-sizing: border-box;
204 font-size: 7px;
205 line-height: 0;
206 position: absolute;
207 }
208
209 #screenshot-html-overlay--browser {
210 left: 35.8%;
211 top: 75.8%;
212 }
213
214 #screenshot-html-overlay--edge {
215 left: 41.5%;
216 top: 82.4%;
217 }
218
219 #screenshot-html-overlay--taskbar {
220 left: 62.2%;
221 top: 81.5%;
222 }
223
224 #screenshot-html-overlay--taskbar p {
225 color: #ccc;
226 font-family: Tahoma, Verdana, Segoe, sans-serif;
227 font-weight: 500;
228 }
229
230 #screenshot-html-overlay--icon {
231 background-image: url(logo2x.png);
232 background-size: cover;
233 height: 5.8%;
234 left: 70.60%;
235 top: 93.1%;
236 width: 3.5%;
237 }
238
239 @media (min-width: 520px) {
240 .screenshot-html-overlay {
241 font-size: 1.35vw;
242 }
243 }
244
245 @media (min-width: 780px) {
246 .screenshot-html-overlay {
247 font-size: 10.5px;
248 }
249 }
250
251 @media (min-width: 1280px) {
252 body {
253 flex-direction: row;
254 }
255
256 .content {
257 align-items: center;
258 display: flex;
259 flex: 1;
260 justify-content: flex-end;
261 padding: 96px;
262 }
263
264 .text {
265 margin: 0 180px;
266 max-width: none;
267 width: 400px;
268 }
269
270 .bg {
271 align-items: center;
272 display: flex;
273 flex: 1;
274 margin: 0;
275 max-width: 42%;
276 padding: 0;
277 }
278
279 .screenshots {
280 margin-left: -180px;
281 max-width: none;
282 top: 0;
283 }
284 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698