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

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

Issue 2590253002: Implementing Win 10 FRE visual design tweaks requested by first UX pass. (Closed)
Patch Set: Replying to dbeam comments Created 3 years, 11 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
1 /* Copyright 2016 The Chromium Authors. All rights reserved. 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 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 body { 5 body {
6 box-sizing: border-box; 6 box-sizing: border-box;
7 color: var(--paper-grey-900); 7 color: var(--paper-grey-900);
8 display: flex; 8 display: flex;
9 flex-direction: column; 9 flex-direction: column;
10 font-size: 100%; 10 font-size: 100%;
(...skipping 14 matching lines...) Expand all
25 25
26 strong { 26 strong {
27 font-weight: 500; 27 font-weight: 500;
28 } 28 }
29 29
30 .content { 30 .content {
31 padding: 64px 24px 24px 24px; 31 padding: 64px 24px 24px 24px;
32 } 32 }
33 33
34 .header-logo { 34 .header-logo {
35 content: -webkit-image-set(url(/logo-large.png) 1x, 35 content: url(chrome://welcome-win10/logo-large.png);
36 url(/logo-large2x.png) 2x); 36 height: 4em;
37 } 37 }
38 38
39 .text { 39 .text {
40 margin: 0 auto; 40 margin: 0 auto;
41 max-width: 45em; 41 max-width: 45em;
42 } 42 }
43 43
44 .heading { 44 .heading {
45 font-size: 2.125em; 45 font-size: 2.125em;
46 margin-bottom: .25em; 46 margin-bottom: .25em;
47 margin-top: 1.5em; 47 margin-top: 1.5em;
48 } 48 }
49 49
50 .subheading { 50 .subheading {
51 color: var(--google-grey-500); 51 color: var(--google-grey-500);
52 font-size: 1em; 52 font-size: 1em;
53 margin-bottom: 1.5em; 53 margin-bottom: 1.5em;
54 margin-top: .25em; 54 margin-top: .25em;
55 text-align: center; 55 text-align: center;
56 } 56 }
57 57
58 .sections { 58 .sections {
59 margin-bottom: 3em; 59 margin-bottom: 2em;
60 } 60 }
61 61
62 .section.expandable { 62 .section.expandable {
63 border-top: 1px solid var(--google-grey-300); 63 border-top: 1px solid var(--google-grey-300);
64 } 64 }
65 65
66 .section.expandable:last-child { 66 .section.expandable:last-child {
67 border-bottom: 1px solid var(--google-grey-300); 67 border-bottom: 1px solid var(--google-grey-300);
68 } 68 }
69 69
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 .section.expandable.expanded .section-steps { 126 .section.expandable.expanded .section-steps {
127 max-height: 8.75em; 127 max-height: 8.75em;
128 opacity: 1; 128 opacity: 1;
129 transition: max-height 300ms cubic-bezier(.4, .2, 0, 1) 50ms, 129 transition: max-height 300ms cubic-bezier(.4, .2, 0, 1) 50ms,
130 opacity 150ms 250ms; 130 opacity 150ms 250ms;
131 } 131 }
132 132
133 .button { 133 .button {
134 -webkit-font-smoothing: antialiased; 134 -webkit-font-smoothing: antialiased;
135 background: var(--paper-blue-a200); 135 background: var(--google-blue-500);
136 border-radius: 2px; 136 border-radius: 2px;
137 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); 137 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
138 color: #fff; 138 color: #fff;
139 display: inline-block; 139 display: inline-block;
140 font-size: .74em; 140 font-size: .8125em;
141 font-weight: 500; 141 font-weight: 500;
142 line-height: 1.75em; 142 line-height: 2.25rem;
143 min-width: 2em;
144 padding: 0 1em; 143 padding: 0 1em;
145 text-align: center; 144 text-align: center;
146 transition: 300ms cubic-bezier(.4, .2, 0, 1); 145 transition: 300ms cubic-bezier(.4, .2, 0, 1);
147 will-change: box-shadow; 146 will-change: box-shadow;
148 } 147 }
149 148
150 .button:hover { 149 .button:hover {
151 background: var(--paper-blue-a400); 150 background: var(--paper-blue-a400);
152 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .24); 151 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .24);
153 } 152 }
154 153
155 .bg { 154 .bg {
156 background: var(--paper-light-blue-700); 155 background: var(--paper-light-blue-700);
157 flex: 1; 156 flex: 1;
158 margin-top: 96px; 157 margin-top: 96px;
159 padding: 24px; 158 padding: 24px;
160 } 159 }
161 160
162 .logo-small { 161 .logo-small {
163 content: -webkit-image-set(url(/logo-small.png) 1x, 162 content: url(chrome://welcome-win10/logo-small.png);
164 url(/logo-small2x.png) 2x);
165 display: inline; 163 display: inline;
166 height: 1.25em; 164 height: 1.25em;
167 vertical-align: top; 165 vertical-align: top;
168 width: 1.25em; 166 width: 1.25em;
169 } 167 }
170 168
171 .screenshots { 169 .screenshots {
172 display: block; 170 display: block;
173 height: 440px; 171 height: 440px;
174 margin: 0 auto; 172 margin: 0 auto;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 max-width: 42%; 287 max-width: 42%;
290 padding: 0; 288 padding: 0;
291 } 289 }
292 290
293 .screenshots { 291 .screenshots {
294 margin-left: -180px; 292 margin-left: -180px;
295 max-width: none; 293 max-width: none;
296 top: 0; 294 top: 0;
297 } 295 }
298 } 296 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/welcome/win10/inline.html ('k') | chrome/browser/resources/welcome/win10/sectioned.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698