Summary Files Commits Branches @commit @diff @stats
path: root / src / utilities / loading.less
blob: e2417a9b8525347a89e05b03f0f20fbe3b4b8761 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Loading
.loading {
  color: transparent !important;
  min-height: @control-icon-size;
  pointer-events: none;
  position: relative;
  &::after {
    animation: loading 500ms infinite linear;
    border: @border-width-lg solid @primary-color;
    border-radius: @unit-2;
    border-right-color: transparent;
    border-top-color: transparent;
    content: "";
    display: block;
    height: @control-icon-size;
    left: 50%;
    margin-left: -@control-icon-size / 2;
    margin-top: -@control-icon-size / 2;
    position: absolute;
    top: 50%;
    width: @control-icon-size;
    z-index: @zindex-0;
  }
}