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

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

Issue 2931063004: Extract colors from wallpaper and dynamically update login screen overlay (Closed)
Patch Set: Address comments Created 3 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. */
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 .user-image-container { 83 .user-image-container {
84 align-items: center; 84 align-items: center;
85 display: flex; 85 display: flex;
86 height: 100%; 86 height: 100%;
87 justify-content: center; 87 justify-content: center;
88 width: 100%; 88 width: 100%;
89 } 89 }
90 90
91 .user-image { 91 .user-image {
92 border-radius: 50%; 92 border-radius: 50%;
93 box-shadow: 0 0 2px rgba(255, 255, 255, .34); 93 box-shadow: 0 0 4px rgba(255, 255, 255, .34);
94 height: 100%; 94 height: 100%;
95 width: 100%; 95 width: 100%;
96 } 96 }
97 97
98 .user-image.switch-image-animation { 98 .user-image.switch-image-animation {
99 animation: switch-image 180ms; 99 animation: switch-image 180ms;
100 } 100 }
101 101
102 .pod .user-image { 102 .pod .user-image {
103 flex: none; 103 flex: none;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 } 203 }
204 204
205 .pod.focused.multiprofiles-policy-applied .name-container { 205 .pod.focused.multiprofiles-policy-applied .name-container {
206 display: flex; 206 display: flex;
207 } 207 }
208 208
209 .name { 209 .name {
210 color: #FFFFFF; 210 color: #FFFFFF;
211 /* This should be 15.6px - the equivalent of 14px at 90% scale. */ 211 /* This should be 15.6px - the equivalent of 14px at 90% scale. */
212 flex: auto; 212 flex: auto;
213 font-family: "Roboto"; 213 font: 24px Roboto, sans-serif;
214 font-size: 24px;
215 outline: none; 214 outline: none;
216 overflow: hidden; 215 overflow: hidden;
217 text-align: center; 216 text-align: center;
218 text-overflow: ellipsis; 217 text-overflow: ellipsis;
219 white-space: nowrap; 218 white-space: nowrap;
220 } 219 }
221 220
222 .auth-container, 221 .auth-container,
223 .password-entry-container, 222 .password-entry-container,
224 .reauth-hint-container { 223 .reauth-hint-container {
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 } 1101 }
1103 1102
1104 .small-pod.extra-small .small-user-image-container { 1103 .small-pod.extra-small .small-user-image-container {
1105 height: 60px; 1104 height: 60px;
1106 width: 60px; 1105 width: 60px;
1107 } 1106 }
1108 1107
1109 .small-pod-name { 1108 .small-pod-name {
1110 color: #FFFFFF; 1109 color: #FFFFFF;
1111 flex: auto; 1110 flex: auto;
1112 font-family: "Roboto"; 1111 font: 20px Roboto, sans-serif;
1113 font-size: 20px;
1114 height: 28px; 1112 height: 28px;
1115 left: 90px; 1113 left: 90px;
1116 opacity: 1; 1114 opacity: 1;
1117 outline: none; 1115 outline: none;
1118 overflow: hidden; 1116 overflow: hidden;
1119 padding: 23px 0; 1117 padding: 23px 0;
1120 position: absolute; 1118 position: absolute;
1121 text-overflow: ellipsis; 1119 text-overflow: ellipsis;
1122 white-space: nowrap; 1120 white-space: nowrap;
1123 width: 214px; 1121 width: 214px;
1124 } 1122 }
1125 1123
1126 .small-pod.extra-small .small-pod-name { 1124 .small-pod.extra-small .small-pod-name {
1127 left: 76px; 1125 left: 76px;
1128 padding: 16px 0; 1126 padding: 16px 0;
1129 width: 190px; 1127 width: 190px;
1130 } 1128 }
1131 1129
1132 @keyframes switch-image { 1130 @keyframes switch-image {
1133 from { transform: rotate3d(0, 1, 0, 90deg); } 1131 from { transform: rotate3d(0, 1, 0, 90deg); }
1134 to { transform: none; } 1132 to { transform: none; }
1135 } 1133 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698