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

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

Issue 2222583002: Lock screen pin keyboard ui upgrades. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 4 years, 4 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. */
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 46
47 .pod.flying-pin-pod { 47 .pod.flying-pin-pod {
48 transition: height 180ms ease-in-out, 48 transition: height 180ms ease-in-out,
49 left 180ms ease-in-out, 49 left 180ms ease-in-out,
50 top 180ms ease-in-out, 50 top 180ms ease-in-out,
51 width 180ms ease-in-out; 51 width 180ms ease-in-out;
52 } 52 }
53 53
54 .pod.pin-enabled { 54 .pod.pin-enabled {
55 height: 594px; 55 height: 417px;
56 top: -200px !important; 56 top: -87px !important;
57 width: 270px;
58 } 57 }
59 58
60 .pod .pin-container { 59 .pod .pin-container {
61 height: 344px; 60 height: 204px;
62 position: absolute; 61 position: absolute;
63 top: 250px; 62 top: 170px;
64 width: 270px; 63 width: 180px;
jdufault 2016/08/05 21:58:52 Does width need to be specified?
sammiequon 2016/08/05 23:34:50 Done.
65 } 64 }
66 65
67 .pod.faded { 66 .pod.faded {
68 opacity: .75; 67 opacity: .75;
69 } 68 }
70 69
71 podrow[ncolumns='6'] .pod { 70 podrow[ncolumns='6'] .pod {
72 transform: scale3d(0.8, 0.8, 0.8); 71 transform: scale3d(0.8, 0.8, 0.8);
73 } 72 }
74 73
(...skipping 16 matching lines...) Expand all
91 top: 10px; 90 top: 10px;
92 transition: height 180ms ease-in-out, 91 transition: height 180ms ease-in-out,
93 left 180ms ease-in-out, 92 left 180ms ease-in-out,
94 right 180ms ease-in-out, 93 right 180ms ease-in-out,
95 top 180ms ease-in-out, 94 top 180ms ease-in-out,
96 width 180ms ease-in-out; 95 width 180ms ease-in-out;
97 width: 160px; 96 width: 160px;
98 z-index: 3; 97 z-index: 3;
99 } 98 }
100 99
101 .user-image-pane.pin-enabled {
102 height: 230px;
103 left: 20px;
104 top: 20px;
105 width: 230px;
106 }
107
108 html[dir=rtl] .user-image-pane { 100 html[dir=rtl] .user-image-pane {
109 left: auto; 101 left: auto;
110 right: 10px; 102 right: 10px;
111 } 103 }
112 104
113 html[dir=rtl] .user-image-pane.pin-enabled {
114 left: auto;
115 right: 20px;
116 }
117
118 .user-image-container { 105 .user-image-container {
119 align-items: center; 106 align-items: center;
120 display: flex; 107 display: flex;
121 height: 100%; 108 height: 100%;
122 justify-content: center; 109 justify-content: center;
123 width: 100%; 110 width: 100%;
124 } 111 }
125 112
126 .pod .user-image { 113 .pod .user-image {
127 flex: none; 114 flex: none;
128 } 115 }
129 116
130 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the 117 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the
131 style rule once it is included on CrOS only. crbug.com/397638 */ 118 style rule once it is included on CrOS only. crbug.com/397638 */
132 html:not([screen=login-add-user]) .pod .user-image { 119 html:not([screen=login-add-user]) .pod .user-image {
133 max-height: 160px; 120 max-height: 160px;
134 max-width: 160px; 121 max-width: 160px;
135 opacity: 0.7; 122 opacity: 0.7;
136 position: absolute; 123 position: absolute;
137 transition: max-height 180ms ease-in-out,
138 max-width 180ms ease-in-out,
139 top 180ms ease-in-out;
140 }
141
142 html:not([screen=login-add-user]) .pod .user-image.pin-enabled {
143 max-height: 230px;
144 max-width: 230px;
145 } 124 }
146 125
147 html:not([screen=login-add-user]) .pod.focused .user-image { 126 html:not([screen=login-add-user]) .pod.focused .user-image {
148 opacity: 1; 127 opacity: 1;
149 } 128 }
150 129
151 .pod.multiprofiles-policy-applied .user-image { 130 .pod.multiprofiles-policy-applied .user-image {
152 -webkit-filter: grayscale(100%); 131 -webkit-filter: grayscale(100%);
153 } 132 }
154 133
155 .signed-in-indicator { 134 .signed-in-indicator {
156 display: none; 135 display: none;
157 } 136 }
158 137
159 .pod.signed-in .signed-in-indicator { 138 .pod.signed-in .signed-in-indicator {
160 background-color: rgba(0, 0, 0, 0.5); 139 background-color: rgba(0, 0, 0, 0.5);
161 color: white; 140 color: white;
162 display: block; 141 display: block;
163 font-size: small; 142 font-size: small;
164 position: absolute; 143 position: absolute;
165 text-align: center; 144 text-align: center;
166 top: 0; 145 top: 0;
167 transition: left 180ms ease-in-out,
168 top 180ms ease-in-out,
169 width 180ms ease-in-out;
170 width: 100%; 146 width: 100%;
171 } 147 }
172 148
173 .pod.signed-in .signed-in-indicator.pin-enabled {
174 left: 20px;
175 top: 20px;
176 width: 230px;
177 }
178
179 .main-pane { 149 .main-pane {
180 left: 10px; 150 left: 10px;
181 position: absolute; 151 position: absolute;
182 top: 10px; 152 top: 10px;
183 z-index: 2; 153 z-index: 2;
184 } 154 }
185 155
186 html[dir=rtl] .main-pane { 156 html[dir=rtl] .main-pane {
187 left: auto; 157 left: auto;
188 right: 10px; 158 right: 10px;
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 -webkit-animation: ellipsis-component2 1.5s infinite; 889 -webkit-animation: ellipsis-component2 1.5s infinite;
920 } 890 }
921 891
922 @-webkit-keyframes ellipsis-component2 { 892 @-webkit-keyframes ellipsis-component2 {
923 0% { opacity: 0; } 893 0% { opacity: 0; }
924 25% { opacity: 0; } 894 25% { opacity: 0; }
925 50% { opacity: 0; } 895 50% { opacity: 0; }
926 75% { opacity: 1; } 896 75% { opacity: 1; }
927 100% { opacity: 0; } 897 100% { opacity: 0; }
928 } 898 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698