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 {
22 -webkit-margin-before: 0;
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 html
[dir
=rtl
] #user-image-preview
{
103 #user-image-preview-img {
109 #user-image-preview-img.animated-transform
{
110 -webkit-transition: -webkit-transform
200ms linear
;
113 .camera.live #user-image-preview-img {
117 .camera.flip-x #user-image-preview-img {
118 -webkit-transform: rotateY
(180deg);
121 .default-image #user-image-preview-img {
123 border: solid
1px #cacaca;
128 .user-image-stream-area {
134 .camera.live .user-image-stream-area {
138 #user-image-stream-crop {
139 -webkit-transition: -webkit-transform
200ms linear
;
146 .flip-x #user-image-stream-crop {
147 -webkit-transform: rotateY
(180deg);
150 /* TODO(ivankr): specify dimensions from real capture size. */
152 border: solid
1px #cacaca;
154 /* Center image for 4:3 aspect ratio. */
160 .online .user-image-stream {
164 #user-image-preview-caption {
170 .camera #user-image-preview-caption {
175 -webkit-transition: opacity
75ms linear
;
176 background: url
('chrome://theme/IDR_MIRROR_FLIP') no-repeat
;
178 bottom: 44px; /* 8px + image bottom. */
188 /* TODO(merkulova): remove when webkit crbug.com/126479 is fixed. */
190 -webkit-transform: translateZ
(1px);
193 html
[dir
=rtl
] #flip-photo
{
198 /* "Flip photo" button is hidden during flip animation. */
199 .camera
.online:not
(.animation
) #flip-photo
,
200 .camera.phototaken:not(.animation) #flip-photo {
213 .camera:not(.live) #discard-photo {
214 background: url
('chrome://theme/IDR_USER_IMAGE_RECYCLE')
219 .camera.live.online #take-photo {
220 background: url
('chrome://theme/IDR_USER_IMAGE_CAPTURE')
221 no-repeat center
-1px;
225 #user-image-preview .perspective-box
{
226 -webkit-perspective: 600px;
229 #user-image-attribution {
230 /* Turned off for now. */
234 #user-image .step-contents
{
235 -webkit-margin-after: 30px;
236 -webkit-margin-start: 31px;
239 .user-image-stream-area .spinner {
250 .camera.live:not(.online) .user-image-stream-area .spinner {
254 #user-images-loading {