summaryrefslogtreecommitdiff
path: root/ui/app/components/spinner/spinner.css
blob: 5e8535c945db461d791173cfac39c23057f6f6e5 (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
.spinner {
  height: 18px;
  display: inline-block;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #000;
  vertical-align: middle;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.5s infinite ease-in-out;
  animation: bouncedelay 1.5s infinite ease-in-out;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.spinner .spin1 {
  -webkit-animation-delay: -.46s;
  animation-delay: -.46s;
}
.spinner .spin2 {
  -webkit-animation-delay: -.24s;
  animation-delay: -.24s;
}

@-webkit-keyframes bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0.5);
  } 40% {
    -webkit-transform: scale(0.9);
  }
}

@keyframes bouncedelay {
  0%, 80%, 100% {
    transform: scale(0.5);
  } 40% {
    transform: scale(0.9);
  }
}