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.
5 * This is the stylesheet used by user pods row of account picker UI.
9 /* Temporarily disabled because animation interferes with updating screen's
17 /* Hide the pod row while images are loading. */
18 podrow.images-loading {
23 -webkit-tap-highlight-color: transparent;
24 background-color: white;
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);
33 transform: scale3d(0.9, 0.9, 0.9);
38 .account-picker.flying-pods .pod {
39 transition: all 180ms;
46 podrow[ncolumns='6'] .pod {
47 transform: scale3d(0.8, 0.8, 0.8);
51 /* Focused pod has the same size no matter how many pods. */
53 transform: scale3d(1, 1, 1) !important;
57 .pod.focused[auth-type='userClick'] {
62 background-color: white;
71 html[dir=rtl] .user-image-pane {
76 .user-image-container {
80 justify-content: center;
88 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the
89 style rule once it is included on CrOS only. crbug.com/397638 */
90 html:not([screen=login-add-user]) .pod .user-image {
96 html:not([screen=login-add-user]) .pod.focused .user-image {
100 .pod.multiprofiles-policy-applied .user-image {
101 -webkit-filter: grayscale(100%);
104 .signed-in-indicator {
108 .pod.signed-in .signed-in-indicator {
109 background-color: rgba(0, 0, 0, 0.5);
127 html[dir=rtl] .main-pane {
133 .pod.focused:not(.multiprofiles-policy-applied) .auth-container {
134 background-color: white;
142 transition: transform 180ms;
145 .pod.focused .name-container {
149 .pod.focused.multiprofiles-policy-applied .name-container {
155 /* This should be 15.6px - the equivalent of 14px at 90% scale. */
163 text-overflow: ellipsis;
167 .learn-more-container,
169 .password-entry-container,
170 .signin-button-container {
174 .pod[auth-type='offlinePassword'].focused .password-entry-container {
179 .password-container {
183 .pod input[type='password'] {
184 background-color: white;
192 .capslock-hint-container {
196 .capslock-on .capslock-hint-container {
202 -webkit-margin-end: 6px;
203 -webkit-margin-start: -2px;
212 .pod[auth-type='userClick'] .password-label {
217 text-overflow: ellipsis;
222 -webkit-margin-end: 0;
223 -webkit-margin-start: auto;
224 background-position: center;
225 background-repeat: no-repeat;
229 .custom-icon-container {
232 flex-direction: column;
234 justify-content: center;
238 .pod[auth-type='onlineSignIn'] .signin-button-container,
239 .launch-app-button-container {
248 margin-top: 6px !important;
251 text-overflow: ellipsis;
255 .user-type-icon-area {
256 background-color: white;
266 transition: opacity 100ms;
270 html[dir=rtl] .action-box-area {
275 .action-box-area:focus,
276 .action-box-area.hovered,
277 .action-box-area.active {
282 background-image: url('chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_NORMAL');
288 .action-box-button:hover {
289 background-image: url('chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_HOVER');
292 .action-box-area.active .action-box-button {
293 background-image: url('chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_PRESSED');
296 .user-type-icon-area {
301 html[dir=rtl] .user-type-icon-area {
306 .user-type-icon-image {
312 .user-type-icon-area.supervised .user-type-icon-image {
313 background-image: url('chrome://theme/IDR_SUPERVISED_USER_ICON');
316 .user-type-icon-area.policy .user-type-icon-image {
317 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
320 .user-type-icon-area.app .user-type-icon-image {
321 background-image: url('chrome://theme/IDR_KIOSK_APP_USER_POD_ICON');
329 .action-box-area.active ~ .action-box-menu {
330 background-color: white;
331 border: 1px solid lightgray;
334 flex-direction: column;
341 .action-box-area.active ~ .action-box-menu:not(.menu-moved-up) {
345 .action-box-area.active ~ .action-box-menu.menu-moved-up {
349 .action-box-area.menu-moved-up {
350 -webkit-transform: rotate(180deg);
353 html[dir=rtl] .action-box-area.active ~ .action-box-menu {
358 .action-box-menu-title {
361 flex-direction: column;
365 .action-box-menu-title-name,
366 .action-box-menu-title-email {
371 text-overflow: ellipsis;
375 .action-box-menu-remove {
376 border-top: 1px solid lightgray;
380 padding: 12px 20px 7px;
383 .action-box-menu-remove:hover,
384 .action-box-menu-remove:focus {
385 background-color: #f3f3f3;
388 .action-box-remove-user-warning {
389 border-top: 1px solid lightgray;
395 .action-box-remove-user-warning-text,
396 .action-box-remove-supervised-user-warning-text {
397 padding-bottom: 20px;
400 .action-box-remove-user-warning .remove-warning-button {
405 background-color: white;
406 border: 1px solid lightgray;
413 transition: all 100ms;
419 html[dir=rtl] .user-type-bubble {
425 .user-type-icon-area.policy:hover ~ .user-type-bubble {
430 .user-type-bubble-header {
435 /**** Public account user pod rules *******************************************/
437 .pod.public-account.expanded {
441 .pod.public-account.expanded.advanced {
445 .pod.public-account.focused .name-container {
449 .pod.public-account.expanded .name-container {
450 transform: translateY(-34px);
453 .pod.public-account .learn-more-container {
458 .pod.public-account .learn-more {
459 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
470 .pod.public-account.animating .expanded-pane,
471 .pod.public-account.expanded .expanded-pane {
479 .expanded-pane-contents {
481 flex-direction: column;
487 .pod.public-account.transitioning-to-advanced .expanded-pane-contents {
488 transition: width 180ms;
491 .pod.public-account.expanded.advanced .expanded-pane-contents {
495 html[dir=rtl] .expanded-pane-contents {
500 -webkit-margin-start: 200px;
504 .expanded-pane-name {
509 text-overflow: ellipsis;
517 .language-and-input-section {
521 .pod.public-account.transitioning-to-advanced .language-and-input-section {
524 transition: opacity 180ms ease 180ms;
527 .pod.public-account.expanded.advanced .language-and-input-section {
537 .language-select-label,
538 .keyboard-select-label {
542 text-overflow: ellipsis;
557 -webkit-margin-start: 10px;
563 .expanded-pane-learn-more-container,
568 .expanded-pane-learn-more {
569 background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
580 text-overflow: ellipsis;
584 .language-and-input-container {
585 -webkit-margin-end: 25px;
589 .language-and-input {
590 color: rgb(49, 106, 197);
592 text-decoration: none;
596 .pod.public-account.expanded.advanced .language-and-input-container {