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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
157 | 157 |
158 .name-container, | 158 .name-container, |
159 .pod.focused:not(.multiprofiles-policy-applied) .auth-container { | 159 .pod.focused:not(.multiprofiles-policy-applied) .auth-container { |
160 background-color: white; | 160 background-color: white; |
161 display: flex; | 161 display: flex; |
162 position: absolute; | 162 position: absolute; |
163 top: 160px; | 163 top: 160px; |
164 width: 160px; | 164 width: 160px; |
165 } | 165 } |
166 | 166 |
167 .auth-container.pin-disabled { | |
168 opacity: 1; | |
169 transition: opacity 200ms ease-in-out 180ms; | |
170 visibility: visible; | |
171 } | |
172 | |
173 .auth-container.pin-enabled { | |
174 opacity: 0; | |
175 transition: none; | |
176 visibility: hidden; | |
177 } | |
178 | |
179 .auth-container .submit-button[disabled] { | |
180 color: #000; | |
181 opacity: 0.26; | |
182 } | |
183 | |
184 .auth-container .submit-button { | |
185 box-sizing: border-box; | |
186 color: var(--google-blue-500); | |
187 height: 43px; | |
188 min-height: 43px; | |
189 min-width: 43px; | |
190 padding: 11.5px 10px; | |
191 position: relative; | |
192 width: 43px; | |
193 } | |
194 | |
195 .auth-container .submit-button.error-shown { | |
196 color: #CD2A00; | |
197 } | |
198 | |
167 .name-container { | 199 .name-container { |
168 transition: transform 180ms, | 200 transition: transform 180ms, |
169 opacity 180ms ease-in-out 180ms, | 201 opacity 180ms ease-in-out 180ms, |
170 visibility 180ms ease-in-out 180ms; | 202 visibility 180ms ease-in-out 180ms; |
171 opacity : 1; | 203 opacity : 1; |
172 visibility: visible; | 204 visibility: visible; |
173 } | 205 } |
174 | 206 |
175 .name-container.pin-enabled { | 207 .name-container.pin-enabled { |
176 opacity : 0; | 208 opacity : 0; |
(...skipping 25 matching lines...) Expand all Loading... | |
202 .reauth-hint-container { | 234 .reauth-hint-container { |
203 display: none; | 235 display: none; |
204 } | 236 } |
205 | 237 |
206 .pod[auth-type='offlinePassword'].focused .password-entry-container, | 238 .pod[auth-type='offlinePassword'].focused .password-entry-container, |
207 .pod[auth-type='forceOfflinePassword'].focused .password-entry-container { | 239 .pod[auth-type='forceOfflinePassword'].focused .password-entry-container { |
208 display: flex; | 240 display: flex; |
209 flex: auto; | 241 flex: auto; |
210 } | 242 } |
211 | 243 |
244 .capslock-on .password-container { | |
jdufault
2016/08/30 21:02:26
Is it possible to have the alignment automatically
sammiequon
2016/08/30 22:28:27
Done.
| |
245 width: 107px; | |
246 } | |
247 | |
212 .password-container { | 248 .password-container { |
213 flex: auto; | 249 flex: auto; |
250 width: 127px; | |
214 } | 251 } |
215 | 252 |
216 .pod input[type='password'] { | 253 .pod input[type='password'] { |
217 background-color: white; | 254 background-color: white; |
218 border: none; | 255 border: none; |
219 padding: 4px 6px; | 256 padding: 4px 6px; |
220 position: relative; | 257 position: relative; |
221 top: 6px; | 258 top: 6px; |
222 width: 100%; | 259 width: 100%; |
223 } | 260 } |
224 | 261 |
225 .capslock-hint-container { | 262 .capslock-hint-container { |
226 display: none; | 263 display: none; |
227 } | 264 } |
228 | 265 |
229 .capslock-on .capslock-hint-container { | 266 .capslock-on .capslock-hint-container { |
230 display: block; | 267 display: block; |
231 flex: none; | 268 flex: none; |
269 height: 43px; | |
270 position: relative; | |
271 width: 20px; | |
232 } | 272 } |
233 | 273 |
234 .capslock-hint { | 274 .capslock-hint { |
235 -webkit-margin-end: 6px; | 275 -webkit-margin-end: 6px; |
236 -webkit-margin-start: -2px; | 276 -webkit-margin-start: -2px; |
277 margin: auto; | |
237 position: relative; | 278 position: relative; |
238 top: 11px; | 279 top: 15px; |
239 } | 280 } |
240 | 281 |
241 .password-label, | 282 .password-label, |
242 .signin-transition-container { | 283 .signin-transition-container { |
243 display: none; | 284 display: none; |
244 } | 285 } |
245 | 286 |
246 .pod[auth-type='userClick']:not(.signing-in) .password-label, | 287 .pod[auth-type='userClick']:not(.signing-in) .password-label, |
247 .pod[auth-type='userClick'].signing-in .signin-transition-container { | 288 .pod[auth-type='userClick'].signing-in .signin-transition-container { |
248 color: grey; | 289 color: grey; |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
867 -webkit-animation: ellipsis-component2 1.5s infinite; | 908 -webkit-animation: ellipsis-component2 1.5s infinite; |
868 } | 909 } |
869 | 910 |
870 @-webkit-keyframes ellipsis-component2 { | 911 @-webkit-keyframes ellipsis-component2 { |
871 0% { opacity: 0; } | 912 0% { opacity: 0; } |
872 25% { opacity: 0; } | 913 25% { opacity: 0; } |
873 50% { opacity: 0; } | 914 50% { opacity: 0; } |
874 75% { opacity: 1; } | 915 75% { opacity: 1; } |
875 100% { opacity: 0; } | 916 100% { opacity: 0; } |
876 } | 917 } |
OLD | NEW |