Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 25 | 25 |
| 26 strong { | 26 strong { |
| 27 font-weight: 500; | 27 font-weight: 500; |
| 28 } | 28 } |
| 29 | 29 |
| 30 .content { | 30 .content { |
| 31 margin: 0 auto; | 31 margin: 0 auto; |
| 32 padding: 4em 1.5em 1.5em 1.5em; | 32 padding: 4em 1.5em 1.5em 1.5em; |
| 33 } | 33 } |
| 34 | 34 |
| 35 .header-logo { | 35 .header-logo { |
|
tmartino
2016/12/20 17:52:24
Removing the image set because it doesn't seem to
Dan Beam
2016/12/21 03:07:55
did you try in 2x? i.e. --force-device-scale-fact
tmartino
2017/01/05 21:28:21
Yeah, there's still some bizarre processing going
Dan Beam
2017/01/06 00:55:40
that's probably grit
| |
| 36 content: -webkit-image-set(url(/logo-large.png) 1x, | 36 content: url(chrome://welcome-win10/logo-large.png); |
| 37 url(/logo-large2x.png) 2x); | 37 height: 4em; |
| 38 } | 38 } |
| 39 | 39 |
| 40 .heading { | 40 .heading { |
| 41 font-size: 2.125em; | 41 font-size: 2.125em; |
| 42 line-height: 1.6em; | 42 line-height: 1.6em; |
| 43 margin-bottom: 0.5em; | 43 margin-bottom: 0.5em; |
| 44 margin-top: 1.2em; | 44 margin-top: 1.2em; |
| 45 } | 45 } |
| 46 | 46 |
| 47 .sections { | 47 .sections { |
| 48 margin-bottom: 3em; | 48 margin-bottom: 2em; |
| 49 } | 49 } |
| 50 | 50 |
| 51 .section.expandable { | 51 .section.expandable { |
| 52 border-top: 1px solid var(--google-grey-300); | 52 border-top: 1px solid var(--google-grey-300); |
| 53 } | 53 } |
| 54 | 54 |
| 55 .section.expandable:last-child { | 55 .section.expandable:last-child { |
| 56 border-bottom: 1px solid var(--google-grey-300); | 56 border-bottom: 1px solid var(--google-grey-300); |
| 57 } | 57 } |
| 58 | 58 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 114 | 114 |
| 115 .section.expandable.expanded .section-steps { | 115 .section.expandable.expanded .section-steps { |
| 116 max-height: 28.75em; | 116 max-height: 28.75em; |
| 117 opacity: 1; | 117 opacity: 1; |
| 118 transition: max-height 300ms cubic-bezier(.4, .2, 0, 1) 50ms, | 118 transition: max-height 300ms cubic-bezier(.4, .2, 0, 1) 50ms, |
| 119 opacity 150ms 250ms; | 119 opacity 150ms 250ms; |
| 120 } | 120 } |
| 121 | 121 |
| 122 .button { | 122 .button { |
| 123 -webkit-font-smoothing: antialiased; | 123 -webkit-font-smoothing: antialiased; |
| 124 background: var(--paper-blue-a200); | 124 background: var(--google-blue-500); |
|
Dan Beam
2016/12/21 03:07:55
did this ever work?
tmartino
2017/01/05 21:28:21
I suspect not, but I'm not the original author.
| |
| 125 border-radius: 2px; | 125 border-radius: 2px; |
| 126 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); | 126 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); |
| 127 color: #fff; | 127 color: #fff; |
| 128 display: inline-block; | 128 display: inline-block; |
| 129 font-size: .75em; | 129 font-size: .8125em; |
| 130 font-weight: 500; | 130 font-weight: 500; |
| 131 line-height: 1.75em; | 131 line-height: 2.25rem; |
| 132 min-width: 2em; | |
| 133 padding: 0 1em; | 132 padding: 0 1em; |
| 134 text-align: center; | 133 text-align: center; |
| 134 text-transform: uppercase; | |
|
Dan Beam
2016/12/21 03:07:55
why are you doing this? doesn't paper-button have
tmartino
2017/01/05 21:28:21
It appears it does. Removed.
| |
| 135 transition: 300ms cubic-bezier(.4, .2, 0, 1); | 135 transition: 300ms cubic-bezier(.4, .2, 0, 1); |
| 136 will-change: box-shadow; | 136 will-change: box-shadow; |
| 137 } | 137 } |
| 138 | 138 |
| 139 .button:hover { | 139 .button:hover { |
| 140 background: var(--paper-blue-a400); | 140 background: var(--paper-blue-a400); |
| 141 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .24) | 141 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .24) |
| 142 } | 142 } |
| 143 | 143 |
| 144 .logo-small { | 144 .logo-small { |
| 145 content: -webkit-image-set(url(/logo-small.png) 1x, | 145 content: url(chrome://welcome-win10/logo-small.png); |
| 146 url(/logo-small2x.png) 2x); | |
| 147 display: inline; | 146 display: inline; |
| 148 height: 1.25em; | 147 height: 1.25em; |
| 149 vertical-align: top; | 148 vertical-align: top; |
| 150 width: 1.25em; | 149 width: 1.25em; |
| 151 } | 150 } |
| 152 | 151 |
| 153 .screenshot { | 152 .screenshot { |
| 154 display: block; | 153 display: block; |
| 155 height: 440px; | 154 height: 440px; |
| 156 margin: 0 auto; | 155 margin: 0 auto; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 232 font-size: 1.95vw; | 231 font-size: 1.95vw; |
| 233 } | 232 } |
| 234 } | 233 } |
| 235 | 234 |
| 236 /* Font-size used when the screenshot exactly reaches its max size. */ | 235 /* Font-size used when the screenshot exactly reaches its max size. */ |
| 237 @media (min-width: 626px) { | 236 @media (min-width: 626px) { |
| 238 .screenshot-html-overlay { | 237 .screenshot-html-overlay { |
| 239 font-size: 12.2px; | 238 font-size: 12.2px; |
| 240 } | 239 } |
| 241 } | 240 } |
| OLD | NEW |