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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 209 transition: opacity 200ms ease-in-out 180ms; | 209 transition: opacity 200ms ease-in-out 180ms; |
| 210 visibility: visible; | 210 visibility: visible; |
| 211 } | 211 } |
| 212 | 212 |
| 213 .auth-container.pin-enabled { | 213 .auth-container.pin-enabled { |
| 214 opacity: 0; | 214 opacity: 0; |
| 215 transition: none; | 215 transition: none; |
| 216 visibility: hidden; | 216 visibility: hidden; |
| 217 } | 217 } |
| 218 | 218 |
| 219 html[dir=rtl] .auth-container .submit-button { | |
| 220 left: -10px; | |
| 221 } | |
| 222 | |
| 223 .auth-container .submit-button[disabled] { | |
| 224 color: grey; | |
| 225 } | |
| 226 | |
| 227 .auth-container .submit-button { | |
| 228 color: blue; | |
|
jdufault
2016/08/17 19:04:12
Is this the right color?
sammiequon
2016/08/30 16:39:58
Done.
| |
| 229 height: 43px; | |
| 230 left: 127px; | |
| 231 padding: 11.5px 10px; | |
|
jdufault
2016/08/17 19:04:12
What is the 11.5px for?
sammiequon
2016/08/30 16:39:58
From the mocks. To place the icon i presume.
| |
| 232 position: absolute; | |
|
jdufault
2016/08/17 19:04:12
Can we position relative to other elements instead
sammiequon
2016/08/30 16:39:58
Done.
| |
| 233 width: 43px; | |
| 234 } | |
| 235 | |
| 236 .auth-container .submit-button.error-shown { | |
| 237 color: red; | |
|
jdufault
2016/08/17 19:04:12
Is this the right color?
sammiequon
2016/08/30 16:39:58
Done.
| |
| 238 } | |
| 239 | |
| 219 .name-container { | 240 .name-container { |
| 220 transition: transform 180ms, | 241 transition: transform 180ms, |
| 221 opacity 180ms ease-in-out 180ms, | 242 opacity 180ms ease-in-out 180ms, |
| 222 visibility 180ms ease-in-out 180ms; | 243 visibility 180ms ease-in-out 180ms; |
| 223 opacity : 1; | 244 opacity : 1; |
| 224 visibility: visible; | 245 visibility: visible; |
| 225 } | 246 } |
| 226 | 247 |
| 227 .name-container.pin-enabled { | 248 .name-container.pin-enabled { |
| 228 opacity : 0; | 249 opacity : 0; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 264 .password-container { | 285 .password-container { |
| 265 flex: auto; | 286 flex: auto; |
| 266 } | 287 } |
| 267 | 288 |
| 268 .pod input[type='password'] { | 289 .pod input[type='password'] { |
| 269 background-color: white; | 290 background-color: white; |
| 270 border: none; | 291 border: none; |
| 271 padding: 4px 6px; | 292 padding: 4px 6px; |
| 272 position: relative; | 293 position: relative; |
| 273 top: 6px; | 294 top: 6px; |
| 274 width: 100%; | 295 width: 103px; |
| 275 } | 296 } |
| 276 | 297 |
| 277 .capslock-hint-container { | 298 .capslock-hint-container { |
| 278 display: none; | 299 display: none; |
| 279 } | 300 } |
| 280 | 301 |
| 281 .capslock-on .capslock-hint-container { | 302 .capslock-on .capslock-hint-container { |
| 282 display: block; | 303 display: block; |
| 283 flex: none; | 304 flex: none; |
| 305 height: 43px; | |
| 306 left: 111px; | |
| 307 position: absolute; | |
|
jdufault
2016/08/17 19:04:12
Can this be positioned relative to other elements?
sammiequon
2016/08/30 16:39:58
Done.
| |
| 308 width: 20px; | |
| 309 } | |
| 310 | |
| 311 html[dir=rtl] .capslock-on .capslock-hint-container { | |
| 312 left: 33px; | |
| 284 } | 313 } |
| 285 | 314 |
| 286 .capslock-hint { | 315 .capslock-hint { |
| 287 -webkit-margin-end: 6px; | 316 -webkit-margin-end: 6px; |
| 288 -webkit-margin-start: -2px; | 317 -webkit-margin-start: -2px; |
| 318 margin: auto; | |
| 289 position: relative; | 319 position: relative; |
| 290 top: 11px; | 320 top: 15px; |
| 291 } | 321 } |
| 292 | 322 |
| 293 .password-label, | 323 .password-label, |
| 294 .signin-transition-container { | 324 .signin-transition-container { |
| 295 display: none; | 325 display: none; |
| 296 } | 326 } |
| 297 | 327 |
| 298 .pod[auth-type='userClick']:not(.signing-in) .password-label, | 328 .pod[auth-type='userClick']:not(.signing-in) .password-label, |
| 299 .pod[auth-type='userClick'].signing-in .signin-transition-container { | 329 .pod[auth-type='userClick'].signing-in .signin-transition-container { |
| 300 color: grey; | 330 color: grey; |
| (...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 919 -webkit-animation: ellipsis-component2 1.5s infinite; | 949 -webkit-animation: ellipsis-component2 1.5s infinite; |
| 920 } | 950 } |
| 921 | 951 |
| 922 @-webkit-keyframes ellipsis-component2 { | 952 @-webkit-keyframes ellipsis-component2 { |
| 923 0% { opacity: 0; } | 953 0% { opacity: 0; } |
| 924 25% { opacity: 0; } | 954 25% { opacity: 0; } |
| 925 50% { opacity: 0; } | 955 50% { opacity: 0; } |
| 926 75% { opacity: 1; } | 956 75% { opacity: 1; } |
| 927 100% { opacity: 0; } | 957 100% { opacity: 0; } |
| 928 } | 958 } |
| OLD | NEW |