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

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

Issue 2873173002: Fork header bar assets for new login UI (Closed)
Patch Set: Created 3 years, 7 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 | chrome/browser/resources/chromeos/login/md_header_bar.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 * found in the LICENSE file. */
4
5 #login-header-bar {
6 -webkit-padding-start: 15px;
7 bottom: 0;
8 left: 0;
9 min-height: 34px; /* Should be consistent with .header-bar-item's height. */
10 padding-bottom: 6px;
11 position: absolute;
12 right: 0;
13 }
14
15 #login-header-bar {
16 background-color: rgba(0, 0, 0, 0.6);
17 padding-top: 7px;
18 }
19
20 html[screen=lock] .login-header-bar-hidden,
21 html[screen=oobe] .login-header-bar-hidden {
22 opacity: 0;
23 }
24
25 html[screen=lock] .login-header-bar-animate-fast,
26 html[screen=oobe] .login-header-bar-animate-fast {
27 transition: opacity 200ms ease-out;
28 }
29
30 html[screen=lock] .login-header-bar-animate-slow,
31 html[screen=oobe] .login-header-bar-animate-slow {
32 transition: opacity 2s ease-out;
33 }
34
35 #login-header-bar button,
36 #login-header-bar button:active,
37 #login-header-bar button:focus,
38 #login-header-bar button:hover {
39 background: transparent none;
40 box-shadow: none;
41 cursor: pointer;
42 height: 34px;
43 margin: 0;
44 min-width: 0;
45 opacity: 0.6;
46 padding: 5px 8px;
47 vertical-align: middle;
48 }
49
50 #login-header-bar button:not(.button-restricted),
51 #login-header-bar button:active:not(.button-restricted),
52 #login-header-bar button:focus:not(.button-restricted),
53 #login-header-bar button:hover:not(.button-restricted) {
54 color: white !important;
55 opacity: 1 !important;
56 }
57
58 .header-bar-item {
59 height: 34px;
60 }
61
62 .add-supervised-user-menu {
63 display: none;
64 }
65
66 #more-settings-header-bar-item.active button.add-supervised-user-menu {
67 background-color: white;
68 border: 1px solid lightgray;
69 border-radius: 2px;
70 bottom: 0;
71 color: black !important;
72 display: block;
73 font-size: 13px;
74 height: auto;
75 min-height: 34px;
76 padding: 0 16px;
77 position: absolute;
78 text-align: center;
79 white-space: nowrap;
80 }
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 padding: 0 15px;
86 }
87
88 html[dir=rtl] .header-bar-item {
89 background-position: right center;
90 }
91
92 #login-header-bar #shutdown-button-text,
93 #login-header-bar #restart-button-text,
94 #login-header-bar #add-user-button-text,
95 #login-header-bar #guest-user-button-text,
96 #login-header-bar #more-settings-button-text,
97 #login-header-bar #cancel-multiple-sign-in-button-text,
98 #login-header-bar #sign-out-user-button-text {
99 -webkit-padding-start: 28px;
100 background-position: left center;
101 background-repeat: no-repeat;
102 background-size: 20px;
103 }
104
105 html[dir=rtl] #login-header-bar #shutdown-button-text,
106 html[dir=rtl] #login-header-bar #restart-button-text,
107 html[dir=rtl] #login-header-bar #add-user-button-text,
108 html[dir=rtl] #login-header-bar #more-settings-button-text,
109 html[dir=rtl] #login-header-bar #guest-user-button-text,
110 html[dir=rtl] #login-header-bar #cancel-multiple-sign-in-button-text,
111 html[dir=rtl] #login-header-bar #sign-out-user-button-text {
112 background-position: right center;
113 }
114
115 #login-header-bar #shutdown-button,
116 #login-header-bar #restart-button,
117 #login-header-bar #add-user-button,
118 #login-header-bar #guest-user-button,
119 #login-header-bar #more-settings-button,
120 #login-header-bar #cancel-multiple-sign-in-button {
121 padding: 0 14px;
122 }
123
124 #login-header-bar #more-settings-header-bar-item {
125 position: relative;
126 }
127
128 #login-header-bar #shutdown-button-text,
129 #login-header-bar #restart-button-text {
130 background-image: -webkit-image-set(
131 url(images/1x/shutdown.svg) 1x,
132 url(images/2x/shutdown.svg) 2x );
133 }
134
135 #login-header-bar #add-user-button-text {
136 background-image: -webkit-image-set(
137 url(images/1x/add-person.svg) 1x,
138 url(images/2x/add-person.svg) 2x );
139 }
140
141 #login-header-bar #more-settings-button-text {
142 background-image: -webkit-image-set(
143 url(images/1x/more-settings.svg) 1x,
144 url(images/2x/more-settings.svg) 2x );
145 }
146
147 #login-header-bar #guest-user-button-text {
148 background-image: -webkit-image-set(
149 url(images/1x/browse-as-guest.svg) 1x,
150 url(images/2x/browse-as-guest.svg) 2x );
151 }
152
153 #login-header-bar #cancel-multiple-sign-in-button-text {
154 background-image: -webkit-image-set(
155 url(images/1x/cancel.svg) 1x,
156 url(images/2x/cancel.svg) 2x );
157 }
158
159 #login-header-bar #sign-out-user-button-text {
160 background-image: -webkit-image-set(
161 url(images/1x/signout.svg) 1x,
162 url(images/2x/signout.svg) 2x );
163 }
164
165 .button-restricted {
166 border: 1px solid transparent;
167 color: white !important;
168 opacity: 0.4 !important;
169 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/md_header_bar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698