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

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

Issue 2100203003: Pin keyboard matches red lines (go/cros-quick-unlock-ux). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fixed patch set 3 errors. Created 4 years, 5 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
« no previous file with comments | « chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 28 matching lines...) Expand all
39 width: 180px; 39 width: 180px;
40 z-index: 0; 40 z-index: 0;
41 } 41 }
42 42
43 #account_picker.flying-pods .pod { 43 #account_picker.flying-pods .pod {
44 transition: all 180ms; 44 transition: all 180ms;
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 padding 180ms ease-in-out,
50 top 180ms ease-in-out, 49 top 180ms ease-in-out,
51 width 180ms ease-in-out; 50 width 180ms ease-in-out;
52 } 51 }
53 52
54 .pod.pin-enabled { 53 .pod.pin-enabled {
55 height: 600px; 54 height: 594px;
56 padding: 10px;
57 top: -200px !important; 55 top: -200px !important;
58 width: 256px; 56 width: 270px;
59 } 57 }
60 58
61 .pod .pin-container { 59 .pod .pin-container {
62 height: 334px; 60 height: 344px;
63 position: absolute; 61 position: absolute;
64 top: 276px; 62 top: 250px;
65 width: 256px; 63 width: 270px;
66 } 64 }
67 65
68 .pod.faded { 66 .pod.faded {
69 opacity: .75; 67 opacity: .75;
70 } 68 }
71 69
72 podrow[ncolumns='6'] .pod { 70 podrow[ncolumns='6'] .pod {
73 transform: scale3d(0.8, 0.8, 0.8); 71 transform: scale3d(0.8, 0.8, 0.8);
74 } 72 }
75 73
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 105
108 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the 106 /* TODO(noms): Refactor this out into a CrOS-specific file and simplify the
109 style rule once it is included on CrOS only. crbug.com/397638 */ 107 style rule once it is included on CrOS only. crbug.com/397638 */
110 html:not([screen=login-add-user]) .pod .user-image { 108 html:not([screen=login-add-user]) .pod .user-image {
111 max-height: 160px; 109 max-height: 160px;
112 max-width: 160px; 110 max-width: 160px;
113 opacity: 0.7; 111 opacity: 0.7;
114 position: absolute; 112 position: absolute;
115 top: 10px; 113 top: 10px;
116 transition: max-height 180ms ease-in-out, 114 transition: max-height 180ms ease-in-out,
117 max-width 180ms ease-in-out; 115 max-width 180ms ease-in-out,
116 top 180ms ease-in-out;
118 } 117 }
119 118
120 html:not([screen=login-add-user]) .pod .user-image.pin-enabled { 119 html:not([screen=login-add-user]) .pod .user-image.pin-enabled {
121 max-height: 256px; 120 max-height: 230px;
122 max-width: 256px; 121 max-width: 230px;
122 top: 20px;
123 } 123 }
124 124
125 html:not([screen=login-add-user]) .pod.focused .user-image { 125 html:not([screen=login-add-user]) .pod.focused .user-image {
126 opacity: 1; 126 opacity: 1;
127 } 127 }
128 128
129 .pod.multiprofiles-policy-applied .user-image { 129 .pod.multiprofiles-policy-applied .user-image {
130 -webkit-filter: grayscale(100%); 130 -webkit-filter: grayscale(100%);
131 } 131 }
132 132
133 .signed-in-indicator { 133 .signed-in-indicator {
134 display: none; 134 display: none;
135 } 135 }
136 136
137 .pod.signed-in .signed-in-indicator { 137 .pod.signed-in .signed-in-indicator {
138 background-color: rgba(0, 0, 0, 0.5); 138 background-color: rgba(0, 0, 0, 0.5);
139 color: white; 139 color: white;
140 display: block; 140 display: block;
141 font-size: small; 141 font-size: small;
142 left: 10px; 142 left: 10px;
143 position: absolute; 143 position: absolute;
144 text-align: center; 144 text-align: center;
145 top: 10px; 145 top: 10px;
146 transition: width 180ms ease-in-out; 146 transition: left 180ms ease-in-out,
147 top 180ms ease-in-out,
148 width 180ms ease-in-out;
147 width: 160px; 149 width: 160px;
148 } 150 }
149 151
150 .pod.signed-in .signed-in-indicator.pin-enabled { 152 .pod.signed-in .signed-in-indicator.pin-enabled {
151 width: 256px; 153 left: 20px;
xiyuan 2016/06/30 22:33:57 Would this work properly in RTL case? e.g. if you
154 top: 20px;
155 width: 230px;
152 } 156 }
153 157
154 .main-pane { 158 .main-pane {
155 left: 10px; 159 left: 10px;
156 position: absolute; 160 position: absolute;
157 top: 10px; 161 top: 10px;
158 z-index: 2; 162 z-index: 2;
159 } 163 }
160 164
161 html[dir=rtl] .main-pane { 165 html[dir=rtl] .main-pane {
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 -webkit-animation: ellipsis-component2 1.5s infinite; 888 -webkit-animation: ellipsis-component2 1.5s infinite;
885 } 889 }
886 890
887 @-webkit-keyframes ellipsis-component2 { 891 @-webkit-keyframes ellipsis-component2 {
888 0% { opacity: 0; } 892 0% { opacity: 0; }
889 25% { opacity: 0; } 893 25% { opacity: 0; }
890 50% { opacity: 0; } 894 50% { opacity: 0; }
891 75% { opacity: 1; } 895 75% { opacity: 1; }
892 100% { opacity: 0; } 896 100% { opacity: 0; }
893 } 897 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698