Skip to content

Commit 12ae122

Browse files
MartijnCuppensmdo
authored andcommitted
Spinners cleanup
1 parent 5042b3c commit 12ae122

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

scss/_spinners.scss

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@
77
}
88

99
.spinner-border {
10-
position: relative;
1110
display: inline-block;
1211
width: $spinner-width;
1312
height: $spinner-height;
1413
overflow: hidden;
1514
text-indent: -999em;
1615
vertical-align: text-bottom;
17-
border: $spinner-border-width solid;
18-
border-color: currentColor transparent currentColor currentColor;
16+
border: $spinner-border-width solid currentColor;
17+
border-right-color: transparent;
1918
border-radius: 50%;
2019
animation: spinner-border .75s linear infinite;
2120
}
@@ -32,20 +31,14 @@
3231

3332
@keyframes spinner-grow {
3433
0% {
35-
opacity: 0;
3634
transform: scale(0);
3735
}
3836
50% {
3937
opacity: 1;
4038
}
41-
100% {
42-
opacity: 0;
43-
transform: scale(1);
44-
}
4539
}
4640

4741
.spinner-grow {
48-
position: relative;
4942
display: inline-block;
5043
width: $spinner-width;
5144
height: $spinner-height;
@@ -54,6 +47,7 @@
5447
vertical-align: text-bottom;
5548
background-color: currentColor;
5649
border-radius: 50%;
50+
opacity: 0;
5751
animation: spinner-grow .75s linear infinite;
5852
}
5953

0 commit comments

Comments
 (0)