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

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

Issue 2516903002: PS - Adjusting Public Session login pod for expanded whitelisting (Closed)
Patch Set: Cache container div, this.parentNode Created 4 years 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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 } 692 }
693 693
694 .user-type-bubble-header { 694 .user-type-bubble-header {
695 font-weight: bold; 695 font-weight: bold;
696 margin-bottom: 14px; 696 margin-bottom: 14px;
697 } 697 }
698 698
699 /**** Public account user pod rules *******************************************/ 699 /**** Public account user pod rules *******************************************/
700 700
701 .pod.public-account.expanded { 701 .pod.public-account.expanded {
702 height: 230px;
702 width: 500px; 703 width: 500px;
703 } 704 }
704 705
705 .pod.public-account.expanded.advanced { 706 .pod.public-account.expanded.advanced {
707 height: 280px;
706 width: 610px; 708 width: 610px;
707 } 709 }
708 710
709 .pod.public-account.focused .name-container { 711 .pod.public-account.focused .name-container {
710 display: flex; 712 display: flex;
711 } 713 }
712 714
713 .pod.public-account.expanded .name-container { 715 .pod.public-account.expanded .name-container {
714 transform: translateY(-34px); 716 display: none;
715 } 717 }
716 718
717 .pod.public-account .learn-more-container { 719 .pod.public-account .learn-more-container {
718 display: block; 720 display: block;
719 flex: none; 721 flex: none;
720 } 722 }
721 723
722 .pod.public-account .learn-more { 724 .pod.public-account .learn-more {
723 top: 15px; 725 top: 22px;
724 } 726 }
725 727
726 .expanded-pane { 728 .expanded-pane {
727 display: none; 729 display: none;
728 } 730 }
729 731
730 .pod.public-account.animating .expanded-pane, 732 .pod.public-account.animating .expanded-pane,
731 .pod.public-account.expanded .expanded-pane { 733 .pod.public-account.expanded .expanded-pane {
732 display: block; 734 display: block;
733 font-size: 12px; 735 font-size: 12px;
734 margin: 10px; 736 margin: 10px;
735 overflow: hidden; 737 overflow: hidden;
736 z-index: 1; 738 z-index: 1;
737 } 739 }
738 740
739 .expanded-pane-contents { 741 .expanded-pane-contents {
740 display: flex; 742 display: flex;
741 flex-direction: column; 743 flex-direction: column;
742 float: right; 744 float: right;
743 height: 193px; 745 height: 213px;
744 width: 490px; 746 width: 490px;
745 } 747 }
746 748
747 .pod.public-account.transitioning-to-advanced .expanded-pane-contents { 749 .pod.public-account.transitioning-to-advanced .expanded-pane-contents {
748 transition: width 180ms; 750 transition: width 180ms;
749 } 751 }
750 752
751 .pod.public-account.expanded.advanced .expanded-pane-contents { 753 .pod.public-account.expanded.advanced .expanded-pane-contents {
754 height: 263px;
752 width: 600px; 755 width: 600px;
753 } 756 }
754 757
755 html[dir=rtl] .expanded-pane-contents { 758 html[dir=rtl] .expanded-pane-contents {
756 float: left; 759 float: left;
757 } 760 }
758 761
759 .side-container { 762 .side-container {
760 -webkit-margin-start: 200px; 763 -webkit-margin-start: 200px;
761 flex: auto; 764 flex: auto;
762 } 765 }
763 766
764 .expanded-pane-name { 767 .expanded-pane-name {
765 font-size: 19px; 768 font-size: 19px;
766 margin-bottom: 11px; 769 margin-bottom: 11px;
767 margin-top: -2px; 770 margin-top: -2px;
768 overflow: hidden; 771 overflow: hidden;
769 text-overflow: ellipsis; 772 text-overflow: ellipsis;
770 white-space: nowrap; 773 white-space: nowrap;
771 } 774 }
772 775
776 .expanded-pane-container {
777 color: grey;
778 }
779
773 .reminder { 780 .reminder {
774 font-weight: bold; 781 margin-top: 20px;
775 } 782 }
776 783
777 .language-and-input-section { 784 .language-and-input-section {
778 display: none; 785 display: none;
779 } 786 }
780 787
781 .pod.public-account.transitioning-to-advanced .language-and-input-section { 788 .pod.public-account.transitioning-to-advanced .language-and-input-section {
782 display: block; 789 display: block;
783 opacity: 0; 790 opacity: 0;
784 transition: opacity 180ms ease 180ms; 791 transition: opacity 180ms ease 180ms;
(...skipping 22 matching lines...) Expand all
807 .select-container { 814 .select-container {
808 flex: auto; 815 flex: auto;
809 } 816 }
810 817
811 .language-select, 818 .language-select,
812 .keyboard-select { 819 .keyboard-select {
813 width: 100%; 820 width: 100%;
814 } 821 }
815 822
816 .bottom-container { 823 .bottom-container {
817 -webkit-margin-start: 10px; 824 -webkit-margin-start: 20px;
825 align-items: center;
818 display: flex; 826 display: flex;
827 flex-direction: row-reverse;
819 flex: none; 828 flex: none;
820 font-size: 13px; 829 font-size: 13px;
830 justify-content: space-between;
831 margin-bottom: 4px;
821 } 832 }
822 833
823 .expanded-pane-learn-more-container, 834 .expanded-pane-learn-more-container,
824 .enter-button { 835 .enter-button {
825 flex: none; 836 flex: none;
826 } 837 }
827 838
828 .expanded-pane-learn-more, 839 .expanded-pane-learn-more,
829 .pod.public-account .learn-more { 840 .pod.public-account .learn-more {
830 background-image: url(../../webui/resources/images/business.svg); 841 background-image: url(../../webui/resources/images/business.svg);
831 background-size: 18px; 842 background-size: 18px;
832 height: 18px; 843 height: 18px;
844 margin-top: -10px;
833 position: relative; 845 position: relative;
834 width: 18px; 846 width: 18px;
835 } 847 }
836 848
837 .expanded-pane-learn-more { 849 .expanded-pane-learn-more {
838 top: 5px; 850 top: 5px;
839 } 851 }
840 852
841 .info { 853 .info {
842 flex: auto; 854 flex: auto;
843 margin: 5px 10px; 855 margin: -10px 25px;
844 overflow: hidden; 856 overflow: hidden;
845 text-overflow: ellipsis; 857 text-overflow: ellipsis;
846 white-space: nowrap; 858 white-space: nowrap;
847 } 859 }
848 860
861 .monitoring-container {
862 margin-top: 35px;
863 }
864
865 .monitoring-learn-more {
866 color: rgb(49, 106, 197);
867 text-decoration: none;
868 }
869
870 .monitoring-dialog-container .cr-dialog-shield {
871 background: black;
872 opacity: 0.5;
873 }
874
875 .monitoring-dialog-container .cr-dialog-buttons {
876 display: none;
877 }
878
879 .monitoring-dialog-container .cr-dialog-frame {
880 height: 170px;
881 left: -46px;
882 padding: 0px;
883 position: relative;
884 top: -24px;
885 width: 430px;
886 }
887
888 .monitoring-dialog-container.advanced .cr-dialog-frame {
889 left: -110px;
890 top: 0px;
891 }
892
893 .monitoring-dialog-container .cr-dialog-close {
894 color: grey;
895 height: 34px;
896 position: absolute;
897 top: 0px;
898 width: 34px;
899 }
900
901 .monitoring-dialog-container .cr-dialog-title {
902 font-size: 16px;
903 font-weight: bold;
904 left: 20px;
905 position: absolute;
906 top: 15px;
907 }
908
909 .monitoring-dialog-container .cr-dialog-text {
910 color: grey;
911 font-size: 13px;
912 overflow: visible;
913 position: absolute;
914 top: 20px;
915 }
916
917 .monitoring-dialog-container .cr-dialog-item {
918 -webkit-margin-start: 42px;
919 display: list-item;
920 margin-bottom: -6px;
921 }
922
849 .language-and-input-container { 923 .language-and-input-container {
850 -webkit-margin-end: 25px; 924 -webkit-margin-end: 25px;
851 flex: none; 925 flex: none;
852 } 926 }
853 927
854 .language-and-input { 928 .language-and-input {
855 color: rgb(49, 106, 197); 929 color: rgb(49, 106, 197);
856 position: relative;
857 text-decoration: none; 930 text-decoration: none;
858 top: 4px;
859 } 931 }
860 932
861 .pod.public-account.expanded.advanced .language-and-input-container { 933 .pod.public-account.expanded.advanced .language-and-input-container {
862 display: none; 934 display: none;
863 } 935 }
864 936
865 .enter-button { 937 .enter-button {
866 font-size: 14px; 938 background-color: rgb(66, 133, 244);
939 color: white;
940 font-size: 12px;
941 text-transform: none;
942 }
943
944 .enter-button.keyboard-focus {
945 font-weight: normal;
946 }
947
948 .horizontal-line {
949 border-bottom: 1px double #cccccc;
950 bottom: 8px;
951 position: relative;
867 } 952 }
868 953
869 /* Animations for the animated ellipsis: */ 954 /* Animations for the animated ellipsis: */
870 .animated-ellipsis-component0 { 955 .animated-ellipsis-component0 {
871 -webkit-animation: ellipsis-component0 1.5s infinite; 956 -webkit-animation: ellipsis-component0 1.5s infinite;
872 } 957 }
873 958
874 @-webkit-keyframes ellipsis-component0 { 959 @-webkit-keyframes ellipsis-component0 {
875 0% { opacity: 0; } 960 0% { opacity: 0; }
876 25% { opacity: 1; } 961 25% { opacity: 1; }
(...skipping 18 matching lines...) Expand all
895 -webkit-animation: ellipsis-component2 1.5s infinite; 980 -webkit-animation: ellipsis-component2 1.5s infinite;
896 } 981 }
897 982
898 @-webkit-keyframes ellipsis-component2 { 983 @-webkit-keyframes ellipsis-component2 {
899 0% { opacity: 0; } 984 0% { opacity: 0; }
900 25% { opacity: 0; } 985 25% { opacity: 0; }
901 50% { opacity: 0; } 986 50% { opacity: 0; }
902 75% { opacity: 1; } 987 75% { opacity: 1; }
903 100% { opacity: 0; } 988 100% { opacity: 0; }
904 } 989 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/signin/user_manager_screen_handler.cc ('k') | ui/login/account_picker/user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698