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

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

Issue 476193003: User Manager: fix text blurriness and "remove" button style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: border comes before box. alphabets! Created 6 years, 4 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
« no previous file with comments | « no previous file | 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 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
8 .oobe-display { 8 .oobe-display {
9 background-color: #eee; 9 background-color: #eee;
10 } 10 }
11 11
12 #outer-container { 12 #outer-container {
13 min-height: 0; 13 min-height: 0;
14 } 14 }
15 15
16 .bubble.faded { 16 .bubble.faded {
17 opacity: 0; 17 opacity: 0;
18 } 18 }
19 19
20 .pod { 20 .pod {
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 height: 226px; 22 height: 226px;
23 /* On non-retina desktop, the text is blurry if we use the scale3d()
24 inherited from user_pod_row.js */
25 transform: scale(0.9);
26 }
27
28 podrow[ncolumns='6'] .pod {
29 transform: scale(0.8);
23 } 30 }
24 31
25 .pod.faded { 32 .pod.faded {
26 opacity: .4; 33 opacity: .4;
27 } 34 }
28 35
29 .pod.hovered:not(.focused) { 36 .pod.hovered:not(.focused) {
30 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 37 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
31 opacity: 0.9;
32 } 38 }
33 39
34 .pod.focused { 40 .pod.focused {
35 box-shadow: 0 16px 21px rgba(0, 0, 0, 0.2); 41 box-shadow: 0 16px 21px rgba(0, 0, 0, 0.2);
42 transform: scale(1) !important;
36 } 43 }
37 44
38 .pod.focused.locked { 45 .pod.focused.locked {
39 box-shadow: 0 12px 21px rgba(0, 0, 0, 0.2); 46 box-shadow: 0 12px 21px rgba(0, 0, 0, 0.2);
40 height: 220px; 47 height: 220px;
41 } 48 }
42 49
43 .user-image-pane { 50 .user-image-pane {
44 border-top-left-radius: 2px; 51 border-top-left-radius: 2px;
45 border-top-right-radius: 2px; 52 border-top-right-radius: 2px;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 } 136 }
130 137
131 .pod.focused.locked .password-entry-container { 138 .pod.focused.locked .password-entry-container {
132 display: flex; 139 display: flex;
133 flex: auto; 140 flex: auto;
134 } 141 }
135 142
136 .action-box-area { 143 .action-box-area {
137 background-color: #f5f5f5; 144 background-color: #f5f5f5;
138 height: 24px; 145 height: 24px;
146 /* Because of crbug.com/406529, the text in the .name div is janky if there's
147 an opacity transition in this div. */
148 transition: none;
139 width: 24px; 149 width: 24px;
140 } 150 }
141 151
142 .action-box-button, 152 .action-box-button,
143 .action-box-button:hover, 153 .action-box-button:hover,
144 .action-box-area.active .action-box-button { 154 .action-box-area.active .action-box-button {
145 background-image: none; 155 background-image: none;
146 border-left: 6px solid transparent; 156 border-left: 6px solid transparent;
147 border-right: 6px solid transparent; 157 border-right: 6px solid transparent;
148 border-top: 6px solid #989898; 158 border-top: 6px solid #989898;
149 height: 0; 159 height: 0;
150 left: 6px; 160 left: 6px;
151 margin: 0; 161 margin: 0;
152 position: absolute; 162 position: absolute;
153 top: 9px; 163 top: 9px;
154 width: 0; 164 width: 0;
155 } 165 }
156 166
157 .action-box-button:hover, 167 .action-box-button:hover,
158 .action-box-area.active .action-box-button { 168 .action-box-area.active .action-box-button {
159 border-top: 6px solid #4c4c4c; 169 border-top: 6px solid #4c4c4c;
160 } 170 }
171
172 .action-box-remove-user-warning .remove-warning-button {
173 height: 30px;
174 }
175
176 .action-box-remove-user-warning .remove-warning-button:focus {
177 /* Override the default blue border inherited from
178 button.custom-appearance:focus. */
179 border: 1px solid transparent !important;
180 box-shadow: inset 0 0 0 1px #fff;
181 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698