1 /* Copyright (c) 2012 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 -webkit-transform: scale3d
(0.9, 0.9, 0.9);
25 -webkit-transition: -webkit-transform
180ms ease
,
27 background-color: white
;
29 box-shadow: 0 4px 23px 5px rgba
(0, 0, 0, 0.2),
30 0 2px 6px rgba
(0, 0, 0, 0.15),
31 0 3px 0 rgba
(0, 0, 0, 0.08);
33 display: inline-block
;
34 padding: 10px 10px 3px;
36 vertical-align: middle
;
41 .account-picker.flying-pods .pod {
42 -webkit-transition: all
180ms ease
;
51 podrow
[ncolumns
='6'] .pod
{
52 -webkit-transform: scale3d
(0.8, 0.8, 0.8);
56 /* Focused pod has the same size no matter how many pods. */
57 -webkit-transform: scale3d
(1, 1, 1) !important
;
72 .pod.focused .user-image {
77 -webkit-transform: scale3d
(2.4, 2.4, 2.4);
82 -webkit-transform: translateX
(-25px);
87 -webkit-transform: translateX
(25px);
92 -webkit-transform: scale3d
(2.2, 2.2, 2.2);
97 -webkit-transition: all
170ms ease
;
99 /* Matching font-size 14px but since name is visible
100 when pod is not focused increase that a bit. */
103 line-height: 26px; /* This vertically centers text */
106 text-overflow: ellipsis
;
114 .pod.need-password.focused .name {
122 .password-input-container {
124 /* This relative position is so the capslock hint is positioned correctly. */
129 -webkit-box-align: center
;
130 background-color: rgba
(0, 0, 0, 0);
131 background-image: none
;
133 display: -webkit-box
;
142 button
.custom-button:focus:active
,
143 button
.custom-button:focus:hover
{
144 border: 1px solid transparent
!important
;
152 .pod input[type='password'] {
153 -webkit-transition: opacity linear
150ms;
156 box-sizing: border-box
;
157 display: inline-block
;
164 .pod.need-password.focused .password-area {
165 display: -webkit-box
;
168 .pod .signin-button {
169 box-sizing: border-box
;
170 display: inline-block
;
174 min-width: 72px !important
;
178 .pod:not(.focused) .signin-button {
182 .pod .capslock-hint {
191 html
[dir
=rtl
] .pod
.capslock-hint
{
196 .capslock-on .pod.focused input[type='password']:not([hidden]) ~ .capslock-hint {
201 -webkit-transition: opacity
100ms ease-in-out
;
202 background-color: white
;
217 .action-box-area:focus
,
218 .action-box-area
.hovered
,
219 .action-box-area.active {
224 background-color: transparent
;
225 background-image: url
('chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_NORMAL');
226 border: 0 !important
;
233 .user-type-icon-area {
234 background-color: white
;
248 .user-type-icon-image {
249 background-color: transparent
;
250 background-image: url
('chrome://theme/IDR_MANAGED_MODE_ICON');
251 border: 0 !important
;
258 html
[dir
=rtl
] .action-box-area
{
263 .action-box-button:hover {
264 background-image: url
('chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_HOVER');
267 .action-box-area.active .action-box-button {
268 background-image: url
('chrome://theme/IDR_OOBE_ACTION_BOX_BUTTON_PRESSED');
272 -webkit-transition: opacity
100ms ease-in-out
;
273 background-color: white
;
274 border: 1px solid lightgray
;
285 /* TODO(glotov): the menu should fade out with transition */
291 .action-box-area.active ~ .action-box-menu {
296 .action-box-menu-title {
297 -webkit-box-orient: vertical
;
298 -webkit-box-pack: center
;
300 display: -webkit-box
;
304 .action-box-menu-title-name {
305 display: -webkit-box
;
308 text-overflow: ellipsis
;
313 .action-box-menu-title-email {
317 text-overflow: ellipsis
;
321 .action-box-menu-remove {
322 -webkit-box-align: center
;
323 border-top: 1px solid lightgray
;
324 display: -webkit-box
;
329 .action-box-menu-remove:hover
,
330 .action-box-menu-remove:focus {
331 background-color: #f3f3f3;
335 .action-box-remove-user-warning {
336 border-top: 1px solid lightgray
;
343 .action-box-remove-user-warning-text {
344 padding-bottom: 20px;
347 .action-box-remove-user-warning .remove-warning-button {
351 html
[oobe
=old
] .pod
.focused
.action-box-area
{
352 /* Track shifting of .user-image on pod focus. */
353 -webkit-transform: translateY
(-1px);
354 -webkit-transition: -webkit-transform
140ms ease
;
358 .signed-in-indicator {
359 -webkit-transition: all
140ms ease
;
360 background: rgba
(0, 0, 0, 0.5);
365 /* Width of .user-image. */
370 /**** Public account user pod rules *******************************************/
372 .pod
.public-account
.name
,
374 -webkit-padding-end: 16px;
378 text-overflow: ellipsis
;
382 .side-pane-learn-more {
383 background-image: url
('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
390 .side-pane-learn-more:hover {
391 background-image: url
('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
399 html
[dir
=rtl
] .learn-more
{
405 .side-pane-container {
412 border-left: 1px solid lightgray
;
419 html
[dir
=rtl
] .side-pane-divider
{
424 .side-pane-container {
432 html
[dir
=rtl
] .side-pane-container
{
437 .side-pane-contents {
438 -webkit-transform: translateX
(-240px);
439 -webkit-transition: -webkit-transform
180ms ease
;
444 html
[dir
=rtl
] .side-pane-contents
{
445 -webkit-transform: translateX
(240px);
448 .pod.public-account.expanded .side-pane-contents {
449 -webkit-transform: translateX
(0);
452 .side-pane-learn-more {
457 html
[dir
=rtl
] .side-pane-learn-more
{
462 .side-pane-container
.info
,
463 .side-pane-container .reminder {
467 .side-pane-container .info {
468 -webkit-margin-before: 25px;
471 .side-pane-container .reminder {
475 .side-pane-container .enter-button {
483 html
[dir
=rtl
] .side-pane-container
.enter-button
{
488 .pod.public-account.expanded {
493 .pod
.public-account
.expanded
.name
,
494 .pod.public-account.expanded .learn-more {
498 .pod
.public-account
.expanded
.side-pane-divider
,
499 .pod
.public-account
.expanded
.side-pane-container
,
500 .pod.public-account.animating .side-pane-container {