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

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

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

Powered by Google App Engine
This is Rietveld 408576698