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 27 matching lines...) Expand all Loading... | |
| 38 transform: scale3d(0.9, 0.9, 0.9); | 38 transform: scale3d(0.9, 0.9, 0.9); |
| 39 width: 180px; | 39 width: 180px; |
| 40 z-index: 0; | 40 z-index: 0; |
| 41 } | 41 } |
| 42 | 42 |
| 43 #account_picker.flying-pods .pod { | 43 #account_picker.flying-pods .pod { |
| 44 transition: all 180ms; | 44 transition: all 180ms; |
| 45 } | 45 } |
| 46 | 46 |
| 47 .pod.flying-pin-pod { | 47 .pod.flying-pin-pod { |
| 48 transition: height 180ms ease-in-out, | 48 transition: all 180ms ease-in-out; |
|
jdufault
2016/07/12 00:22:25
Why's this change needed?
sammiequon
2016/07/12 19:35:56
Done.
| |
| 49 top 180ms ease-in-out, | |
| 50 width 180ms ease-in-out; | |
| 51 } | 49 } |
| 52 | 50 |
| 53 .pod.pin-enabled { | 51 .pod.pin-enabled { |
| 54 height: 594px; | 52 height: 594px; |
| 55 top: -200px !important; | 53 top: -200px !important; |
| 56 width: 270px; | 54 width: 270px; |
| 57 } | 55 } |
| 58 | 56 |
| 59 .pod .pin-container { | 57 .pod .pin-container { |
| 60 height: 344px; | 58 height: 344px; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 190 visibility: visible; | 188 visibility: visible; |
| 191 } | 189 } |
| 192 | 190 |
| 193 .auth-container.pin-enabled { | 191 .auth-container.pin-enabled { |
| 194 opacity: 0; | 192 opacity: 0; |
| 195 transition: none; | 193 transition: none; |
| 196 visibility: hidden; | 194 visibility: hidden; |
| 197 } | 195 } |
| 198 | 196 |
| 199 .name-container { | 197 .name-container { |
| 200 transition: transform 180ms; | 198 transition: transform 180ms, |
| 199 opacity 200ms ease-in-out 180ms, | |
| 200 visibility 200ms ease-in-out 180ms; | |
|
jdufault
2016/07/12 00:22:25
Why 200ms duration instead of 180ms?
sammiequon
2016/07/12 19:35:56
Done.
| |
| 201 opacity : 1; | |
| 202 visibility: visible; | |
| 201 } | 203 } |
| 202 | 204 |
| 203 .pod.focused .name-container { | 205 .name-container.pin-enabled { |
| 204 display: none; | 206 opacity : 0; |
| 207 transition: none; | |
| 208 visibility: hidden; | |
| 205 } | 209 } |
| 206 | 210 |
| 207 .pod.focused.multiprofiles-policy-applied .name-container { | 211 .pod.focused.multiprofiles-policy-applied .name-container { |
| 208 display: flex; | 212 display: flex; |
| 209 } | 213 } |
| 210 | 214 |
| 211 .name { | 215 .name { |
| 212 color: #565656; | 216 color: #565656; |
| 213 /* This should be 15.6px - the equivalent of 14px at 90% scale. */ | 217 /* This should be 15.6px - the equivalent of 14px at 90% scale. */ |
| 214 flex: auto; | 218 flex: auto; |
| (...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 888 -webkit-animation: ellipsis-component2 1.5s infinite; | 892 -webkit-animation: ellipsis-component2 1.5s infinite; |
| 889 } | 893 } |
| 890 | 894 |
| 891 @-webkit-keyframes ellipsis-component2 { | 895 @-webkit-keyframes ellipsis-component2 { |
| 892 0% { opacity: 0; } | 896 0% { opacity: 0; } |
| 893 25% { opacity: 0; } | 897 25% { opacity: 0; } |
| 894 50% { opacity: 0; } | 898 50% { opacity: 0; } |
| 895 75% { opacity: 1; } | 899 75% { opacity: 1; } |
| 896 100% { opacity: 0; } | 900 100% { opacity: 0; } |
| 897 } | 901 } |
| OLD | NEW |