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

Side by Side Diff: chrome/browser/resources/md_user_manager/user_manager_styles.html

Issue 1916913010: MD User Manager: latest design change, css refactoring, accessiblity, and bug fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md-user-manager-stylesheets
Patch Set: Created 4 years, 7 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 <link rel="import" href="chrome://md-user-manager/shared_styles.html"> 1 <link rel="import" href="chrome://md-user-manager/shared_styles.html">
2 2
3 <dom-module id="user-manager-styles"> 3 <dom-module id="user-manager-styles">
4 <template> 4 <template>
5 <style include="shared-styles"> 5 <style include="shared-styles">
6 body { 6 body {
7 background-color: var(--paper-grey-200); 7 background-color: var(--paper-grey-200);
8 } 8 }
9 9
10 user-manager-pages, 10 user-manager-pages,
(...skipping 12 matching lines...) Expand all
23 box-shadow: 0 -1px 3px rgba(0, 0, 0, .2); 23 box-shadow: 0 -1px 3px rgba(0, 0, 0, .2);
24 } 24 }
25 25
26 /* Overrides src/ui/login/screen_container.css for the desktop user 26 /* Overrides src/ui/login/screen_container.css for the desktop user
27 * manager. */ 27 * manager. */
28 28
29 #outer-container { 29 #outer-container {
30 min-height: 0; 30 min-height: 0;
31 overflow-x: hidden; 31 overflow-x: hidden;
32 overflow-y: auto; 32 overflow-y: auto;
33 padding-bottom: 40px; 33 padding: 40px 0 30px;
34 padding-top: 40px;
35 z-index: initial; 34 z-index: initial;
36 } 35 }
37 36
38 .bubble.faded { 37 .bubble.faded {
39 opacity: 0; 38 opacity: 0;
40 } 39 }
41 40
42 .pod { 41 .pod {
43 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .24), 42 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .24),
44 0 0 2px 0 rgba(0, 0, 0, .12); 43 0 0 2px 0 rgba(0, 0, 0, .12);
45 color: var(--paper-grey-800); 44 color: var(--paper-grey-800);
46 cursor: default; 45 cursor: default;
47 height: auto; 46 height: auto;
48 transform: none; 47 transform: none;
49 width: auto; 48 width: auto;
50 } 49 }
51 50
52 .pod.faded { 51 .pod.faded {
53 opacity: 1; 52 opacity: 1;
54 } 53 }
55 54
56 .pod.focused, 55 .pod.focused,
57 .pod.hovered { 56 .pod.hovered {
58 box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .26), 57 box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .26),
59 0 14px 28px 0 rgba(0, 0, 0, .25); 58 0 14px 28px 0 rgba(0, 0, 0, .25);
60 } 59 }
61 60
62 .pod.focused.locked {
63 box-shadow: 0 12px 21px rgba(0, 0, 0, .2);
64 height: auto;
65 }
66
67 .pod .user-image-pane { 61 .pod .user-image-pane {
68 border-top-left-radius: 2px; 62 border-top-left-radius: 2px;
69 border-top-right-radius: 2px; 63 border-top-right-radius: 2px;
70 position: static; 64 position: static;
71 } 65 }
72 66
73 .pod .user-image { 67 .pod .user-image {
74 height: 160px; 68 height: 160px;
75 width: 160px; 69 width: 160px;
76 } 70 }
77 71
78 .pod .main-pane { 72 .pod .main-pane {
79 line-height: 20px; 73 line-height: 20px;
80 padding: 10px; 74 padding: 10px;
81 position: static; 75 position: static;
82 } 76 }
83 77
84 .pod .main-pane .name-container { 78 .pod .main-pane .name-container {
85 display: block; 79 display: block;
86 position: static; 80 position: static;
87 width: auto; 81 width: auto;
88 } 82 }
89 83
90 .pod .main-pane .name-container .name { 84 .pod .main-pane .name-container .name,
85 .reauth-hint-container .reauth-name-hint {
91 color: inherit; 86 color: inherit;
92 font-size: inherit; 87 font-size: inherit;
93 margin: 0; 88 margin: 0;
94 padding: 0; 89 padding: 0;
95 text-align: initial; 90 text-align: initial;
96 width: 118px; 91 width: 120px;
97 } 92 }
98 93
99 .pod .indicator-container { 94 .pod .indicator-container {
100 background-color: rgba(255, 255, 255, .85); 95 background-color: rgba(255, 255, 255, .85);
101 border-radius: 0; 96 border-radius: 0;
102 bottom: 10px; 97 bottom: 10px;
103 height: 20px; 98 height: 20px;
104 left: auto; 99 left: auto;
105 position: absolute; 100 position: absolute;
106 right: 10px; 101 right: 10px;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 padding: 10px; 181 padding: 10px;
187 top: 0; 182 top: 0;
188 width: 140px; 183 width: 140px;
189 } 184 }
190 185
191 .pod .auth-container input[type='password']:focus { 186 .pod .auth-container input[type='password']:focus {
192 outline: 0; 187 outline: 0;
193 } 188 }
194 189
195 .pod[auth-type='onlineSignIn'] .reauth-hint-container { 190 .pod[auth-type='onlineSignIn'] .reauth-hint-container {
191 flex-direction: row-reverse;
196 margin: 0; 192 margin: 0;
197 padding: 10px 0; 193 padding: 10px;
198 } 194 }
199 195
200 .reauth-hint-container .reauth-warning { 196 .reauth-hint-container .reauth-warning {
201 height: 20px; 197 height: 20px;
202 width: 20px; 198 width: 20px;
203 } 199 }
204 200
205 .reauth-hint-container .reauth-name-hint {
206 color: inherit;
207 font-size: inherit;
208 }
209
210 .action-box-area.active .action-box-button { 201 .action-box-area.active .action-box-button {
211 display: none; 202 display: none;
212 } 203 }
213 204
214 .action-box-area.active ~ .action-box-menu:not(.menu-moved-up) { 205 .action-box-area.active ~ .action-box-menu:not(.menu-moved-up) {
215 top: 8px; 206 top: 8px;
216 } 207 }
217 208
218 .action-box-area.active ~ .action-box-menu { 209 .action-box-area.active ~ .action-box-menu {
219 border: none; 210 border: none;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 } 257 }
267 258
268 .action-box-remove-user-warning .remove-warning-button { 259 .action-box-remove-user-warning .remove-warning-button {
269 background: var(--google-red-700); 260 background: var(--google-red-700);
270 min-width: 72px; 261 min-width: 72px;
271 width: auto; 262 width: auto;
272 } 263 }
273 </style> 264 </style>
274 </template> 265 </template>
275 </dom-module> 266 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698