1 /* Copyright (c) 2013 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.
5 * This is the stylesheet used by the Locally managed user creation flow screen.
8 #managed-user-creation {
9 height: 609px; /* Same size as GAIA sign in screen.*/
10 padding: 0 0; /* Some screens have elements right next to borders. */
14 #managed-user-creation .step-contents {
18 #managed-user-creation .step-controls {
19 -webkit-padding-end: 20px;
23 #managed-user-creation .logo-padded-text {
27 #managed-user-creation .marketing {
28 background-color: green;
32 #managed-user-creation .below-marketing {
39 #managed-user-creation .button-link {
45 .below-marketing::-webkit-scrollbar {
49 .below-marketing::-webkit-scrollbar-track-piece {
53 .below-marketing::-webkit-scrollbar-thumb {
57 #managed-user-creation .page-no-marketing {
62 #managed-user-creation .page-title {
68 .below-marketing strong {
73 #managed-user-creation .page-title-explanation {
74 color: rgb(150, 150, 150);
78 #managed-user-creation .page-title.inline {
79 -webkit-margin-end: 1ex;
80 display: inline-block;
83 #managed-user-creation .page-title-explanation.inline {
87 #managed-user-creation .page-title.centred {
91 #managed-user-creation .page-title-explanation.centred {
95 #managed-user-creation-intro-title {
100 #managed-user-creation-intro-placeholder {
101 background-color: gray;
107 #managed-user-creation-intro .below-marketing {
108 margin: 20px 21px 2px 40px;
111 #managed-user-creation-intro-alternate-text {
116 #managed-user-creation-intro-text-3 {
120 #managed-user-creation-created .below-marketing {
124 #managed-user-creation-created-text-1 {
126 word-wrap: break-word;
129 #managed-user-creation-created-text-2 {
132 word-wrap: break-word;
135 #managed-user-creation-created-text-3 {
139 #managed-user-creation-password-block,
140 #managed-user-creation-password-title {
144 #managed-user-creation-name-block {
149 input.managed-user-creation-manager-password,
150 #managed-user-creation-name,
151 #managed-user-creation-password {
154 #managed-user-creation-password-confirm {
159 #managed-user-creation-name-error {
163 #managed-user-creation-name-error.error {
164 color: rgb(207, 93, 70);
169 #managed-user-creation-managers-block {
170 -webkit-flex-direction: column;
171 display: -webkit-flex;
175 #managed-user-creation-managers-pane {
176 border: 1px solid #c8c8c8;
183 /* This class will be set for elements with hide-on-import class by JS when
184 * page is used in 'import' mode
186 #managed-user-creation .hidden-on-import {
190 #managed-user-creation-error {
191 padding: 175px 120px 0;
195 #managed-user-creation-error .error-icon {
196 -webkit-margin-after: 50px;
199 #managed-user-creation-error .error-message-paragraph {
200 -webkit-margin-after: 40px;
201 -webkit-margin-before: 30px;
204 .screen-control-button {
205 margin-left: 10px !important;
215 .import-pod .import-pod-name {
222 .import-pod.imported .import-pod-name {
223 color: rgb(141, 141, 141);
226 .import-pod .import-pod-image {
227 border: 1px solid gray;
240 .manager-pod .managed-user-creation-manager-info-block {
245 .manager-pod .managed-user-creation-manager-image {
246 border: 1px solid gray;
247 display: inline-block;
252 .manager-pod .managed-user-creation-manager-info {
253 display: inline-block;
258 .manager-pod .managed-user-creation-manager-info-text {
259 display: inline-block;
264 .manager-pod .password-block {
268 .manager-pod .managed-user-creation-manager-email {
274 .manager-pod .managed-user-creation-manager-name {
280 #managed-user-creation-status {
284 #managed-user-creation-status .error {
285 color: rgb(207, 93, 70);
288 #managed-user-creation-status .spinner-wrapper {
289 -webkit-margin-start: 3px;
290 display: -webkit-inline-box;
295 #managed-user-creation-status .id-text {
296 display: -webkit-inline-box;
299 vertical-align: baseline;
302 .manager-pod.focused {
303 background-color: rgb(66, 129, 244);
307 .import-pod.imported.focused {
308 background-color: rgb(238, 238, 238);
312 .import-pod.focused {
313 background-color: rgb(66, 129, 244);
317 .manager-pod.focused .managed-user-creation-manager-email {
321 .manager-pod.focused .managed-user-creation-manager-name {
325 #managed-user-creation-import-pane {
326 border: 1px solid #c8c8c8;
332 .manager-pod .password-error,
333 #managed-user-creation .password-error,
334 #managed-user-creation .duplicate-name {
335 border: 1px solid red !important;
338 #managed-user-creation-image-picker {
342 #managed-user-creation-image-grid {
343 -webkit-user-drag: none;
344 -webkit-user-select: none;
345 display: inline-block;
354 #managed-user-creation-image-grid img {
355 background-color: white;
357 vertical-align: middle;
361 #managed-user-creation-image-grid > li {
362 border: 1px solid rgba(0, 0, 0, 0.15);
364 display: inline-block;
369 #managed-user-creation-image-grid [selected] {
370 border: 2px solid rgb(0, 102, 204);
374 #managed-user-creation-image-preview {
381 html[dir=rtl] #managed-user-creation-image-preview {
385 #managed-user-creation-image-preview-img {
391 #managed-user-creation-image-preview-img.animated-transform {
392 -webkit-transition: -webkit-transform 200ms linear;
395 .camera.live #managed-user-creation-image-preview-img {
399 .camera.flip-x #managed-user-creation-image-preview-img {
400 -webkit-transform: rotateY(180deg);
403 .default-image #managed-user-creation-image-preview-img {
405 border: solid 1px #cacaca;
410 .managed-user-creation-image-stream-area {
416 .camera.live .managed-user-creation-image-stream-area {
420 #managed-user-creation-image-stream-crop {
421 -webkit-transition: -webkit-transform 200ms linear;
428 .flip-x #managed-user-creation-image-stream-crop {
429 -webkit-transform: rotateY(180deg);
432 .managed-user-creation-image-stream {
433 border: solid 1px #cacaca;
435 /* Center image for 4:3 aspect ratio. */
441 .online .managed-user-creation-image-stream {
445 #managed-user-creation-image-preview-caption {
451 .camera #managed-user-creation-image-preview-caption {
455 #managed-user-creation-flip-photo {
456 -webkit-transition: opacity 75ms linear;
457 background: url('chrome://theme/IDR_MIRROR_FLIP') no-repeat;
459 bottom: 44px; /* 8px + image bottom. */
468 /* TODO(merkulova): remove when webkit crbug.com/126479 is fixed. */
470 -webkit-transform: translateZ(1px);
473 html[dir=rtl] #managed-user-creation-flip-photo {
478 /* "Flip photo" button is hidden during flip animation. */
479 .camera.online:not(.animation) #managed-user-creation-flip-photo,
480 .camera.phototaken:not(.animation) #managed-user-creation-flip-photo {
484 #managed-user-creation-discard-photo,
485 #managed-user-creation-take-photo {
493 .camera:not(.live) #managed-user-creation-discard-photo {
494 background: url('chrome://theme/IDR_USER_IMAGE_RECYCLE')
495 no-repeat center center;
499 .camera.live.online #managed-user-creation-take-photo {
500 background: url('chrome://theme/IDR_USER_IMAGE_CAPTURE')
501 no-repeat center -1px;
505 #managed-user-creation-image-preview .perspective-box {
506 -webkit-perspective: 600px;
507 border: solid 1px #cacaca;
513 .managed-user-creation-image-stream-area .spinner {
524 .camera.live:not(.online) .managed-user-creation-image-stream-area .spinner {