2016-02-20 13:40:16 -06:00
|
|
|
@mixin keyframes($animation-name) {
|
2017-12-19 09:22:41 -06:00
|
|
|
@-webkit-keyframes #{$animation-name} {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
@-moz-keyframes #{$animation-name} {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
@-ms-keyframes #{$animation-name} {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
@-o-keyframes #{$animation-name} {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
@keyframes #{$animation-name} {
|
|
|
|
@content;
|
|
|
|
}
|
2016-02-20 13:40:16 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin animation($str) {
|
|
|
|
-webkit-animation: #{$str};
|
|
|
|
-moz-animation: #{$str};
|
|
|
|
-ms-animation: #{$str};
|
|
|
|
-o-animation: #{$str};
|
2016-02-20 17:08:35 -06:00
|
|
|
animation: #{$str};
|
2016-02-20 13:44:21 -06:00
|
|
|
}
|
2017-08-31 09:38:49 -05:00
|
|
|
|
|
|
|
.animate-height {
|
|
|
|
max-height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&--open {
|
|
|
|
max-height: 1000px;
|
|
|
|
overflow: auto;
|
|
|
|
transition: max-height 250ms ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
2020-07-01 02:32:27 -05:00
|
|
|
|
2020-07-02 00:15:41 -05:00
|
|
|
@keyframes spin-clockwise {
|
2020-07-01 02:32:27 -05:00
|
|
|
0% {
|
2020-07-02 00:15:41 -05:00
|
|
|
transform: rotate(0deg) scaleX(-1); // scaleX flips the `sync` icon so arrows point the correct way
|
2020-07-01 02:32:27 -05:00
|
|
|
}
|
|
|
|
100% {
|
2020-07-02 00:15:41 -05:00
|
|
|
transform: rotate(359deg) scaleX(-1);
|
2020-07-01 02:32:27 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-02 00:15:41 -05:00
|
|
|
.spin-clockwise {
|
|
|
|
animation: spin-clockwise 3s infinite linear;
|
2020-07-01 02:32:27 -05:00
|
|
|
}
|