summaryrefslogtreecommitdiffstats
path: root/public/css/icinga/spinner.less
blob: c1cf93e9bfdc82e8d124c24600c24ffe6ad3dafa (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
/*! Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */

.refresh-container-control > i:before {
  margin: 0;
}

a.spinner.active > i,
button.spinner.active > i,
i.spinner.active {
  &:before {
    .animate(spin 2s infinite linear);

    // icon-spin6
    content: '\e874';
  }

  &.fa:before {
    // fa spinner
    content: '\f110';
  }
}

div.spinner {
  display: inline-block;
  vertical-align: middle;

  i {
    visibility: hidden;

    &.active {
      visibility: visible;

      &:before {
        .animate(spin 2s infinite linear);
      }
    }

    &:before {
      margin: 0; // Disables wobbling
    }
  }
}