Commit 3319dfa3 authored by Denys Mishunov's avatar Denys Mishunov

Introduced a mixin for spinner

parent 6407557d
[data-editor-loading]::before {
content: '';
@include spinner(32px, 3px, $orange-400);
@include gl-absolute;
@include gl-z-index-1;
}
[id^='editor-lite-'] {
height: 500px;
}
......@@ -20,7 +20,7 @@
}
}
.spinner {
@mixin spinner($size, $border-width, $color) {
border-radius: 50%;
position: relative;
margin: 0 auto;
......@@ -30,8 +30,12 @@
animation-iteration-count: infinite;
border-style: solid;
display: inline-flex;
@include spinner-size(16px, 2px);
@include spinner-color($orange-400);
@include spinner-size($size, $border-width);
@include spinner-color($color);
}
.spinner {
@include spinner(16px, 2px, $orange-400);
&.spinner-md {
@include spinner-size(32px, 3px);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment