| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 } | 101 } |
| 102 | 102 |
| 103 .user-image.switch-image-animation { | 103 .user-image.switch-image-animation { |
| 104 animation: switch-image 300ms; | 104 animation: switch-image 300ms; |
| 105 } | 105 } |
| 106 | 106 |
| 107 .pod .user-image { | 107 .pod .user-image { |
| 108 flex: none; | 108 flex: none; |
| 109 } | 109 } |
| 110 | 110 |
| 111 .pod .badge-container { |
| 112 background: #FFF; |
| 113 border-radius: 50%; |
| 114 bottom: 0; |
| 115 display: none; |
| 116 height: 27px; |
| 117 position: absolute; |
| 118 right: 0; |
| 119 width: 27px; |
| 120 } |
| 121 |
| 122 .pod .badge-container iron-icon { |
| 123 --iron-icon-height: 25px; |
| 124 --iron-icon-width: 25px; |
| 125 display: none; |
| 126 padding: 0; |
| 127 } |
| 128 |
| 129 /* Signed-in badge should be hidden when there's another badge. */ |
| 130 .pod.legacy-supervised.signed-in .signed-in-badge { |
| 131 display: none; |
| 132 } |
| 133 |
| 134 .pod.legacy-supervised .badge-container, |
| 135 .pod.signed-in .badge-container, |
| 136 .pod.legacy-supervised .legacy-supervised-badge, |
| 137 .pod.signed-in .signed-in-badge { |
| 138 display: block; |
| 139 } |
| 140 |
| 111 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the | 141 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the |
| 112 style rule once it is included on CrOS only. crbug.com/397638 */ | 142 style rule once it is included on CrOS only. crbug.com/397638 */ |
| 113 html:not([screen=login-add-user]) .pod .user-image { | 143 html:not([screen=login-add-user]) .pod .user-image { |
| 114 max-height: 160px; | 144 max-height: 160px; |
| 115 max-width: 160px; | 145 max-width: 160px; |
| 116 position: absolute; | 146 position: absolute; |
| 117 } | 147 } |
| 118 | 148 |
| 119 html:not([screen=login-add-user]) .pod.focused .user-image { | 149 html:not([screen=login-add-user]) .pod.focused .user-image { |
| 120 opacity: 1; | 150 opacity: 1; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 white-space: nowrap; | 224 white-space: nowrap; |
| 195 } | 225 } |
| 196 | 226 |
| 197 .learn-more-container, | 227 .learn-more-container, |
| 198 .auth-container, | 228 .auth-container, |
| 199 .password-entry-container, | 229 .password-entry-container, |
| 200 .reauth-hint-container { | 230 .reauth-hint-container { |
| 201 display: none; | 231 display: none; |
| 202 } | 232 } |
| 203 | 233 |
| 204 #input-line { | 234 .input-line { |
| 205 opacity: 0.34; | 235 opacity: 0.34; |
| 206 position: absolute; | 236 position: absolute; |
| 207 stroke: #FFFFFF; | 237 stroke: #FFFFFF; |
| 208 stroke-width: 1px; | 238 stroke-width: 1px; |
| 209 top: 40px; | 239 top: 40px; |
| 210 } | 240 } |
| 211 | 241 |
| 212 #input-line[active] { | 242 .input-present .input-line { |
| 213 opacity: 1; | 243 opacity: 1; |
| 214 } | 244 } |
| 215 | 245 |
| 216 .pod[is-active-directory] .reauth-warning { | 246 .pod[is-active-directory] .reauth-warning { |
| 217 display: none; | 247 display: none; |
| 218 } | 248 } |
| 219 | 249 |
| 220 .pod[auth-type='offlinePassword'].focused .password-entry-container, | 250 .pod[auth-type='offlinePassword'].focused .password-entry-container, |
| 221 .pod[auth-type='forceOfflinePassword'].focused .password-entry-container { | 251 .pod[auth-type='forceOfflinePassword'].focused .password-entry-container { |
| 222 display: flex; | 252 display: flex; |
| 223 flex: auto; | 253 flex: auto; |
| 224 } | 254 } |
| 225 | 255 |
| 226 .password-container { | 256 .password-container { |
| 227 height: 40px; | 257 height: 40px; |
| 228 width: 180px; | 258 width: 180px; |
| 229 } | 259 } |
| 230 | 260 |
| 261 .capslock-on .password-container { |
| 262 width: 160px; |
| 263 } |
| 264 |
| 231 .pod input[type='password'] { | 265 .pod input[type='password'] { |
| 232 background-color: transparent; | 266 background-color: transparent; |
| 233 border: none; | 267 border: none; |
| 234 color: rgba(255, 255, 255, .67); | 268 color: rgba(255, 255, 255, .67); |
| 235 font-family: "Roboto"; | 269 font-family: "Roboto"; |
| 236 font-size: 13px; | 270 font-size: 13px; |
| 237 height: 100%; | 271 height: 100%; |
| 238 letter-spacing: 8px; | 272 letter-spacing: 8px; |
| 239 padding: 0; | 273 padding: 0; |
| 240 width: 100%; | 274 width: 100%; |
| 241 } | 275 } |
| 242 | 276 |
| 243 .pod input[type='password']::-webkit-input-placeholder { | 277 .pod input[type='password']::-webkit-input-placeholder { |
| 244 letter-spacing: 0; | 278 letter-spacing: 0; |
| 245 } | 279 } |
| 246 | 280 |
| 247 .capslock-hint-container { | 281 .capslock-hint-container { |
| 248 display: none; | 282 display: none; |
| 249 } | 283 } |
| 250 | 284 |
| 251 <if expr="chromeos"> | 285 <if expr="chromeos"> |
| 252 .capslock-on .capslock-hint-container { | 286 .capslock-on .capslock-hint-container { |
| 253 display: block; | 287 display: block; |
| 254 flex: none; | 288 flex: none; |
| 255 height: 43px; | 289 height: 40px; |
| 256 position: relative; | 290 position: relative; |
| 257 width: 20px; | 291 width: 20px; |
| 258 } | 292 } |
| 259 </if> | 293 </if> |
| 260 | 294 |
| 261 .capslock-hint { | 295 .capslock-hint { |
| 262 -webkit-margin-end: 6px; | 296 --iron-icon-height: 22px; |
| 263 -webkit-margin-start: -2px; | 297 --iron-icon-width: 22px; |
| 264 margin: auto; | 298 opacity: 0.34; |
| 265 position: relative; | 299 padding: 13px 0 5px; |
| 266 top: 15px; | 300 } |
| 301 |
| 302 .input-present .capslock-hint { |
| 303 opacity: 1; |
| 267 } | 304 } |
| 268 | 305 |
| 269 .password-label, | 306 .password-label, |
| 270 .signin-transition-container { | 307 .signin-transition-container { |
| 271 display: none; | 308 display: none; |
| 272 } | 309 } |
| 273 | 310 |
| 274 .pod[auth-type='userClick']:not(.signing-in) .password-label, | 311 .pod[auth-type='userClick']:not(.signing-in) .password-label, |
| 275 .pod[auth-type='userClick'].signing-in .signin-transition-container { | 312 .pod[auth-type='userClick'].signing-in .signin-transition-container { |
| 276 color: grey; | 313 color: grey; |
| (...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1092 .small-pod.extra-small .small-pod-name { | 1129 .small-pod.extra-small .small-pod-name { |
| 1093 left: 76px; | 1130 left: 76px; |
| 1094 padding: 16px 0; | 1131 padding: 16px 0; |
| 1095 width: 190px; | 1132 width: 190px; |
| 1096 } | 1133 } |
| 1097 | 1134 |
| 1098 @keyframes switch-image { | 1135 @keyframes switch-image { |
| 1099 from { transform: rotate3d(0, 1, 0, 90deg); } | 1136 from { transform: rotate3d(0, 1, 0, 90deg); } |
| 1100 to { transform: none; } | 1137 to { transform: none; } |
| 1101 } | 1138 } |
| OLD | NEW |