Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / login / oobe.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  * This is the stylesheet used by the Out of the box experience (OOBE) flow,
6  * sign in and lock screens.
7  */
8
9 html,
10 body {
11   height: 100%;
12   width: 100%;
13 }
14
15 body {
16   background-color: transparent;
17   cursor: default;
18   font-size: 14px;
19   margin: 0;
20   overflow: hidden;
21   padding: 0;
22   position: fixed;
23   top: 0;
24 }
25
26 body.solid {
27   background-color: white;
28 }
29
30 button {
31   font-family: inherit;
32   outline: none;
33 }
34
35 /* Follow same focus coloring as in widgets.css */
36 /* Do not apply this style to restricted button state. */
37 button.custom-appearance:not(.button-restricted):not(.button-fancy) {
38   -webkit-transition: border-color 200ms;
39   border: 1px solid transparent;
40   /* Don't grey out disabled buttons. */
41   color: buttontext !important;
42 }
43
44 /* ':focus' used twice to increase specificity. */
45 button.custom-appearance:focus:focus {
46   border-color: rgb(77, 144, 254);
47 }
48
49 button:not(.custom-appearance) {
50   min-width: 72px !important;
51 }
52
53 button.button-fancy {
54   min-width: 72px !important;
55 }
56
57 button.button-blue {
58   background-image: linear-gradient(rgb(93, 154, 255),
59                                     rgb(93, 154, 255) 38%,
60                                     rgb(88, 145, 240));
61   border: 1px solid rgba(45, 102, 195, 1);
62   border-radius: 2px;
63   box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 1px 2px
64               rgba(255, 255, 255, 0.4);
65   color: #fff;
66   font-size: 14px;
67   margin: 0 1px 0 0;
68   min-height: 2em;
69   min-width: 4em;
70   text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
71 }
72
73
74 button.button-blue:hover {
75   background-image: linear-gradient(rgb(101, 158, 253),
76                                     rgb(101, 158, 253) 38%,
77                                     rgb(96, 151, 241));
78   box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), inset 0 1px 2px
79               rgba(255, 255, 255, 0.4);
80 }
81
82 button.button-blue:active {
83   background-image: linear-gradient(rgb(96, 149, 237),
84                                     rgb(96, 149, 237) 38%,
85                                     rgb(96, 149, 237));
86   border: 1px solid rgba(38, 84, 160, 1);
87   box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
88 }
89
90 button.button-red {
91   background-image: linear-gradient(rgb(221, 75, 57),
92                                     rgb(221, 75, 57) 38%,
93                                     rgb(197, 66, 49));
94   border: 1px solid rgba(167, 57, 44, 1);
95   border-radius: 2px;
96   box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 1px 2px
97       rgba(255, 255, 255, 0.4);
98   color: #fff;
99   margin: 0 1px 0 0;
100   min-height: 2em;
101   min-width: 4em;
102   text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
103 }
104
105 button.button-red:hover {
106   background-image: linear-gradient(rgb(231, 78, 59),
107                                     rgb(231, 78, 59) 38%,
108                                     rgb(209, 70, 52));
109   box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), inset 0 1px 2px
110       rgba(255, 255, 255, 0.4);
111 }
112
113 button.button-red:active {
114   box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
115 }
116
117 .label,
118 .flexible-label {
119   display: block;
120   margin: 5px 5px 5px 0;
121   padding: 5px 5px 5px 0;
122 }
123
124 .label {
125   width: 170px;
126 }
127
128 .flexible-label {
129   max-width: 250px;
130 }
131
132 [hidden] {
133   display: none !important;
134 }
135
136 #bubble {
137   -webkit-transition: 250ms opacity;
138 }
139
140 span.bold {
141   font-weight: bold;
142 }
143
144 #version-labels {
145   -webkit-transition: all 500ms linear;
146   color: #fff;
147   font-size: 11px;
148   margin: 10px;
149   text-align: end;
150   text-shadow:
151       0 0 4px rgba(0,0,0,.6),
152       0 1px 2px rgba(0,0,0,.8),
153       0 -1px 2px rgba(0,0,0,1);
154 }
155
156 #background {
157   -webkit-transition: 700ms opacity;
158   background-size: 100% 100%;
159   height: 100%;
160   left: 0;
161   position: absolute;
162   top: 0;
163   width: 100%;
164 }
165
166 .background-initial {
167   opacity: 0;
168 }
169
170 .throbber {
171   -webkit-animation: throbber-animation 1s steps(36) infinite;
172   -webkit-margin-end: 4px;
173   background-image: url(chrome://theme/IDR_CROS_DEFAULT_THROBBER);
174   display: inline-block;
175   height: 16px;
176   margin-top: 2px;
177   width: 16px;
178 }
179
180 @-webkit-keyframes throbber-animation {
181   from {
182     background-position: 0;
183   }
184   to {
185     background-position: -576px;
186   }
187 }
188