Chromium Code Reviews| Index: ui/login/account_picker/user_pod_row.css |
| diff --git a/ui/login/account_picker/user_pod_row.css b/ui/login/account_picker/user_pod_row.css |
| index 1aeb19701a9561c793abfc4b67c2209a0edb7f81..e1c4d474e55f49ed3be36ecad4fde98c1cda9125 100644 |
| --- a/ui/login/account_picker/user_pod_row.css |
| +++ b/ui/login/account_picker/user_pod_row.css |
| @@ -30,13 +30,30 @@ podrow.images-loading { |
| height: 213px; |
| outline: none; |
| position: absolute; |
| + top: 0; |
|
jdufault
2016/06/14 22:50:33
Remove this if the CSS approach doesn't work.
|
| transform: scale3d(0.9, 0.9, 0.9); |
| + transition: all 500ms ease-in-out; |
| width: 180px; |
| z-index: 0; |
| } |
| -.account-picker.flying-pods .pod { |
| - transition: all 180ms; |
| +.pod.pin-enabled { |
| + height: 600px; |
| + padding: 10px; |
| + top: -200px; |
|
jdufault
2016/06/14 22:50:33
Does adding !important allow you to remove the JS
|
| + width: 256px; |
| +} |
| + |
| +.pod #pin-container { |
| + display: block; |
| + height: 55%; |
| + top: 45%; |
| + width: 100%; |
| +} |
| + |
| +#account-picker { |
| + height: 100%; |
| + width: 100%; |
| } |
| .pod.faded { |
| @@ -60,17 +77,12 @@ podrow[ncolumns='6'] .pod { |
| .user-image-pane { |
| background-color: white; |
| - height: 160px; |
| - left: 10px; |
| - position: absolute; |
| - top: 10px; |
| - width: 160px; |
| - z-index: 3; |
| + height: 45%; |
| + width: 100%; |
| } |
| html[dir=rtl] .user-image-pane { |
| left: auto; |
| - right: 10px; |
| } |
|
jdufault
2016/06/14 22:50:33
?
Make sure you test in a RTL locale.
sammiequon
2016/06/15 21:56:58
Done.
|
| .user-image-container { |
| @@ -91,6 +103,15 @@ html:not([screen=login-add-user]) .pod .user-image { |
| max-height: 160px; |
| max-width: 160px; |
| opacity: 0.7; |
| + position: absolute; |
| + top: 10px; |
| + transition: max-height 500ms ease-in-out, |
| + max-width 500ms ease-in-out; |
| +} |
| + |
| +html:not([screen=login-add-user]) .pod .user-image.pin-enabled { |
| + max-height: 256px; |
| + max-width: 256px; |
| } |
| html:not([screen=login-add-user]) .pod.focused .user-image { |
| @@ -110,11 +131,16 @@ html:not([screen=login-add-user]) .pod.focused .user-image { |
| color: white; |
| display: block; |
| font-size: small; |
| - padding: 3px 0; |
| + left: 10px; |
| position: absolute; |
| text-align: center; |
| - top: 0; |
| - width: 100%; |
| + top: 10px; |
| + transition: width 500ms ease-in-out; |
| + width: 160px; |
| +} |
| + |
| +.pod.signed-in .signed-in-indicator.pin-enabled { |
| + width: 256px; |
| } |
| .main-pane { |
| @@ -138,6 +164,16 @@ html[dir=rtl] .main-pane { |
| width: 160px; |
| } |
| +.auth-container.pin-disabled { |
| + opacity: 1; |
| + transition: opacity 200ms ease-in-out 500ms; |
| +} |
| + |
| +.auth-container.pin-enabled { |
| + opacity: 0; |
| + transition: none; |
| +} |
| + |
| .name-container { |
| transition: transform 180ms; |
| } |