Debian Codegraph @

debian/missing-sources/wyrm/sass/wyrm_core/_spinner.sass

raw
1 // Spinners
2 //
3 // Spinners are pretty simple. You can change the color by changing `$spinner-color`.
4 // Also, any of the modifiers below can also carry `.wy-spinner-absolute` to position
5 // the spinner in the absolute center of your wrapping area.
6 //
7 // Markup:
8 // <div class="wy-spinner {$modifiers}"></div>
9 // <a href="#random" class="btn"><span class="wy-spinner {$modifiers}"></span> Loading</a>
10 //
11 // .wy-spinner-large - Large spinner.
12 // .wy-spinner-small - Small spinner.
13 //
14 // Styleguide 7.0
15
16
17 .wy-spinner
18 height: 30px
19 width: 30px
20 margin: 0 auto
21 position: relative
22 +animation(rotation .6s infinite linear)
23 border: 8px solid lighten($spinner-color, 50%)
24 border-top: 8px solid $spinner-color
25 border-radius: 100%
26 display: block
27
28 .wy-spinner.wy-spinner-margin
29 margin: $base-line-height auto
30
31 .btn .wy-spinner
32 display: inline-block
33 height: 14px
34 width: 14px
35 border-width: 4px
36 border-color: rgba(0,0,0,.1)
37 border-top-color: $white
38 top: 1px
39
40 .wy-logo .wy-spinner
41 border-color: rgba(0,0,0,.1)
42 border-top-color: $section-background-color
43 margin-bottom: $gutter / 2
44 .wy-spinner.wy-spinner-inline
45 display: inline-block
46 vertical-align: middle
47 margin: none
48
49 .wy-spinner.wy-spinner-large
50 height: 45px
51 width: 45px
52 border-width: 12px
53
54 .wy-spinner.wy-spinner-small
55 height: 16px
56 width: 16px
57 border-width: 4px
58
59 .wy-spinner.wy-spinner-absolute
60 position: absolute
61 top: 0
62 left: 0
63 right: 0
64 bottom: 0
65 margin: auto
66
67 +keyframes(rotation)
68 from
69 +transform(rotate(0deg))
70 to
71 +transform(rotate(359deg))