Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / login / screen_container.css
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.
4  */
5
6 #outer-container {
7   -webkit-box-align: center;
8   -webkit-box-pack: center;
9   -webkit-perspective: 1px; /* Workaround, see http://crbug.com/360567 */
10   bottom: 51px;  /* Leave space for the header bar */
11   display: -webkit-box;
12   left: 0;
13   min-height: 717px; /* This enables scrolling. Min resolution: 1024x768 */
14   position: absolute;
15   right: 0;
16   top: 0;
17 }
18
19 .oobe-display #outer-container {
20   -webkit-perspective: 600px;
21 }
22
23 #scroll-container {
24   bottom: 0;        /* Allows content overlap with control bar. */
25   left: 0;
26   overflow-x: hidden;
27   overflow-y: auto;
28   position: absolute;
29   right: 0;
30   top: 0;
31 }
32
33 #scroll-container::-webkit-scrollbar {
34   display: none;
35 }
36
37 #inner-container {
38   border-radius: 2px;
39   padding: 0;
40   position: relative;
41 }
42
43 #inner-container.animation {
44   overflow: hidden;
45 }
46
47 #inner-container.disabled {
48   opacity: 0.4;
49   pointer-events: none;
50 }
51
52 /* Screens that have a border and background. */
53 #oobe.auto-enrollment-check #inner-container,
54 #oobe.autolaunch #inner-container,
55 #oobe.confirm-password #inner-container,
56 #oobe.connect #inner-container,
57 #oobe.enrollment #inner-container,
58 #oobe.eula #inner-container,
59 #oobe.fatal-error #inner-container,
60 #oobe.gaia-signin #inner-container,
61 #oobe.hid-detection #inner-container,
62 #oobe.kiosk-enable #inner-container,
63 #oobe.oauth-enrollment #inner-container,
64 #oobe.password-changed #inner-container,
65 #oobe.reset #inner-container,
66 #oobe.supervised-user-creation #inner-container,
67 #oobe.supervised-user-creation-dialog #inner-container,
68 #oobe.terms-of-service #inner-container,
69 #oobe.update #inner-container,
70 #oobe.user-image #inner-container,
71 #oobe.wrong-hwid #inner-container {
72   background: white;
73   box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3),
74               0 4px 23px 5px rgba(0, 0, 0, 0.2),
75               0 2px 6px rgba(0, 0, 0, 0.15);
76 }
77
78 #oobe.error-message #inner-container,
79 #oobe.tpm-error-message #inner-container {
80   box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3),
81               0 4px 23px 5px rgba(0, 0, 0, 0.2),
82               0 2px 6px rgba(0, 0, 0, 0.15);
83
84 }
85
86 #oobe.account-picker.flying-pods #inner-container {
87   -webkit-transition: width 180ms ease,
88                       height 180ms ease;
89 }
90
91 /* Only play this animation when 'down' class is removed. */
92 .oobe-display #inner-container:not(.down) {
93   -webkit-transition: -webkit-transform 200ms ease-in-out;
94 }
95
96 .oobe-display #inner-container.down {
97   -webkit-transform: translateY(50px) rotateX(-2.5deg);
98 }
99
100 #step-logo {
101   -webkit-margin-start: 17px;
102   display: -webkit-box;
103   position: absolute;
104   top: 15px;
105 }
106
107 #progress-dots {
108   -webkit-box-pack: center;
109   -webkit-transition: opacity 200ms ease-in-out,
110                       visibility 200ms ease-in-out;
111   display: -webkit-box;
112   margin-top: 15px;
113 }
114
115 /* Hidden for the duration of initial transition. */
116 .oobe-display #progress-dots.down {
117   visibility: hidden;
118 }
119
120 .progdot {
121   -webkit-margin-end: 12px;
122   background: white;
123   height: 10px;
124   opacity: 0.4;
125   width: 10px;
126 }
127
128 .progdot-active {
129   opacity: 0.5;
130 }
131
132 #account-picker-dot,
133 #app-launch-splash-dot,
134 #auto-enrollment-check-dot,
135 #autolaunch-dot,
136 #confirm-password-dot,
137 #controller-pairing-dot,
138 #enrollment-dot,
139 #error-message-dot,
140 #fatal-error-dot,
141 #hid-detection-dot,
142 #host-pairing-dot,
143 #kiosk-enable-dot,
144 #oauth-enrollment-dot,
145 #password-changed-dot,
146 #reset-dot,
147 #supervised-user-creation-dot,
148 #supervised-user-creation-dialog-dot,
149 #terms-of-service-dot,
150 #tpm-error-message-dot,
151 #wrong-hwid-dot {
152   display: none;
153 }
154
155 #oobe.connect #connect-dot,
156 #oobe.enrollment #gaia-signin-dot,
157 #oobe.enrollment #signin-dot,
158 #oobe.eula #eula-dot,
159 #oobe.gaia-signin #gaia-signin-dot,
160 #oobe.oauth-enrollment #gaia-signin-dot,
161 #oobe.oauth-enrollment #signin-dot,
162 #oobe.signin #signin-dot,
163 #oobe.update #update-dot,
164 #oobe.user-image #user-image-dot {
165   opacity: 1;
166 }
167
168 #oobe.reset #progress-dots,
169 #oobe.host-pairing #progress-dots,
170 #oobe.controller-pairing #progress-dots {
171   visibility: hidden;
172 }
173
174 body:not(.oobe-display) #inner-container {
175   height: 262px;
176   padding: 0;
177   width: 1100px;
178 }
179
180 body:not(.oobe-display) #progress-dots {
181   display: none;
182 }
183
184 #outer-container.fullscreen,
185 #outer-container.fullscreen #oobe,
186 #outer-container.fullscreen #oobe #inner-container {
187   height: 100%;
188   width: 100%;
189 }
190
191 html[build=chrome] #header-sections {
192   -webkit-margin-start: -48px;
193   margin-top: -1px;
194 }
195
196 html[build=chromium] #header-sections {
197   -webkit-margin-start: 5px;
198   margin-top: -1px;
199 }
200
201 .header-section {
202   color: rgb(119, 120, 123);  /* Should matching text color of the logo. */
203   display: none;
204   font-size: 23px;
205   line-height: 31px;
206   text-transform: lowercase;
207   width: 23em;
208 }
209
210 .header-section::before {
211   /* Divider in header between product name and title,
212    * like "[Product name] > [step header]". */
213   content: '\00A0\203A\00A0\00A0';
214 }