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