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

Side by Side Diff: chrome/browser/resources/chromeos/login/header_bar.css

Issue 2610193002: Focus style for Add supervised user button (Closed)
Patch Set: Created 3 years, 11 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 | « 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 (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 #login-header-bar { 5 #login-header-bar {
6 -webkit-padding-start: 15px; 6 -webkit-padding-start: 15px;
7 bottom: 0; 7 bottom: 0;
8 left: 0; 8 left: 0;
9 padding-bottom: 6px; 9 padding-bottom: 6px;
10 position: absolute; 10 position: absolute;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } 59 }
60 60
61 .add-supervised-user-menu { 61 .add-supervised-user-menu {
62 display: none; 62 display: none;
63 } 63 }
64 64
65 #more-settings-header-bar-item.active button.add-supervised-user-menu { 65 #more-settings-header-bar-item.active button.add-supervised-user-menu {
66 background-color: white; 66 background-color: white;
67 border: 1px solid lightgray; 67 border: 1px solid lightgray;
68 border-radius: 2px; 68 border-radius: 2px;
69 bottom: 15px; 69 bottom: 10px;
70 color: black !important; 70 color: black !important;
Evan Stade 2017/01/04 23:43:17 side note: we try hard to avoid !important
Greg Levin 2017/01/05 18:25:54 Acknowledged (no idea why this was marked importan
71 display: block; 71 display: block;
72 font-size: 13px; 72 font-size: 13px;
73 height: auto; 73 height: auto;
74 left: 15px; 74 left: 15px;
75 margin: 0 0 -10px -10px; 75 margin: 0 0 -10px -10px;
Greg Levin 2017/01/04 21:31:25 I'm still learning the subtleties of css. This ap
Evan Stade 2017/01/04 23:43:17 do you not want bottom:5px? Why is this button mov
Greg Levin 2017/01/05 18:25:54 Requested in issue comment: https://bugs.chromium.
76 min-height: 34px; 76 min-height: 34px;
77 position: absolute; 77 position: absolute;
78 text-align: center; 78 text-align: center;
79 width: 180px; 79 width: 180px;
80 } 80 }
81 81
82 #more-settings-header-bar-item.active button.add-supervised-user-menu:focus {
83 border: 2px solid var(--google-blue-500);
84 border-radius: 2px;
85 }
86
82 html[dir=rtl] #more-settings-header-bar-item.active 87 html[dir=rtl] #more-settings-header-bar-item.active
83 button.add-supervised-user-menu { 88 button.add-supervised-user-menu {
84 right: 0; 89 right: 0;
Evan Stade 2017/01/04 23:43:17 I believe you could just move this rule into the n
Greg Levin 2017/01/05 18:25:54 Turns out this rule was only needed because "left:
85 } 90 }
86 91
87 html[dir=rtl] .header-bar-item { 92 html[dir=rtl] .header-bar-item {
88 background-position: right center; 93 background-position: right center;
89 } 94 }
90 95
91 #login-header-bar #shutdown-button-text, 96 #login-header-bar #shutdown-button-text,
92 #login-header-bar #restart-button-text, 97 #login-header-bar #restart-button-text,
93 #login-header-bar #add-user-button-text, 98 #login-header-bar #add-user-button-text,
94 #login-header-bar #guest-user-button-text, 99 #login-header-bar #guest-user-button-text,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 background-image: -webkit-image-set( 163 background-image: -webkit-image-set(
159 url(images/1x/signout.svg) 1x, 164 url(images/1x/signout.svg) 1x,
160 url(images/2x/signout.svg) 2x ); 165 url(images/2x/signout.svg) 2x );
161 } 166 }
162 167
163 .button-restricted { 168 .button-restricted {
164 border: 1px solid transparent; 169 border: 1px solid transparent;
165 color: white !important; 170 color: white !important;
166 opacity: 0.4 !important; 171 opacity: 0.4 !important;
167 } 172 }
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