1 /* Copyright 2014 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 #supervised-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 #supervised-user-creation .step-contents
{
18 #supervised-user-creation .nofocus:focus
{
22 #supervised-user-creation .step-controls
{
23 -webkit-padding-end: 20px;
27 justify-content: flex-end
;
30 #supervised-user-creation .controls-links
{
33 justify-content: flex-start
;
36 #supervised-user-creation .controls-buttons
{
39 justify-content: flex-end
;
42 #supervised-user-creation .logo-padded-text
{
46 #supervised-user-creation .marketing
{
47 background-color: green
;
51 #supervised-user-creation .below-marketing
{
58 #supervised-user-creation .button-link
{
63 .below-marketing::-webkit-scrollbar {
67 .below-marketing::-webkit-scrollbar-track-piece {
71 .below-marketing::-webkit-scrollbar-thumb {
75 #supervised-user-creation .page-no-marketing
{
80 #supervised-user-creation .page-title
{
86 .below-marketing strong {
91 #supervised-user-creation .page-title-explanation
{
92 color: rgb
(150, 150, 150);
96 #supervised-user-creation .page-title
.inline
{
97 -webkit-margin-end: 1ex;
98 display: inline-block
;
101 #supervised-user-creation .page-title-explanation
.inline
{
105 #supervised-user-creation .page-title
.centred
{
109 #supervised-user-creation .page-title-explanation
.centred
{
113 #supervised-user-creation-intro-title {
118 #supervised-user-creation-intro-placeholder {
119 background-color: gray
;
125 #supervised-user-creation-intro .below-marketing
{
126 margin: 20px 21px 2px 40px;
129 #supervised-user-creation-intro-alternate-text {
134 #supervised-user-creation-intro-text-3 {
138 #supervised-user-creation-created .below-marketing
{
142 #supervised-user-creation-created-text-1 {
144 word-wrap: break-word
;
147 #supervised-user-creation-created-text-2 {
150 word-wrap: break-word
;
153 #supervised-user-creation-created-text-3 {
157 #supervised-user-creation-password-block,
158 #supervised-user-creation-password-title {
162 #supervised-user-creation-name-block {
167 input
.supervised-user-creation-manager-password
,
168 #supervised-user-creation-name,
169 #supervised-user-creation-password {
172 #supervised-user-creation-password-confirm {
177 #supervised-user-creation-name-error {
181 #supervised-user-creation-name-error.error
{
182 color: rgb
(207, 93, 70);
187 #supervised-user-creation-managers-block {
189 flex-direction: column
;
193 #supervised-user-creation-managers-pane {
194 border: 1px solid
#c8c8c8;
201 /* This class will be set for elements with hide-on-import class by JS when
202 * page is used in 'import' mode
204 #supervised-user-creation .hidden-on-import
{
208 #supervised-user-creation-error {
209 padding: 175px 120px 0;
213 #supervised-user-creation-error .error-icon
{
217 #supervised-user-creation-error .error-message-paragraph
{
222 .screen-control-button {
223 margin-left: 10px !important
;
233 .import-pod .import-pod-name {
235 display: inline-block
;
242 .import-pod.imported .import-pod-name {
243 color: rgb
(141, 141, 141);
246 .import-pod .import-pod-image {
247 border: 1px solid gray
;
260 .manager-pod .supervised-user-creation-manager-info-block {
265 .manager-pod .supervised-user-creation-manager-image {
266 border: 1px solid gray
;
267 display: inline-block
;
272 .manager-pod .supervised-user-creation-manager-info {
273 display: inline-block
;
278 .manager-pod .supervised-user-creation-manager-info-text {
279 display: inline-block
;
284 .manager-pod .password-block {
288 .manager-pod .supervised-user-creation-manager-email {
294 .manager-pod .supervised-user-creation-manager-name {
300 #supervised-user-creation-status {
304 #supervised-user-creation-status .error
{
305 color: rgb
(207, 93, 70);
308 #supervised-user-creation-status .spinner-wrapper
{
309 -webkit-margin-start: 3px;
310 display: inline-flex
;
315 #supervised-user-creation-status .id-text
{
316 display: inline-flex
;
319 vertical-align: baseline
;
322 .manager-pod.focused {
323 background-color: rgb
(66, 129, 244);
327 .import-pod.imported.focused {
328 background-color: rgb
(238, 238, 238);
332 .import-pod.focused {
333 background-color: rgb
(66, 129, 244);
337 .manager-pod.focused .supervised-user-creation-manager-email {
341 .manager-pod.focused .supervised-user-creation-manager-name {
345 #supervised-user-creation-import-pane {
346 border: 1px solid
#c8c8c8;
352 #supervised-user-creation-import .page-title-explanation
{
353 padding-bottom: 10px;
357 .manager-pod
.password-error
,
358 #supervised-user-creation .password-error
,
359 #supervised-user-creation .duplicate-name
{
360 border: 1px solid red
!important
;
363 #supervised-user-creation-image-picker {
367 #supervised-user-creation-image-grid {
368 -webkit-user-drag: none
;
369 -webkit-user-select: none
;
370 display: inline-block
;
379 #supervised-user-creation-image-grid img
{
380 background-color: white
;
382 vertical-align: middle
;
386 #supervised-user-creation-image-grid > li
{
387 border: 1px solid rgba
(0, 0, 0, 0.15);
389 display: inline-block
;
394 #supervised-user-creation-image-grid [selected
] {
395 border: 2px solid rgb
(0, 102, 204);
399 #supervised-user-creation-image-preview {
406 html
[dir
=rtl
] #supervised-user-creation-image-preview
{
410 #supervised-user-creation-image-preview-img {
416 #supervised-user-creation-image-preview-img.animated-transform
{
417 -webkit-transition: -webkit-transform
200ms linear
;
420 .camera.live #supervised-user-creation-image-preview-img {
424 .camera.flip-x #supervised-user-creation-image-preview-img {
425 -webkit-transform: rotateY
(180deg);
428 .default-image #supervised-user-creation-image-preview-img {
430 border: solid
1px #cacaca;
435 .supervised-user-creation-image-stream-area {
441 .camera.live .supervised-user-creation-image-stream-area {
445 #supervised-user-creation-image-stream-crop {
446 -webkit-transition: -webkit-transform
200ms linear
;
453 .flip-x #supervised-user-creation-image-stream-crop {
454 -webkit-transform: rotateY
(180deg);
457 .supervised-user-creation-image-stream {
458 border: solid
1px #cacaca;
460 /* Center image for 4:3 aspect ratio. */
466 .online .supervised-user-creation-image-stream {
470 #supervised-user-creation-image-preview-caption {
476 .camera #supervised-user-creation-image-preview-caption {
480 #supervised-user-creation-flip-photo {
481 -webkit-transition: opacity
75ms linear
;
482 background: url
(chrome://theme
/IDR_MIRROR_FLIP
) no-repeat
;
484 bottom: 44px; /* 8px + image bottom. */
493 /* TODO(merkulova): remove when webkit crbug.com/126479 is fixed. */
495 -webkit-transform: translateZ
(1px);
498 html
[dir
=rtl
] #supervised-user-creation-flip-photo
{
503 /* "Flip photo" button is hidden during flip animation. */
504 .camera
.online:not
(.animation
) #supervised-user-creation-flip-photo
,
505 .camera.phototaken:not(.animation) #supervised-user-creation-flip-photo {
509 #supervised-user-creation-discard-photo,
510 #supervised-user-creation-take-photo {
518 .camera:not(.live) #supervised-user-creation-discard-photo {
519 background: url
(chrome://theme
/IDR_USER_IMAGE_RECYCLE
)
520 no-repeat center center
;
524 .camera.live.online #supervised-user-creation-take-photo {
525 background: url
(chrome://theme
/IDR_USER_IMAGE_CAPTURE
)
526 no-repeat center
-1px;
530 #supervised-user-creation-image-preview .perspective-box
{
531 -webkit-perspective: 600px;
532 border: solid
1px #cacaca;
538 .supervised-user-creation-image-stream-area .spinner {
549 .camera.live:not(.online) .supervised-user-creation-image-stream-area .spinner {
553 #supervised-user-creation-close-button-item {
554 color: rgba
(0, 0, 0, .54);
561 html
[dir
=rtl
] #supervised-user-creation-close-button-item
{