1 /* Copyright 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.
8 padding: 70px 17px 21px;
13 min-height: 609px; /* Should be the same as #gaia-signin height. */
14 width: 722px; /* Should be the same as #gaia-signin width. */
17 #user-image-screen-curtain {
18 -webkit-margin-start: 8px;
21 #user-image-screen-description {
26 -webkit-user-drag: none
;
27 -webkit-user-select: none
;
28 display: inline-block
;
37 #user-image-grid img
{
38 background-color: white
;
40 vertical-align: middle
;
44 #user-image-grid > li
{
45 border: 1px solid rgba
(0, 0, 0, 0.15);
47 display: inline-block
;
52 #user-image-grid [selected
] {
53 border: 2px solid rgb
(0, 102, 204);
58 * #user-image-preview can have the following classes:
59 * .default-image: one of the default images is selected (including the grey
61 * .profile-image: profile image is selected;
62 * .profile-image-loading: profile image is being loaded;
63 * .online: camera is streaming video;
64 * .camera: camera (live or photo) is selected;
65 * .live: camera is in live mode (no photo taken yet/last photo removed).
78 /* White background for spinner styled like user image */
79 #profile-image .spinner-bg
{
80 background-color: white
;
89 .profile-image-loading #profile-image .spinner-bg {
93 #profile-image .spinner
{
99 .image-loading.user-image .new-gaia-flow #user-image {
100 height: 528px; /* Should be the same as #gaia-signin height. */
102 width: 448px; /* Should be the same as #gaia-signin width. */
105 #user-image.loading
{
106 height: 528px; /* Should be the same as #gaia-signin height. */
107 width: 448px; /* Should be the same as #gaia-signin width. */
110 .new-gaia-flow #old-flow-throbber {
118 .new-gaia-flow #new-flow-throbber {
122 .image-loading.user-image .new-gaia-flow #step-logo {
126 html
[dir
=rtl
] #user-image-preview
{
130 #user-image-preview-img {
136 #user-image-preview-img.animated-transform
{
137 -webkit-transition: -webkit-transform
200ms linear
;
140 .camera.live #user-image-preview-img {
144 .camera.flip-x #user-image-preview-img {
145 -webkit-transform: rotateY
(180deg);
148 .default-image #user-image-preview-img {
150 border: solid
1px #cacaca;
155 .user-image-stream-area {
161 .camera.live .user-image-stream-area {
165 #user-image-stream-crop {
166 -webkit-transition: -webkit-transform
200ms linear
;
173 .flip-x #user-image-stream-crop {
174 -webkit-transform: rotateY
(180deg);
177 /* TODO(ivankr): specify dimensions from real capture size. */
179 border: solid
1px #cacaca;
181 /* Center image for 4:3 aspect ratio. */
187 .online .user-image-stream {
191 #user-image-preview-caption {
197 .camera #user-image-preview-caption {
202 -webkit-transition: opacity
75ms linear
;
203 background: url
(chrome://theme
/IDR_MIRROR_FLIP
) no-repeat
;
205 bottom: 44px; /* 8px + image bottom. */
215 /* TODO(merkulova): remove when webkit crbug.com/126479 is fixed. */
217 -webkit-transform: translateZ
(1px);
220 html
[dir
=rtl
] #flip-photo
{
225 /* "Flip photo" button is hidden during flip animation. */
226 .camera
.online:not
(.animation
) #flip-photo
,
227 .camera.phototaken:not(.animation) #flip-photo {
240 .camera:not(.live) #discard-photo {
241 background: url
(chrome://theme
/IDR_USER_IMAGE_RECYCLE
)
242 no-repeat center center
;
246 .camera.live.online #take-photo {
247 background: url
(chrome://theme
/IDR_USER_IMAGE_CAPTURE
)
248 no-repeat center
-1px;
252 #user-image-preview .perspective-box
{
253 -webkit-perspective: 600px;
254 border: solid
1px #cacaca;
260 #user-image-attribution {
261 /* Turned off for now. */
265 #user-image .step-contents
{
266 -webkit-margin-start: 31px;
270 .user-image-stream-area .spinner {
281 .camera.live:not(.online) .user-image-stream-area .spinner {
285 #user-images-loading {