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

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: 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 .user-image {
57 opacity: 1;
58 }
59
60 .pod.locked .locked-indicator {
61 background-image: -webkit-image-set(
62 url('chrome://theme/IDR_ICON_PROFILES_LOCKED') 1x,
63 url('chrome://theme/IDR_ICON_PROFILES_LOCKED@2x') 2x);
64 height: 31px;
65 left: 8px;
66 position: absolute;
67 top: 8px;
68 width: 31px;
69 }
70
71 html[dir=rtl] .pod.locked .locked-indicator {
72 left: auto;
73 right: 8px;
74 }
75
76 .pod.supervised-user .supervised-indicator {
77 background-image: -webkit-image-set(
78 url('chrome://theme/IDR_ICON_PROFILES_SUPERVISED') 1x,
79 url('chrome://theme/IDR_ICON_PROFILES_SUPERVISED@2x') 2x);
80 height: 31px;
81 left: 8px;
82 position: absolute;
83 top: 8px;
84 width: 31px;
85 }
86
87 html[dir=rtl] .pod.supervised-user .supervised-indicator {
88 left: auto;
89 right: 8px;
90 }
91
92 .main-pane {
93 left: 0;
94 top: 0;
95 }
96
97 html[dir=rtl] .main-pane {
98 right: 0;
99 }
100
101 .name-container,
102 .pod.focused:not(.multiprofiles-policy-applied) .auth-container {
103 top: 180px;
45 width: 180px; 104 width: 180px;
46 } 105 }
47 106
48 .pod .user-image { 107 .pod.focused:not(.locked) .name-container {
49 border-top-left-radius: 2px; 108 display: block;
50 border-top-right-radius: 2px;
51 height: 180px;
52 opacity: 1;
53 width: 180px;
54 } 109 }
55 110
56 .pod .name { 111 .pod .name {
57 color: #363636; 112 color: #363636;
58 font-size: 15px; 113 font-size: 15px;
59 line-height: 20px; 114 margin-top: 11px;
60 margin: 10px 0 10px;
61 } 115 }
62 116
63 /* For local/unlocked profiles, the name box becomes the focused element. 117 .pod.focused:not(.locked) .auth-container {
64 However, don't display the blue focus outline around it. */ 118 display: none;
65 .pod .name:focus {
66 outline: none;
67 } 119 }
68 120
69 /* For local/unlocked profiles, always display the name and not the 121 .pod.focused.locked .password-entry-container {
70 sign-in button. */ 122 display: flex;
71 .pod.need-password.focused .name { 123 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 } 124 }
108 125
109 .action-box-area { 126 .action-box-area {
110 background-color: #f5f5f5; 127 background-color: #f5f5f5;
111 height: 24px; 128 height: 24px;
112 width: 24px; 129 width: 24px;
113 } 130 }
114 131
115 .action-box-button, 132 .action-box-button,
116 .action-box-button:hover, 133 .action-box-button:hover,
117 .action-box-area.active .action-box-button { 134 .action-box-area.active .action-box-button {
118 background-image: none; 135 background-image: none;
119 border-left: 6px solid transparent; 136 border-left: 6px solid transparent;
120 border-right: 6px solid transparent; 137 border-right: 6px solid transparent;
121 border-top: 6px solid #989898; 138 border-top: 6px solid #989898;
122 height: 0; 139 height: 0;
123 left: 6px; 140 left: 6px;
124 margin: 0; 141 margin: 0;
125 position: absolute; 142 position: absolute;
126 top: 9px; 143 top: 9px;
127 width: 0; 144 width: 0;
128 } 145 }
129 146
130 .action-box-button:hover, 147 .action-box-button:hover,
131 .action-box-area.active .action-box-button { 148 .action-box-area.active .action-box-button {
132 border-top: 6px solid #4c4c4c; 149 border-top: 6px solid #4c4c4c;
133 } 150 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698