window_rails 0.2.12 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/{CHANGELOG.rdoc → CHANGELOG.md} +25 -18
- data/LICENSE +1 -2
- data/README.md +69 -0
- data/app/assets/javascripts/window_rails.js +1 -0
- data/app/assets/javascripts/window_rails/base.js +458 -0
- data/app/assets/stylesheets/window_rails.css +3 -0
- data/app/assets/stylesheets/window_rails/csspinner.css +472 -0
- data/lib/window_rails.rb +8 -9
- data/lib/window_rails/engine.rb +4 -8
- data/lib/window_rails/generators.rb +118 -0
- data/lib/window_rails/holder.rb +40 -0
- data/lib/window_rails/version.rb +2 -6
- data/lib/window_rails/windows.rb +28 -0
- metadata +35 -30
- data/README.rdoc +0 -111
- data/app/controllers/window_rails_controller.rb +0 -50
- data/config/routes.rb +0 -9
- data/lib/window_rails/window_rails_generators.rb +0 -451
- data/lib/window_rails/window_rails_view.rb +0 -46
- data/lib/window_rails/window_rails_windows.rb +0 -47
- data/rails/init.rb +0 -1
@@ -0,0 +1,472 @@
|
|
1
|
+
/*
|
2
|
+
(cs)spinner.css - http://jh3y.github.io/-cs-spinner
|
3
|
+
Licensed under the MIT license
|
4
|
+
|
5
|
+
Jhey Tompkins (c) 2014.
|
6
|
+
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
8
|
+
|
9
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
10
|
+
|
11
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
12
|
+
*/
|
13
|
+
/* (cs)spinner base styling */
|
14
|
+
.csspinner {
|
15
|
+
position: relative;
|
16
|
+
}
|
17
|
+
.csspinner:before {
|
18
|
+
content: "";
|
19
|
+
z-index: 1;
|
20
|
+
position: absolute;
|
21
|
+
top: 0;
|
22
|
+
right: 0;
|
23
|
+
bottom: 0;
|
24
|
+
left: 0;
|
25
|
+
background-color: #999999;
|
26
|
+
opacity: 0.6;
|
27
|
+
}
|
28
|
+
.csspinner:after {
|
29
|
+
z-index: 2;
|
30
|
+
content: "";
|
31
|
+
height: 40px;
|
32
|
+
width: 40px;
|
33
|
+
position: absolute;
|
34
|
+
top: 50%;
|
35
|
+
left: 50%;
|
36
|
+
margin: -20px 0 0 -20px;
|
37
|
+
-webkit-transition: all .75s ease 0s;
|
38
|
+
transition: all .75s ease 0s;
|
39
|
+
border-radius: 100%;
|
40
|
+
border-top: 4px solid #555555;
|
41
|
+
-webkit-animation: standard .75s infinite linear;
|
42
|
+
animation: standard .75s infinite linear;
|
43
|
+
-webkit-transform-origin: center;
|
44
|
+
-ms-transform-origin: center;
|
45
|
+
transform-origin: center;
|
46
|
+
}
|
47
|
+
.csspinner.no-overlay:before {
|
48
|
+
content: none;
|
49
|
+
display: none;
|
50
|
+
}
|
51
|
+
/* (cs)spinner standard rotation animation used for duo, double-up etc. */
|
52
|
+
@-webkit-keyframes standard {
|
53
|
+
from {
|
54
|
+
-webkit-transform: rotate(0deg);
|
55
|
+
transform: rotate(0deg);
|
56
|
+
}
|
57
|
+
to {
|
58
|
+
-webkit-transform: rotate(360deg);
|
59
|
+
transform: rotate(360deg);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
@keyframes standard {
|
63
|
+
from {
|
64
|
+
-webkit-transform: rotate(0deg);
|
65
|
+
transform: rotate(0deg);
|
66
|
+
}
|
67
|
+
to {
|
68
|
+
-webkit-transform: rotate(360deg);
|
69
|
+
transform: rotate(360deg);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
/*(cs)spinner bar - a simple strafing bar animation*/
|
73
|
+
.csspinner.bar:after {
|
74
|
+
height: 20px;
|
75
|
+
width: 40px;
|
76
|
+
border-radius: 0;
|
77
|
+
border: none;
|
78
|
+
-webkit-animation: bar 1s infinite linear;
|
79
|
+
animation: bar 1s infinite linear;
|
80
|
+
}
|
81
|
+
@-webkit-keyframes bar {
|
82
|
+
from {
|
83
|
+
-webkit-box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.5);
|
84
|
+
box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.5);
|
85
|
+
}
|
86
|
+
to {
|
87
|
+
-webkit-box-shadow: inset 80px 0px 0px rgba(0, 0, 0, 0.5);
|
88
|
+
box-shadow: inset 80px 0px 0px rgba(0, 0, 0, 0.5);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
@keyframes bar {
|
92
|
+
from {
|
93
|
+
-webkit-box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.5);
|
94
|
+
box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.5);
|
95
|
+
}
|
96
|
+
to {
|
97
|
+
-webkit-box-shadow: inset 80px 0px 0px rgba(0, 0, 0, 0.5);
|
98
|
+
box-shadow: inset 80px 0px 0px rgba(0, 0, 0, 0.5);
|
99
|
+
}
|
100
|
+
}
|
101
|
+
/*(cs)spinner bar follow - a simple strafing bar animation that follows itself*/
|
102
|
+
.csspinner.bar.follow:after {
|
103
|
+
-webkit-animation: bar-follow 1s infinite linear;
|
104
|
+
animation: bar-follow 1s infinite linear;
|
105
|
+
}
|
106
|
+
@-webkit-keyframes bar-follow {
|
107
|
+
0% {
|
108
|
+
-webkit-box-shadow: inset 40px 0px 0px rgba(0, 0, 0, 0.5);
|
109
|
+
box-shadow: inset 40px 0px 0px rgba(0, 0, 0, 0.5);
|
110
|
+
}
|
111
|
+
100% {
|
112
|
+
-webkit-box-shadow: inset -40px 0px 0px rgba(0, 0, 0, 0.5);
|
113
|
+
box-shadow: inset -40px 0px 0px rgba(0, 0, 0, 0.5);
|
114
|
+
}
|
115
|
+
}
|
116
|
+
@keyframes bar-follow {
|
117
|
+
0% {
|
118
|
+
-webkit-box-shadow: inset 40px 0px 0px rgba(0, 0, 0, 0.5);
|
119
|
+
box-shadow: inset 40px 0px 0px rgba(0, 0, 0, 0.5);
|
120
|
+
}
|
121
|
+
100% {
|
122
|
+
-webkit-box-shadow: inset -40px 0px 0px rgba(0, 0, 0, 0.5);
|
123
|
+
box-shadow: inset -40px 0px 0px rgba(0, 0, 0, 0.5);
|
124
|
+
}
|
125
|
+
}
|
126
|
+
/* (cs)spinner blade spinner.
|
127
|
+
experimental spinner that tries to create a blade effect.*/
|
128
|
+
.csspinner.blade:after {
|
129
|
+
height: 20px;
|
130
|
+
width: 20px;
|
131
|
+
margin: -10px 0 0 10px;
|
132
|
+
border-right: 4px solid transparent;
|
133
|
+
border-top: 4px solid transparent;
|
134
|
+
border-left: 4px solid transparent;
|
135
|
+
border-bottom: 4px solid #e74c3c;
|
136
|
+
opacity: 1;
|
137
|
+
-webkit-transform-origin: left;
|
138
|
+
-ms-transform-origin: left;
|
139
|
+
transform-origin: left;
|
140
|
+
}
|
141
|
+
/*(cs)spinner double up - a doubling up standard animation spinner*/
|
142
|
+
.csspinner.double-up:after {
|
143
|
+
border-right: 4px solid #e74c3c;
|
144
|
+
border-top: 4px double #e74c3c;
|
145
|
+
border-left: 4px double #e74c3c;
|
146
|
+
border-bottom: 4px double #e74c3c;
|
147
|
+
}
|
148
|
+
/*(cs)spinner duo - a dual colored standard animated spinner*/
|
149
|
+
.csspinner.duo:after {
|
150
|
+
border-right: 4px solid #333333;
|
151
|
+
border-left: 4px solid #333333;
|
152
|
+
border-top: 4px solid #f1c40f;
|
153
|
+
border-bottom: 4px solid #f1c40f;
|
154
|
+
}
|
155
|
+
/* (cs)spinner helicopter spinner.*/
|
156
|
+
.csspinner.helicopter:after {
|
157
|
+
height: 10px;
|
158
|
+
width: 40px;
|
159
|
+
margin: -10px 0 0 -20px;
|
160
|
+
border: none;
|
161
|
+
border-radius: 0;
|
162
|
+
opacity: 1;
|
163
|
+
-webkit-transform-origin: center;
|
164
|
+
-ms-transform-origin: center;
|
165
|
+
transform-origin: center;
|
166
|
+
background-color: #8e44ad;
|
167
|
+
}
|
168
|
+
/*(cs)spinner line - a simple strafing line animation*/
|
169
|
+
.csspinner.line:after {
|
170
|
+
height: 20px;
|
171
|
+
border-radius: 0;
|
172
|
+
border: none;
|
173
|
+
-webkit-box-shadow: inset -10px 0px 0px rgba(0, 0, 0, 0.5);
|
174
|
+
box-shadow: inset -10px 0px 0px rgba(0, 0, 0, 0.5);
|
175
|
+
-webkit-animation: line .75s infinite linear;
|
176
|
+
animation: line .75s infinite linear;
|
177
|
+
}
|
178
|
+
@-webkit-keyframes line {
|
179
|
+
from {
|
180
|
+
width: 10px;
|
181
|
+
}
|
182
|
+
to {
|
183
|
+
width: 50px;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
@keyframes line {
|
187
|
+
from {
|
188
|
+
width: 10px;
|
189
|
+
}
|
190
|
+
to {
|
191
|
+
width: 50px;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
/*(cs)spinner line grow - a simple strafing line animation that grows in the middle*/
|
195
|
+
.csspinner.line.grow:after {
|
196
|
+
-webkit-animation: line 0.75s infinite linear, line-grow 0.75s infinite linear;
|
197
|
+
animation: line 0.75s infinite linear, line-grow 0.75s infinite linear;
|
198
|
+
}
|
199
|
+
@-webkit-keyframes line-grow {
|
200
|
+
0% {
|
201
|
+
-webkit-transform: scaleY(1);
|
202
|
+
transform: scaleY(1);
|
203
|
+
}
|
204
|
+
50% {
|
205
|
+
-webkit-transform: scaleY(2);
|
206
|
+
transform: scaleY(2);
|
207
|
+
}
|
208
|
+
100% {
|
209
|
+
-webkit-transform: scaleY(1);
|
210
|
+
transform: scaleY(1);
|
211
|
+
}
|
212
|
+
}
|
213
|
+
@keyframes line-grow {
|
214
|
+
0% {
|
215
|
+
-webkit-transform: scaleY(1);
|
216
|
+
transform: scaleY(1);
|
217
|
+
}
|
218
|
+
50% {
|
219
|
+
-webkit-transform: scaleY(2);
|
220
|
+
transform: scaleY(2);
|
221
|
+
}
|
222
|
+
100% {
|
223
|
+
-webkit-transform: scaleY(1);
|
224
|
+
transform: scaleY(1);
|
225
|
+
}
|
226
|
+
}
|
227
|
+
/*(cs)spinner line back and forth - a simple strafing line animation that goes back and forth*/
|
228
|
+
.csspinner.line.back-and-forth:after {
|
229
|
+
-webkit-animation: line-back-and-forth 1s infinite linear;
|
230
|
+
animation: line-back-and-forth 1s infinite linear;
|
231
|
+
}
|
232
|
+
@-webkit-keyframes line-back-and-forth {
|
233
|
+
0% {
|
234
|
+
width: 10px;
|
235
|
+
}
|
236
|
+
50% {
|
237
|
+
width: 50px;
|
238
|
+
}
|
239
|
+
100% {
|
240
|
+
width: 10px;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
@keyframes line-back-and-forth {
|
244
|
+
0% {
|
245
|
+
width: 10px;
|
246
|
+
}
|
247
|
+
50% {
|
248
|
+
width: 50px;
|
249
|
+
}
|
250
|
+
100% {
|
251
|
+
width: 10px;
|
252
|
+
}
|
253
|
+
}
|
254
|
+
/*(cs)spinner line back and forth grow - a simple strafing line animation that goes back and forth and grows in the middle*/
|
255
|
+
.csspinner.line.back-and-forth.grow:after {
|
256
|
+
-webkit-animation: line-back-and-forth 1s infinite linear, line-back-and-forth-grow 1s infinite linear;
|
257
|
+
animation: line-back-and-forth 1s infinite linear, line-back-and-forth-grow 1s infinite linear;
|
258
|
+
}
|
259
|
+
@-webkit-keyframes line-back-and-forth-grow {
|
260
|
+
0% {
|
261
|
+
-webkit-transform: scaleY(1);
|
262
|
+
transform: scaleY(1);
|
263
|
+
}
|
264
|
+
25% {
|
265
|
+
-webkit-transform: scaleY(2);
|
266
|
+
transform: scaleY(2);
|
267
|
+
}
|
268
|
+
50% {
|
269
|
+
-webkit-transform: scaleY(1);
|
270
|
+
transform: scaleY(1);
|
271
|
+
}
|
272
|
+
75% {
|
273
|
+
-webkit-transform: scaleY(2);
|
274
|
+
transform: scaleY(2);
|
275
|
+
}
|
276
|
+
100% {
|
277
|
+
-webkit-transform: scaleY(1);
|
278
|
+
transform: scaleY(1);
|
279
|
+
}
|
280
|
+
}
|
281
|
+
@keyframes line-back-and-forth-grow {
|
282
|
+
0% {
|
283
|
+
-webkit-transform: scaleY(1);
|
284
|
+
transform: scaleY(1);
|
285
|
+
}
|
286
|
+
25% {
|
287
|
+
-webkit-transform: scaleY(2);
|
288
|
+
transform: scaleY(2);
|
289
|
+
}
|
290
|
+
50% {
|
291
|
+
-webkit-transform: scaleY(1);
|
292
|
+
transform: scaleY(1);
|
293
|
+
}
|
294
|
+
75% {
|
295
|
+
-webkit-transform: scaleY(2);
|
296
|
+
transform: scaleY(2);
|
297
|
+
}
|
298
|
+
100% {
|
299
|
+
-webkit-transform: scaleY(1);
|
300
|
+
transform: scaleY(1);
|
301
|
+
}
|
302
|
+
}
|
303
|
+
/* (cs)spinner ringed spinner.
|
304
|
+
a spinner with a static ring and no overlay.*/
|
305
|
+
.csspinner.ringed:after {
|
306
|
+
border-right: 4px solid #e74c3c;
|
307
|
+
border-top: 4px solid #2ecc71;
|
308
|
+
border-left: 4px solid #2ecc71;
|
309
|
+
border-bottom: 4px solid #2ecc71;
|
310
|
+
opacity: 1;
|
311
|
+
}
|
312
|
+
/* (cs)spinner shadow - makes use of box shadowing effects */
|
313
|
+
.csspinner.shadow:after {
|
314
|
+
-webkit-animation: spin-shadow 0.25s infinite linear;
|
315
|
+
animation: spin-shadow 0.25s infinite linear;
|
316
|
+
border-radius: 100%;
|
317
|
+
border: none;
|
318
|
+
}
|
319
|
+
@-webkit-keyframes spin-shadow {
|
320
|
+
0% {
|
321
|
+
-webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
|
322
|
+
box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
|
323
|
+
}
|
324
|
+
25% {
|
325
|
+
-webkit-box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
|
326
|
+
box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
|
327
|
+
}
|
328
|
+
50% {
|
329
|
+
-webkit-box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
|
330
|
+
box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
|
331
|
+
}
|
332
|
+
100% {
|
333
|
+
-webkit-box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
|
334
|
+
box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
|
335
|
+
}
|
336
|
+
}
|
337
|
+
@keyframes spin-shadow {
|
338
|
+
0% {
|
339
|
+
-webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
|
340
|
+
box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
|
341
|
+
}
|
342
|
+
25% {
|
343
|
+
-webkit-box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
|
344
|
+
box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
|
345
|
+
}
|
346
|
+
50% {
|
347
|
+
-webkit-box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
|
348
|
+
box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
|
349
|
+
}
|
350
|
+
100% {
|
351
|
+
-webkit-box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
|
352
|
+
box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
|
353
|
+
}
|
354
|
+
}
|
355
|
+
/* (cs)spinner shadow oval left - makes use of box shadowing effects
|
356
|
+
in addition to offsetting the width and the height to angle the shadow*/
|
357
|
+
.csspinner.shadow.oval.left:after,
|
358
|
+
.csspinner.shadow.oval:after {
|
359
|
+
-webkit-animation: spin-shadow 0.25s infinite linear;
|
360
|
+
animation: spin-shadow 0.25s infinite linear;
|
361
|
+
border: none;
|
362
|
+
border-radius: 40% 100%;
|
363
|
+
}
|
364
|
+
@keyframes spin-shadow {
|
365
|
+
0% {
|
366
|
+
-webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
|
367
|
+
box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
|
368
|
+
}
|
369
|
+
25% {
|
370
|
+
-webkit-box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
|
371
|
+
box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
|
372
|
+
}
|
373
|
+
50% {
|
374
|
+
-webkit-box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
|
375
|
+
box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
|
376
|
+
}
|
377
|
+
100% {
|
378
|
+
-webkit-box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
|
379
|
+
box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
|
380
|
+
}
|
381
|
+
}
|
382
|
+
/* (cs)spinner shadow oval right - makes use of box shadowing effects
|
383
|
+
in addition to offsetting the width and the height to angle the shadow*/
|
384
|
+
.csspinner.shadow.oval.right:after {
|
385
|
+
-webkit-animation: spin-shadow 0.25s infinite linear;
|
386
|
+
animation: spin-shadow 0.25s infinite linear;
|
387
|
+
border: none;
|
388
|
+
border-radius: 100% 40%;
|
389
|
+
}
|
390
|
+
@keyframes spin-shadow {
|
391
|
+
0% {
|
392
|
+
-webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
|
393
|
+
box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
|
394
|
+
}
|
395
|
+
25% {
|
396
|
+
-webkit-box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
|
397
|
+
box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
|
398
|
+
}
|
399
|
+
50% {
|
400
|
+
-webkit-box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
|
401
|
+
box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
|
402
|
+
}
|
403
|
+
100% {
|
404
|
+
-webkit-box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
|
405
|
+
box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
|
406
|
+
}
|
407
|
+
}
|
408
|
+
/*(cs)spinner spherical horizontal spinner*/
|
409
|
+
.csspinner.sphere.horizontal:after,
|
410
|
+
.csspinner.sphere:after {
|
411
|
+
border-radius: 100%;
|
412
|
+
-webkit-animation: sphere .5s infinite;
|
413
|
+
animation: sphere .5s infinite;
|
414
|
+
border: none;
|
415
|
+
height: 40px;
|
416
|
+
}
|
417
|
+
@-webkit-keyframes sphere {
|
418
|
+
from {
|
419
|
+
-webkit-box-shadow: inset 45px 0px 10px rgba(0, 0, 0, 0.5);
|
420
|
+
box-shadow: inset 45px 0px 10px rgba(0, 0, 0, 0.5);
|
421
|
+
}
|
422
|
+
to {
|
423
|
+
-webkit-box-shadow: inset -45px 0px 10px rgba(0, 0, 0, 0.5);
|
424
|
+
box-shadow: inset -45px 0px 10px rgba(0, 0, 0, 0.5);
|
425
|
+
}
|
426
|
+
}
|
427
|
+
@keyframes sphere {
|
428
|
+
from {
|
429
|
+
-webkit-box-shadow: inset 45px 0px 10px rgba(0, 0, 0, 0.5);
|
430
|
+
box-shadow: inset 45px 0px 10px rgba(0, 0, 0, 0.5);
|
431
|
+
}
|
432
|
+
to {
|
433
|
+
-webkit-box-shadow: inset -45px 0px 10px rgba(0, 0, 0, 0.5);
|
434
|
+
box-shadow: inset -45px 0px 10px rgba(0, 0, 0, 0.5);
|
435
|
+
}
|
436
|
+
}
|
437
|
+
/*(cs)spinner spherical vertical spinner*/
|
438
|
+
.csspinner.sphere.vertical:after {
|
439
|
+
border-radius: 100%;
|
440
|
+
-webkit-animation: sphere-v 0.5s infinite;
|
441
|
+
animation: sphere-v 0.5s infinite;
|
442
|
+
border: none;
|
443
|
+
height: 40px;
|
444
|
+
}
|
445
|
+
@-webkit-keyframes sphere-v {
|
446
|
+
from {
|
447
|
+
-webkit-box-shadow: inset 0px 45px 10px rgba(0, 0, 0, 0.5);
|
448
|
+
box-shadow: inset 0px 45px 10px rgba(0, 0, 0, 0.5);
|
449
|
+
}
|
450
|
+
to {
|
451
|
+
-webkit-box-shadow: inset 0px -45px 10px rgba(0, 0, 0, 0.5);
|
452
|
+
box-shadow: inset 0px -45px 10px rgba(0, 0, 0, 0.5);
|
453
|
+
}
|
454
|
+
}
|
455
|
+
@keyframes sphere-v {
|
456
|
+
from {
|
457
|
+
-webkit-box-shadow: inset 0px 45px 10px rgba(0, 0, 0, 0.5);
|
458
|
+
box-shadow: inset 0px 45px 10px rgba(0, 0, 0, 0.5);
|
459
|
+
}
|
460
|
+
to {
|
461
|
+
-webkit-box-shadow: inset 0px -45px 10px rgba(0, 0, 0, 0.5);
|
462
|
+
box-shadow: inset 0px -45px 10px rgba(0, 0, 0, 0.5);
|
463
|
+
}
|
464
|
+
}
|
465
|
+
/* (cs)spinner traditional spinner.
|
466
|
+
Makes use of standard animation spin and minimally extends core.*/
|
467
|
+
.csspinner.traditional:after {
|
468
|
+
border-right: 4px solid #777777;
|
469
|
+
border-top: 4px solid #777777;
|
470
|
+
border-left: 4px solid #999999;
|
471
|
+
border-bottom: 4px solid #bbbbbb;
|
472
|
+
}
|