Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 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 user pods row of account picker UI. | 5 * This is the stylesheet used by user pods row of account picker UI. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 podrow { | 8 podrow { |
| 9 /* Temporarily disabled because animation interferes with updating screen's | 9 /* Temporarily disabled because animation interferes with updating screen's |
| 10 size. */ | 10 size. */ |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 284 color: grey; | 284 color: grey; |
| 285 display: block; | 285 display: block; |
| 286 flex: auto; | 286 flex: auto; |
| 287 margin-top: 11px; | 287 margin-top: 11px; |
| 288 outline: 0; | 288 outline: 0; |
| 289 overflow: hidden; | 289 overflow: hidden; |
| 290 text-overflow: ellipsis; | 290 text-overflow: ellipsis; |
| 291 white-space: nowrap; | 291 white-space: nowrap; |
| 292 } | 292 } |
| 293 | 293 |
| 294 .fingerprint-icon-image, | |
|
jdufault
2017/03/08 23:21:26
What about applying inside of the div, you also ap
xiaoyinh(OOO Sep 11-29)
2017/03/09 20:59:11
Thanks for the suggestion. I've applied the custom
| |
| 294 .custom-icon { | 295 .custom-icon { |
| 295 -webkit-margin-end: 0; | 296 -webkit-margin-end: 0; |
| 296 -webkit-margin-start: auto; | 297 -webkit-margin-start: auto; |
| 297 background-position: center; | 298 background-position: center; |
| 298 background-repeat: no-repeat; | 299 background-repeat: no-repeat; |
| 299 flex: none; | 300 flex: none; |
| 300 height: 27px; | 301 height: 27px; |
| 301 margin: 8px 0; | 302 margin: 8px 0; |
| 302 width: 27px; | 303 width: 27px; |
| 303 } | 304 } |
| 304 | 305 |
| 306 .fingerprint-icon-image.faded, | |
| 305 .custom-icon.faded { | 307 .custom-icon.faded { |
| 306 transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out; | 308 transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out; |
| 307 } | 309 } |
| 308 | 310 |
| 309 .custom-icon-hardlocked { | 311 .custom-icon-hardlocked { |
| 310 background-image: url(chrome://theme/IDR_EASY_UNLOCK_HARDLOCKED); | 312 background-image: url(chrome://theme/IDR_EASY_UNLOCK_HARDLOCKED); |
| 311 } | 313 } |
| 312 | 314 |
| 313 .custom-icon-hardlocked.icon-with-tooltip:hover { | 315 .custom-icon-hardlocked.icon-with-tooltip:hover { |
| 314 background-image: url(chrome://theme/IDR_EASY_UNLOCK_HARDLOCKED_HOVER); | 316 background-image: url(chrome://theme/IDR_EASY_UNLOCK_HARDLOCKED_HOVER); |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 408 } | 410 } |
| 409 | 411 |
| 410 .interactive-custom-icon { | 412 .interactive-custom-icon { |
| 411 cursor: pointer; | 413 cursor: pointer; |
| 412 } | 414 } |
| 413 | 415 |
| 414 .pod[auth-type='onlineSignIn'] .custom-icon-container { | 416 .pod[auth-type='onlineSignIn'] .custom-icon-container { |
| 415 display: none; | 417 display: none; |
| 416 } | 418 } |
| 417 | 419 |
| 420 .fingerprint-icon-container, | |
| 418 .custom-icon-container { | 421 .custom-icon-container { |
| 419 display: flex; | 422 display: flex; |
| 420 flex: none; | 423 flex: none; |
| 421 flex-direction: column; | 424 flex-direction: column; |
| 422 height: 43px; | 425 height: 43px; |
| 423 width: 27px; | 426 width: 27px; |
| 424 } | 427 } |
| 425 | 428 |
| 426 .launch-app-button-container { | 429 .launch-app-button-container { |
| 427 display: block; | 430 display: block; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 547 | 550 |
| 548 .user-type-icon-area.policy .user-type-icon-image { | 551 .user-type-icon-area.policy .user-type-icon-image { |
| 549 background-image: url(../../webui/resources/images/business.svg); | 552 background-image: url(../../webui/resources/images/business.svg); |
| 550 background-size: 18px; | 553 background-size: 18px; |
| 551 } | 554 } |
| 552 | 555 |
| 553 .user-type-icon-area.app .user-type-icon-image { | 556 .user-type-icon-area.app .user-type-icon-image { |
| 554 background-image: url(chrome://theme/IDR_KIOSK_APP_USER_POD_ICON); | 557 background-image: url(chrome://theme/IDR_KIOSK_APP_USER_POD_ICON); |
| 555 } | 558 } |
| 556 | 559 |
| 560 .fingerprint-icon-container.default .fingerprint-icon-image { | |
| 561 background-image: url(../../webui/resources/images/fingerprint_default.svg); | |
| 562 } | |
| 563 | |
| 564 .fingerprint-icon-container.default:hover .fingerprint-icon-image { | |
| 565 background-image: url(../../webui/resources/images/fingerprint_signin.svg); | |
| 566 } | |
| 567 | |
| 568 .fingerprint-icon-container.fingerprintSignin .fingerprint-icon-image { | |
| 569 background-image: url(../../webui/resources/images/fingerprint_signin.svg); | |
| 570 } | |
| 571 | |
| 572 .fingerprint-icon-container.fingerprintFailed .fingerprint-icon-image { | |
| 573 background-image: url(../../webui/resources/images/fingerprint_failed.svg); | |
| 574 } | |
| 575 | |
| 576 .pod input[type='password'].default::-webkit-input-placeholder { | |
| 577 color:grey; | |
|
jdufault
2017/03/08 23:21:27
nit: space after :
xiaoyinh(OOO Sep 11-29)
2017/03/09 20:59:11
Done.
| |
| 578 } | |
| 579 | |
| 580 .pod input[type='password'].fingerprintSignin::-webkit-input-placeholder { | |
| 581 color:#4285F4; | |
|
jdufault
2017/03/08 23:21:26
nit: space after :
Is this one of the material de
xiaoyinh(OOO Sep 11-29)
2017/03/09 20:59:11
Done.
| |
| 582 } | |
| 583 | |
| 584 .pod input[type='password'].fingerprintFailed::-webkit-input-placeholder { | |
| 585 color:#DB4437; | |
|
jdufault
2017/03/08 23:21:27
ditto
xiaoyinh(OOO Sep 11-29)
2017/03/09 20:59:11
Done.
| |
| 586 } | |
| 587 | |
| 557 .action-box-menu { | 588 .action-box-menu { |
| 558 display: none; | 589 display: none; |
| 559 z-index: 6; | 590 z-index: 6; |
| 560 } | 591 } |
| 561 | 592 |
| 562 .action-box-area.active ~ .action-box-menu { | 593 .action-box-area.active ~ .action-box-menu { |
| 563 background-color: white; | 594 background-color: white; |
| 564 border: 1px solid lightgray; | 595 border: 1px solid lightgray; |
| 565 border-radius: 2px; | 596 border-radius: 2px; |
| 566 display: flex; | 597 display: flex; |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 987 animation: ellipsis-component2 1.5s infinite; | 1018 animation: ellipsis-component2 1.5s infinite; |
| 988 } | 1019 } |
| 989 | 1020 |
| 990 @keyframes ellipsis-component2 { | 1021 @keyframes ellipsis-component2 { |
| 991 0% { opacity: 0; } | 1022 0% { opacity: 0; } |
| 992 25% { opacity: 0; } | 1023 25% { opacity: 0; } |
| 993 50% { opacity: 0; } | 1024 50% { opacity: 0; } |
| 994 75% { opacity: 1; } | 1025 75% { opacity: 1; } |
| 995 100% { opacity: 0; } | 1026 100% { opacity: 0; } |
| 996 } | 1027 } |
| OLD | NEW |