1 /* Copyright 2013 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.
6 /* Overrides for the desktop user manager screen. */
9 background-color: #eee;
21 box-shadow: 0 1px 2px rgba
(0, 0, 0, 0.1);
23 /* On non-retina desktop, the text is blurry if we use the scale3d()
24 inherited from user_pod_row.js */
25 transform: scale
(0.9);
28 podrow
[ncolumns
='6'] .pod
{
29 transform: scale
(0.8);
32 /* Because of crbug.com/406529, the text in the .name div is janky if there's
33 both a transform:scale and a transition:opacity applied to a div, so we must
34 apply the opacity change to the children instead. */
39 .pod
.faded
.user-image-pane
,
40 .pod.faded .main-pane {
44 .pod.hovered:not(.focused) {
45 box-shadow: 0 2px 4px rgba
(0, 0, 0, 0.2);
49 box-shadow: 0 16px 21px rgba
(0, 0, 0, 0.2);
50 transform: scale
(1) !important
;
54 box-shadow: 0 12px 21px rgba
(0, 0, 0, 0.2);
59 border-top-left-radius: 2px;
60 border-top-right-radius: 2px;
67 html
[dir
=rtl
] .user-image-pane
{
80 .pod input[type='password'] {
81 height: 45px; /* 1px shorter as to not overlap the pod's rounded corners */
85 .pod .indicator-container {
86 background-color: rgba
(255, 255, 255, 0.85);
94 html
[dir
=rtl
] .pod
.indicators
{
100 background-position: center
;
101 background-repeat: no-repeat
;
102 background-size: 18px;
109 /* Using -webkit-mask on the indicators allows us to tweak the color. */
110 .pod .indicator-container > div {
111 -webkit-mask-position: center
;
112 -webkit-mask-repeat: no-repeat
;
113 -webkit-mask-size: 24px;
116 .pod.locked .locked-indicator {
117 -webkit-mask-image: url
(../../../../ui/webui/resources/images/lock.svg);
118 background-color: #757575;
122 .pod.legacy-supervised .legacy-supervised-indicator {
124 url
(../../../../ui/webui/resources/images/supervisor_account.svg);
125 background-color: rgb
(66, 133, 244);
129 .pod.child .child-indicator {
131 url
(../../../../ui/webui/resources/images/account_child_invert.svg);
132 background-color: rgb
(66, 133, 244);
141 html
[dir
=rtl
] .main-pane
{
146 .pod.focused:not(.multiprofiles-policy-applied) .auth-container {
151 .pod.focused:not(.locked) .name-container {
161 .pod.focused:not(.locked) .auth-container {
165 .pod.focused.locked .password-entry-container {
171 background-color: #f5f5f5;
173 /* Because of crbug.com/406529, the text in the .name div is janky if there's
174 an opacity transition in this div. */
180 .action-box-button:hover
,
181 .action-box-area.active .action-box-button {
182 background-image: none
;
183 border-left: 6px solid transparent
;
184 border-right: 6px solid transparent
;
185 border-top: 6px solid
#989898;
194 .action-box-button:hover
,
195 .action-box-area.active .action-box-button {
196 border-top: 6px solid
#4c4c4c;
199 .action-box-remove-user-warning .remove-warning-button {
203 .action-box-remove-user-warning .remove-warning-button:focus {
204 /* Override the default blue border inherited from
205 button.custom-appearance:focus. */
206 border: 1px solid transparent
!important
;
207 box-shadow: inset
0 0 0 1px #fff;