@v4fire/client
Version:
V4Fire client core library
40 lines (30 loc) • 620 B
text/stylus
/*!
* V4Fire Client Core
* https://github.com/V4Fire/Client
*
* Released under the MIT license
* https://github.com/V4Fire/Client/blob/master/LICENSE
*/
@import "super/i-block/i-block.styl"
$p = {
size: 1rem
animation: rotate 1.1s infinite linear
}
b-progress-icon extends i-block
position relative
display inline-block
&__loader
&__i
display block
if $p.size
size $p.size
border ($p.size / 4) solid transparent
else
border-style solid
border-color transparent
border-radius 50%
&__i
absolute top 0 left 0
transform translateZ(0)
if $p.animation
animation $p.animation