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