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 pin-keyboard { |
| 23 display: block; |
| 24 } |
| 25 |
| 26 .pod { |
| 27 -webkit-tap-highlight-color: transparent; |
| 28 background-color: white; |
| 29 border-radius: 2px; |
| 30 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), |
| 31 0 2px 6px rgba(0, 0, 0, 0.15), |
| 32 0 3px 0 rgba(0, 0, 0, 0.08); |
| 33 cursor: pointer; |
| 34 height: 213px; |
| 35 outline: none; |
| 36 position: absolute; |
| 37 top: 0; |
| 38 transform: scale3d(0.9, 0.9, 0.9); |
| 39 width: 180px; |
| 40 z-index: 0; |
| 41 } |
| 42 |
| 43 .account-picker.flying-pods .pod { |
| 44 transition: all 180ms; |
| 45 } |
| 46 |
| 47 .pod.pin-enabled { |
| 48 height: 417px; |
| 49 top: -87px !important; |
| 50 } |
| 51 |
| 52 .pod .pin-container { |
| 53 height: 204px; |
| 54 position: absolute; |
| 55 top: 170px; |
| 56 } |
| 57 |
| 58 .pod.faded { |
| 59 opacity: .75; |
| 60 } |
| 61 |
| 62 podrow[ncolumns='6'] .pod { |
| 63 transform: scale3d(0.8, 0.8, 0.8); |
| 64 } |
| 65 |
| 66 .pod.focused { |
| 67 /* Focused pod has the same size no matter how many pods. */ |
| 68 cursor: default; |
| 69 transform: scale3d(1, 1, 1) !important; |
| 70 z-index: 1; |
| 71 } |
| 72 |
| 73 .pod.focused[auth-type='userClick'] { |
| 74 cursor: pointer; |
| 75 } |
| 76 |
| 77 .user-image-pane { |
| 78 background-color: white; |
| 79 height: 160px; |
| 80 left: 10px; |
| 81 position: absolute; |
| 82 top: 10px; |
| 83 transition: height 180ms ease-in-out, |
| 84 left 180ms ease-in-out, |
| 85 right 180ms ease-in-out, |
| 86 top 180ms ease-in-out, |
| 87 width 180ms ease-in-out; |
| 88 width: 160px; |
| 89 z-index: 3; |
| 90 } |
| 91 |
| 92 html[dir=rtl] .user-image-pane { |
| 93 left: auto; |
| 94 right: 10px; |
| 95 } |
| 96 |
| 97 .user-image-container { |
| 98 align-items: center; |
| 99 display: flex; |
| 100 height: 100%; |
| 101 justify-content: center; |
| 102 width: 100%; |
| 103 } |
| 104 |
| 105 .pod .user-image { |
| 106 flex: none; |
| 107 } |
| 108 |
| 109 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the |
| 110 style rule once it is included on CrOS only. crbug.com/397638 */ |
| 111 html:not([screen=login-add-user]) .pod .user-image { |
| 112 max-height: 160px; |
| 113 max-width: 160px; |
| 114 opacity: 0.7; |
| 115 position: absolute; |
| 116 } |
| 117 |
| 118 html:not([screen=login-add-user]) .pod.focused .user-image { |
| 119 opacity: 1; |
| 120 } |
| 121 |
| 122 .pod.multiprofiles-policy-applied .user-image { |
| 123 -webkit-filter: grayscale(100%); |
| 124 } |
| 125 |
| 126 .signed-in-indicator { |
| 127 display: none; |
| 128 } |
| 129 |
| 130 .pod.signed-in .signed-in-indicator { |
| 131 background-color: rgba(0, 0, 0, 0.5); |
| 132 color: white; |
| 133 display: block; |
| 134 font-size: small; |
| 135 position: absolute; |
| 136 text-align: center; |
| 137 top: 0; |
| 138 width: 100%; |
| 139 } |
| 140 |
| 141 .main-pane { |
| 142 left: 10px; |
| 143 position: absolute; |
| 144 top: 10px; |
| 145 z-index: 2; |
| 146 } |
| 147 |
| 148 html[dir=rtl] .main-pane { |
| 149 left: auto; |
| 150 right: 10px; |
| 151 } |
| 152 |
| 153 .name-container, |
| 154 .pod.focused:not(.multiprofiles-policy-applied) .auth-container { |
| 155 background-color: white; |
| 156 display: flex; |
| 157 position: absolute; |
| 158 top: 160px; |
| 159 /* On chromeos we extend the width to cover the padding on the user pods. This |
| 160 is so the submit button on chromeos can extend onto the padding as shown on |
| 161 mocks. */ |
| 162 <if expr="not chromeos"> |
| 163 width: 160px; |
| 164 </if> |
| 165 <if expr="chromeos"> |
| 166 width: 170px; |
| 167 </if> |
| 168 } |
| 169 |
| 170 .auth-container .submit-button[disabled] { |
| 171 color: #000; |
| 172 opacity: 0.26; |
| 173 } |
| 174 |
| 175 .auth-container .submit-button { |
| 176 box-sizing: border-box; |
| 177 color: var(--google-blue-500); |
| 178 height: 43px; |
| 179 min-height: 43px; |
| 180 min-width: 43px; |
| 181 padding: 11.5px 10px; |
| 182 position: relative; |
| 183 width: 43px; |
| 184 } |
| 185 |
| 186 .auth-container .submit-button.error-shown { |
| 187 color: #CD2A00; |
| 188 } |
| 189 |
| 190 .name-container { |
| 191 transition: transform 180ms; |
| 192 } |
| 193 |
| 194 .pod.focused .name-container { |
| 195 display: none; |
| 196 } |
| 197 |
| 198 .pod.focused.multiprofiles-policy-applied .name-container { |
| 199 display: flex; |
| 200 } |
| 201 |
| 202 .name { |
| 203 color: #565656; |
| 204 /* This should be 15.6px - the equivalent of 14px at 90% scale. */ |
| 205 flex: auto; |
| 206 font-size: 16px; |
| 207 margin-top: 12px; |
| 208 outline: none; |
| 209 overflow: hidden; |
| 210 padding: 0 6px; |
| 211 text-align: center; |
| 212 text-overflow: ellipsis; |
| 213 white-space: nowrap; |
| 214 } |
| 215 |
| 216 .learn-more-container, |
| 217 .auth-container, |
| 218 .password-entry-container, |
| 219 .reauth-hint-container { |
| 220 display: none; |
| 221 } |
| 222 |
| 223 .pod[is-active-directory] .reauth-warning { |
| 224 display: none; |
| 225 } |
| 226 |
| 227 .pod[auth-type='offlinePassword'].focused .password-entry-container, |
| 228 .pod[auth-type='forceOfflinePassword'].focused .password-entry-container { |
| 229 display: flex; |
| 230 flex: auto; |
| 231 } |
| 232 |
| 233 .password-container { |
| 234 flex: auto; |
| 235 } |
| 236 |
| 237 .pod input[type='password'] { |
| 238 background-color: white; |
| 239 border: none; |
| 240 padding: 4px 6px; |
| 241 position: relative; |
| 242 top: 6px; |
| 243 width: 100%; |
| 244 } |
| 245 |
| 246 .capslock-hint-container { |
| 247 display: none; |
| 248 } |
| 249 |
| 250 <if expr="chromeos"> |
| 251 .capslock-on .capslock-hint-container { |
| 252 display: block; |
| 253 flex: none; |
| 254 height: 43px; |
| 255 position: relative; |
| 256 width: 20px; |
| 257 } |
| 258 </if> |
| 259 |
| 260 .capslock-hint { |
| 261 -webkit-margin-end: 6px; |
| 262 -webkit-margin-start: -2px; |
| 263 margin: auto; |
| 264 position: relative; |
| 265 top: 15px; |
| 266 } |
| 267 |
| 268 .password-label, |
| 269 .signin-transition-container { |
| 270 display: none; |
| 271 } |
| 272 |
| 273 .pod[auth-type='userClick']:not(.signing-in) .password-label, |
| 274 .pod[auth-type='userClick'].signing-in .signin-transition-container { |
| 275 color: grey; |
| 276 display: block; |
| 277 flex: auto; |
| 278 margin-top: 11px; |
| 279 outline: 0; |
| 280 overflow: hidden; |
| 281 text-overflow: ellipsis; |
| 282 white-space: nowrap; |
| 283 } |
| 284 |
| 285 .custom-icon { |
| 286 -webkit-margin-end: 0; |
| 287 -webkit-margin-start: auto; |
| 288 background-position: center; |
| 289 background-repeat: no-repeat; |
| 290 flex: none; |
| 291 height: 27px; |
| 292 margin: 8px 0; |
| 293 width: 27px; |
| 294 } |
| 295 |
| 296 .custom-icon.faded { |
| 297 transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out; |
| 298 } |
| 299 |
| 300 .custom-icon-hardlocked { |
| 301 background-image: url(chrome://theme/IDR_EASY_UNLOCK_HARDLOCKED); |
| 302 } |
| 303 |
| 304 .custom-icon-hardlocked.icon-with-tooltip:hover { |
| 305 background-image: url(chrome://theme/IDR_EASY_UNLOCK_HARDLOCKED_HOVER); |
| 306 } |
| 307 |
| 308 .custom-icon-hardlocked.interactive-custom-icon:active { |
| 309 background-image: url(chrome://theme/IDR_EASY_UNLOCK_HARDLOCKED_PRESSED); |
| 310 } |
| 311 |
| 312 .custom-icon-locked { |
| 313 background-image: url(chrome://theme/IDR_EASY_UNLOCK_LOCKED); |
| 314 } |
| 315 |
| 316 .custom-icon-locked.icon-with-tooltip:hover { |
| 317 background-image: url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_HOVER); |
| 318 } |
| 319 |
| 320 .custom-icon-locked.interactive-custom-icon:active { |
| 321 background-image: url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_PRESSED); |
| 322 } |
| 323 |
| 324 .custom-icon-locked-to-be-activated { |
| 325 background-image: |
| 326 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_TO_BE_ACTIVATED); |
| 327 } |
| 328 |
| 329 .custom-icon-locked-to-be-activated.icon-with-tooltip:hover { |
| 330 background-image: |
| 331 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_TO_BE_ACTIVATED_HOVER); |
| 332 } |
| 333 |
| 334 .custom-icon-locked-to-be-activated.interactive-custom-icon:active { |
| 335 background-image: |
| 336 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_TO_BE_ACTIVATED_PRESSED); |
| 337 } |
| 338 |
| 339 .custom-icon-locked-with-proximity-hint { |
| 340 background-image: |
| 341 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_WITH_PROXIMITY_HINT); |
| 342 } |
| 343 |
| 344 .custom-icon-locked-with-proximity-hint.icon-with-tooltip:hover { |
| 345 background-image: |
| 346 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_WITH_PROXIMITY_HINT_HOVER); |
| 347 } |
| 348 |
| 349 .custom-icon-locked-with-proximity-hint.interactive-custom-icon:active { |
| 350 background-image: |
| 351 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_WITH_PROXIMITY_HINT_PRESSED); |
| 352 } |
| 353 |
| 354 .custom-icon-unlocked { |
| 355 background-image: url(chrome://theme/IDR_EASY_UNLOCK_UNLOCKED); |
| 356 } |
| 357 |
| 358 .custom-icon-unlocked.icon-with-tooltip:hover { |
| 359 background-image: url(chrome://theme/IDR_EASY_UNLOCK_UNLOCKED_HOVER); |
| 360 } |
| 361 |
| 362 .custom-icon-unlocked.interactive-custom-icon:active { |
| 363 background-image: url(chrome://theme/IDR_EASY_UNLOCK_UNLOCKED_PRESSED); |
| 364 } |
| 365 |
| 366 /** |
| 367 * Preloads resources for custom icon. Without this, the resources will be |
| 368 * loaded when CSS properties using them are first applied, which has visible |
| 369 * delay and may cause a short white flash when the icon background changes. |
| 370 */ |
| 371 .custom-icon::after { |
| 372 content: |
| 373 url(chrome://theme/IDR_EASY_UNLOCK_HARDLOCKED) |
| 374 url(chrome://theme/IDR_EASY_UNLOCK_HARDLOCKED_HOVER) |
| 375 url(chrome://theme/IDR_EASY_UNLOCK_HARDLOCKED_PRESSED) |
| 376 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED) |
| 377 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_HOVER) |
| 378 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_PRESSED) |
| 379 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_TO_BE_ACTIVATED) |
| 380 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_TO_BE_ACTIVATED_HOVER) |
| 381 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_TO_BE_ACTIVATED_PRESSED) |
| 382 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_WITH_PROXIMITY_HINT) |
| 383 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_WITH_PROXIMITY_HINT_HOVER) |
| 384 url(chrome://theme/IDR_EASY_UNLOCK_LOCKED_WITH_PROXIMITY_HINT_PRESSED) |
| 385 url(chrome://theme/IDR_EASY_UNLOCK_UNLOCKED) |
| 386 url(chrome://theme/IDR_EASY_UNLOCK_UNLOCKED_HOVER) |
| 387 url(chrome://theme/IDR_EASY_UNLOCK_UNLOCKED_PRESSED); |
| 388 display: none; |
| 389 } |
| 390 |
| 391 .custom-icon-spinner { |
| 392 animation: easy-unlock-spinner-animation 2s steps(45) infinite; |
| 393 background-image: url(chrome://theme/IDR_EASY_UNLOCK_SPINNER); |
| 394 } |
| 395 |
| 396 @keyframes easy-unlock-spinner-animation { |
| 397 from { background-position: 0 } |
| 398 to { background-position: -1215px } |
| 399 } |
| 400 |
| 401 .interactive-custom-icon { |
| 402 cursor: pointer; |
| 403 } |
| 404 |
| 405 .pod[auth-type='onlineSignIn'] .custom-icon-container { |
| 406 display: none; |
| 407 } |
| 408 |
| 409 .fingerprint-icon-container, |
| 410 .custom-icon-container { |
| 411 display: flex; |
| 412 flex: none; |
| 413 flex-direction: column; |
| 414 height: 43px; |
| 415 width: 27px; |
| 416 } |
| 417 |
| 418 .launch-app-button-container { |
| 419 display: block; |
| 420 flex: auto; |
| 421 text-align: center; |
| 422 } |
| 423 |
| 424 .launch-app-button { |
| 425 display: inline; |
| 426 margin-top: 6px !important; |
| 427 max-width: 100%; |
| 428 overflow: hidden; |
| 429 text-overflow: ellipsis; |
| 430 } |
| 431 |
| 432 .pod[auth-type='onlineSignIn'] .reauth-hint-container { |
| 433 display: flex; |
| 434 justify-content: center; |
| 435 margin-top: 8px; |
| 436 width: 100%; |
| 437 } |
| 438 |
| 439 .reauth-hint-container .reauth-warning { |
| 440 -webkit-mask-image: url(../../../ui/webui/resources/images/warning.svg); |
| 441 -webkit-mask-position: center; |
| 442 -webkit-mask-repeat: no-repeat; |
| 443 -webkit-mask-size: 20px; |
| 444 background-color: #f4b400; |
| 445 height: 24px; |
| 446 width: 24px; |
| 447 } |
| 448 |
| 449 .reauth-hint-container .reauth-name-hint { |
| 450 align-self: center; |
| 451 color: #565656; |
| 452 font-size: 16px; |
| 453 outline: none; |
| 454 overflow: hidden; |
| 455 padding: 0 6px; |
| 456 text-align: center; |
| 457 text-overflow: ellipsis; |
| 458 white-space: nowrap; |
| 459 } |
| 460 |
| 461 .action-box-area, |
| 462 .user-type-icon-area { |
| 463 background-color: white; |
| 464 border-radius: 2px; |
| 465 position: absolute; |
| 466 top: 0; |
| 467 } |
| 468 |
| 469 .action-box-area { |
| 470 opacity: 0; |
| 471 outline: none; |
| 472 right: 0; |
| 473 transition: opacity 100ms; |
| 474 z-index: 4; |
| 475 } |
| 476 |
| 477 html[dir=rtl] .action-box-area { |
| 478 left: 0; |
| 479 right: auto; |
| 480 } |
| 481 |
| 482 .action-box-area:focus, |
| 483 .action-box-area.hovered, |
| 484 .action-box-area.active, |
| 485 .action-box-area.forced { |
| 486 opacity: 1; |
| 487 } |
| 488 |
| 489 .action-box-button { |
| 490 background-image: url(chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_NORMAL); |
| 491 height: 13px; |
| 492 margin: 5px; |
| 493 width: 13px; |
| 494 } |
| 495 |
| 496 .action-box-button:hover { |
| 497 background-image: url(chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_HOVER); |
| 498 } |
| 499 |
| 500 .action-box-area.active .action-box-button { |
| 501 background-image: url(chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_PRESSED); |
| 502 } |
| 503 |
| 504 .action-box-area .action-box-icon { |
| 505 /* overriden in chrome/browser/resources/md_user_manager/user_manager.css */ |
| 506 display: none; |
| 507 } |
| 508 |
| 509 .user-image-gradient-area { |
| 510 /* overriden in chrome/browser/resources/md_user_manager/user_manager.css */ |
| 511 display: none; |
| 512 } |
| 513 |
| 514 .user-type-icon-area { |
| 515 left: 0; |
| 516 z-index: 5; |
| 517 } |
| 518 |
| 519 html[dir=rtl] .user-type-icon-area { |
| 520 left: auto; |
| 521 right: 0; |
| 522 } |
| 523 |
| 524 .user-type-icon-image { |
| 525 height: 16px; |
| 526 margin: 5px; |
| 527 width: 16px; |
| 528 } |
| 529 |
| 530 .user-type-icon-area.legacySupervised .user-type-icon-image { |
| 531 background-image: url(../../webui/resources/images/supervisor_account.svg); |
| 532 background-size: 18px; |
| 533 } |
| 534 |
| 535 .user-type-icon-area.child .user-type-icon-image { |
| 536 background-image: url(../../webui/resources/images/account_child_invert.svg); |
| 537 background-size: 18px; |
| 538 } |
| 539 |
| 540 .user-type-icon-area.policy .user-type-icon-image { |
| 541 background-image: url(../../webui/resources/images/business.svg); |
| 542 background-size: 18px; |
| 543 } |
| 544 |
| 545 .user-type-icon-area.app .user-type-icon-image { |
| 546 background-image: url(chrome://theme/IDR_KIOSK_APP_USER_POD_ICON); |
| 547 } |
| 548 |
| 549 .fingerprint-icon-container.hidden { |
| 550 display: none; |
| 551 } |
| 552 |
| 553 .fingerprint-icon-container.default .fingerprint-icon-image { |
| 554 background-image: url(../../webui/resources/images/fingerprint_default.svg); |
| 555 } |
| 556 |
| 557 .fingerprint-icon-container.default:hover .fingerprint-icon-image { |
| 558 background-image: url(../../webui/resources/images/fingerprint_signin.svg); |
| 559 } |
| 560 |
| 561 .fingerprint-icon-container.signin .fingerprint-icon-image { |
| 562 background-image: url(../../webui/resources/images/fingerprint_signin.svg); |
| 563 } |
| 564 |
| 565 .fingerprint-icon-container.failed .fingerprint-icon-image { |
| 566 background-image: url(../../webui/resources/images/fingerprint_failed.svg); |
| 567 } |
| 568 |
| 569 .pod input[type='password'].hidden::-webkit-input-placeholder { |
| 570 color: grey; |
| 571 } |
| 572 |
| 573 .pod input[type='password'].default::-webkit-input-placeholder { |
| 574 color: grey; |
| 575 } |
| 576 |
| 577 .pod input[type='password'].signin::-webkit-input-placeholder { |
| 578 color: var(--google-blue-500); |
| 579 } |
| 580 |
| 581 .pod input[type='password'].failed::-webkit-input-placeholder { |
| 582 color: var(--google-red-500); |
| 583 } |
| 584 |
| 585 .action-box-menu { |
| 586 display: none; |
| 587 z-index: 6; |
| 588 } |
| 589 |
| 590 .action-box-area.active ~ .action-box-menu { |
| 591 background-color: white; |
| 592 border: 1px solid lightgray; |
| 593 border-radius: 2px; |
| 594 display: flex; |
| 595 flex-direction: column; |
| 596 font-size: 13px; |
| 597 position: absolute; |
| 598 right: 5px; |
| 599 width: 220px; |
| 600 } |
| 601 |
| 602 .action-box-area.active ~ .action-box-menu.left-edge-offset { |
| 603 left: 0 !important; |
| 604 } |
| 605 |
| 606 .action-box-area.active ~ .action-box-menu.right-edge-offset { |
| 607 right: 0 !important; |
| 608 } |
| 609 |
| 610 .action-box-area.active ~ .action-box-menu:not(.menu-moved-up) { |
| 611 top: 18px; |
| 612 } |
| 613 |
| 614 .action-box-area.active ~ .action-box-menu.menu-moved-up { |
| 615 bottom: 207px; |
| 616 } |
| 617 |
| 618 .action-box-area.menu-moved-up { |
| 619 transform: rotate(180deg); |
| 620 } |
| 621 |
| 622 html[dir=rtl] .action-box-area.active ~ .action-box-menu { |
| 623 left: 5px; |
| 624 right: auto; |
| 625 } |
| 626 |
| 627 .action-box-menu-title { |
| 628 color: #757575; |
| 629 display: flex; |
| 630 flex-direction: column; |
| 631 padding: 7px 20px; |
| 632 } |
| 633 |
| 634 .action-box-menu-title:focus { |
| 635 outline-style: none; |
| 636 } |
| 637 |
| 638 .action-box-menu-title-name, |
| 639 .action-box-menu-title-email { |
| 640 flex: none; |
| 641 height: 23px; |
| 642 line-height: 19px; |
| 643 overflow: hidden; |
| 644 text-overflow: ellipsis; |
| 645 white-space: nowrap; |
| 646 } |
| 647 |
| 648 .action-box-menu-remove { |
| 649 border-top: 1px solid lightgray; |
| 650 line-height: 19px; |
| 651 min-height: 24px; |
| 652 outline: none; |
| 653 padding: 12px 20px 7px; |
| 654 } |
| 655 |
| 656 .action-box-menu-remove:hover, |
| 657 .action-box-menu-remove:focus { |
| 658 background-color: #f3f3f3; |
| 659 } |
| 660 |
| 661 .action-box-remove-user-warning { |
| 662 border-top: 1px solid lightgray; |
| 663 font-size: 12px; |
| 664 line-height: 18px; |
| 665 padding: 20px; |
| 666 } |
| 667 |
| 668 .action-box-remove-user-warning > div, |
| 669 .action-box-remove-user-warning > table { |
| 670 padding-bottom: 20px; |
| 671 } |
| 672 |
| 673 .total-count { |
| 674 font-weight: bold; |
| 675 } |
| 676 |
| 677 .action-box-remove-user-warning-table-nonsync { |
| 678 border-spacing: 0; |
| 679 width: 100%; |
| 680 } |
| 681 |
| 682 .action-box-remove-user-warning-table td { |
| 683 padding: 0; |
| 684 } |
| 685 |
| 686 .action-box-remove-user-warning-table-numbers { |
| 687 color: #757575; |
| 688 text-align: end; |
| 689 } |
| 690 |
| 691 /* Hide dialog elements not in a correct category. Only combinations currently |
| 692 in use are included here. */ |
| 693 .pod.legacy-supervised .non-sync, |
| 694 .pod.legacy-supervised .action-box-remove-user-warning-text, |
| 695 .pod.legacy-supervised .action-box-remove-non-owner-user-warning-text, |
| 696 .pod:not(.legacy-supervised) |
| 697 .action-box-remove-legacy-supervised-user-warning-text, |
| 698 .pod.synced .non-sync, |
| 699 .pod.has-no-stats .has-stats { |
| 700 display: none; |
| 701 } |
| 702 |
| 703 .user-type-bubble { |
| 704 background-color: white; |
| 705 border: 1px solid lightgray; |
| 706 border-radius: 2px; |
| 707 left: 5px; |
| 708 opacity: 0; |
| 709 padding: 17px; |
| 710 position: absolute; |
| 711 top: 20px; |
| 712 transition: all 100ms; |
| 713 visibility: hidden; |
| 714 width: 200px; |
| 715 z-index: 7; |
| 716 } |
| 717 |
| 718 html[dir=rtl] .user-type-bubble { |
| 719 left: auto; |
| 720 right: 5px; |
| 721 } |
| 722 |
| 723 .bubble-shown, |
| 724 .user-type-icon-area.policy:hover ~ .user-type-bubble { |
| 725 opacity: 1; |
| 726 visibility: visible; |
| 727 } |
| 728 |
| 729 .user-type-bubble-header { |
| 730 font-weight: bold; |
| 731 margin-bottom: 14px; |
| 732 } |
| 733 |
| 734 /**** Public account user pod rules *******************************************/ |
| 735 |
| 736 .pod.public-account.expanded { |
| 737 height: 230px; |
| 738 width: 500px; |
| 739 } |
| 740 |
| 741 .pod.public-account.expanded.advanced { |
| 742 height: 280px; |
| 743 width: 610px; |
| 744 } |
| 745 |
| 746 .pod.public-account.focused .name-container { |
| 747 display: flex; |
| 748 } |
| 749 |
| 750 .pod.public-account.expanded .name-container { |
| 751 display: none; |
| 752 } |
| 753 |
| 754 .pod.public-account .learn-more-container { |
| 755 display: block; |
| 756 flex: none; |
| 757 } |
| 758 |
| 759 .pod.public-account .learn-more { |
| 760 top: 22px; |
| 761 } |
| 762 |
| 763 .expanded-pane { |
| 764 display: none; |
| 765 } |
| 766 |
| 767 .pod.public-account.animating .expanded-pane, |
| 768 .pod.public-account.expanded .expanded-pane { |
| 769 display: block; |
| 770 font-size: 12px; |
| 771 margin: 10px; |
| 772 overflow: hidden; |
| 773 z-index: 1; |
| 774 } |
| 775 |
| 776 .expanded-pane-contents { |
| 777 display: flex; |
| 778 flex-direction: column; |
| 779 float: right; |
| 780 height: 213px; |
| 781 width: 490px; |
| 782 } |
| 783 |
| 784 .pod.public-account.transitioning-to-advanced .expanded-pane-contents { |
| 785 transition: width 180ms; |
| 786 } |
| 787 |
| 788 .pod.public-account.expanded.advanced .expanded-pane-contents { |
| 789 height: 263px; |
| 790 width: 600px; |
| 791 } |
| 792 |
| 793 html[dir=rtl] .expanded-pane-contents { |
| 794 float: left; |
| 795 } |
| 796 |
| 797 .side-container { |
| 798 -webkit-margin-start: 200px; |
| 799 flex: auto; |
| 800 } |
| 801 |
| 802 .expanded-pane-name { |
| 803 font-size: 19px; |
| 804 margin-bottom: 11px; |
| 805 margin-top: -2px; |
| 806 overflow: hidden; |
| 807 text-overflow: ellipsis; |
| 808 white-space: nowrap; |
| 809 } |
| 810 |
| 811 .expanded-pane-container { |
| 812 color: grey; |
| 813 } |
| 814 |
| 815 .reminder { |
| 816 margin-top: 20px; |
| 817 } |
| 818 |
| 819 .language-and-input-section { |
| 820 display: none; |
| 821 } |
| 822 |
| 823 .pod.public-account.transitioning-to-advanced .language-and-input-section { |
| 824 display: block; |
| 825 opacity: 0; |
| 826 transition: opacity 180ms ease 180ms; |
| 827 } |
| 828 |
| 829 .pod.public-account.expanded.advanced .language-and-input-section { |
| 830 display: block; |
| 831 opacity: 1; |
| 832 } |
| 833 |
| 834 .select-with-label { |
| 835 display: flex; |
| 836 margin-top: 20px; |
| 837 } |
| 838 |
| 839 .language-select-label, |
| 840 .keyboard-select-label { |
| 841 flex: none; |
| 842 margin-top: 3px; |
| 843 overflow: hidden; |
| 844 text-overflow: ellipsis; |
| 845 white-space: nowrap; |
| 846 width: 170px; |
| 847 } |
| 848 |
| 849 .select-container { |
| 850 flex: auto; |
| 851 } |
| 852 |
| 853 .language-select, |
| 854 .keyboard-select { |
| 855 width: 100%; |
| 856 } |
| 857 |
| 858 .bottom-container { |
| 859 -webkit-margin-start: 20px; |
| 860 align-items: center; |
| 861 display: flex; |
| 862 flex-direction: row-reverse; |
| 863 flex: none; |
| 864 font-size: 13px; |
| 865 justify-content: space-between; |
| 866 margin-bottom: 4px; |
| 867 } |
| 868 |
| 869 .expanded-pane-learn-more-container, |
| 870 .enter-button { |
| 871 flex: none; |
| 872 } |
| 873 |
| 874 .expanded-pane-learn-more, |
| 875 .pod.public-account .learn-more { |
| 876 background-image: url(../../webui/resources/images/business.svg); |
| 877 background-size: 18px; |
| 878 height: 18px; |
| 879 margin-top: -10px; |
| 880 position: relative; |
| 881 width: 18px; |
| 882 } |
| 883 |
| 884 .expanded-pane-learn-more { |
| 885 top: 5px; |
| 886 } |
| 887 |
| 888 .info { |
| 889 flex: auto; |
| 890 margin: -10px 25px; |
| 891 overflow: hidden; |
| 892 text-overflow: ellipsis; |
| 893 white-space: nowrap; |
| 894 } |
| 895 |
| 896 .monitoring-container { |
| 897 margin-top: 35px; |
| 898 } |
| 899 |
| 900 .monitoring-learn-more { |
| 901 color: rgb(49, 106, 197); |
| 902 text-decoration: none; |
| 903 } |
| 904 |
| 905 .monitoring-dialog-container .cr-dialog-shield { |
| 906 background: black; |
| 907 opacity: 0.5; |
| 908 } |
| 909 |
| 910 .monitoring-dialog-container .cr-dialog-buttons { |
| 911 display: none; |
| 912 } |
| 913 |
| 914 .monitoring-dialog-container .cr-dialog-frame { |
| 915 height: 170px; |
| 916 left: -46px; |
| 917 padding: 0px; |
| 918 position: relative; |
| 919 top: -24px; |
| 920 width: 430px; |
| 921 } |
| 922 |
| 923 .monitoring-dialog-container.advanced .cr-dialog-frame { |
| 924 left: -110px; |
| 925 top: 0px; |
| 926 } |
| 927 |
| 928 .monitoring-dialog-container .cr-dialog-close { |
| 929 color: grey; |
| 930 height: 34px; |
| 931 position: absolute; |
| 932 top: 0px; |
| 933 width: 34px; |
| 934 } |
| 935 |
| 936 .monitoring-dialog-container .cr-dialog-title { |
| 937 font-size: 16px; |
| 938 font-weight: bold; |
| 939 left: 20px; |
| 940 position: absolute; |
| 941 top: 15px; |
| 942 } |
| 943 |
| 944 .monitoring-dialog-container .cr-dialog-text { |
| 945 color: grey; |
| 946 font-size: 13px; |
| 947 overflow: visible; |
| 948 position: absolute; |
| 949 top: 20px; |
| 950 } |
| 951 |
| 952 .monitoring-dialog-container .cr-dialog-item { |
| 953 -webkit-margin-start: 42px; |
| 954 display: list-item; |
| 955 margin-bottom: -6px; |
| 956 } |
| 957 |
| 958 .language-and-input-container { |
| 959 -webkit-margin-end: 25px; |
| 960 flex: none; |
| 961 } |
| 962 |
| 963 .language-and-input { |
| 964 color: rgb(49, 106, 197); |
| 965 text-decoration: none; |
| 966 } |
| 967 |
| 968 .pod.public-account.expanded.advanced .language-and-input-container { |
| 969 display: none; |
| 970 } |
| 971 |
| 972 .enter-button { |
| 973 background-color: rgb(66, 133, 244); |
| 974 color: white; |
| 975 font-size: 12px; |
| 976 text-transform: none; |
| 977 } |
| 978 |
| 979 .enter-button.keyboard-focus { |
| 980 font-weight: normal; |
| 981 } |
| 982 |
| 983 .horizontal-line { |
| 984 border-bottom: 1px double #cccccc; |
| 985 bottom: 8px; |
| 986 position: relative; |
| 987 } |
| 988 |
| 989 /* Animations for the animated ellipsis: */ |
| 990 .animated-ellipsis-component0 { |
| 991 animation: ellipsis-component0 1.5s infinite; |
| 992 } |
| 993 |
| 994 @keyframes ellipsis-component0 { |
| 995 0% { opacity: 0; } |
| 996 25% { opacity: 1; } |
| 997 50% { opacity: 1; } |
| 998 75% { opacity: 1; } |
| 999 100% { opacity: 0; } |
| 1000 } |
| 1001 |
| 1002 .animated-ellipsis-component1 { |
| 1003 animation: ellipsis-component1 1.5s infinite; |
| 1004 } |
| 1005 |
| 1006 @keyframes ellipsis-component1 { |
| 1007 0% { opacity: 0; } |
| 1008 25% { opacity: 0; } |
| 1009 50% { opacity: 1; } |
| 1010 75% { opacity: 1; } |
| 1011 100% { opacity: 0; } |
| 1012 } |
| 1013 |
| 1014 .animated-ellipsis-component2 { |
| 1015 animation: ellipsis-component2 1.5s infinite; |
| 1016 } |
| 1017 |
| 1018 @keyframes ellipsis-component2 { |
| 1019 0% { opacity: 0; } |
| 1020 25% { opacity: 0; } |
| 1021 50% { opacity: 0; } |
| 1022 75% { opacity: 1; } |
| 1023 100% { opacity: 0; } |
| 1024 } |
OLD | NEW |