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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 width: 500px; | 702 width: 500px; |
| 703 height: 230px; | |
|
xiyuan
2016/11/21 19:38:35
nit: alpha sort, i.e height should be before width
Ivan Šandrk
2016/11/21 21:48:42
Done.
| |
| 703 } | 704 } |
| 704 | 705 |
| 705 .pod.public-account.expanded.advanced { | 706 .pod.public-account.expanded.advanced { |
| 706 width: 610px; | 707 width: 610px; |
| 708 height: 280px; | |
|
xiyuan
2016/11/21 19:38:35
nit: alpha sort
Ivan Šandrk
2016/11/21 21:48:42
Done.
| |
| 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: 15px; |
| 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 { |
| 752 width: 600px; | 754 width: 600px; |
| 755 height: 263px; | |
|
xiyuan
2016/11/21 19:38:35
nit: alpha sort
Ivan Šandrk
2016/11/21 21:48:42
Done.
| |
| 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 Loading... | |
| 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; |
| 818 display: flex; | 825 display: flex; |
| 819 flex: none; | 826 flex: none; |
| 820 font-size: 13px; | 827 font-size: 13px; |
| 828 justify-content: space-between; | |
| 829 align-items: center; | |
| 830 flex-direction: row-reverse; | |
| 831 margin-bottom: 4px; | |
|
xiyuan
2016/11/21 19:38:35
nit: alpha sort
Ivan Šandrk
2016/11/21 21:48:42
Done.
| |
| 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-overlay { | |
| 871 position: absolute; | |
| 872 top: 0; | |
| 873 left: 0; | |
| 874 width: 100%; | |
| 875 height: 100%; | |
| 876 opacity: 0.50; | |
| 877 background: black; | |
| 878 z-index: 10; | |
|
xiyuan
2016/11/21 19:38:35
nit: alpha sort here
Ivan Šandrk
2016/11/21 21:48:42
Done.
| |
| 879 } | |
| 880 | |
| 881 .monitoring-dialog { | |
| 882 position: fixed; | |
| 883 margin-left: -160px; | |
|
xiyuan
2016/11/21 19:38:35
nit: -webkit-margin-start? xxx-left might not work
Ivan Šandrk
2016/11/21 21:48:42
Done.
| |
| 884 margin-top: -80px; | |
| 885 min-width: 430px; | |
| 886 min-height: 170px; | |
| 887 } | |
| 888 | |
| 889 .pod.public-account.expanded.advanced .monitoring-dialog { | |
| 890 margin-left: -115px; | |
|
xiyuan
2016/11/21 19:38:35
nit: similar here
Ivan Šandrk
2016/11/21 21:48:42
Done.
| |
| 891 margin-top: -45px; | |
| 892 } | |
| 893 | |
| 894 .monitoring-dialog-button { | |
| 895 position: absolute; | |
| 896 top: 0px; | |
| 897 color: grey; | |
| 898 height: 34px; | |
| 899 width: 34px; | |
| 900 } | |
| 901 | |
| 902 .monitoring-dialog-title { | |
| 903 position: absolute; | |
| 904 top: -10px; | |
| 905 font-size: 16px; | |
| 906 font-weight: bold; | |
| 907 } | |
| 908 | |
| 909 .monitoring-dialog-content { | |
| 910 position: absolute; | |
| 911 top: 10px; | |
| 912 font-size: 13px; | |
| 913 color: grey; | |
| 914 } | |
| 915 | |
| 916 .monitoring-dialog-item { | |
| 917 display: list-item; | |
| 918 margin-left: 16px; | |
| 919 margin-bottom: -10px; | |
| 920 } | |
| 921 | |
| 849 .language-and-input-container { | 922 .language-and-input-container { |
| 850 -webkit-margin-end: 25px; | 923 -webkit-margin-end: 25px; |
| 851 flex: none; | 924 flex: none; |
| 852 } | 925 } |
| 853 | 926 |
| 854 .language-and-input { | 927 .language-and-input { |
| 855 color: rgb(49, 106, 197); | 928 color: rgb(49, 106, 197); |
| 856 position: relative; | |
| 857 text-decoration: none; | 929 text-decoration: none; |
| 858 top: 4px; | |
| 859 } | 930 } |
| 860 | 931 |
| 861 .pod.public-account.expanded.advanced .language-and-input-container { | 932 .pod.public-account.expanded.advanced .language-and-input-container { |
| 862 display: none; | 933 display: none; |
| 863 } | 934 } |
| 864 | 935 |
| 865 .enter-button { | 936 .enter-button { |
| 866 font-size: 14px; | 937 font-size: 12px; |
| 938 background-color: rgb(66, 133, 244); | |
| 939 color: white; | |
| 940 text-transform: none; | |
| 941 } | |
| 942 | |
| 943 .enter-button.keyboard-focus { | |
| 944 font-weight: normal; | |
| 945 } | |
| 946 | |
| 947 .horizontal-line { | |
| 948 border-bottom: 1px double #cccccc; | |
| 949 position: relative; | |
| 950 bottom: 8px; | |
| 867 } | 951 } |
| 868 | 952 |
| 869 /* Animations for the animated ellipsis: */ | 953 /* Animations for the animated ellipsis: */ |
| 870 .animated-ellipsis-component0 { | 954 .animated-ellipsis-component0 { |
| 871 -webkit-animation: ellipsis-component0 1.5s infinite; | 955 -webkit-animation: ellipsis-component0 1.5s infinite; |
| 872 } | 956 } |
| 873 | 957 |
| 874 @-webkit-keyframes ellipsis-component0 { | 958 @-webkit-keyframes ellipsis-component0 { |
| 875 0% { opacity: 0; } | 959 0% { opacity: 0; } |
| 876 25% { opacity: 1; } | 960 25% { opacity: 1; } |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 895 -webkit-animation: ellipsis-component2 1.5s infinite; | 979 -webkit-animation: ellipsis-component2 1.5s infinite; |
| 896 } | 980 } |
| 897 | 981 |
| 898 @-webkit-keyframes ellipsis-component2 { | 982 @-webkit-keyframes ellipsis-component2 { |
| 899 0% { opacity: 0; } | 983 0% { opacity: 0; } |
| 900 25% { opacity: 0; } | 984 25% { opacity: 0; } |
| 901 50% { opacity: 0; } | 985 50% { opacity: 0; } |
| 902 75% { opacity: 1; } | 986 75% { opacity: 1; } |
| 903 100% { opacity: 0; } | 987 100% { opacity: 0; } |
| 904 } | 988 } |
| OLD | NEW |