Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: ui/login/account_picker/md_user_pod_row.css

Issue 2926003002: Refresh UI of public session pods for new login screen (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 204
205 .pod.focused.multiprofiles-policy-applied .name-container { 205 .pod.focused.multiprofiles-policy-applied .name-container {
206 display: flex; 206 display: flex;
207 } 207 }
208 208
209 .name { 209 .name {
210 color: #FFFFFF; 210 color: #FFFFFF;
211 /* This should be 15.6px - the equivalent of 14px at 90% scale. */ 211 /* This should be 15.6px - the equivalent of 14px at 90% scale. */
212 flex: auto; 212 flex: auto;
213 font-family: "Roboto"; 213 font-family: "Roboto";
214 font-size: 26px; 214 font-size: 24px;
215 outline: none; 215 outline: none;
216 overflow: hidden; 216 overflow: hidden;
217 text-align: center; 217 text-align: center;
218 text-overflow: ellipsis; 218 text-overflow: ellipsis;
219 white-space: nowrap; 219 white-space: nowrap;
220 } 220 }
221 221
222 .learn-more-container,
223 .auth-container, 222 .auth-container,
224 .password-entry-container, 223 .password-entry-container,
225 .reauth-hint-container { 224 .reauth-hint-container {
226 display: none; 225 display: none;
227 } 226 }
228 227
229 .input-line { 228 .input-line {
jdufault 2017/06/07 17:29:31 Are these display: none css additions permanently
Wenzhao (Colin) Zang 2017/06/07 21:12:45 This one needs to be displayed conditionally. I've
229 display: none;
230 opacity: 0.34; 230 opacity: 0.34;
231 position: absolute; 231 position: absolute;
232 stroke: #FFFFFF; 232 stroke: #FFFFFF;
233 stroke-width: 1px; 233 stroke-width: 1px;
234 top: 40px; 234 top: 40px;
235 } 235 }
236 236
237 .input-present .input-line { 237 .input-present .input-line {
238 opacity: 1; 238 opacity: 1;
239 } 239 }
240 240
241 .pod[is-active-directory] .reauth-warning { 241 .pod[is-active-directory] .reauth-warning {
242 display: none; 242 display: none;
243 } 243 }
244 244
245 .pod[auth-type='offlinePassword'].focused .password-entry-container, 245 .pod[auth-type='offlinePassword'].focused .password-entry-container,
246 .pod[auth-type='forceOfflinePassword'].focused .password-entry-container { 246 .pod[auth-type='forceOfflinePassword'].focused .password-entry-container,
247 .pod[auth-type='offlinePassword'].focused .input-line,
248 .pod[auth-type='forceOfflinePassword'].focused .input-line {
247 display: flex; 249 display: flex;
248 flex: auto; 250 flex: auto;
249 } 251 }
250 252
251 .password-container { 253 .password-container {
252 height: 40px; 254 height: 40px;
253 width: 180px; 255 width: 180px;
254 } 256 }
255 257
256 .capslock-on .password-container { 258 .capslock-on .password-container {
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 visibility: visible; 776 visibility: visible;
775 } 777 }
776 778
777 .user-type-bubble-header { 779 .user-type-bubble-header {
778 font-weight: bold; 780 font-weight: bold;
779 margin-bottom: 14px; 781 margin-bottom: 14px;
780 } 782 }
781 783
782 /**** Public account user pod rules *******************************************/ 784 /**** Public account user pod rules *******************************************/
783 785
784 .pod.public-account.expanded { 786 .public-account-expanded > * {
785 height: 230px; 787 display: none;
786 width: 500px;
787 } 788 }
788 789
789 .pod.public-account.expanded.advanced { 790 .public-account-expanded .pod {
790 height: 280px; 791 display: none;
791 width: 610px;
792 } 792 }
793 793
794 .pod.public-account.focused .name-container { 794 .public-account-expanded podrow,
795 display: flex; 795 .public-account-expanded .pod.public-account.expanded {
796 display: block;
796 } 797 }
797 798
798 .pod.public-account.expanded .name-container { 799 .pod.public-account.expanded {
799 display: flex; 800 background-color: rgba(0, 0, 0, 0.56);
800 } 801 border-radius: 2px;
801 802 height: 324px;
802 .pod.public-account .learn-more-container { 803 width: 622px;
803 display: block;
804 flex: none;
805 }
806
807 .pod.public-account .learn-more {
808 top: 22px;
809 } 804 }
810 805
811 .expanded-pane { 806 .expanded-pane {
812 display: none; 807 display: none;
813 } 808 }
814 809
815 .pod.public-account.animating .expanded-pane,
816 .pod.public-account.expanded .expanded-pane { 810 .pod.public-account.expanded .expanded-pane {
811 border-left: 0.5px solid rgba(255, 255, 255, .34);
812 color: #FFF;
817 display: block; 813 display: block;
818 font-size: 12px; 814 font-family: "Roboto";
819 margin: 10px; 815 font-size: 13px;
816 height: 324px;
817 left: 322px;
820 overflow: hidden; 818 overflow: hidden;
819 position: absolute;
820 top: 0;
821 width: 300px;
821 z-index: 1; 822 z-index: 1;
822 } 823 }
823 824
824 .expanded-pane-contents { 825 html[dir=rtl] .expanded-pane {
825 display: flex;
826 flex-direction: column;
827 float: right;
828 height: 213px;
829 width: 490px;
830 }
831
832 .pod.public-account.transitioning-to-advanced .expanded-pane-contents {
833 transition: width 180ms;
834 }
835
836 .pod.public-account.expanded.advanced .expanded-pane-contents {
837 height: 263px;
838 width: 600px;
839 }
840
841 html[dir=rtl] .expanded-pane-contents {
842 float: left; 826 float: left;
843 } 827 }
844 828
845 .side-container {
846 -webkit-margin-start: 200px;
847 flex: auto;
848 }
849
850 .expanded-pane-name {
851 font-size: 19px;
852 margin-bottom: 11px;
853 margin-top: -2px;
854 overflow: hidden;
855 text-overflow: ellipsis;
856 white-space: nowrap;
857 }
858
859 .expanded-pane-container { 829 .expanded-pane-container {
860 color: grey; 830 margin-left: 28px;
831 margin-right: 28px;
861 } 832 }
862 833
863 .reminder { 834 .reminder {
864 margin-top: 20px; 835 margin-top: 20px;
865 } 836 }
866 837
867 .language-and-input-section { 838 .language-and-input-section {
868 display: none; 839 display: none;
869 } 840 }
870 841
871 .pod.public-account.transitioning-to-advanced .language-and-input-section {
872 display: block;
873 opacity: 0;
874 transition: opacity 180ms ease 180ms;
875 }
876
877 .pod.public-account.expanded.advanced .language-and-input-section { 842 .pod.public-account.expanded.advanced .language-and-input-section {
878 display: block; 843 display: block;
844 margin-left: 28px;
845 margin-right: 28px;
846 margin-top: 37px;
879 opacity: 1; 847 opacity: 1;
880 } 848 }
881 849
882 .select-with-label { 850 .select-with-label {
883 display: flex; 851 display: flex;
852 flex-direction: column;
884 margin-top: 20px; 853 margin-top: 20px;
885 } 854 }
886 855
887 .language-select-label, 856 .language-select-label,
888 .keyboard-select-label { 857 .keyboard-select-label {
889 flex: none; 858 opacity: .34;
890 margin-top: 3px;
891 overflow: hidden; 859 overflow: hidden;
892 text-overflow: ellipsis; 860 text-overflow: ellipsis;
893 white-space: nowrap; 861 white-space: nowrap;
894 width: 170px; 862 width: 170px;
895 } 863 }
896 864
897 .select-container { 865 .select-container {
898 flex: auto; 866 height: 16px;
867 margin-top: 5px;
868 width: 178px;
899 } 869 }
900 870
901 .language-select, 871 .language-select,
902 .keyboard-select { 872 .keyboard-select {
903 width: 100%; 873 width: 100%;
904 } 874 }
905 875
906 .bottom-container {
907 -webkit-margin-start: 20px;
908 align-items: center;
909 display: flex;
910 flex-direction: row-reverse;
911 flex: none;
912 font-size: 13px;
913 justify-content: space-between;
914 margin-bottom: 4px;
915 }
916
917 .expanded-pane-learn-more-container,
918 .enter-button { 876 .enter-button {
919 flex: none; 877 flex: none;
920 } 878 }
921 879
922 .expanded-pane-learn-more, 880 .pod .public-account-info-container {
923 .pod.public-account .learn-more { 881 display: none;
924 background-image: url(../../webui/resources/images/business.svg);
925 background-size: 18px;
926 height: 18px;
927 margin-top: -10px;
928 position: relative;
929 width: 18px;
930 } 882 }
931 883
932 .expanded-pane-learn-more { 884 .pod.public-account .public-account-info-container {
933 top: 5px; 885 display: block;
886 position: absolute;
887 top: 230px;
934 } 888 }
935 889
936 .info { 890 .public-account-info-container .learn-more {
937 flex: auto; 891 --iron-icon-height: 12px;
938 margin: -10px 25px; 892 --iron-icon-width: 12px;
893 display: block;
894 opacity: .67;
895 padding: 0;
896 position: absolute;
897 }
898
899 .public-account-info-container .info {
900 color: rgba(255, 255, 255, .67);
901 font-family: "Roboto";
902 font-size: 13px;
939 overflow: hidden; 903 overflow: hidden;
904 padding-left: 8px;
905 position: absolute;
940 text-overflow: ellipsis; 906 text-overflow: ellipsis;
941 white-space: nowrap; 907 white-space: nowrap;
942 } 908 }
943 909
910 .pod.public-account .button-container {
911 background: rgba(255, 255, 255, .17);
912 border-radius: 50%;
913 display: none;
914 height: 40px;
915 left: 133px;
916 position: absolute;
917 top: 59px;
918 width: 40px;
919 }
920
921 .pod.public-account .button-container.forced,
922 .pod.public-account.hovered .button-container,
923 .pod.public-account.focused .button-container {
924 display: block;
925 }
926
927 .pod.public-account.expanded .button-container {
928 display: none;
929 }
930
931 .public-account-submit-button {
932 color: #FFF;
933 opacity: 1;
934 padding: 10px 7px 8px 11px;
935 }
936
944 .monitoring-container { 937 .monitoring-container {
938 margin-top: 106px;
939 }
940
941 .advanced .monitoring-container {
945 margin-top: 35px; 942 margin-top: 35px;
946 } 943 }
947 944
948 .monitoring-learn-more { 945 .monitoring-learn-more {
949 color: rgb(49, 106, 197); 946 color: rgb(49, 106, 197);
950 text-decoration: none; 947 text-decoration: none;
951 } 948 }
952 949
950 .monitoring-learn-more:focus,
951 .language-and-input:focus {
952 font-weight: bold;
953 outline: none;
954 }
955
953 .monitoring-dialog-container .cr-dialog-shield { 956 .monitoring-dialog-container .cr-dialog-shield {
954 background: black; 957 background: black;
955 opacity: 0.5; 958 opacity: 0.5;
956 } 959 }
957 960
958 .monitoring-dialog-container .cr-dialog-buttons { 961 .monitoring-dialog-container .cr-dialog-buttons {
959 display: none; 962 display: none;
960 } 963 }
961 964
962 .monitoring-dialog-container .cr-dialog-frame { 965 .monitoring-dialog-container .cr-dialog-frame {
963 height: 170px; 966 height: 170px;
964 left: -46px;
965 padding: 0px; 967 padding: 0px;
966 position: relative; 968 position: relative;
967 top: -24px;
968 width: 430px; 969 width: 430px;
969 } 970 }
970 971
971 .monitoring-dialog-container.advanced .cr-dialog-frame {
972 left: -110px;
973 top: 0px;
974 }
975
976 .monitoring-dialog-container .cr-dialog-close { 972 .monitoring-dialog-container .cr-dialog-close {
977 color: grey; 973 color: grey;
978 height: 34px; 974 height: 34px;
979 position: absolute; 975 position: absolute;
980 top: 0px; 976 top: 0px;
981 width: 34px; 977 width: 34px;
982 } 978 }
983 979
984 .monitoring-dialog-container .cr-dialog-title { 980 .monitoring-dialog-container .cr-dialog-title {
985 font-size: 16px; 981 font-size: 16px;
(...skipping 11 matching lines...) Expand all
997 top: 20px; 993 top: 20px;
998 } 994 }
999 995
1000 .monitoring-dialog-container .cr-dialog-item { 996 .monitoring-dialog-container .cr-dialog-item {
1001 -webkit-margin-start: 42px; 997 -webkit-margin-start: 42px;
1002 display: list-item; 998 display: list-item;
1003 margin-bottom: -6px; 999 margin-bottom: -6px;
1004 } 1000 }
1005 1001
1006 .language-and-input-container { 1002 .language-and-input-container {
1007 -webkit-margin-end: 25px; 1003 margin-top: 20px;
1008 flex: none; 1004 flex: none;
1009 } 1005 }
1010 1006
1011 .language-and-input { 1007 .language-and-input {
1012 color: rgb(49, 106, 197); 1008 color: rgb(49, 106, 197);
1013 text-decoration: none; 1009 text-decoration: none;
1014 } 1010 }
1015 1011
1016 .pod.public-account.expanded.advanced .language-and-input-container { 1012 .enter-button-container {
1017 display: none; 1013 background-color: #4285F4;
1014 border-radius: 50%;
1015 bottom: 28px;
1016 height: 40px;
1017 position: absolute;
1018 right: 28px;
1019 width: 40px;
1018 } 1020 }
1019 1021
1020 .enter-button { 1022 .language-and-input-dropdown {
1021 background-color: rgb(66, 133, 244); 1023 height: 16px;
1022 color: white; 1024 margin-left: 6px;
1023 font-size: 12px; 1025 padding: 0;
1024 text-transform: none; 1026 width: 16px;
1025 }
1026
1027 .enter-button.keyboard-focus {
1028 font-weight: normal;
1029 }
1030
1031 .horizontal-line {
1032 border-bottom: 1px double #cccccc;
1033 bottom: 8px;
1034 position: relative;
1035 } 1027 }
1036 1028
1037 /* Animations for the animated ellipsis: */ 1029 /* Animations for the animated ellipsis: */
1038 .animated-ellipsis-component0 { 1030 .animated-ellipsis-component0 {
1039 animation: ellipsis-component0 1.5s infinite; 1031 animation: ellipsis-component0 1.5s infinite;
1040 } 1032 }
1041 1033
1042 @keyframes ellipsis-component0 { 1034 @keyframes ellipsis-component0 {
1043 0% { opacity: 0; } 1035 0% { opacity: 0; }
1044 25% { opacity: 1; } 1036 25% { opacity: 1; }
(...skipping 28 matching lines...) Expand all
1073 1065
1074 .large-pod { 1066 .large-pod {
1075 height: 346px; 1067 height: 346px;
1076 width: 306px; 1068 width: 306px;
1077 } 1069 }
1078 1070
1079 .pod.pin-enabled .large-pod { 1071 .pod.pin-enabled .large-pod {
1080 height: 618px; 1072 height: 618px;
1081 } 1073 }
1082 1074
1075 .pod.public-account.expanded .large-pod {
1076 left: 8px;
1077 position: absolute;
1078 top: 8px;
1079 }
1080
1083 .small-pod { 1081 .small-pod {
1084 height: 74px; 1082 height: 74px;
1085 width: 304px; 1083 width: 304px;
1086 } 1084 }
1087 1085
1088 .small-pod.extra-small { 1086 .small-pod.extra-small {
1089 height: 60px; 1087 height: 60px;
1090 width: 282px; 1088 width: 282px;
1091 } 1089 }
1092 1090
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 .small-pod.extra-small .small-pod-name { 1126 .small-pod.extra-small .small-pod-name {
1129 left: 76px; 1127 left: 76px;
1130 padding: 16px 0; 1128 padding: 16px 0;
1131 width: 190px; 1129 width: 190px;
1132 } 1130 }
1133 1131
1134 @keyframes switch-image { 1132 @keyframes switch-image {
1135 from { transform: rotate3d(0, 1, 0, 90deg); } 1133 from { transform: rotate3d(0, 1, 0, 90deg); }
1136 to { transform: none; } 1134 to { transform: none; }
1137 } 1135 }
OLDNEW
« no previous file with comments | « no previous file | ui/login/account_picker/md_user_pod_row.js » ('j') | ui/login/account_picker/md_user_pod_row.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698