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 .new-gaia-flow #user-image.loading {
106 min-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 {
114 .image-loading.user-image .new-gaia-flow #step-logo {
118 html
[dir
=rtl
] #user-image-preview
{
122 #user-image-preview-img {
128 #user-image-preview-img.animated-transform
{
129 -webkit-transition: -webkit-transform
200ms linear
;
132 .camera.live #user-image-preview-img {
136 .camera.flip-x #user-image-preview-img {
137 -webkit-transform: rotateY
(180deg);
140 .default-image #user-image-preview-img {
142 border: solid
1px #cacaca;
147 .user-image-stream-area {
153 .camera.live .user-image-stream-area {
157 #user-image-stream-crop {
158 -webkit-transition: -webkit-transform
200ms linear
;
165 .flip-x #user-image-stream-crop {
166 -webkit-transform: rotateY
(180deg);
169 /* TODO(ivankr): specify dimensions from real capture size. */
171 border: solid
1px #cacaca;
173 /* Center image for 4:3 aspect ratio. */
179 .online .user-image-stream {
183 #user-image-preview-caption {
189 .camera #user-image-preview-caption {
194 -webkit-transition: opacity
75ms linear
;
195 background: url
(chrome://theme
/IDR_MIRROR_FLIP
) no-repeat
;
197 bottom: 44px; /* 8px + image bottom. */
207 /* TODO(merkulova): remove when webkit crbug.com/126479 is fixed. */
209 -webkit-transform: translateZ
(1px);
212 html
[dir
=rtl
] #flip-photo
{
217 /* "Flip photo" button is hidden during flip animation. */
218 .camera
.online:not
(.animation
) #flip-photo
,
219 .camera.phototaken:not(.animation) #flip-photo {
232 .camera:not(.live) #discard-photo {
233 background: url
(chrome://theme
/IDR_USER_IMAGE_RECYCLE
)
234 no-repeat center center
;
238 .camera.live.online #take-photo {
239 background: url
(chrome://theme
/IDR_USER_IMAGE_CAPTURE
)
240 no-repeat center
-1px;
244 #user-image-preview .perspective-box
{
245 -webkit-perspective: 600px;
246 border: solid
1px #cacaca;
252 #user-image-attribution {
253 /* Turned off for now. */
257 #user-image .step-contents
{
258 -webkit-margin-start: 31px;
262 .user-image-stream-area .spinner {
273 .camera.live:not(.online) .user-image-stream-area .spinner {
277 #user-images-loading {