| 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 | |
| 10 size. */ | |
| 11 overflow: visible; | 9 overflow: visible; |
| 12 position: absolute; | |
| 13 } | 10 } |
| 14 | 11 |
| 15 /* Hide the pod row while images are loading. */ | 12 /* Hide the pod row while images are loading. */ |
| 16 podrow.images-loading { | 13 podrow.images-loading { |
| 17 visibility: hidden; | 14 visibility: hidden; |
| 18 } | 15 } |
| 19 | 16 |
| 20 pin-keyboard { | 17 pin-keyboard { |
| 21 display: block; | 18 display: block; |
| 22 } | 19 } |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 left 180ms ease-in-out, | 67 left 180ms ease-in-out, |
| 71 right 180ms ease-in-out, | 68 right 180ms ease-in-out, |
| 72 top 180ms ease-in-out, | 69 top 180ms ease-in-out, |
| 73 width 180ms ease-in-out; | 70 width 180ms ease-in-out; |
| 74 width: 96px; | 71 width: 96px; |
| 75 z-index: 3; | 72 z-index: 3; |
| 76 } | 73 } |
| 77 | 74 |
| 78 html[dir=rtl] .user-image-pane { | 75 html[dir=rtl] .user-image-pane { |
| 79 left: auto; | 76 left: auto; |
| 80 right: 10px; | 77 right: 105px; |
| 81 } | 78 } |
| 82 | 79 |
| 83 .user-image-container { | 80 .user-image-container { |
| 84 align-items: center; | 81 align-items: center; |
| 85 display: flex; | 82 display: flex; |
| 86 height: 100%; | 83 height: 100%; |
| 87 justify-content: center; | 84 justify-content: center; |
| 88 width: 100%; | 85 width: 100%; |
| 89 } | 86 } |
| 90 | 87 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 | 132 |
| 136 html:not([screen=login-add-user]) .pod.focused .user-image { | 133 html:not([screen=login-add-user]) .pod.focused .user-image { |
| 137 opacity: 1; | 134 opacity: 1; |
| 138 } | 135 } |
| 139 | 136 |
| 140 .pod.multiprofiles-policy-applied .user-image { | 137 .pod.multiprofiles-policy-applied .user-image { |
| 141 -webkit-filter: grayscale(100%); | 138 -webkit-filter: grayscale(100%); |
| 142 } | 139 } |
| 143 | 140 |
| 144 .main-pane { | 141 .main-pane { |
| 145 position: absolute; | |
| 146 z-index: 2; | 142 z-index: 2; |
| 147 } | 143 } |
| 148 | 144 |
| 149 html[dir=rtl] .main-pane { | |
| 150 left: auto; | |
| 151 right: 10px; | |
| 152 } | |
| 153 | |
| 154 .name-container { | 145 .name-container { |
| 155 display: flex; | 146 display: flex; |
| 156 position: absolute; | 147 position: absolute; |
| 157 top: 182px; | 148 top: 182px; |
| 158 } | 149 } |
| 159 | 150 |
| 160 .pod.focused:not(.multiprofiles-policy-applied) .auth-container { | 151 .pod.focused:not(.multiprofiles-policy-applied) .auth-container { |
| 161 display: flex; | 152 display: flex; |
| 162 height: 40px; | 153 height: 40px; |
| 163 left: 51px; | 154 left: 51px; |
| 164 position: absolute; | 155 position: absolute; |
| 165 top: 244px; | 156 top: 244px; |
| 166 /* On chromeos we extend the width to cover the padding on the user pods. This | 157 /* On chromeos we extend the width to cover the padding on the user pods. This |
| 167 is so the submit button on chromeos can extend onto the padding as shown on | 158 is so the submit button on chromeos can extend onto the padding as shown on |
| 168 mocks. */ | 159 mocks. */ |
| 169 <if expr="not chromeos"> | 160 <if expr="not chromeos"> |
| 170 width: 160px; | 161 width: 160px; |
| 171 </if> | 162 </if> |
| 172 <if expr="chromeos"> | 163 <if expr="chromeos"> |
| 173 width: 204px; | 164 width: 204px; |
| 174 </if> | 165 </if> |
| 175 } | 166 } |
| 176 | 167 |
| 168 html[dir=rtl] .pod.focused:not(.multiprofiles-policy-applied) .auth-container { |
| 169 left: auto; |
| 170 right: 51px; |
| 171 } |
| 172 |
| 177 .auth-container .submit-button[disabled] { | 173 .auth-container .submit-button[disabled] { |
| 178 opacity: 0.34; | 174 opacity: 0.34; |
| 179 } | 175 } |
| 180 | 176 |
| 181 .auth-container .submit-button { | 177 .auth-container .submit-button { |
| 182 color: #FFFFFF; | 178 color: #FFFFFF; |
| 183 height: 40px; | 179 height: 40px; |
| 184 opacity: 1; | 180 opacity: 1; |
| 185 padding: 12px 0 4px 0; | 181 padding: 12px 0 4px 0; |
| 186 width: 24px; | 182 width: 24px; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 215 display: none; | 211 display: none; |
| 216 } | 212 } |
| 217 | 213 |
| 218 .input-line { | 214 .input-line { |
| 219 display: none; | 215 display: none; |
| 220 opacity: 0.34; | 216 opacity: 0.34; |
| 221 position: absolute; | 217 position: absolute; |
| 222 stroke: #FFFFFF; | 218 stroke: #FFFFFF; |
| 223 stroke-width: 1px; | 219 stroke-width: 1px; |
| 224 top: 40px; | 220 top: 40px; |
| 221 width: 204px; |
| 225 } | 222 } |
| 226 | 223 |
| 227 .input-present .input-line { | 224 .input-present .input-line { |
| 228 opacity: 1; | 225 opacity: 1; |
| 229 } | 226 } |
| 230 | 227 |
| 231 .pod[is-active-directory] .reauth-warning { | 228 .pod[is-active-directory] .reauth-warning { |
| 232 display: none; | 229 display: none; |
| 233 } | 230 } |
| 234 | 231 |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 top: 0; | 498 top: 0; |
| 502 } | 499 } |
| 503 | 500 |
| 504 .action-box-area { | 501 .action-box-area { |
| 505 opacity: 0; | 502 opacity: 0; |
| 506 outline: none; | 503 outline: none; |
| 507 transition: opacity 100ms; | 504 transition: opacity 100ms; |
| 508 z-index: 4; | 505 z-index: 4; |
| 509 } | 506 } |
| 510 | 507 |
| 511 html[dir=rtl] .action-box-area { | |
| 512 left: 0; | |
| 513 position: absolute; | |
| 514 right: auto; | |
| 515 } | |
| 516 | |
| 517 .action-box-area:focus, | 508 .action-box-area:focus, |
| 518 .action-box-area.hovered, | 509 .action-box-area.hovered, |
| 519 .action-box-area.active, | 510 .action-box-area.active, |
| 520 .action-box-area.forced { | 511 .action-box-area.forced { |
| 521 opacity: 1; | 512 opacity: 1; |
| 522 } | 513 } |
| 523 | 514 |
| 524 .action-box-button { | 515 .action-box-button { |
| 516 -webkit-margin-start: 8px; |
| 525 height: 24px; | 517 height: 24px; |
| 526 margin: 3px 0 0 8px; | 518 margin-top: 3px; |
| 527 padding: 0; | 519 padding: 0; |
| 528 width: 24px; | 520 width: 24px; |
| 529 } | 521 } |
| 530 | 522 |
| 531 .action-box-button.ripple-circle { | 523 .action-box-button.ripple-circle { |
| 532 background: #FFF; | 524 background: #FFF; |
| 533 border-radius: 50%; | 525 border-radius: 50%; |
| 534 opacity: .08; | 526 opacity: .08; |
| 535 position: absolute; | 527 position: absolute; |
| 536 transform: scale(0); | 528 transform: scale(0); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 background-image: url(../../webui/resources/images/fingerprint_failed.svg); | 604 background-image: url(../../webui/resources/images/fingerprint_failed.svg); |
| 613 } | 605 } |
| 614 | 606 |
| 615 .action-box-menu { | 607 .action-box-menu { |
| 616 display: none; | 608 display: none; |
| 617 position: absolute; | 609 position: absolute; |
| 618 z-index: 6; | 610 z-index: 6; |
| 619 } | 611 } |
| 620 | 612 |
| 621 .action-box-area.active ~ .action-box-menu { | 613 .action-box-area.active ~ .action-box-menu { |
| 614 -webkit-margin-start: 12px; |
| 622 background-color: rgba(0, 0, 0, 0.8); | 615 background-color: rgba(0, 0, 0, 0.8); |
| 623 border-radius: 2px; | 616 border-radius: 2px; |
| 624 display: flex; | 617 display: flex; |
| 625 flex-direction: column; | 618 flex-direction: column; |
| 626 font-size: 13px; | 619 font-size: 13px; |
| 627 margin: 3px 0 0 12px; | 620 margin-top: 3px; |
| 628 width: 220px; | 621 width: 220px; |
| 629 } | 622 } |
| 630 | 623 |
| 631 .action-box-area.active ~ .action-box-menu.left-edge-offset { | 624 .action-box-area.active ~ .action-box-menu.left-edge-offset { |
| 632 left: 0 !important; | 625 left: 0 !important; |
| 633 } | 626 } |
| 634 | 627 |
| 635 .action-box-area.active ~ .action-box-menu.right-edge-offset { | 628 .action-box-area.active ~ .action-box-menu.right-edge-offset { |
| 636 right: 0 !important; | 629 right: 0 !important; |
| 637 } | 630 } |
| 638 | 631 |
| 639 .action-box-area.active ~ .action-box-menu:not(.menu-moved-up) { | 632 .action-box-area.active ~ .action-box-menu:not(.menu-moved-up) { |
| 640 top: 200px; | 633 top: 200px; |
| 641 } | 634 } |
| 642 | 635 |
| 643 .action-box-area.active ~ .action-box-menu.menu-moved-up { | 636 .action-box-area.active ~ .action-box-menu.menu-moved-up { |
| 644 bottom: 207px; | 637 bottom: 207px; |
| 645 } | 638 } |
| 646 | 639 |
| 647 .action-box-area.menu-moved-up { | 640 .action-box-area.menu-moved-up { |
| 648 transform: rotate(180deg); | 641 transform: rotate(180deg); |
| 649 } | 642 } |
| 650 | 643 |
| 651 html[dir=rtl] .action-box-area.active ~ .action-box-menu { | |
| 652 left: 5px; | |
| 653 right: auto; | |
| 654 } | |
| 655 | |
| 656 .action-box-menu-title { | 644 .action-box-menu-title { |
| 657 color: #FFFFFF; | 645 color: #FFFFFF; |
| 658 display: flex; | 646 display: flex; |
| 659 flex-direction: column; | 647 flex-direction: column; |
| 660 padding: 13px 14px 18px; | 648 padding: 13px 14px 18px; |
| 661 } | 649 } |
| 662 | 650 |
| 663 .action-box-menu-title:focus { | 651 .action-box-menu-title:focus { |
| 664 outline-style: none; | 652 outline-style: none; |
| 665 } | 653 } |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 position: absolute; | 735 position: absolute; |
| 748 top: 35px; | 736 top: 35px; |
| 749 transition: all 100ms; | 737 transition: all 100ms; |
| 750 visibility: hidden; | 738 visibility: hidden; |
| 751 width: 200px; | 739 width: 200px; |
| 752 z-index: 7; | 740 z-index: 7; |
| 753 } | 741 } |
| 754 | 742 |
| 755 html[dir=rtl] .user-type-bubble { | 743 html[dir=rtl] .user-type-bubble { |
| 756 left: auto; | 744 left: auto; |
| 757 right: 5px; | 745 right: 36px; |
| 758 } | 746 } |
| 759 | 747 |
| 760 .bubble-shown, | 748 .bubble-shown, |
| 761 .user-type-icon-area.policy:hover ~ .user-type-bubble { | 749 .user-type-icon-area.policy:hover ~ .user-type-bubble { |
| 762 opacity: 1; | 750 opacity: 1; |
| 763 visibility: visible; | 751 visibility: visible; |
| 764 } | 752 } |
| 765 | 753 |
| 766 .user-type-bubble-header { | 754 .user-type-bubble-header { |
| 767 font-weight: bold; | 755 font-weight: bold; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 .public-account-info-container .learn-more { | 859 .public-account-info-container .learn-more { |
| 872 --iron-icon-height: 12px; | 860 --iron-icon-height: 12px; |
| 873 --iron-icon-width: 12px; | 861 --iron-icon-width: 12px; |
| 874 display: block; | 862 display: block; |
| 875 opacity: .67; | 863 opacity: .67; |
| 876 padding: 0; | 864 padding: 0; |
| 877 position: absolute; | 865 position: absolute; |
| 878 } | 866 } |
| 879 | 867 |
| 880 .public-account-info-container .info { | 868 .public-account-info-container .info { |
| 869 -webkit-padding-start: 8px; |
| 881 color: rgba(255, 255, 255, .67); | 870 color: rgba(255, 255, 255, .67); |
| 882 font-family: "Roboto"; | 871 font-family: "Roboto"; |
| 883 font-size: 13px; | 872 font-size: 13px; |
| 884 overflow: hidden; | 873 overflow: hidden; |
| 885 padding-left: 8px; | |
| 886 position: absolute; | 874 position: absolute; |
| 887 text-overflow: ellipsis; | 875 text-overflow: ellipsis; |
| 888 white-space: nowrap; | 876 white-space: nowrap; |
| 889 } | 877 } |
| 890 | 878 |
| 891 .pod.public-account .button-container { | 879 .pod.public-account .button-container { |
| 892 background: rgba(255, 255, 255, .17); | 880 background: rgba(255, 255, 255, .17); |
| 893 border-radius: 50%; | 881 border-radius: 50%; |
| 894 display: none; | 882 display: none; |
| 895 height: 40px; | 883 height: 40px; |
| 896 left: 133px; | 884 left: 133px; |
| 897 position: absolute; | 885 position: absolute; |
| 898 top: 59px; | 886 top: 59px; |
| 899 width: 40px; | 887 width: 40px; |
| 900 } | 888 } |
| 901 | 889 |
| 890 html[dir=rtl] .pod.public-account .button-container { |
| 891 left: auto; |
| 892 right: 133px; |
| 893 } |
| 894 |
| 902 .pod.public-account .button-container.forced, | 895 .pod.public-account .button-container.forced, |
| 903 .pod.public-account.hovered .button-container, | 896 .pod.public-account.hovered .button-container, |
| 904 .pod.public-account.focused .button-container { | 897 .pod.public-account.focused .button-container { |
| 905 display: block; | 898 display: block; |
| 906 } | 899 } |
| 907 | 900 |
| 908 .pod.public-account.expanded .button-container { | 901 .pod.public-account.expanded .button-container { |
| 909 display: none; | 902 display: none; |
| 910 } | 903 } |
| 911 | 904 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 993 .enter-button-container { | 986 .enter-button-container { |
| 994 background-color: #4285F4; | 987 background-color: #4285F4; |
| 995 border-radius: 50%; | 988 border-radius: 50%; |
| 996 bottom: 28px; | 989 bottom: 28px; |
| 997 height: 40px; | 990 height: 40px; |
| 998 position: absolute; | 991 position: absolute; |
| 999 right: 28px; | 992 right: 28px; |
| 1000 width: 40px; | 993 width: 40px; |
| 1001 } | 994 } |
| 1002 | 995 |
| 996 html[dir=rtl] .enter-button-container { |
| 997 left: 28px; |
| 998 right: auto; |
| 999 } |
| 1000 |
| 1003 .language-and-input-dropdown { | 1001 .language-and-input-dropdown { |
| 1002 -webkit-margin-start: 6px; |
| 1004 height: 16px; | 1003 height: 16px; |
| 1005 margin-left: 6px; | |
| 1006 padding: 0; | 1004 padding: 0; |
| 1007 width: 16px; | 1005 width: 16px; |
| 1008 } | 1006 } |
| 1009 | 1007 |
| 1010 /* Animations for the animated ellipsis: */ | 1008 /* Animations for the animated ellipsis: */ |
| 1011 .animated-ellipsis-component0 { | 1009 .animated-ellipsis-component0 { |
| 1012 animation: ellipsis-component0 1.5s infinite; | 1010 animation: ellipsis-component0 1.5s infinite; |
| 1013 } | 1011 } |
| 1014 | 1012 |
| 1015 @keyframes ellipsis-component0 { | 1013 @keyframes ellipsis-component0 { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1096 opacity: 1; | 1094 opacity: 1; |
| 1097 outline: none; | 1095 outline: none; |
| 1098 overflow: hidden; | 1096 overflow: hidden; |
| 1099 padding: 23px 0; | 1097 padding: 23px 0; |
| 1100 position: absolute; | 1098 position: absolute; |
| 1101 text-overflow: ellipsis; | 1099 text-overflow: ellipsis; |
| 1102 white-space: nowrap; | 1100 white-space: nowrap; |
| 1103 width: 214px; | 1101 width: 214px; |
| 1104 } | 1102 } |
| 1105 | 1103 |
| 1104 html[dir=rtl] .small-pod-name { |
| 1105 left: auto; |
| 1106 right: 90px; |
| 1107 } |
| 1108 |
| 1106 .small-pod.extra-small .small-pod-name { | 1109 .small-pod.extra-small .small-pod-name { |
| 1107 left: 76px; | 1110 left: 76px; |
| 1108 padding: 16px 0; | 1111 padding: 16px 0; |
| 1109 width: 190px; | 1112 width: 190px; |
| 1110 } | 1113 } |
| 1111 | 1114 |
| 1115 html[dir=rtl] .small-pod.extra-small .small-pod-name { |
| 1116 left: auto; |
| 1117 right: 76px; |
| 1118 } |
| 1119 |
| 1112 @keyframes switch-image { | 1120 @keyframes switch-image { |
| 1113 from { transform: rotate3d(0, 1, 0, 90deg); } | 1121 from { transform: rotate3d(0, 1, 0, 90deg); } |
| 1114 to { transform: none; } | 1122 to { transform: none; } |
| 1115 } | 1123 } |
| OLD | NEW |