Bin
2025-12-17 2b99d77d73ba568beff0a549534017caaad8a6de
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
.skeletonLoader {
  --skeleton-light-color: linear-gradient(0deg, rgb(9 109 217 / 5%), rgb(9 109 217 / 5%)), #FAFAFA;
  --skeleton-dark-color: linear-gradient(0deg, rgb(9 109 217 / 14%), rgb(9 109 217 / 14%)), #FAFAFA;
  --skeleton-gap: 4px;
 
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--skeleton-gap);
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  margin-left: 0;
  z-index: 1;
  color: transparent;
 
  &__line {
    --line-width: 60%;
    --line-height: 16px;
 
    height: var(--line-height);
    width: var(--line-width);
    min-width: 20px;
    border-radius: 8px;
    display: block;
    background: var(--skeleton-light-color);
    animation-name: skeleton-animation;
    animation-timing-function: ease-in-out;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }
 
  &__gap {
    --height: 8px;
 
    height: var(--height);
  }
}
 
 
@keyframes skeleton-animation {
  0% {
    background: var(--skeleton-light-color);
    opacity: 1;
  }
 
  50% {
    opacity: 0.8;
  }
 
  100% {
    background: var(--skeleton-dark-color);
    opacity: 1;
  }
}