[cros new GAIA] Update GAIA card size
[chromium-blink-merge.git] / chrome / browser / resources / chromeos / login / screen_gaia_signin.css
blob012e6599e54f41121507100d59bf61e72a1e44b3
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 */
6 #gaia-signin {
7 height: 609px; /* Should be the same as #user-image.loading min-heigth. */
8 padding: 70px 17px 69px; /* Screen has no controls. */
9 width: 722px; /* Should be the same as #user-image.loading width. */
12 #gaia-signin:not(.full-width).no-right-panel {
13 width: 522px;
16 .new-gaia-flow #gaia-signin {
17 height: 528px;
18 padding: 0 0 0;
19 width: 448px;
22 .new-gaia-flow .throbber {
23 display: none;
26 throbber-notice {
27 display: none;
30 .new-gaia-flow throbber-notice {
31 display: block;
34 #gaia-signin.full-width {
35 padding: 75px 0 0;
38 #signin-right {
39 -webkit-margin-start: 30px;
40 margin-top: 80px;
41 top: 60px;
42 width: 200px;
45 #signin-right,
46 #enterprise-info-container,
47 #saml-info-container {
48 font-size: 12px;
51 /* For touch-optimized UI, make the links bigger. */
52 @media (pointer:coarse) {
53 #signin-right {
54 font-size: 14px;
58 .new-gaia-flow #signin-right,
59 .no-right-panel #signin-right {
60 display: none;
63 #close-button-item {
64 background: transparent none;
65 background-image: url(chrome://theme/IDR_LOGIN_CLOSE_BUTTTON);
66 background-position: center;
67 background-repeat: no-repeat;
68 height: 14px;
69 position: absolute;
70 right: 15px;
71 top: 15px;
72 width: 14px;
73 z-index: 1;
76 html[dir=rtl] #close-button-item {
77 left: 15px;
78 right: auto;
81 .loading #close-button-item {
82 background-image: url(chrome://theme/IDR_LOGIN_CLOSE_BUTTTON_ON_WHITE);
85 .loading.auth-completed #close-button-item {
86 display: none;
89 #close-button-item:disabled {
90 background-image: url(chrome://theme/IDR_LOGIN_CLOSE_BUTTTON_MASKED);
93 #back-button-item {
94 background: transparent none;
95 background-image: url(chrome://theme/IDR_LOGIN_BACK_BUTTTON);
96 background-position: center;
97 background-repeat: no-repeat;
98 height: 18px;
99 left: 14px;
100 position: absolute;
101 top: 14px;
102 width: 18px;
103 z-index: 1;
106 html[dir=rtl] #back-button-item {
107 -webkit-transform: scaleX(-1);
108 left: auto;
109 right: 14px;
112 #back-button-item:disabled {
113 background-image: url(chrome://theme/IDR_LOGIN_BACK_BUTTTON_MASKED);
116 .signin-text {
117 color: #666;
118 margin-top: 20px;
121 .signin-link {
122 color: rgb(37, 79, 155);
123 cursor: pointer;
124 text-decoration: none;
127 .signin-link:focus {
128 -webkit-transition: outline-color 200ms;
129 /* Note: May use 1px solid here. */
130 outline-color: rgb(77, 144, 254);
133 #gaia-signin-form-container,
134 #signin-frame {
135 height: 100%;
138 .full-width #signin-frame,
139 .full-width #gaia-signin-form-container {
140 width: 100%;
143 .signin-divider {
144 background: linear-gradient(
145 to bottom,
146 #e3e3e3,
147 #cacaca 50%,
148 #e3e3e3);
149 border: none;
150 width: 1px;
153 .gaia-signin .new-gaia-flow #step-logo,
154 .gaia-signin .new-gaia-flow #gaia-signin-divider,
155 .no-right-panel #gaia-signin-divider {
156 display: none;
159 #signin-frame {
160 background-color: transparent;
161 margin-left: -44px;
162 vertical-align: top;
163 width: 400px;
166 webview#signin-frame {
167 -webkit-transition: opacity 500ms ease-in;
168 display: block;
169 height: 528px;
170 margin-left: 0;
171 opacity: 0;
172 overflow: hidden;
173 padding: 0;
174 width: 448px;
177 webview#signin-frame.show {
178 -webkit-transition: opacity 500ms ease-out;
179 opacity: 1;
182 /* Simpler alignment if no right panel. */
183 .no-right-panel #signin-frame {
184 margin-left: 0;
187 /* Position to be aligned with the login box in iframe */
188 #login-box {
189 height: 31px;
190 position: absolute;
191 top: 77px;
192 visibility: hidden;
193 z-index: -1;
196 #enterprise-info-container {
197 bottom: 10px;
198 left: 0;
199 position: absolute;
200 right: 0;
201 text-align: center;
204 .new-gaia-flow #enterprise-info-container {
205 display: none;
208 #enterprise-info-container #enterprise-info {
209 display: inline-block;
212 #gaia-signin .step-contents {
213 -webkit-box-pack: center;
214 display: -webkit-box;
215 height: 100%;
218 #createSupervisedUserSeparator {
219 background-color: rgba(128,128,128,0.3);
220 height: 1px;
221 width: 200px;
224 #createSupervisedUserLogo {
225 font-weight: bold;
226 margin-top: 16px;
229 #createSupervisedUserLogo img {
230 vertical-align: text-bottom;
233 #createSupervisedUserLogo span {
234 vertical-align: -10%;
237 #createSupervisedUserLinkPlaceholder,
238 #createSupervisedUserNoManagerText {
239 margin-top: 10px;
242 #saml-notice-container {
243 left: 0;
244 position: absolute;
245 right: 0;
246 text-align: center;
247 top: 50px;
250 #saml-notice-message {
251 margin: 0 auto;
254 #gaia-whitelist-error {
255 bottom: 0;
256 display: none;
257 left: 0;
258 position: absolute;
259 right: 0;
260 top: 0;
263 .new-gaia-flow #gaia-whitelist-error {
264 display: block;
265 visibility: hidden;
268 .new-gaia-flow .whitelist-error #gaia-whitelist-error {
269 visibility: visible;
272 .new-gaia-flow #gaia-signin.whitelist-error .step-contents {
273 visibility: hidden;
276 .new-gaia-flow #gaia-signin.whitelist-error .step-loading {
277 visibility: hidden;