Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4173210
spinner.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
spinner.less
View Options
@
import
'mediawiki.skin.variables.less'
;
.
mw-spinner
{
position
:
relative
;
>
.mw-spinner-container
{
transform-origin
:
0
0
;
}
@
mw-spinner-small-size
:
20px
;
@
mw-spinner-large-size
:
32px
;
&
-small
{
width
:
@
mw-spinner-small-size
;
height
:
@
mw-spinner-small-size
;
>
.mw-spinner-container
{
transform
:
scale
(
unit
(
(
@
mw
-spinner-small-size
/
64
)
)
);
}
}
&
-large
{
width
:
@
mw-spinner-large-size
;
height
:
@
mw-spinner-large-size
;
>
.mw-spinner-container
{
transform
:
scale
(
unit
(
(
@
mw
-spinner-large-size
/
64
)
)
);
}
}
&
-block
{
display
:
block
;
width
:
100
%
;
text-align
:
center
;
>
.mw-spinner-container
{
display
:
inline-block
;
vertical-align
:
top
;
}
&
.
mw-spinner-small
>
.
mw-spinner-container
{
min-width
:
@
mw-spinner-small-size
;
}
&
.
mw-spinner-large
>
.
mw-spinner-container
{
min-width
:
@
mw-spinner-large-size
;
}
}
&
-inline
{
display
:
inline-block
;
vertical-align
:
middle
;
}
/**
* CSS loading spinner adapted from loadingio, CC0
* https://github.com/loadingio/css-spinner/
*/
&
-container
>
div
{
transform-origin
:
32
px
32
px
;
animation
:
mw-spinner
1.2
s
linear
infinite
;
&::after
{
content
:
' '
;
display
:
block
;
position
:
absolute
;
top
:
3
px
;
//
If
this
was
allowed
to
flip,
then
transform-origin
would
also
need
to
be
flipped,
//
but
that's
not
supported.
Partial
flipping
causes
visual
issues
(T292673).
/* @noflip */
left
:
29
px
;
width
:
5
px
;
height
:
14
px
;
border-radius
:
20
%
;
background
:
@
color
-
base
;
}
&
:
nth-child
(
1
)
{
transform
:
rotate
(
0
deg
);
animation-delay
:
-1.1
s
;
}
&
:
nth-child
(
2
)
{
transform
:
rotate
(
30
deg
);
animation-delay
:
-1
s
;
}
&
:
nth-child
(
3
)
{
transform
:
rotate
(
60
deg
);
animation-delay
:
-0.9
s
;
}
&
:
nth-child
(
4
)
{
transform
:
rotate
(
90
deg
);
animation-delay
:
-0.8
s
;
}
&
:
nth-child
(
5
)
{
transform
:
rotate
(
120
deg
);
animation-delay
:
-0.7
s
;
}
&
:
nth-child
(
6
)
{
transform
:
rotate
(
150
deg
);
animation-delay
:
-0.6
s
;
}
&
:
nth-child
(
7
)
{
transform
:
rotate
(
180
deg
);
animation-delay
:
-0.5
s
;
}
&
:
nth-child
(
8
)
{
transform
:
rotate
(
210
deg
);
animation-delay
:
-0.4
s
;
}
&
:
nth-child
(
9
)
{
transform
:
rotate
(
240
deg
);
animation-delay
:
-0.3
s
;
}
&
:
nth-child
(
10
)
{
transform
:
rotate
(
270
deg
);
animation-delay
:
-0.2
s
;
}
&
:
nth-child
(
11
)
{
transform
:
rotate
(
300
deg
);
animation-delay
:
-0.1
s
;
}
&
:
nth-child
(
12
)
{
transform
:
rotate
(
330
deg
);
animation-delay
:
0
s
;
}
}
}
@
keyframes
mw-spinner
{
0
%
{
opacity
:
1
;
}
100
%
{
opacity
:
0
;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 20 2026, 07:10 (11 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b3/9c/41af0b2320c43b566e7ab44d1216
Default Alt Text
spinner.less (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment