summaryrefslogtreecommitdiffstats
path: root/web_src/less/animations.less
blob: cdb10236fbcc37a64a8b951038a6c6bab4b8da2c (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
@keyframes isloadingspin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.is-loading {
  background: transparent !important;
  color: transparent !important;
  border: transparent !important;
  pointer-events: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.is-loading::after {
  content: "";
  position: absolute;
  display: block;
  width: 4rem;
  height: 4rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: isloadingspin 500ms infinite linear;
  border-width: 4px;
  border-style: solid;
  border-color: #ececec #ececec #666 #666;
  border-radius: 100%;
}

.markup pre.is-loading,
.editor-loading.is-loading {
  height: 12rem;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}