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
{
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;
182 /* This class will be set for elements with hide-on-import class by JS when
183 * page is used in 'import' mode
185 #managed-user-creation .hidden-on-import
{
189 #managed-user-creation-error {
190 padding: 175px 120px 0;
194 #managed-user-creation-error .error-icon
{
195 -webkit-margin-after: 50px;
198 #managed-user-creation-error .error-message-paragraph
{
199 -webkit-margin-after: 40px;
200 -webkit-margin-before: 30px;
203 .screen-control-button {
204 margin-left: 10px !important
;
214 .import-pod .import-pod-name {
221 .import-pod.imported .import-pod-name {
222 color: rgb
(141, 141, 141);
225 .import-pod .import-pod-image {
226 border: 1px solid gray
;
239 .manager-pod .managed-user-creation-manager-info-block {
244 .manager-pod .managed-user-creation-manager-image {
245 border: 1px solid gray
;
246 display: inline-block
;
251 .manager-pod .managed-user-creation-manager-info {
252 display: inline-block
;
257 .manager-pod .managed-user-creation-manager-info-text {
258 display: inline-block
;
263 .manager-pod .password-block {
267 .manager-pod .managed-user-creation-manager-email {
273 .manager-pod .managed-user-creation-manager-name {
279 #managed-user-creation-status {
283 #managed-user-creation-status .error
{
284 color: rgb
(207, 93, 70);
287 #managed-user-creation-status .spinner-wrapper
{
288 -webkit-margin-start: 3px;
289 display: -webkit-inline-box
;
294 #managed-user-creation-status .id-text
{
295 display: -webkit-inline-box
;
298 vertical-align: baseline
;
301 .manager-pod.focused {
302 background-color: rgb
(66, 129, 244);
306 .import-pod.imported.focused {
307 background-color: rgb
(238, 238, 238);
311 .import-pod.focused {
312 background-color: rgb
(66, 129, 244);
316 .manager-pod.focused .managed-user-creation-manager-email {
320 .manager-pod.focused .managed-user-creation-manager-name {
324 #managed-user-creation-import-pane {
325 border: 1px solid
#c8c8c8;
331 .manager-pod
.password-error
,
332 #managed-user-creation .password-error
,
333 #managed-user-creation .duplicate-name
{
334 border: 1px solid red
!important
;
337 #managed-user-creation-image-picker {
341 #managed-user-creation-image-grid {
342 -webkit-user-drag: none
;
343 -webkit-user-select: none
;
344 display: inline-block
;
353 #managed-user-creation-image-grid img
{
354 background-color: white
;
356 vertical-align: middle
;
360 #managed-user-creation-image-grid > li
{
361 border: 1px solid rgba
(0, 0, 0, 0.15);
363 display: inline-block
;
368 #managed-user-creation-image-grid [selected
] {
369 border: 2px solid rgb
(0, 102, 204);
373 #managed-user-creation-image-preview {
380 html
[dir
=rtl
] #managed-user-creation-image-preview
{
384 #managed-user-creation-image-preview-img {
390 #managed-user-creation-image-preview-img.animated-transform
{
391 -webkit-transition: -webkit-transform
200ms linear
;
394 .camera.live #managed-user-creation-image-preview-img {
398 .camera.flip-x #managed-user-creation-image-preview-img {
399 -webkit-transform: rotateY
(180deg);
402 .default-image #managed-user-creation-image-preview-img {
404 border: solid
1px #cacaca;
409 .managed-user-creation-image-stream-area {
415 .camera.live .managed-user-creation-image-stream-area {
419 #managed-user-creation-image-stream-crop {
420 -webkit-transition: -webkit-transform
200ms linear
;
427 .flip-x #managed-user-creation-image-stream-crop {
428 -webkit-transform: rotateY
(180deg);
431 .managed-user-creation-image-stream {
432 border: solid
1px #cacaca;
434 /* Center image for 4:3 aspect ratio. */
440 .online .managed-user-creation-image-stream {
444 #managed-user-creation-image-preview-caption {
450 .camera #managed-user-creation-image-preview-caption {
454 #managed-user-creation-flip-photo {
455 -webkit-transition: opacity
75ms linear
;
456 background: url
('chrome://theme/IDR_MIRROR_FLIP') no-repeat
;
458 bottom: 44px; /* 8px + image bottom. */
467 /* TODO(merkulova): remove when webkit crbug.com/126479 is fixed. */
469 -webkit-transform: translateZ
(1px);
472 html
[dir
=rtl
] #managed-user-creation-flip-photo
{
477 /* "Flip photo" button is hidden during flip animation. */
478 .camera
.online:not
(.animation
) #managed-user-creation-flip-photo
,
479 .camera.phototaken:not(.animation) #managed-user-creation-flip-photo {
483 #managed-user-creation-discard-photo,
484 #managed-user-creation-take-photo {
492 .camera:not(.live) #managed-user-creation-discard-photo {
493 background: url
('chrome://theme/IDR_USER_IMAGE_RECYCLE')
498 .camera.live.online #managed-user-creation-take-photo {
499 background: url
('chrome://theme/IDR_USER_IMAGE_CAPTURE')
500 no-repeat center
-1px;
504 #managed-user-creation-image-preview .perspective-box
{
505 -webkit-perspective: 600px;
508 .managed-user-creation-image-stream-area .spinner {
519 .camera.live:not(.online) .managed-user-creation-image-stream-area .spinner {