| OLD | NEW |
| (Empty) |
| 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 | |
| 3 * found in the LICENSE file. | |
| 4 * | |
| 5 * This is the stylesheet used by user pods row of account picker UI. | |
| 6 */ | |
| 7 | |
| 8 podrow { | |
| 9 /* Temporarily disabled because animation interferes with updating screen's | |
| 10 size. */ | |
| 11 height: 100%; | |
| 12 overflow: visible; | |
| 13 position: absolute; | |
| 14 width: 100%; | |
| 15 } | |
| 16 | |
| 17 /* Hide the pod row while images are loading. */ | |
| 18 podrow.images-loading { | |
| 19 visibility: hidden; | |
| 20 } | |
| 21 | |
| 22 .pod { | |
| 23 -webkit-tap-highlight-color: transparent; | |
| 24 background-color: white; | |
| 25 border-radius: 2px; | |
| 26 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), | |
| 27 0 2px 6px rgba(0, 0, 0, 0.15), | |
| 28 0 3px 0 rgba(0, 0, 0, 0.08); | |
| 29 cursor: pointer; | |
| 30 height: 213px; | |
| 31 outline: none; | |
| 32 position: absolute; | |
| 33 transform: scale3d(0.9, 0.9, 0.9); | |
| 34 width: 180px; | |
| 35 z-index: 0; | |
| 36 } | |
| 37 | |
| 38 .account-picker.flying-pods .pod { | |
| 39 transition: all 180ms; | |
| 40 } | |
| 41 | |
| 42 .pod.faded { | |
| 43 opacity: .75; | |
| 44 } | |
| 45 | |
| 46 podrow[ncolumns='6'] .pod { | |
| 47 transform: scale3d(0.8, 0.8, 0.8); | |
| 48 } | |
| 49 | |
| 50 .pod.focused { | |
| 51 /* Focused pod has the same size no matter how many pods. */ | |
| 52 cursor: default; | |
| 53 transform: scale3d(1, 1, 1) !important; | |
| 54 z-index: 1; | |
| 55 } | |
| 56 | |
| 57 .pod.focused[auth-type='userClick'] { | |
| 58 cursor: pointer; | |
| 59 } | |
| 60 | |
| 61 .user-image-pane { | |
| 62 background-color: white; | |
| 63 height: 160px; | |
| 64 left: 10px; | |
| 65 position: absolute; | |
| 66 top: 10px; | |
| 67 width: 160px; | |
| 68 z-index: 3; | |
| 69 } | |
| 70 | |
| 71 html[dir=rtl] .user-image-pane { | |
| 72 left: auto; | |
| 73 right: 10px; | |
| 74 } | |
| 75 | |
| 76 .user-image-container { | |
| 77 align-items: center; | |
| 78 display: flex; | |
| 79 height: 100%; | |
| 80 justify-content: center; | |
| 81 width: 100%; | |
| 82 } | |
| 83 | |
| 84 .pod .user-image { | |
| 85 flex: none; | |
| 86 max-height: 160px; | |
| 87 max-width: 160px; | |
| 88 opacity: 0.7; | |
| 89 } | |
| 90 | |
| 91 .pod.focused .user-image { | |
| 92 opacity: 1; | |
| 93 } | |
| 94 | |
| 95 .pod.multiprofiles-policy-applied .user-image { | |
| 96 -webkit-filter: grayscale(100%); | |
| 97 } | |
| 98 | |
| 99 .signed-in-indicator { | |
| 100 display: none; | |
| 101 } | |
| 102 | |
| 103 .pod.signed-in .signed-in-indicator { | |
| 104 background-color: rgba(0, 0, 0, 0.5); | |
| 105 color: white; | |
| 106 display: block; | |
| 107 font-size: small; | |
| 108 padding: 3px 0; | |
| 109 position: absolute; | |
| 110 text-align: center; | |
| 111 top: 0; | |
| 112 width: 100%; | |
| 113 } | |
| 114 | |
| 115 .main-pane { | |
| 116 left: 10px; | |
| 117 position: absolute; | |
| 118 top: 10px; | |
| 119 z-index: 2; | |
| 120 } | |
| 121 | |
| 122 html[dir=rtl] .main-pane { | |
| 123 left: auto; | |
| 124 right: 10px; | |
| 125 } | |
| 126 | |
| 127 .name-container, | |
| 128 .pod.focused:not(.multiprofiles-policy-applied) .auth-container { | |
| 129 background-color: white; | |
| 130 display: flex; | |
| 131 position: absolute; | |
| 132 top: 160px; | |
| 133 width: 160px; | |
| 134 } | |
| 135 | |
| 136 .name-container { | |
| 137 transition: transform 180ms; | |
| 138 } | |
| 139 | |
| 140 .pod.focused .name-container { | |
| 141 display: none; | |
| 142 } | |
| 143 | |
| 144 .pod.focused.multiprofiles-policy-applied .name-container { | |
| 145 display: flex; | |
| 146 } | |
| 147 | |
| 148 .name { | |
| 149 color: #565656; | |
| 150 /* This should be 15.6px - the equivalent of 14px at 90% scale. */ | |
| 151 flex: auto; | |
| 152 font-size: 16px; | |
| 153 margin-top: 12px; | |
| 154 outline: none; | |
| 155 overflow: hidden; | |
| 156 padding: 0 6px; | |
| 157 text-align: center; | |
| 158 text-overflow: ellipsis; | |
| 159 white-space: nowrap; | |
| 160 } | |
| 161 | |
| 162 .learn-more-container, | |
| 163 .auth-container, | |
| 164 .password-entry-container, | |
| 165 .signin-button-container { | |
| 166 display: none; | |
| 167 } | |
| 168 | |
| 169 .pod[auth-type='offlinePassword'].focused .password-entry-container { | |
| 170 display: flex; | |
| 171 flex: auto; | |
| 172 } | |
| 173 | |
| 174 .password-container { | |
| 175 flex: auto; | |
| 176 } | |
| 177 | |
| 178 .pod input[type='password'] { | |
| 179 border: none; | |
| 180 padding: 4px 6px; | |
| 181 position: relative; | |
| 182 top: 6px; | |
| 183 width: 100%; | |
| 184 } | |
| 185 | |
| 186 .capslock-hint-container { | |
| 187 display: none; | |
| 188 } | |
| 189 | |
| 190 .capslock-on .capslock-hint-container { | |
| 191 display: block; | |
| 192 flex: none; | |
| 193 } | |
| 194 | |
| 195 .capslock-hint { | |
| 196 -webkit-margin-end: 6px; | |
| 197 -webkit-margin-start: -2px; | |
| 198 position: relative; | |
| 199 top: 11px; | |
| 200 } | |
| 201 | |
| 202 .password-label { | |
| 203 display: none; | |
| 204 } | |
| 205 | |
| 206 .pod[auth-type='userClick'] .password-label { | |
| 207 display: block; | |
| 208 flex: auto; | |
| 209 margin-top: 11px; | |
| 210 overflow: hidden; | |
| 211 text-overflow: ellipsis; | |
| 212 white-space: nowrap; | |
| 213 } | |
| 214 | |
| 215 .custom-icon { | |
| 216 background-position: center; | |
| 217 background-repeat: no-repeat; | |
| 218 flex: none; | |
| 219 height: 40px; | |
| 220 width: 40px; | |
| 221 } | |
| 222 | |
| 223 .pod[auth-type='onlineSignIn'] .signin-button-container, | |
| 224 .launch-app-button-container { | |
| 225 display: block; | |
| 226 flex: auto; | |
| 227 text-align: center; | |
| 228 } | |
| 229 | |
| 230 .signin-button, | |
| 231 .launch-app-button { | |
| 232 display: inline; | |
| 233 margin-top: 6px !important; | |
| 234 max-width: 100%; | |
| 235 overflow: hidden; | |
| 236 text-overflow: ellipsis; | |
| 237 } | |
| 238 | |
| 239 .action-box-area, | |
| 240 .user-type-icon-area { | |
| 241 background-color: white; | |
| 242 border-radius: 2px; | |
| 243 position: absolute; | |
| 244 top: 0; | |
| 245 } | |
| 246 | |
| 247 .action-box-area { | |
| 248 opacity: 0; | |
| 249 outline: none; | |
| 250 right: 0; | |
| 251 transition: opacity 100ms; | |
| 252 z-index: 4; | |
| 253 } | |
| 254 | |
| 255 html[dir=rtl] .action-box-area { | |
| 256 left: 0; | |
| 257 right: auto; | |
| 258 } | |
| 259 | |
| 260 .action-box-area:focus, | |
| 261 .action-box-area.hovered, | |
| 262 .action-box-area.active { | |
| 263 opacity: 1; | |
| 264 } | |
| 265 | |
| 266 .action-box-button { | |
| 267 background-image: url('chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_NORMAL'); | |
| 268 height: 13px; | |
| 269 margin: 5px; | |
| 270 width: 13px; | |
| 271 } | |
| 272 | |
| 273 .action-box-button:hover { | |
| 274 background-image: url('chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_HOVER'); | |
| 275 } | |
| 276 | |
| 277 .action-box-area.active .action-box-button { | |
| 278 background-image: url('chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_PRESSED'); | |
| 279 } | |
| 280 | |
| 281 .user-type-icon-area { | |
| 282 left: 0; | |
| 283 z-index: 5; | |
| 284 } | |
| 285 | |
| 286 html[dir=rtl] .user-type-icon-area { | |
| 287 left: auto; | |
| 288 right: 0; | |
| 289 } | |
| 290 | |
| 291 .user-type-icon-image { | |
| 292 height: 16px; | |
| 293 margin: 5px; | |
| 294 width: 16px; | |
| 295 } | |
| 296 | |
| 297 .user-type-icon-area.supervised .user-type-icon-image { | |
| 298 background-image: url('chrome://theme/IDR_SUPERVISED_USER_ICON'); | |
| 299 } | |
| 300 | |
| 301 .user-type-icon-area.policy .user-type-icon-image { | |
| 302 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); | |
| 303 } | |
| 304 | |
| 305 .user-type-icon-area.app .user-type-icon-image { | |
| 306 background-image: url('chrome://theme/IDR_KIOSK_APP_USER_POD_ICON'); | |
| 307 } | |
| 308 | |
| 309 .action-box-menu { | |
| 310 display: none; | |
| 311 z-index: 6; | |
| 312 } | |
| 313 | |
| 314 .action-box-area.active ~ .action-box-menu { | |
| 315 background-color: white; | |
| 316 border: 1px solid lightgray; | |
| 317 border-radius: 2px; | |
| 318 display: flex; | |
| 319 flex-direction: column; | |
| 320 font-size: 13px; | |
| 321 position: absolute; | |
| 322 right: 5px; | |
| 323 top: 18px; | |
| 324 width: 220px; | |
| 325 } | |
| 326 | |
| 327 html[dir=rtl] .action-box-area.active ~ .action-box-menu { | |
| 328 left: 5px; | |
| 329 right: auto; | |
| 330 } | |
| 331 | |
| 332 .action-box-menu-title { | |
| 333 color: #b4b4b4; | |
| 334 display: flex; | |
| 335 flex-direction: column; | |
| 336 padding: 7px 20px; | |
| 337 } | |
| 338 | |
| 339 .action-box-menu-title-name, | |
| 340 .action-box-menu-title-email { | |
| 341 flex: none; | |
| 342 height: 23px; | |
| 343 line-height: 19px; | |
| 344 overflow: hidden; | |
| 345 text-overflow: ellipsis; | |
| 346 white-space: nowrap; | |
| 347 } | |
| 348 | |
| 349 .action-box-menu-remove { | |
| 350 border-top: 1px solid lightgray; | |
| 351 line-height: 19px; | |
| 352 min-height: 24px; | |
| 353 outline: none; | |
| 354 padding: 12px 20px 7px; | |
| 355 } | |
| 356 | |
| 357 .action-box-menu-remove:hover, | |
| 358 .action-box-menu-remove:focus { | |
| 359 background-color: #f3f3f3; | |
| 360 } | |
| 361 | |
| 362 .action-box-remove-user-warning { | |
| 363 border-top: 1px solid lightgray; | |
| 364 font-size: 12px; | |
| 365 line-height: 18px; | |
| 366 padding: 20px; | |
| 367 } | |
| 368 | |
| 369 .action-box-remove-user-warning-text { | |
| 370 padding-bottom: 20px; | |
| 371 } | |
| 372 | |
| 373 .action-box-remove-user-warning .remove-warning-button { | |
| 374 width: 100%; | |
| 375 } | |
| 376 | |
| 377 .user-type-bubble { | |
| 378 background-color: white; | |
| 379 border: 1px solid lightgray; | |
| 380 border-radius: 2px; | |
| 381 left: 5px; | |
| 382 opacity: 0; | |
| 383 padding: 17px; | |
| 384 position: absolute; | |
| 385 top: 20px; | |
| 386 transition: all 100ms; | |
| 387 visibility: hidden; | |
| 388 width: 200px; | |
| 389 z-index: 7; | |
| 390 } | |
| 391 | |
| 392 html[dir=rtl] .user-type-bubble { | |
| 393 left: auto; | |
| 394 right: 5px; | |
| 395 } | |
| 396 | |
| 397 .bubble-shown, | |
| 398 .user-type-icon-area.policy:hover ~ .user-type-bubble { | |
| 399 opacity: 1; | |
| 400 visibility: visible; | |
| 401 } | |
| 402 | |
| 403 .user-type-bubble-header { | |
| 404 font-weight: bold; | |
| 405 margin-bottom: 14px; | |
| 406 } | |
| 407 | |
| 408 .easy-unlock-button-content { | |
| 409 width: 145px; | |
| 410 } | |
| 411 | |
| 412 /**** Public account user pod rules *******************************************/ | |
| 413 | |
| 414 .pod.public-account.expanded { | |
| 415 width: 500px; | |
| 416 } | |
| 417 | |
| 418 .pod.public-account.expanded.advanced { | |
| 419 width: 610px; | |
| 420 } | |
| 421 | |
| 422 .pod.public-account.focused .name-container { | |
| 423 display: flex; | |
| 424 } | |
| 425 | |
| 426 .pod.public-account.expanded .name-container { | |
| 427 transform: translateY(-34px); | |
| 428 } | |
| 429 | |
| 430 .pod.public-account .learn-more-container { | |
| 431 display: block; | |
| 432 flex: none; | |
| 433 } | |
| 434 | |
| 435 .pod.public-account .learn-more { | |
| 436 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); | |
| 437 height: 16px; | |
| 438 position: relative; | |
| 439 top: 16px; | |
| 440 width: 16px; | |
| 441 } | |
| 442 | |
| 443 .expanded-pane { | |
| 444 display: none; | |
| 445 } | |
| 446 | |
| 447 .pod.public-account.animating .expanded-pane, | |
| 448 .pod.public-account.expanded .expanded-pane { | |
| 449 display: block; | |
| 450 font-size: 12px; | |
| 451 margin: 10px; | |
| 452 overflow: hidden; | |
| 453 z-index: 1; | |
| 454 } | |
| 455 | |
| 456 .expanded-pane-contents { | |
| 457 display: flex; | |
| 458 flex-direction: column; | |
| 459 float: right; | |
| 460 height: 193px; | |
| 461 width: 490px; | |
| 462 } | |
| 463 | |
| 464 .pod.public-account.transitioning-to-advanced .expanded-pane-contents { | |
| 465 transition: width 180ms; | |
| 466 } | |
| 467 | |
| 468 .pod.public-account.expanded.advanced .expanded-pane-contents { | |
| 469 width: 600px; | |
| 470 } | |
| 471 | |
| 472 html[dir=rtl] .expanded-pane-contents { | |
| 473 float: left; | |
| 474 } | |
| 475 | |
| 476 .side-container { | |
| 477 -webkit-margin-start: 200px; | |
| 478 flex: auto; | |
| 479 } | |
| 480 | |
| 481 .expanded-pane-name { | |
| 482 font-size: 19px; | |
| 483 margin-bottom: 11px; | |
| 484 margin-top: -2px; | |
| 485 overflow: hidden; | |
| 486 text-overflow: ellipsis; | |
| 487 white-space: nowrap; | |
| 488 } | |
| 489 | |
| 490 .reminder { | |
| 491 font-weight: bold; | |
| 492 } | |
| 493 | |
| 494 .language-and-input-section { | |
| 495 display: none; | |
| 496 } | |
| 497 | |
| 498 .pod.public-account.transitioning-to-advanced .language-and-input-section { | |
| 499 display: block; | |
| 500 opacity: 0; | |
| 501 transition: opacity 180ms ease 180ms; | |
| 502 } | |
| 503 | |
| 504 .pod.public-account.expanded.advanced .language-and-input-section { | |
| 505 display: block; | |
| 506 opacity: 1; | |
| 507 } | |
| 508 | |
| 509 .select-with-label { | |
| 510 display: flex; | |
| 511 margin-top: 20px; | |
| 512 } | |
| 513 | |
| 514 .language-select-label, | |
| 515 .keyboard-select-label { | |
| 516 flex: none; | |
| 517 margin-top: 3px; | |
| 518 overflow: hidden; | |
| 519 text-overflow: ellipsis; | |
| 520 white-space: nowrap; | |
| 521 width: 170px; | |
| 522 } | |
| 523 | |
| 524 .select-container { | |
| 525 flex: auto; | |
| 526 } | |
| 527 | |
| 528 .language-select, | |
| 529 .keyboard-select { | |
| 530 width: 100%; | |
| 531 } | |
| 532 | |
| 533 .bottom-container { | |
| 534 -webkit-margin-start: 10px; | |
| 535 display: flex; | |
| 536 flex: none; | |
| 537 font-size: 13px; | |
| 538 } | |
| 539 | |
| 540 .expanded-pane-learn-more-container, | |
| 541 .enter-button { | |
| 542 flex: none; | |
| 543 } | |
| 544 | |
| 545 .expanded-pane-learn-more { | |
| 546 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY'); | |
| 547 height: 16px; | |
| 548 position: relative; | |
| 549 top: 6px; | |
| 550 width: 16px; | |
| 551 } | |
| 552 | |
| 553 .info { | |
| 554 flex: auto; | |
| 555 margin: 5px 10px; | |
| 556 overflow: hidden; | |
| 557 text-overflow: ellipsis; | |
| 558 white-space: nowrap; | |
| 559 } | |
| 560 | |
| 561 .language-and-input-container { | |
| 562 -webkit-margin-end: 25px; | |
| 563 flex: none; | |
| 564 } | |
| 565 | |
| 566 .language-and-input { | |
| 567 color: rgb(49, 106, 197); | |
| 568 position: relative; | |
| 569 text-decoration: none; | |
| 570 top: 4px; | |
| 571 } | |
| 572 | |
| 573 .pod.public-account.expanded.advanced .language-and-input-container { | |
| 574 display: none; | |
| 575 } | |
| 576 | |
| 577 .enter-button { | |
| 578 font-size: 14px; | |
| 579 } | |
| OLD | NEW |