2015-10-08 11:12:15 +02:00
|
|
|
$ascribe-black: #1E1E1E;
|
|
|
|
$ascribe-dark-blue: #003C69;
|
|
|
|
$ascribe-blue: #65CFE9;
|
|
|
|
$ascribe-light-blue: #D3DEE4;
|
|
|
|
$ascribe-pink: #D10074;
|
|
|
|
|
|
|
|
$ascribe--spinner-color: $ascribe-blue;
|
|
|
|
|
2015-10-09 16:21:26 +02:00
|
|
|
$ascribe--spinner-size-lg: 50px;
|
|
|
|
$ascribe--spinner-size-md: 30px;
|
|
|
|
$ascribe--spinner-size-sm: 15px;
|
2015-10-08 11:12:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
[class^="spinner-wrapper-"]{
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-wrapper-blue {
|
|
|
|
color: $ascribe-blue;
|
|
|
|
.spinner-circle {
|
|
|
|
border-color: $ascribe-blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-wrapper-dark-blue {
|
|
|
|
color: $ascribe-dark-blue;
|
|
|
|
.spinner-circle {
|
|
|
|
border-color: $ascribe-dark-blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-wrapper-pink {
|
|
|
|
color: $ascribe-pink;
|
|
|
|
.spinner-circle {
|
|
|
|
border-color: $ascribe-pink;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-wrapper-loop {
|
|
|
|
-webkit-animation: spinner-color-loop 20s infinite;
|
2015-10-15 15:24:40 +02:00
|
|
|
-moz-animation: spinner-color-loop 20s infinite;
|
|
|
|
-o-animation: spinner-color-loop 20s infinite;
|
2015-10-21 11:00:37 +02:00
|
|
|
-ms-animation: spinner-color-loop 20s infinite;
|
2015-10-15 15:24:40 +02:00
|
|
|
animation: spinner-color-loop 20s;
|
|
|
|
|
2015-10-08 11:12:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-wrapper-black {
|
|
|
|
color: $ascribe-black;
|
|
|
|
.spinner-circle {
|
|
|
|
border-color: $ascribe-black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-12-04 14:34:59 +01:00
|
|
|
.spinner-wrapper-white {
|
|
|
|
color: $ascribe-white;
|
|
|
|
.spinner-circle {
|
|
|
|
border-color: $ascribe-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-09 16:21:26 +02:00
|
|
|
.spinner-wrapper-lg {
|
|
|
|
width: $ascribe--spinner-size-lg;
|
|
|
|
height: $ascribe--spinner-size-lg;
|
|
|
|
}
|
|
|
|
|
2015-10-08 11:12:15 +02:00
|
|
|
.spinner-wrapper-md {
|
|
|
|
width: $ascribe--spinner-size-md;
|
|
|
|
height: $ascribe--spinner-size-md;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-wrapper-sm {
|
|
|
|
width: $ascribe--spinner-size-sm;
|
|
|
|
height: $ascribe--spinner-size-sm;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-circle {
|
2015-10-15 15:24:40 +02:00
|
|
|
border-radius: 50%;
|
2015-10-08 11:12:15 +02:00
|
|
|
border-style: solid;
|
|
|
|
|
|
|
|
-webkit-animation: spin 1s infinite linear;
|
|
|
|
-moz-animation: spin 1s infinite linear;
|
|
|
|
-o-animation: spin 1s infinite linear;
|
2015-10-21 11:00:37 +02:00
|
|
|
-ms-animation: spin 1s infinite linear;
|
2015-10-08 11:12:15 +02:00
|
|
|
animation: spin 1s infinite linear;
|
|
|
|
}
|
2015-10-15 15:24:40 +02:00
|
|
|
.spinner-wrapper-lg .spinner-inner,
|
2015-10-09 16:21:26 +02:00
|
|
|
.spinner-wrapper-lg .spinner-circle {
|
|
|
|
width: $ascribe--spinner-size-lg;
|
|
|
|
height: $ascribe--spinner-size-lg;
|
|
|
|
}
|
|
|
|
|
2015-10-15 15:24:40 +02:00
|
|
|
.spinner-wrapper-md .spinner-inner,
|
2015-10-08 11:12:15 +02:00
|
|
|
.spinner-wrapper-md .spinner-circle {
|
|
|
|
width: $ascribe--spinner-size-md;
|
|
|
|
height: $ascribe--spinner-size-md;
|
|
|
|
}
|
|
|
|
|
2015-10-15 15:24:40 +02:00
|
|
|
.spinner-wrapper-sm .spinner-inner,
|
2015-10-08 11:12:15 +02:00
|
|
|
.spinner-wrapper-sm .spinner-circle {
|
|
|
|
width: $ascribe--spinner-size-sm;
|
|
|
|
height: $ascribe--spinner-size-sm;
|
2015-10-15 15:24:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-wrapper-lg .spinner-circle,
|
|
|
|
.spinner-wrapper-sm .spinner-circle,
|
|
|
|
.spinner-wrapper-md .spinner-circle {
|
2015-10-08 11:12:15 +02:00
|
|
|
border-width: 1px 1px 1px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-inner {
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2015-10-09 16:21:26 +02:00
|
|
|
.spinner-wrapper-lg .spinner-inner {
|
|
|
|
font-size: $ascribe--spinner-size-lg;
|
2015-12-08 13:33:41 +01:00
|
|
|
line-height: $ascribe--spinner-size-lg;
|
2015-12-09 14:46:34 +01:00
|
|
|
top: -52px;
|
2015-10-09 16:21:26 +02:00
|
|
|
}
|
|
|
|
|
2015-10-08 11:12:15 +02:00
|
|
|
.spinner-wrapper-md .spinner-inner {
|
|
|
|
font-size: $ascribe--spinner-size-md;
|
2015-12-08 13:33:41 +01:00
|
|
|
line-height: $ascribe--spinner-size-md;
|
2015-12-09 14:46:34 +01:00
|
|
|
top: -31px;
|
2015-10-08 11:12:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-wrapper-sm .spinner-inner {
|
|
|
|
font-size: $ascribe--spinner-size-sm;
|
2015-12-08 13:33:41 +01:00
|
|
|
line-height: $ascribe--spinner-size-sm;
|
|
|
|
top: -15px;
|
2015-10-08 11:12:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes spin {
|
|
|
|
from {-webkit-transform: rotate(0deg);}
|
|
|
|
to {-webkit-transform: rotate(359deg);}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-moz-keyframes spin {
|
|
|
|
from {-moz-transform: rotate(0deg);}
|
|
|
|
to {-moz-transform: rotate(359deg);}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-o-keyframes spin {
|
|
|
|
from {-o-transform: rotate(0deg);}
|
|
|
|
to {-o-transform: rotate(359deg);}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes spin{
|
|
|
|
from {transform: rotate(0deg);}
|
|
|
|
to {transform: rotate(359deg);}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyframes(spinner-color-loop) {
|
|
|
|
0% { color: $ascribe-black; }
|
|
|
|
20% { color: $ascribe-dark-blue; }
|
|
|
|
40% { color: $ascribe-blue; }
|
|
|
|
60% { color: $ascribe-light-blue; }
|
|
|
|
80% { color: $ascribe-pink; }
|
2015-12-04 14:34:59 +01:00
|
|
|
}
|