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

Side by Side Diff: chrome/browser/resources/user_manager/user_manager.css

Issue 369893005: Implement new design for expanded public session pod design (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed ScreenLockerTest. Rebased. Created 6 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 | Annotate | Revision Log
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 2013 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 5
6 /* Overrides for the desktop user manager screen. */ 6 /* Overrides for the desktop user manager screen. */
7
7 .oobe-display { 8 .oobe-display {
8 background-color: #eee; 9 background-color: #eee;
9 } 10 }
10 11
11 #outer-container { 12 #outer-container {
12 min-height: 0; 13 min-height: 0;
13 } 14 }
14 15
15 .bubble.faded { 16 .bubble.faded {
16 opacity: 0; 17 opacity: 0;
17 } 18 }
18 19
19 .pod { 20 .pod {
20 border-radius: 2px;
21 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); 21 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
22 padding: 0; 22 height: 226px;
23 width: 180px;
24 } 23 }
25 24
26 .pod.faded { 25 .pod.faded {
27 opacity: .4; 26 opacity: .4;
28 } 27 }
29 28
30 .pod.hovered:not(.focused) { 29 .pod.hovered:not(.focused) {
31 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 30 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
32 opacity: 0.9 !important; 31 opacity: 0.9;
33 } 32 }
34 33
35 .pod.focused { 34 .pod.focused {
36 box-shadow: 0 12px 21px rgba(0, 0, 0, 0.2); 35 box-shadow: 0 16px 21px rgba(0, 0, 0, 0.2);
37 } 36 }
38 37
39 .pod .main-pane { 38 .pod.focused.locked {
39 box-shadow: 0 12px 21px rgba(0, 0, 0, 0.2);
40 height: 220px;
41 }
42
43 .user-image-pane {
44 border-top-left-radius: 2px;
45 border-top-right-radius: 2px;
46 height: 180px;
47 left: 0;
48 top: 0;
40 width: 180px; 49 width: 180px;
41 } 50 }
42 51
43 .pod .user-image-container { 52 html[dir=rtl] .user-image-pane {
44 height: 180px; 53 right: 0;
54 }
55
56 .pod .user-image {
57 max-height: 180px;
58 max-width: 180px;
59 opacity: 1;
60 }
61
62 .pod.locked .locked-indicator {
63 background-image: -webkit-image-set(
64 url('chrome://theme/IDR_ICON_PROFILES_LOCKED') 1x,
65 url('chrome://theme/IDR_ICON_PROFILES_LOCKED@2x') 2x);
66 height: 31px;
67 left: 8px;
68 position: absolute;
69 top: 8px;
70 width: 31px;
71 }
72
73 html[dir=rtl] .pod.locked .locked-indicator {
74 left: auto;
75 right: 8px;
76 }
77
78 .pod.supervised-user .supervised-indicator {
79 background-image: -webkit-image-set(
80 url('chrome://theme/IDR_ICON_PROFILES_SUPERVISED') 1x,
81 url('chrome://theme/IDR_ICON_PROFILES_SUPERVISED@2x') 2x);
82 height: 31px;
83 left: 8px;
84 position: absolute;
85 top: 8px;
86 width: 31px;
87 }
88
89 html[dir=rtl] .pod.supervised-user .supervised-indicator {
90 left: auto;
91 right: 8px;
92 }
93
94 .main-pane {
95 left: 0;
96 top: 0;
97 }
98
99 html[dir=rtl] .main-pane {
100 right: 0;
101 }
102
103 .name-container,
104 .pod.focused:not(.multiprofiles-policy-applied) .auth-container {
105 top: 180px;
45 width: 180px; 106 width: 180px;
46 } 107 }
47 108
48 .pod .user-image { 109 .pod.focused:not(.locked) .name-container {
49 border-top-left-radius: 2px; 110 display: block;
50 border-top-right-radius: 2px;
51 height: 180px;
52 opacity: 1;
53 width: 180px;
54 } 111 }
55 112
56 .pod .name { 113 .pod .name {
57 color: #363636; 114 color: #363636;
58 font-size: 15px; 115 font-size: 15px;
59 line-height: 20px; 116 margin-top: 11px;
60 margin: 10px 0 10px;
61 } 117 }
62 118
63 /* For local/unlocked profiles, the name box becomes the focused element. 119 .pod.focused:not(.locked) .auth-container {
64 However, don't display the blue focus outline around it. */ 120 display: none;
65 .pod .name:focus {
66 outline: none;
67 } 121 }
68 122
69 /* For local/unlocked profiles, always display the name and not the 123 .pod.focused.locked .password-entry-container {
70 sign-in button. */ 124 display: flex;
71 .pod.need-password.focused .name { 125 flex: auto;
72 display: block;
73 }
74
75 .pod .locked-indicator {
76 background-image: -webkit-image-set(
77 url('chrome://theme/IDR_ICON_PROFILES_LOCKED') 1x,
78 url('chrome://theme/IDR_ICON_PROFILES_LOCKED@2x') 2x);
79 background-repeat: no-repeat;
80 height: 35px;
81 left: 8px;
82 position: absolute;
83 top: 8px;
84 width: 35px;
85 z-index: 1;
86 }
87
88 html[dir=rtl] .pod .locked-indicator {
89 right: 8px;
90 }
91
92 .pod .supervised-indicator {
93 background-image: -webkit-image-set(
94 url('chrome://theme/IDR_ICON_PROFILES_SUPERVISED') 1x,
95 url('chrome://theme/IDR_ICON_PROFILES_SUPERVISED@2x') 2x);
96 background-repeat: no-repeat;
97 height: 35px;
98 left: 8px;
99 position: absolute;
100 top: 8px;
101 width: 35px;
102 z-index: 1;
103 }
104
105 html[dir=rtl] .pod .supervised-indicator {
106 right: 8px;
107 } 126 }
108 127
109 .action-box-area { 128 .action-box-area {
110 background-color: #f5f5f5; 129 background-color: #f5f5f5;
111 height: 24px; 130 height: 24px;
112 width: 24px; 131 width: 24px;
113 } 132 }
114 133
115 .action-box-button, 134 .action-box-button,
116 .action-box-button:hover, 135 .action-box-button:hover,
117 .action-box-area.active .action-box-button { 136 .action-box-area.active .action-box-button {
118 background-image: none; 137 background-image: none;
119 border-left: 6px solid transparent; 138 border-left: 6px solid transparent;
120 border-right: 6px solid transparent; 139 border-right: 6px solid transparent;
121 border-top: 6px solid #989898; 140 border-top: 6px solid #989898;
122 height: 0; 141 height: 0;
123 left: 6px; 142 left: 6px;
124 margin: 0; 143 margin: 0;
125 position: absolute; 144 position: absolute;
126 top: 9px; 145 top: 9px;
127 width: 0; 146 width: 0;
128 } 147 }
129 148
130 .action-box-button:hover, 149 .action-box-button:hover,
131 .action-box-area.active .action-box-button { 150 .action-box-area.active .action-box-button {
132 border-top: 6px solid #4c4c4c; 151 border-top: 6px solid #4c4c4c;
133 } 152 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/login/user_pod_template.html ('k') | chrome/browser/signin/screenlock_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698