UNPKG

708 BSCSSView Raw
1//
2// Copyright IBM Corp. 2016, 2018
3//
4// This source code is licensed under the Apache-2.0 license found in the
5// LICENSE file in the root directory of this source tree.
6//
7
8@import 'vars';
9
10@keyframes rotate {
11 0% {
12 transform: rotate(0deg);
13 }
14 100% {
15 transform: rotate(360deg);
16 }
17}
18
19@keyframes rotate-end-p1 {
20 100% {
21 transform: rotate(360deg);
22 }
23}
24
25@keyframes rotate-end-p2 {
26 100% {
27 transform: rotate(-360deg);
28 }
29}
30
31/* Stroke animations */
32@keyframes init-stroke {
33 0% {
34 stroke-dashoffset: 240;
35 }
36 100% {
37 stroke-dashoffset: $loading__gap;
38 }
39}
40
41@keyframes stroke-end {
42 0% {
43 stroke-dashoffset: $loading__gap;
44 }
45 100% {
46 stroke-dashoffset: 240;
47 }
48}