Debian Codegraph @

dojox/mobile/themes/common/css3.less

raw
1 .transform (@v) {
2 -webkit-transform: @v;
3 transform: @v;
4 }
5 .transform-origin (@v) {
6 -webkit-transform-origin: @v;
7 transform-origin: @v;
8 }
9 .transform-style (@v) {
10 -webkit-transform-style: @v;
11 // not supported in IE10
12 }
13 .transition-property (@v) {
14 -webkit-transition-property: @v;
15 transition-property: @v;
16 }
17 .transition-property-2 (@v1, @v2) {
18 -webkit-transition-property: @v1, @v2;
19 transition-property: @v1, @v2;
20 }
21 .transition-property-transform () {
22 -webkit-transition-property: -webkit-transform;
23 transition-property: transform;
24 }
25 .transition-duration (@v) {
26 -webkit-transition-duration: @v;
27 transition-duration: @v;
28 }
29 .transition-delay (@v) {
30 -webkit-transition-delay: @v;
31 transition-delay: @v;
32 }
33 .transition-timing-function (@v) {
34 -webkit-transition-timing-function: @v;
35 transition-timing-function: @v;
36 }
37 .animation-name (@v) {
38 -webkit-animation-name: @v;
39 animation-name: @v;
40 }
41 .animation-duration (@v) {
42 -webkit-animation-duration: @v;
43 animation-duration: @v;
44 }
45 .animation-timing-function (@v) {
46 -webkit-animation-timing-function: @v;
47 animation-timing-function: @v;
48 }
49 .animation-iteration-count (@v) {
50 -webkit-animation-iteration-count: @v;
51 animation-iteration-count: @v;
52 }
53 .box-shadow (@v) {
54 -webkit-box-shadow: @v;
55 box-shadow: @v;
56 }
57 .box-sizing (@v) {
58 -webkit-box-sizing: @v;
59 box-sizing: @v;
60 }
61 .appearance (@v) {
62 -webkit-appearance: @v;
63 }
64 .tap-highlight-color (@v) {
65 -webkit-tap-highlight-color: @v;
66 }
67 .text-size-adjust (@v) {
68 -webkit-text-size-adjust: @v;
69 }
70 .user-select (@v) {
71 -webkit-user-select: @v;
72 -ms-user-select: @v;
73 }
74
75 .background-image-linear-gradient-top-bottom (@from, @to) {
76 background-image: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to));
77 background-image: linear-gradient(to bottom, @from 0%, @to 100%);
78 }
79 .background-linear-gradient-top-bottom (@from, @to) {
80 background: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to));
81 background: linear-gradient(to bottom, @from 0%, @to 100%);
82 }
83 .background-image-linear-gradient-top-bottom-2-stops (@from, @to, @pos1, @color1, @pos2, @color2) {
84 background-image: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to), color-stop(@pos1, @color1), color-stop(@pos2, @color2));
85 background-image: linear-gradient(to bottom, @from 0%, @color1 percentage(@pos1), @color2 percentage(@pos2), @to 100%);
86 }
87 .background-linear-gradient-top-bottom-2-stops (@from, @to, @pos1, @color1, @pos2, @color2) {
88 background: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to), color-stop(@pos1, @color1), color-stop(@pos2, @color2));
89 background: linear-gradient(to bottom, @from 0%, @color1 percentage(@pos1), @color2 percentage(@pos2), @to 100%);
90 }
91 .background-image-linear-gradient-top-bottom-1-stop (@from, @to, @pos1, @color1) {
92 background-image: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to), color-stop(@pos1, @color1));
93 background-image: linear-gradient(to bottom, @from 0%, @color1 percentage(@pos1), @to 100%);
94 }
95 .background-image-linear-gradient-top-bottom-3-stops (@from, @to, @pos1, @color1, @pos2, @color2, @pos3, @color3) {
96 background-image: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to), color-stop(@pos1, @color1), color-stop(@pos2, @color2), color-stop(@pos3, @color3));
97 background-image: linear-gradient(to bottom, @from 0%, @color1 percentage(@pos1), @color2 percentage(@pos2), @color3 percentage(@pos3), @to 100%);
98 }
99 .background-image-linear-gradient-top-bottom-4-stops (@from, @to, @pos1, @color1, @pos2, @color2, @pos3, @color3, @pos4, @color4) {
100 background-image: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to), color-stop(@pos1, @color1), color-stop(@pos2, @color2), color-stop(@pos3, @color3), color-stop(@pos4, @color4));
101 background-image: linear-gradient(to bottom, @from 0%, @color1 percentage(@pos1), @color2 percentage(@pos2), @color3 percentage(@pos3), @color4 percentage(@pos4), @to 100%);
102 }
103 .background-image-linear-gradient-top-bottom-4-stops-no-from-to (@pos1, @color1, @pos2, @color2, @pos3, @color3, @pos4, @color4) {
104 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(@pos1, @color1), color-stop(@pos2, @color2), color-stop(@pos3, @color3), color-stop(@pos4, @color4));
105 background-image: linear-gradient(to bottom, @color1 percentage(@pos1), @color2 percentage(@pos2), @color3 percentage(@pos3), @color4 percentage(@pos4));
106 }
107
108 .background-image-linear-gradient-top-left-bottom-right (@from, @to) {
109 background-image: -webkit-gradient(linear, left top, right bottom, from(@from), to(@to));
110 background-image: linear-gradient(to right bottom, @from 0%, @to 100%);
111 }
112 .background-image-linear-gradient-top-left-bottom-right-1-stop (@from, @to, @pos1, @color1) {
113 background-image: -webkit-gradient(linear, left top, right bottom, from(@from), to(@to), color-stop(@pos1, @color1));
114 background-image: linear-gradient(to right bottom, @from 0%, @color1 percentage(@pos1), @to 100%);
115 }
116 .background-image-linear-gradient-top-left-bottom-right-2-stops (@from, @to, @pos1, @color1, @pos2, @color2) {
117 background-image: -webkit-gradient(linear, left top, right bottom, from(@from), to(@to), color-stop(@pos1, @color1), color-stop(@pos2, @color2));
118 background-image: linear-gradient(to right bottom, @from 0%, @color1 percentage(@pos1), @color2 percentage(@pos2), @to 100%);
119 }
120 .background-image-linear-gradient-top-left-bottom-right-3-stops (@from, @to, @pos1, @color1, @pos2, @color2, @pos3, @color3) {
121 background-image: -webkit-gradient(linear, left top, right bottom, from(@from), to(@to), color-stop(@pos1, @color1), color-stop(@pos2, @color2), color-stop(@pos3, @color3));
122 background-image: linear-gradient(to right bottom, @from 0%, @color1 percentage(@pos1), @color2 percentage(@pos2), @color3 percentage(@pos3), @to 100%);
123 }
124
125 .background-radial-gradient-center (@r, @from, @to) {
126 background: -webkit-gradient(radial, center center, 0, center center, @r, from(@from), to(@to));
127 background: radial-gradient(@r+0px at center, @from 0%, @to 100%);
128 }
129
130 .background-spinwheel () {
131 background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #313137), color-stop(0.05, #73747d), color-stop(0.07, #92939b), color-stop(0.09, #ababb5), color-stop(0.12, #c5c6ce), color-stop(0.16, #dfe0e4), color-stop(0.22, #f4f5f6), color-stop(0.35, #fbfcfc), color-stop(0.5, #fbfcfc), color-stop(0.61, #fbfcfc), color-stop(0.61, #b4c1c7), color-stop(0.65, #fbfcfc), color-stop(0.78, #f4f5f6), color-stop(0.84, #dfe0e4), color-stop(0.88, #c5c6ce), color-stop(0.91, #ababb5), color-stop(0.93, #92939b), color-stop(0.95, #73747d), color-stop(1, #313137));
132 background: linear-gradient(to bottom, #313137 0%, #73747d 5%, #92939b 7%, #ababb5 9%, #c5c6ce 12%, #dfe0e4 16%, #f4f5f6 22%, #fbfcfc 35%, #fbfcfc 50%, #fbfcfc 61%, #b4c1c7 61%, #fbfcfc 65%, #f4f5f6 78%, #dfe0e4 84%, #c5c6ce 88%, #ababb5 91%, #92939b 93%, #73747d 95%, #313137 100%);
133 }
134
135 .background-spinwheelbar () {
136 background: -webkit-gradient(linear, left top, left bottom, from(#edeef2), to(#a7adca), color-stop(0, #edeef2), color-stop(0.25, #c8cadd), color-stop(0.49, #bbbfd4), color-stop(0.51, #9fa8c6), color-stop(0.81, #a2a9c7), color-stop(0.82, #a6abc9), color-stop(1, #a7adca));
137 background: linear-gradient(to bottom, #edeef2 0%, #c8cadd 25%, #bbbfd4 49%, #9fa8c6 51%, #a2a9c7 81%, #a6abc9 82%, #a7adca 100%);
138 }
139
140
141
142 .keyframes-transform-from-to-webkit(@t1, @t2) {
143 from {
144 -webkit-transform: @t1;
145 }
146 to {
147 -webkit-transform: @t2;
148 }
149 }
150
151 .keyframes-transform-from-to(@t1, @t2) {
152 from {
153 transform: @t1;
154 }
155 to {
156 transform: @t2;
157 }
158 }
159
160 .keyframes-opacity-from-to(@o1, @o2) {
161 from {
162 opacity: @o1;
163 }
164 to {
165 opacity: @o2;
166 }
167 }
168
169 .keyframes-transform-opacity-from-to-webkit(@t1, @o1, @t2, @o2) {
170 from {
171 -webkit-transform: @t1;
172 opacity: @o1;
173 }
174 to {
175 -webkit-transform: @t2;
176 opacity: @o2;
177 }
178 }
179
180 .keyframes-transform-opacity-from-to(@t1, @o1, @t2, @o2) {
181 from {
182 transform: @t1;
183 opacity: @o1;
184 }
185 to {
186 transform: @t2;
187 opacity: @o2;
188 }
189 }
190
191 .keyframes-transform-0-50-100-webkit(@t1, @t2, @t3) {
192 0% {
193 -webkit-transform: @t1;
194 }
195 50% {
196 -webkit-transform: @t2;
197 }
198 100% {
199 -webkit-transform: @t3;
200 }
201 }
202
203 .keyframes-transform-0-50-100(@t1, @t2, @t3) {
204 0% {
205 transform: @t1;
206 }
207 50% {
208 transform: @t2;
209 }
210 100% {
211 transform: @t3;
212 }
213 }
214
215 .keyframes-z-index-transform-opacity-0-50-100-webkit(@i1, @t1, @o1, @i2, @t2, @o2, @i3, @t3, @o3) {
216 0% {
217 z-index: @i1;
218 -webkit-transform: @t1;
219 opacity: @o1;
220 }
221 50% {
222 z-index: @i2;
223 -webkit-transform: @t2;
224 opacity: @o2;
225 }
226 100% {
227 z-index: @i3;
228 -webkit-transform: @t3;
229 opacity: @o3;
230 }
231 }
232
233 .keyframes-z-index-transform-opacity-0-50-100(@i1, @t1, @o1, @i2, @t2, @o2, @i3, @t3, @o3) {
234 0% {
235 z-index: @i1;
236 transform: @t1;
237 opacity: @o1;
238 }
239 50% {
240 z-index: @i2;
241 transform: @t2;
242 opacity: @o2;
243 }
244 100% {
245 z-index: @i3;
246 transform: @t3;
247 opacity: @o3;
248 }
249 }
250
251 .keyframes-vibrate-webkit() {
252 0%{
253 -webkit-transform: rotate(-2deg);
254 bottom: -1px;
255 left: -1px;
256 }
257 25% {
258 -webkit-transform: rotate(1deg);
259 bottom: 2px;
260 left: 1px;
261 }
262 50% {
263 -webkit-transform: rotate(-1deg);
264 bottom: -2px;
265 left: -1px;
266 }
267 75% {
268 -webkit-transform: rotate(2deg);
269 bottom: 2px;
270 left: 1px;
271 }
272 100% {
273 -webkit-transform: rotate(-2deg);
274 bottom: -1px;
275 left: -1px;
276 }
277 }
278
279 .keyframes-vibrate() {
280 0%{
281 transform: rotate(-2deg);
282 bottom: -1px;
283 left: -1px;
284 }
285 25% {
286 transform: rotate(1deg);
287 bottom: 2px;
288 left: 1px;
289 }
290 50% {
291 transform: rotate(-1deg);
292 bottom: -2px;
293 left: -1px;
294 }
295 75% {
296 transform: rotate(2deg);
297 bottom: 2px;
298 left: 1px;
299 }
300 100% {
301 transform: rotate(-2deg);
302 bottom: -1px;
303 left: -1px;
304 }
305 }