Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: ui/login/account_picker/user_pod_row.css

Issue 2027683003: Pin keyboard moved to under the user profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 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 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 * 4 *
5 * This is the stylesheet used by user pods row of account picker UI. 5 * This is the stylesheet used by user pods row of account picker UI.
6 */ 6 */
7 7
8 podrow { 8 podrow {
9 /* Temporarily disabled because animation interferes with updating screen's 9 /* Temporarily disabled because animation interferes with updating screen's
10 size. */ 10 size. */
11 height: 100%; 11 height: 100%;
12 overflow: visible; 12 overflow: visible;
13 position: absolute; 13 position: absolute;
14 width: 100%; 14 width: 100%;
15 } 15 }
16 16
17 /* Hide the pod row while images are loading. */ 17 /* Hide the pod row while images are loading. */
18 podrow.images-loading { 18 podrow.images-loading {
19 visibility: hidden; 19 visibility: hidden;
20 } 20 }
21 21
22 .pod { 22 .pod {
23 -webkit-tap-highlight-color: transparent; 23 -webkit-tap-highlight-color: transparent;
24 background-color: white; 24 background-color: white;
25 border-radius: 2px; 25 border-radius: 2px;
26 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 26 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2),
27 0 2px 6px rgba(0, 0, 0, 0.15), 27 0 2px 6px rgba(0, 0, 0, 0.15),
28 0 3px 0 rgba(0, 0, 0, 0.08); 28 0 3px 0 rgba(0, 0, 0, 0.08);
29 cursor: pointer; 29 cursor: pointer;
30 height: 213px; 30 height: 100%;
31 outline: none; 31 outline: none;
32 position: absolute; 32 position: absolute;
33 transform: scale3d(0.9, 0.9, 0.9); 33 transform: scale3d(0.9, 0.9, 0.9);
34 width: 180px; 34 width: 100%;
35 z-index: 0; 35 z-index: 0;
36 } 36 }
37 37
38 .account-picker.flying-pods .pod { 38 .account-picker.flying-pods .pod {
39 transition: all 180ms; 39 transition: all 180ms;
40 } 40 }
41 41
42 .pod.faded { 42 .pod.faded {
43 opacity: .75; 43 opacity: .75;
44 } 44 }
45 45
46 podrow[ncolumns='6'] .pod { 46 podrow[ncolumns='6'] .pod {
47 transform: scale3d(0.8, 0.8, 0.8); 47 transform: scale3d(0.8, 0.8, 0.8);
48 } 48 }
49 49
50 .pod.focused { 50 .pod.focused {
51 /* Focused pod has the same size no matter how many pods. */ 51 /* Focused pod has the same size no matter how many pods. */
52 cursor: default; 52 cursor: default;
53 transform: scale3d(1, 1, 1) !important; 53 transform: scale3d(1, 1, 1) !important;
54 z-index: 1; 54 z-index: 1;
55 } 55 }
56 56
57 .pod.focused[auth-type='userClick'] { 57 .pod.focused[auth-type='userClick'] {
58 cursor: pointer; 58 cursor: pointer;
59 } 59 }
60 60
61 .user-image-pane { 61 .user-image-pane {
62 background-color: white; 62 background-color: white;
63 height: 160px;
64 left: 10px; 63 left: 10px;
64 right: 10px;
65 position: absolute; 65 position: absolute;
66 top: 10px; 66 top: 10px;
67 z-index: 3;
68 height: 160px;
jdufault 2016/05/31 19:24:51 All CSS properties should be in alphabetical order
sammiequon 2016/06/14 22:22:21 Done.
67 width: 160px; 69 width: 160px;
68 z-index: 3;
69 } 70 }
70 71
71 html[dir=rtl] .user-image-pane { 72 html[dir=rtl] .user-image-pane {
72 left: auto; 73 left: auto;
73 right: 10px; 74 right: 10px;
74 } 75 }
75 76
76 .user-image-container { 77 .user-image-container {
77 align-items: center; 78 align-items: center;
78 display: flex; 79 display: flex;
79 height: 100%; 80 height: 100%;
80 justify-content: center; 81 justify-content: center;
81 width: 100%; 82 width: 100%;
82 } 83 }
83 84
84 .pod .user-image { 85 .pod .user-image {
85 flex: none; 86 flex: none;
86 } 87 }
87 88
88 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the 89 /* 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 style rule once it is included on CrOS only. crbug.com/397638 */
90 html:not([screen=login-add-user]) .pod .user-image { 91 html:not([screen=login-add-user]) .pod .user-image {
91 max-height: 160px;
92 max-width: 160px;
93 opacity: 0.7; 92 opacity: 0.7;
93 height: 100%;
jdufault 2016/05/31 19:24:52 nit: alphabetical ordering
sammiequon 2016/06/14 22:22:22 Done.
94 width: 100%;
94 } 95 }
95 96
96 html:not([screen=login-add-user]) .pod.focused .user-image { 97 html:not([screen=login-add-user]) .pod.focused .user-image {
97 opacity: 1; 98 opacity: 1;
98 } 99 }
99 100
100 .pod.multiprofiles-policy-applied .user-image { 101 .pod.multiprofiles-policy-applied .user-image {
101 -webkit-filter: grayscale(100%); 102 -webkit-filter: grayscale(100%);
102 } 103 }
103 104
104 .signed-in-indicator { 105 .signed-in-indicator {
105 display: none; 106 display: none;
106 } 107 }
107 108
108 .pod.signed-in .signed-in-indicator { 109 .pod.signed-in .signed-in-indicator {
109 background-color: rgba(0, 0, 0, 0.5); 110 background-color: rgba(0, 0, 0, 0.5);
110 color: white; 111 color: white;
111 display: block; 112 display: block;
112 font-size: small; 113 font-size: small;
113 padding: 3px 0;
114 position: absolute; 114 position: absolute;
115 text-align: center; 115 text-align: center;
116 top: 0; 116 top: 0;
117 width: 100%; 117 width: 100%;
118 } 118 }
119 119
120 .main-pane { 120 .main-pane {
121 left: 10px; 121 left: 10px;
122 position: absolute; 122 position: absolute;
123 top: 10px; 123 top: 10px;
124 z-index: 2; 124 z-index: 2;
125 display: inline-block;
jdufault 2016/05/31 19:24:52 nit: alphabetical ordering
sammiequon 2016/06/14 22:22:21 Done.
125 } 126 }
126 127
127 html[dir=rtl] .main-pane { 128 html[dir=rtl] .main-pane {
128 left: auto; 129 left: auto;
129 right: 10px; 130 right: 10px;
130 } 131 }
131 132
132 .name-container, 133 .name-container,
133 .pod.focused:not(.multiprofiles-policy-applied) .auth-container { 134 .pod.focused:not(.multiprofiles-policy-applied) .auth-container {
134 background-color: white; 135 background-color: white;
135 display: flex; 136 display: block;
jdufault 2016/05/31 19:24:52 Is this change needed?
sammiequon 2016/06/14 22:22:21 Nope. Reverted.
136 position: absolute; 137 position: absolute;
137 top: 160px; 138 top: 160px;
138 width: 160px; 139 width: 160px;
139 } 140 }
140 141
141 .name-container { 142 .name-container {
142 transition: transform 180ms; 143 transition: transform 180ms;
143 } 144 }
144 145
145 .pod.focused .name-container { 146 .pod.focused .name-container {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 184
184 .pod input[type='password'] { 185 .pod input[type='password'] {
185 background-color: white; 186 background-color: white;
186 border: none; 187 border: none;
187 padding: 4px 6px; 188 padding: 4px 6px;
188 position: relative; 189 position: relative;
189 top: 6px; 190 top: 6px;
190 width: 100%; 191 width: 100%;
191 } 192 }
192 193
194 .password-container input[type='password'] {
195 opacity: 0;
196 }
jdufault 2016/05/31 19:24:51 Is this permanently hiding the password input fiel
sammiequon 2016/06/14 22:22:21 Done.
193 .capslock-hint-container { 197 .capslock-hint-container {
194 display: none; 198 display: none;
195 } 199 }
196 200
197 .capslock-on .capslock-hint-container { 201 .capslock-on .capslock-hint-container {
198 display: block; 202 display: block;
199 flex: none; 203 flex: none;
200 } 204 }
201 205
202 .capslock-hint { 206 .capslock-hint {
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 -webkit-animation: ellipsis-component2 1.5s infinite; 825 -webkit-animation: ellipsis-component2 1.5s infinite;
822 } 826 }
823 827
824 @-webkit-keyframes ellipsis-component2 { 828 @-webkit-keyframes ellipsis-component2 {
825 0% { opacity: 0; } 829 0% { opacity: 0; }
826 25% { opacity: 0; } 830 25% { opacity: 0; }
827 50% { opacity: 0; } 831 50% { opacity: 0; }
828 75% { opacity: 1; } 832 75% { opacity: 1; }
829 100% { opacity: 0; } 833 100% { opacity: 0; }
830 } 834 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698