summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/components/_loader.scss
blob: ee7f6f372dbf8478419d457a7f16c922f3d69720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
.onboarding-loader {
    .onboarding-loader-backdrop {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        position: absolute;
        background-color: $loader-background;
        opacity: 0.5;
    }
    .tlv-loader {
        height: 63px;
        width: 63px;
        position: absolute;
        top: 30%;
        left: 50%;
        margin-top: -10.5px;
        margin-left: -10.5px;
    }
    .tlv-loader.large {
        transform: scale(1);
    }
    .tlv-loader::before {
        background-color: $gray;
        border-radius: 50%;
        box-shadow: 21px 21px 0px 0px $gray, 0px 42px 0px 0px $gray,
            -21px 21px 0px 0px $gray;
        content: '';
        display: block;
        height: 21px;
        width: 21px;
        position: absolute;
        left: 50%;
        margin-left: -10.5px;
    }
    .tlv-loader::after {
        border-radius: 50%;
        content: '';
        display: block;
        position: absolute;
        height: 21px;
        width: 21px;
        animation: dot-move-2 4.5s infinite ease-in;
    }
    @keyframes dot-move {
        0% {
            background-color: $blue;
            left: 21px;
            top: 0;
        }
        25% {
            background-color: $orange;
            left: 42px;
            top: 21px;
        }
        50% {
            background-color: $light-purple;
            left: 21px;
            top: 42px;
        }
        75% {
            background-color: $light-green;
            left: 0;
            top: 21px;
        }
        100% {
            background-color: $blue;
            left: 21px;
            top: 0;
        }
    }
    @keyframes dot-move-2 {
        0% {
            background-color: $blue;
            left: 21px;
            top: 0;
        }
        6.25% {
            background-color: $blue;
            left: 42px;
            top: 21px;
        }
        12.5% {
            background-color: $blue;
            left: 21px;
            top: 42px;
        }
        18.75% {
            background-color: $blue;
            left: 0;
            top: 21px;
        }
        25% {
            background-color: $orange;
            left: 21px;
            top: 0;
        }
        31.25% {
            background-color: $orange;
            left: 42px;
            top: 21px;
        }
        37.5% {
            background-color: $orange;
            left: 21px;
            top: 42px;
        }
        43.75% {
            background-color: $orange;
            left: 0;
            top: 21px;
        }
        50% {
            background-color: $light-purple;
            left: 21px;
            top: 0;
        }
        56.25% {
            background-color: $light-purple;
            left: 42px;
            top: 21px;
        }
        62.5% {
            background-color: $light-purple;
            left: 21px;
            top: 42px;
        }
        68.75% {
            background-color: $light-purple;
            left: 0;
            top: 21px;
        }
        75% {
            background-color: $light-green;
            left: 21px;
            top: 0;
        }
        81.25% {
            background-color: $light-green;
            left: 42px;
            top: 21px;
        }
        87.5% {
            background-color: $light-green;
            left: 21px;
            top: 42px;
        }
        93.75% {
            background-color: $light-green;
            left: 0;
            top: 21px;
        }
        100% {
            background-color: $blue;
            left: 21px;
            top: 0;
        }
    }
}