he wei
2025-01-13 8ffb54b88e3907ea59c120d34a8cd9f486cc1151
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
/* light */
.yc-light {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
}
 
.yc-light:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -5px;
  margin-left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background-color: #4afd88;
  box-shadow: 0 0 6px 6px #4afd8880;
}
 
.yc-light.error-light:before {
  background-color: #fd5b67;
  animation: errorLight 1000ms infinite;
  box-shadow: 0 0 6px 6px #fd586480;
}
.yc-light.gray-light:before {
  background-color: #878787;
  width: 12px;
  height: 12px;
  box-shadow: none;
}
 
@keyframes errorLight {
  0% {
      opacity: 1;
      box-shadow: 0 0 6px 6px #fd586480;
  }
  50% {
      opacity: 0.3;
      box-shadow: 0 0 0 0 #fd586480;
  }
  100% {
      opacity: 1;
      box-shadow: 0 0 6px 6px #fd586480;
  }
}