Chromium Code Reviews| OLD | NEW |
|---|---|
| (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. | |
|
michaelpg
2016/09/09 05:36:26
nit: close on line 3
* found in the LICENSE file.
| |
| 4 */ | |
| 5 | |
| 6 body { | |
| 7 align-items: center; | |
| 8 color: var(--paper-grey-900); | |
| 9 display: flex; | |
| 10 flex-direction: column; | |
| 11 font-size: 100%; | |
| 12 justify-content: center; | |
| 13 min-height: 96vh; | |
| 14 overflow-y: hidden; | |
| 15 padding: 16px; | |
| 16 } | |
| 17 | |
| 18 @keyframes slideUpContent { | |
| 19 from { | |
| 20 transform: translateY(186px); | |
| 21 } | |
| 22 } | |
| 23 | |
| 24 @keyframes fadeIn { | |
| 25 from { | |
| 26 opacity: 0; | |
| 27 } | |
| 28 } | |
| 29 | |
| 30 @keyframes fadeOut { | |
| 31 to { | |
| 32 opacity: 0; | |
| 33 } | |
| 34 } | |
| 35 | |
| 36 | |
| 37 @keyframes fadeInAndSlideUp { | |
| 38 from { | |
| 39 opacity: 0; | |
| 40 transform: translateY(8px); | |
| 41 } | |
| 42 } | |
| 43 | |
| 44 @keyframes spin { | |
| 45 from { | |
| 46 transform: rotate(-1440deg); | |
| 47 } | |
| 48 } | |
| 49 | |
| 50 @keyframes fadeInAndSlideDownShadow { | |
| 51 from { | |
| 52 opacity: .6; | |
| 53 top: 8px; | |
| 54 } | |
| 55 } | |
| 56 | |
| 57 @keyframes scaleUp { | |
| 58 0% { | |
| 59 transform: scale(.8); | |
| 60 } | |
| 61 } | |
| 62 | |
| 63 .spacer { | |
| 64 flex: 1; | |
| 65 max-height: 96px; | |
| 66 } | |
| 67 | |
| 68 .content { | |
| 69 align-items: center; | |
| 70 animation: slideUpContent 600ms 1.8s cubic-bezier(.4, .2, 0, 1) both; | |
| 71 display: flex; | |
| 72 flex: 1; | |
| 73 flex-direction: column; | |
| 74 justify-content: center; | |
| 75 max-width: 500px; | |
| 76 } | |
| 77 | |
| 78 .heading { | |
| 79 animation: fadeInAndSlideUp 600ms 1.9s cubic-bezier(.4, .2, 0, 1) both; | |
| 80 font-size: 2.125em; | |
| 81 margin-bottom: .25em; | |
| 82 margin-top: 1.5em; | |
| 83 } | |
| 84 | |
| 85 .subheading { | |
| 86 animation: fadeInAndSlideUp 600ms 1.9s cubic-bezier(.4, .2, 0, 1) both; | |
| 87 color: var(--google-grey-500); | |
| 88 font-size: 1em; | |
| 89 margin-top: .25em; | |
| 90 } | |
| 91 | |
| 92 .logo { | |
| 93 animation: fadeIn 600ms both; | |
| 94 height: 96px; | |
| 95 position: relative; | |
| 96 width: 96px; | |
| 97 } | |
| 98 | |
| 99 .logo-icon { | |
| 100 animation: scaleUp 600ms 500ms cubic-bezier(.5, -.5, 0, 2.25) both; | |
| 101 background: white; | |
| 102 border-radius: 50%; | |
| 103 height: 96px; | |
| 104 width: 96px; | |
| 105 } | |
| 106 | |
| 107 .logo-bw, | |
| 108 .logo-color { | |
| 109 animation: fadeIn 600ms 500ms both, | |
| 110 spin 2.4s cubic-bezier(.4, .2, 0, 1) both; | |
| 111 content: -webkit-image-set(url(logo.png) 1x, url(logo2x.png) 2x); | |
| 112 left: -5px; | |
| 113 position: absolute; | |
| 114 top: -5px; | |
| 115 width: 106px; | |
| 116 } | |
| 117 | |
| 118 .logo-bw { | |
| 119 -webkit-filter: grayscale(100%); | |
| 120 } | |
| 121 | |
| 122 .logo-color { | |
| 123 animation: fadeIn 300ms 700ms both, | |
| 124 spin 2.4s cubic-bezier(.4, .2, 0, 1) both; | |
| 125 } | |
| 126 | |
| 127 .logo-shadow { | |
| 128 -webkit-filter: blur(16px); | |
| 129 animation: fadeInAndSlideDownShadow 300ms 600ms both; | |
| 130 background: rgba(0, 0, 0, .2); | |
| 131 border-radius: 50%; | |
| 132 height: 96px; | |
| 133 position: absolute; | |
| 134 top: 16px; | |
| 135 width: 96px; | |
| 136 z-index: -1; | |
| 137 } | |
| 138 | |
| 139 .signin { | |
| 140 animation: fadeInAndSlideUp 600ms 2s cubic-bezier(.4, .2, 0, 1) both; | |
| 141 margin-top: 3em; | |
| 142 text-align: left; | |
| 143 } | |
| 144 | |
| 145 .signin-description { | |
| 146 font-size: .875em; | |
| 147 line-height: 1.725em; | |
| 148 max-width: 344px; | |
| 149 } | |
| 150 | |
| 151 .signin-buttons { | |
| 152 align-items: center; | |
| 153 display: flex; | |
| 154 flex-direction: column; | |
| 155 margin-top: 2em; | |
| 156 } | |
| 157 | |
| 158 .action { | |
| 159 background: var(--google-blue-500); | |
| 160 color: white; | |
| 161 font-size: .75em; | |
| 162 font-weight: 500; | |
| 163 line-height: 2.5em; | |
| 164 padding: 0 1.25em; | |
| 165 } | |
| 166 | |
| 167 .action:focus { | |
| 168 background: var(--google-blue-700); | |
| 169 } | |
| 170 | |
| 171 .link { | |
| 172 color: var(--google-blue-500); | |
| 173 display: inline-block; | |
| 174 font-size: .75em; | |
| 175 margin: 1.5em; | |
| 176 text-align: center; | |
| 177 text-decoration: none; | |
| 178 } | |
| 179 | |
| 180 .link:hover { | |
| 181 text-decoration: underline; | |
| 182 } | |
| 183 | |
| 184 .watermark { | |
| 185 -webkit-mask-image: url(chrome://welcome/watermark.svg); | |
| 186 -webkit-mask-repeat: no-repeat; | |
| 187 -webkit-mask-size: 100%; | |
| 188 background: var(--paper-grey-400); | |
| 189 height: 24px; | |
| 190 margin-top: 48px; | |
| 191 width: 74px; | |
| 192 } | |
| OLD | NEW |