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