| OLD | NEW |
| (Empty) |
| 1 /* Copyright 2015 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 margin: 0; | |
| 7 padding: 0; | |
| 8 } | |
| 9 | |
| 10 .picture img { | |
| 11 border-radius: 50%; | |
| 12 max-height: 100%; | |
| 13 max-width: 100%; | |
| 14 } | |
| 15 | |
| 16 .container { | |
| 17 background-color: white; | |
| 18 color: #333; | |
| 19 overflow: hidden; | |
| 20 width: 448px; | |
| 21 } | |
| 22 | |
| 23 .top-title-bar { | |
| 24 align-items: center; | |
| 25 border-bottom: 1px solid lightgray; | |
| 26 display: flex; | |
| 27 font-size: 16px; | |
| 28 height: 52px; | |
| 29 padding: 0 24px; | |
| 30 } | |
| 31 | |
| 32 .details { | |
| 33 padding: 0 24px; | |
| 34 } | |
| 35 | |
| 36 #picture-container { | |
| 37 align-items: center; | |
| 38 display: flex; | |
| 39 justify-content: center; | |
| 40 padding-bottom: 32px; | |
| 41 padding-top: 24px; | |
| 42 } | |
| 43 | |
| 44 .picture { | |
| 45 -webkit-margin-start: 84px; | |
| 46 height: 96px; | |
| 47 position: relative; | |
| 48 width: 96px; | |
| 49 } | |
| 50 | |
| 51 #profile-picture, | |
| 52 .checkmark-circle { | |
| 53 position: absolute; | |
| 54 } | |
| 55 | |
| 56 .message-container { | |
| 57 display: flex; | |
| 58 margin-bottom: 16px; | |
| 59 } | |
| 60 | |
| 61 .message-container:last-child { | |
| 62 margin-bottom: 32px; | |
| 63 } | |
| 64 | |
| 65 .message-container .logo { | |
| 66 -webkit-margin-end: 20px; | |
| 67 background-size: cover; | |
| 68 flex-shrink: 0; | |
| 69 height: 20px; | |
| 70 position: relative; | |
| 71 top: -2px; | |
| 72 width: 20px; | |
| 73 } | |
| 74 | |
| 75 #chrome-logo { | |
| 76 background-image: url(../../../../ui/webui/resources/images/200-logo_chrome.pn
g); | |
| 77 } | |
| 78 | |
| 79 #googleg-logo { | |
| 80 background-image: url(../../../../ui/webui/resources/images/200-logo_googleg.p
ng); | |
| 81 } | |
| 82 | |
| 83 .message-container .title { | |
| 84 font-weight: 500; | |
| 85 margin-bottom: 4px; | |
| 86 } | |
| 87 | |
| 88 .message-container .body { | |
| 89 color: #646464; | |
| 90 } | |
| 91 | |
| 92 .message-container .text { | |
| 93 line-height: 20px; | |
| 94 } | |
| 95 | |
| 96 .message-container #activityControlsCheckbox { | |
| 97 -webkit-margin-start: 40px; | |
| 98 } | |
| 99 | |
| 100 .action-container { | |
| 101 display: flex; | |
| 102 justify-content: flex-end; | |
| 103 padding: 16px; | |
| 104 } | |
| 105 | |
| 106 #confirmButton, | |
| 107 #undoButton { | |
| 108 line-height: 16px; | |
| 109 margin: 0; | |
| 110 padding: 8px 16px; | |
| 111 } | |
| 112 | |
| 113 #undoButton { | |
| 114 -webkit-margin-start: 8px; | |
| 115 } | |
| 116 | |
| 117 #illustration { | |
| 118 height: 96px; | |
| 119 margin: 0 auto; | |
| 120 position: relative; | |
| 121 width: 264px; | |
| 122 } | |
| 123 | |
| 124 #checkmark-circle { | |
| 125 background: rgb(66, 133, 244); | |
| 126 border: 2px solid #fff; | |
| 127 border-radius: 50%; | |
| 128 bottom: 0; | |
| 129 height: 24px; | |
| 130 position: absolute; | |
| 131 right: 0; | |
| 132 transform: scale(0); | |
| 133 width: 24px; | |
| 134 } | |
| 135 | |
| 136 .loaded #checkmark-circle { | |
| 137 animation: scale-circle 300ms cubic-bezier(0, 0, 0.2, 1) forwards; | |
| 138 } | |
| 139 | |
| 140 @keyframes scale-circle { | |
| 141 from { transform: scale(0); } | |
| 142 to { transform: scale(1); } | |
| 143 } | |
| 144 | |
| 145 #checkmark-check { | |
| 146 left: 5px; | |
| 147 position: absolute; | |
| 148 top: 7px; | |
| 149 } | |
| 150 | |
| 151 .loaded #checkmark-path { | |
| 152 animation: draw-path 300ms cubic-bezier(0, 0, 0.2, 1) 100ms forwards; | |
| 153 } | |
| 154 | |
| 155 @keyframes draw-path { | |
| 156 from { stroke-dashoffset: 16; } | |
| 157 to { stroke-dashoffset: 0; } | |
| 158 } | |
| 159 | |
| 160 #icons { | |
| 161 height: 96px; | |
| 162 position: absolute; | |
| 163 width: 264px; | |
| 164 } | |
| 165 | |
| 166 #icons > div { | |
| 167 animation-delay: 200ms; | |
| 168 animation-duration: 1.4s; | |
| 169 animation-fill-mode: forwards; | |
| 170 animation-timing-function: cubic-bezier(0.25, 0.45, 0.4, 0.7); | |
| 171 background-size: cover; | |
| 172 opacity: 0; | |
| 173 position: absolute; | |
| 174 } | |
| 175 | |
| 176 #icon-bookmarks { | |
| 177 background: url(../../../../ui/webui/resources/images/icon_bookmarks.svg); | |
| 178 height: 36px; | |
| 179 left: 58px; | |
| 180 top: 0; | |
| 181 width: 36px; | |
| 182 } | |
| 183 | |
| 184 #icon-extensions { | |
| 185 background: url(../../../../ui/webui/resources/images/icon_extensions.svg); | |
| 186 height: 24px; | |
| 187 left: 30px; | |
| 188 top: 30px; | |
| 189 width: 24px; | |
| 190 } | |
| 191 | |
| 192 | |
| 193 #icon-passwords { | |
| 194 background: url(../../../../ui/webui/resources/images/icon_passwords.svg); | |
| 195 height: 30px; | |
| 196 left: 38px; | |
| 197 top: 66px; | |
| 198 width: 40px; | |
| 199 } | |
| 200 | |
| 201 #icon-history { | |
| 202 background: url(../../../../ui/webui/resources/images/icon_history.svg); | |
| 203 height: 36px; | |
| 204 left: 190px; | |
| 205 top: 6px; | |
| 206 width: 36px; | |
| 207 } | |
| 208 | |
| 209 #icon-tabs { | |
| 210 background: url(../../../../ui/webui/resources/images/icon_tabs.svg); | |
| 211 height: 24px; | |
| 212 left: 222px; | |
| 213 top: 44px; | |
| 214 width: 24px; | |
| 215 } | |
| 216 | |
| 217 #icon-themes { | |
| 218 background: url(../../../../ui/webui/resources/images/icon_themes.svg); | |
| 219 height: 30px; | |
| 220 left: 184px; | |
| 221 top: 62px; | |
| 222 width: 32px; | |
| 223 } | |
| 224 | |
| 225 #icon-circle-open { | |
| 226 border: 2px solid #000; | |
| 227 border-radius: 50%; | |
| 228 height: 8px; | |
| 229 left: 6px; | |
| 230 top: 56px; | |
| 231 width: 8px; | |
| 232 } | |
| 233 | |
| 234 .icon-circle { | |
| 235 background: #000; | |
| 236 border-radius: 50%; | |
| 237 height: 4px; | |
| 238 width: 4px; | |
| 239 } | |
| 240 | |
| 241 #icon-circle-1 { | |
| 242 left: 64px; | |
| 243 top: 50px; | |
| 244 } | |
| 245 | |
| 246 #icon-circle-2 { | |
| 247 left: 178px; | |
| 248 top: 18px; | |
| 249 } | |
| 250 | |
| 251 #icon-circle-3 { | |
| 252 left: 194px; | |
| 253 top: 50px; | |
| 254 } | |
| 255 | |
| 256 #icon-circle-4 { | |
| 257 left: 258px; | |
| 258 top: 36px; | |
| 259 } | |
| 260 | |
| 261 .loaded .fade-top-left { | |
| 262 animation-name: fade-in-icon-top-left; | |
| 263 } | |
| 264 | |
| 265 .loaded .fade-top-right { | |
| 266 animation-name: fade-in-icon-top-right; | |
| 267 } | |
| 268 | |
| 269 .loaded .fade-middle-left { | |
| 270 animation-name: fade-in-icon-middle-left; | |
| 271 } | |
| 272 | |
| 273 .loaded .fade-middle-right { | |
| 274 animation-name: fade-in-icon-middle-right; | |
| 275 } | |
| 276 | |
| 277 .loaded .fade-bottom-left { | |
| 278 animation-name: fade-in-icon-bottom-left; | |
| 279 } | |
| 280 | |
| 281 .loaded .fade-bottom-right { | |
| 282 animation-name: fade-in-icon-bottom-right; | |
| 283 } | |
| 284 | |
| 285 @keyframes fade-in-icon-top-left { | |
| 286 from { | |
| 287 opacity: 0; | |
| 288 transform: translate(0, 0); | |
| 289 } | |
| 290 to { | |
| 291 opacity: 0.1; | |
| 292 transform: translate(-4px, -4px); | |
| 293 } | |
| 294 } | |
| 295 | |
| 296 @keyframes fade-in-icon-top-right { | |
| 297 from { | |
| 298 opacity: 0; | |
| 299 transform: translate(0, 0); | |
| 300 } | |
| 301 to { | |
| 302 opacity: 0.1; | |
| 303 transform: translate(4px, -4px); | |
| 304 } | |
| 305 } | |
| 306 | |
| 307 @keyframes fade-in-icon-middle-left { | |
| 308 from { | |
| 309 opacity: 0; | |
| 310 transform: translate(0, 0); | |
| 311 } | |
| 312 to { | |
| 313 opacity: 0.1; | |
| 314 transform: translate(-4px, 0); | |
| 315 } | |
| 316 } | |
| 317 | |
| 318 @keyframes fade-in-icon-middle-right { | |
| 319 from { | |
| 320 opacity: 0; | |
| 321 transform: translate(0, 0); | |
| 322 } | |
| 323 to { | |
| 324 opacity: 0.1; | |
| 325 transform: translate(4px, 0); | |
| 326 } | |
| 327 } | |
| 328 | |
| 329 @keyframes fade-in-icon-bottom-left { | |
| 330 from { | |
| 331 opacity: 0; | |
| 332 transform: translate(0, 0); | |
| 333 } | |
| 334 to { | |
| 335 opacity: 0.1; | |
| 336 transform: translate(-4px, 4px); | |
| 337 } | |
| 338 } | |
| 339 | |
| 340 @keyframes fade-in-icon-bottom-right { | |
| 341 from { | |
| 342 opacity: 0; | |
| 343 transform: translate(0, 0); | |
| 344 } | |
| 345 to { | |
| 346 opacity: 0.1; | |
| 347 transform: translate(4px, 4px); | |
| 348 } | |
| 349 } | |
| OLD | NEW |