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 | 5 |
6 .account-picker.flying-pods #account-picker { | 6 .account-picker.flying-pods #account-picker { |
7 transition: width 180ms ease, height 180ms ease; | 7 transition: width 180ms ease, height 180ms ease; |
8 } | 8 } |
9 | 9 |
10 #bubble { | 10 #bubble { |
| 11 margin-top: 16px; |
11 z-index: 1; | 12 z-index: 1; |
12 } | 13 } |
13 | 14 |
14 #signin-banner-container1 { | 15 #signin-banner-container1 { |
15 bottom: 100%; | 16 height: 64px; |
16 margin-bottom: 10px; | |
17 position: absolute; | 17 position: absolute; |
18 width: 100%; | 18 width: 520px; |
19 } | 19 z-index: 3; |
20 | |
21 html[screen=login] #signin-banner-container1 { | |
22 margin-bottom: 6px; | |
23 } | 20 } |
24 | 21 |
25 #signin-banner-container2 { | 22 #signin-banner-container2 { |
26 display: inline-block; | 23 display: inline-block; |
27 position: relative; | 24 position: relative; |
28 right: -50%; | |
29 } | 25 } |
30 | 26 |
31 html[dir=rtl] #signin-banner-container2 { | 27 html[dir=rtl] #signin-banner-container2 { |
32 left: -50%; | 28 left: -50%; |
33 right: auto; | 29 right: auto; |
34 } | 30 } |
35 | 31 |
36 #signin-banner { | 32 #signin-banner { |
37 background-color: rgba(0, 0, 0, 0.75); | 33 background-color: rgba(0, 0, 0, 0.75); |
38 border-radius: 4px; | 34 border-radius: 4px; |
39 color: whitesmoke; | 35 color: #FFF; |
40 display: none; | 36 display: none; |
41 left: -50%; | 37 font-family: "Roboto"; |
42 max-width: 722px; | 38 font-size: 13px; |
43 padding: 20px; | |
44 position: relative; | 39 position: relative; |
45 text-align: center; | 40 text-align: center; |
46 width: max-content; | |
47 } | 41 } |
48 | 42 |
49 html[dir=rtl] #signin-banner { | 43 html[dir=rtl] #signin-banner { |
50 left: auto; | 44 left: auto; |
51 right: -50%; | 45 right: -50%; |
52 } | 46 } |
53 | 47 |
54 html[screen=user-adding] #signin-banner { | 48 html[screen=user-adding] #signin-banner { |
55 display: inline-block; | 49 display: inline-block; |
56 } | 50 } |
57 | 51 |
58 html[screen=login] #signin-banner { | 52 html[screen=login] #signin-banner { |
59 padding: 20px 24px; | 53 padding: 20px 24px; |
60 } | 54 } |
61 | 55 |
62 html[screen=login] #signin-banner, | 56 html[screen=login] #signin-banner, |
63 html[screen=lock] #signin-banner { | 57 html[screen=lock] #signin-banner { |
64 display: inline-block; | 58 display: inline-block; |
65 opacity: 0; | 59 opacity: 0; |
66 visibility: hidden; | 60 visibility: hidden; |
67 } | 61 } |
68 | 62 |
69 html[screen=login] #signin-banner.message-set, | 63 html[screen=login] #signin-banner.message-set, |
70 html[screen=lock] #signin-banner.message-set { | 64 html[screen=lock] #signin-banner.message-set { |
71 opacity: 1; | 65 opacity: 0.8; |
72 transition: opacity 1s; | 66 transition: opacity 1s; |
73 visibility: visible; | 67 visibility: visible; |
74 } | 68 } |
75 | 69 |
76 .small-pod-container { | 70 .small-pod-container { |
77 overflow: scroll; | 71 overflow: scroll; |
78 position: absolute; | 72 position: absolute; |
| 73 } |
| 74 |
| 75 .small-pod-container::-webkit-scrollbar { |
| 76 width: 0; |
| 77 } |
| 78 |
| 79 .small-pod-container.scroll { |
| 80 background-color: rgba(20, 29, 40, .2); |
| 81 } |
| 82 |
| 83 .small-pod-container.scroll::-webkit-scrollbar { |
| 84 width: 9px; |
| 85 } |
| 86 |
| 87 .small-pod-container.scroll::-webkit-scrollbar-thumb { |
| 88 background-color: rgba(255, 255, 255, .17); |
| 89 border-radius: 8px; |
| 90 } |
| 91 |
| 92 .small-pod-container-mask { |
| 93 background: linear-gradient(#4FC3F7, transparent); |
| 94 height: 112px; |
| 95 position: absolute; |
| 96 width: 100%; |
| 97 z-index: 2; |
| 98 } |
| 99 |
| 100 .small-pod-container-mask.rotate { |
| 101 transform: rotate(180deg); |
79 } | 102 } |
OLD | NEW |