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

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

Issue 2947213003: Signin screen polish in response to UI review (Closed)
Patch Set: changes after meeting with UX Created 3 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
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 min-height: 34px; /* Should be consistent with .header-bar-item's height. */ 9 min-height: 34px; /* Should be consistent with .header-bar-item's height. */
10 padding-bottom: 6px; 10 padding-bottom: 6px;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #login-header-bar button:not(.button-restricted), 53 #login-header-bar button:not(.button-restricted),
54 #login-header-bar button:active:not(.button-restricted), 54 #login-header-bar button:active:not(.button-restricted),
55 #login-header-bar button:focus:not(.button-restricted), 55 #login-header-bar button:focus:not(.button-restricted),
56 #login-header-bar button:hover:not(.button-restricted) { 56 #login-header-bar button:hover:not(.button-restricted) {
57 color: white !important; 57 color: white !important;
58 opacity: 1 !important; 58 opacity: 1 !important;
59 } 59 }
60 60
61 .header-bar-item { 61 .header-bar-item {
62 height: 34px; 62 height: 34px;
63 z-index: 3; /* Stays above the scrollable container. */
63 } 64 }
64 65
65 .add-supervised-user-menu { 66 .add-supervised-user-menu {
66 display: none; 67 display: none;
67 } 68 }
68 69
69 #more-settings-header-bar-item.active button.add-supervised-user-menu { 70 #more-settings-header-bar-item.active button.add-supervised-user-menu {
70 background-color: white; 71 background-color: white;
71 border: 1px solid lightgray; 72 border: 1px solid lightgray;
72 border-radius: 2px; 73 border-radius: 2px;
73 bottom: 0; 74 bottom: 0;
74 color: black !important; 75 color: black !important;
75 display: block; 76 display: block;
76 font-size: 13px; 77 font-size: 13px;
77 height: auto; 78 height: auto;
78 min-height: 34px; 79 min-height: 34px;
79 padding: 0 16px; 80 padding: 0 16px;
80 position: absolute; 81 position: absolute;
81 text-align: center; 82 text-align: center;
82 white-space: nowrap; 83 white-space: nowrap;
83 z-index: 3; 84 z-index: 3;
84 } 85 }
85 86
86 #more-settings-header-bar-item.active button.add-supervised-user-menu:focus { 87 #more-settings-header-bar-item.active button.add-supervised-user-menu:focus {
87 border: 2px solid var(--google-blue-500); 88 font-weight: bold;
88 border-radius: 2px;
89 padding: 0 15px;
90 } 89 }
91 90
92 html[dir=rtl] .header-bar-item { 91 html[dir=rtl] .header-bar-item {
93 background-position: right center; 92 background-position: right center;
94 } 93 }
95 94
96 #login-header-bar #shutdown-button-text, 95 #login-header-bar #shutdown-button-text,
97 #login-header-bar #restart-button-text, 96 #login-header-bar #restart-button-text,
97 #login-header-bar #show-apps-button-text,
98 #login-header-bar #add-user-button-text, 98 #login-header-bar #add-user-button-text,
99 #login-header-bar #guest-user-button-text, 99 #login-header-bar #guest-user-button-text,
100 #login-header-bar #more-settings-button-text, 100 #login-header-bar #more-settings-button-text,
101 #login-header-bar #cancel-multiple-sign-in-button-text, 101 #login-header-bar #cancel-multiple-sign-in-button-text,
102 #login-header-bar #sign-out-user-button-text, 102 #login-header-bar #sign-out-user-button-text,
103 #login-header-bar #unlock-user-button-text { 103 #login-header-bar #unlock-user-button-text {
104 -webkit-padding-start: 28px; 104 -webkit-padding-start: 28px;
105 background-position: left center; 105 background-position: left center;
106 background-repeat: no-repeat; 106 background-repeat: no-repeat;
107 background-size: 20px; 107 background-size: 20px;
108 } 108 }
109 109
110 html[dir=rtl] #login-header-bar #shutdown-button-text, 110 html[dir=rtl] #login-header-bar #shutdown-button-text,
111 html[dir=rtl] #login-header-bar #restart-button-text, 111 html[dir=rtl] #login-header-bar #restart-button-text,
112 html[dir=rtl] #login-header-bar #show-apps-button-text,
112 html[dir=rtl] #login-header-bar #add-user-button-text, 113 html[dir=rtl] #login-header-bar #add-user-button-text,
113 html[dir=rtl] #login-header-bar #more-settings-button-text, 114 html[dir=rtl] #login-header-bar #more-settings-button-text,
114 html[dir=rtl] #login-header-bar #guest-user-button-text, 115 html[dir=rtl] #login-header-bar #guest-user-button-text,
115 html[dir=rtl] #login-header-bar #cancel-multiple-sign-in-button-text, 116 html[dir=rtl] #login-header-bar #cancel-multiple-sign-in-button-text,
116 html[dir=rtl] #login-header-bar #sign-out-user-button-text, 117 html[dir=rtl] #login-header-bar #sign-out-user-button-text,
117 html[dir=rtl] #login-header-bar #unlock-user-button-text { 118 html[dir=rtl] #login-header-bar #unlock-user-button-text {
118 background-position: right center; 119 background-position: right center;
119 } 120 }
120 121
121 #login-header-bar #shutdown-button, 122 #login-header-bar #shutdown-button,
(...skipping 12 matching lines...) Expand all
134 position: relative; 135 position: relative;
135 } 136 }
136 137
137 #login-header-bar #shutdown-button-text, 138 #login-header-bar #shutdown-button-text,
138 #login-header-bar #restart-button-text { 139 #login-header-bar #restart-button-text {
139 background-image: -webkit-image-set( 140 background-image: -webkit-image-set(
140 url(images/1x/shutdown.svg) 1x, 141 url(images/1x/shutdown.svg) 1x,
141 url(images/2x/shutdown.svg) 2x ); 142 url(images/2x/shutdown.svg) 2x );
142 } 143 }
143 144
145 #login-header-bar #show-apps-button-text {
146 background-image: -webkit-image-set(
147 url(images/1x/show-apps.svg) 1x,
148 url(images/2x/show-apps.svg) 2x );
149 }
150
144 #login-header-bar #add-user-button-text { 151 #login-header-bar #add-user-button-text {
145 background-image: -webkit-image-set( 152 background-image: -webkit-image-set(
146 url(images/1x/add-person.svg) 1x, 153 url(images/1x/add-person.svg) 1x,
147 url(images/2x/add-person.svg) 2x ); 154 url(images/2x/add-person.svg) 2x );
148 } 155 }
149 156
150 #login-header-bar #more-settings-button-text { 157 #login-header-bar #more-settings-button-text {
151 background-image: -webkit-image-set( 158 background-image: -webkit-image-set(
152 url(images/1x/more-settings.svg) 1x, 159 url(images/1x/more-settings.svg) 1x,
153 url(images/2x/more-settings.svg) 2x ); 160 url(images/2x/more-settings.svg) 2x );
(...skipping 21 matching lines...) Expand all
175 background-image: -webkit-image-set( 182 background-image: -webkit-image-set(
176 url(images/1x/unlock.svg) 1x, 183 url(images/1x/unlock.svg) 1x,
177 url(images/2x/unlock.svg) 2x ); 184 url(images/2x/unlock.svg) 2x );
178 } 185 }
179 186
180 .button-restricted { 187 .button-restricted {
181 border: 1px solid transparent; 188 border: 1px solid transparent;
182 color: white !important; 189 color: white !important;
183 opacity: 0.4 !important; 190 opacity: 0.4 !important;
184 } 191 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698