Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 * This is the stylesheet used by the Out of the box experience (OOBE) flow. | 5 * This is the stylesheet used by the Out of the box experience (OOBE) flow. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 body { | 8 body { |
| 9 background: -webkit-gradient(radial, center center, 0, center center, 400, | 9 background: -webkit-gradient(radial, center center, 0, center center, 400, |
| 10 from(#fefefe), to(#efefef)); | 10 from(#fefefe), to(#efefef)); |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 196 } | 196 } |
| 197 | 197 |
| 198 #footer button { | 198 #footer button { |
| 199 display: none; | 199 display: none; |
| 200 } | 200 } |
| 201 | 201 |
| 202 #oobe.connect #continue-button, | 202 #oobe.connect #continue-button, |
| 203 #oobe.eula #back-button, | 203 #oobe.eula #back-button, |
| 204 #oobe.eula #accept-button, | 204 #oobe.eula #accept-button, |
| 205 #oobe.signin #signin-button, | 205 #oobe.signin #signin-button, |
| 206 #oobe.user-image #ok-button { | 206 #oobe.user-image #ok-button, |
| 207 #oobe.oauth-enrollment #oauth-enroll-cancel-button, | |
| 208 #oobe.oauth-enrollment #oauth-enroll-done-button { | |
| 207 display: inline-block; | 209 display: inline-block; |
| 208 } | 210 } |
| 209 | 211 |
| 210 #oobe.connect #connect-dot, | 212 #oobe.connect #connect-dot, |
| 211 #oobe.eula #eula-dot, | 213 #oobe.eula #eula-dot, |
| 212 #oobe.signin #signin-dot, | 214 #oobe.signin #signin-dot, |
| 215 #oobe.gaia-signin #gaia-signin-dot, | |
| 213 #oobe.enrollment #signin-dot, | 216 #oobe.enrollment #signin-dot, |
| 217 #oobe.enrollment #gaia-signin-dot, | |
| 218 #oobe.oauth-enrollment #signin-dot, | |
| 219 #oobe.oauth-enrollment #gaia-signin-dot, | |
| 214 #oobe.user-image #user-image-dot { | 220 #oobe.user-image #user-image-dot { |
| 215 opacity: 0.4; | 221 opacity: 0.4; |
| 216 } | 222 } |
| 217 | 223 |
| 218 #enrollment-dot { | 224 #enrollment-dot, |
| 225 #oauth-enrollment-dot { | |
| 219 display: none; | 226 display: none; |
| 220 } | 227 } |
| 221 | 228 |
| 222 #connect table { | 229 #connect table { |
| 223 margin: 7em auto; | 230 margin: 7em auto; |
| 224 } | 231 } |
| 225 | 232 |
| 226 #security-info { | 233 #security-info { |
| 227 bottom: 10px; | 234 bottom: 10px; |
| 228 position: absolute; | 235 position: absolute; |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 402 #enroll-confirmation-image { | 409 #enroll-confirmation-image { |
| 403 vertical-align: middle; | 410 vertical-align: middle; |
| 404 } | 411 } |
| 405 | 412 |
| 406 #enroll-confirmation-footer { | 413 #enroll-confirmation-footer { |
| 407 bottom: 0; | 414 bottom: 0; |
| 408 text-align: end; | 415 text-align: end; |
| 409 width: 100%; | 416 width: 100%; |
| 410 } | 417 } |
| 411 | 418 |
| 419 /* Styling for OAuth enrollment screen. */ | |
| 420 | |
| 421 #oauth-enroll-container { | |
| 422 bottom: 0; | |
| 423 display: -webkit-box; | |
| 424 left: 0; | |
| 425 position: absolute; | |
| 426 right: 0; | |
| 427 top: 0; | |
| 428 } | |
| 429 | |
| 430 #oauth-enroll-signin-frame { | |
| 431 bottom: 0; | |
| 432 display: -webkit-box; | |
| 433 height: 100%; | |
| 434 left: 0; | |
| 435 position: absolute; | |
| 436 right: 0; | |
| 437 top: 0; | |
| 438 width: 100%; | |
| 439 } | |
| 440 | |
| 441 .oauth-enroll-step-center { | |
| 442 display: table; | |
| 443 height: 100%; | |
| 444 margin: 0 auto; | |
| 445 } | |
| 446 | |
| 447 .oauth-enroll-step-content { | |
| 448 display: table-cell; | |
| 449 vertical-align: middle; | |
| 450 } | |
| 451 | |
| 452 .oauth-enroll-step-icon { | |
| 453 display: inline-block; | |
| 454 position: relative; | |
| 455 top: 0.5em; | |
|
James Hawkins
2011/08/05 17:01:01
Why are you using em here?
Mattias Nissler (ping if slow)
2011/08/08 16:38:47
That's for aligning the vertical center of the ico
| |
| 456 vertical-align: top; | |
| 457 } | |
| 458 | |
| 459 .oauth-enroll-step-icon > * { | |
| 460 display: inline-block; | |
| 461 height: 22px; | |
| 462 margin-right: .4em; | |
| 463 position: relative; | |
| 464 top: -11px; | |
| 465 width: 22px; | |
| 466 } | |
| 467 | |
| 468 .oauth-enroll-step-message { | |
| 469 display: inline-block; | |
| 470 max-width: 400px; | |
| 471 text-align: left; | |
| 472 vertical-align: top; | |
| 473 } | |
| 474 | |
| 475 #oauth-enroll-error-retry { | |
| 476 color: -webkit-link; | |
| 477 cursor: pointer; | |
| 478 text-decoration: underline; | |
| 479 } | |
| 480 | |
| 481 @-webkit-keyframes oauth-enroll-spinner { | |
| 482 /* There are 13 animation steps, the numbers below space them evenly. Note | |
| 483 * that a steps(13) declaration produces off-by-one offsets for some frames, | |
| 484 * so for best results we specify positions explicity and use step-end. */ | |
| 485 0% { background-position: 286px 0px; } | |
| 486 7.6923076% { background-position: 264px 0px; } | |
| 487 15.3846153% { background-position: 242px 0px; } | |
| 488 23.0769230% { background-position: 220px 0px; } | |
| 489 30.7692307% { background-position: 198px 0px; } | |
| 490 38.4615384% { background-position: 176px 0px; } | |
| 491 46.1538461% { background-position: 154px 0px; } | |
| 492 53.8461538% { background-position: 132px 0px; } | |
| 493 61.5384615% { background-position: 110px 0px; } | |
| 494 69.2307692% { background-position: 88px 0px; } | |
| 495 76.9230769% { background-position: 66px 0px; } | |
| 496 84.6153846% { background-position: 44px 0px; } | |
| 497 92.3076923% { background-position: 22px 0px; } | |
| 498 100.0000000% { background-position: 0px 0px; } | |
| 499 } | |
| 500 | |
| 501 .oauth-enroll-spinner { | |
| 502 -webkit-animation: oauth-enroll-spinner 1s step-end infinite; | |
| 503 background-image: url('chrome://theme/IDR_SPINNER'); | |
| 504 height: 22px; | |
| 505 width: 22px; | |
| 506 } | |
| 507 | |
| 412 #close-button.visible { | 508 #close-button.visible { |
| 413 display: inline-block; | 509 display: inline-block; |
| 414 } | 510 } |
| 415 | 511 |
| 416 #bubble { | 512 #bubble { |
| 417 -webkit-transition: 0.25s opacity; | 513 -webkit-transition: 0.25s opacity; |
| 418 } | 514 } |
| 419 | 515 |
| 420 #login-header-bar { | 516 #login-header-bar { |
| 421 padding: 8px; | 517 padding: 8px; |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 528 #version-labels { | 624 #version-labels { |
| 529 -webkit-transition: all .5s linear; | 625 -webkit-transition: all .5s linear; |
| 530 bottom: 10px; | 626 bottom: 10px; |
| 531 color: #999; | 627 color: #999; |
| 532 font-size: 11px; | 628 font-size: 11px; |
| 533 left: 10px; | 629 left: 10px; |
| 534 opacity: 1.0; | 630 opacity: 1.0; |
| 535 position: absolute; | 631 position: absolute; |
| 536 text-shadow: 0 1px 1px #fff; | 632 text-shadow: 0 1px 1px #fff; |
| 537 } | 633 } |
| OLD | NEW |