-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver_status.css
More file actions
100 lines (86 loc) · 1.74 KB
/
Copy pathserver_status.css
File metadata and controls
100 lines (86 loc) · 1.74 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/* Server status */
.server-head {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 6px;
}
.server-title {
margin: 0;
}
.server-meta {
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
gap: 8px;
}
.pill {
display: inline-flex;
align-items: center;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 999px;
padding: 7px 10px;
color: rgba(234, 240, 255, 0.92);
font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
font-size: 12px;
font-weight: 750;
background: rgba(0, 0, 0, 0.2);
}
.pill-map {
opacity: 0.92;
}
.pill-players {
opacity: 0.98;
}
.server.offline {
opacity: 0.55;
filter: grayscale(0.2);
}
.server-status {
display: inline-flex;
align-items: center;
justify-content: center;
margin-right: 8px;
font-size: 16px;
line-height: 1;
transform: translateZ(0);
}
.server.online .server-status {
animation: glow-green 1.6s ease-in-out infinite;
}
.server.offline .server-status {
animation: glow-red 1.6s ease-in-out infinite;
}
@keyframes glow-green {
0%,
100% {
text-shadow:
0 0 4px rgba(0, 255, 140, 0.25),
0 0 10px rgba(0, 255, 140, 0.2);
transform: translateY(0);
}
50% {
text-shadow:
0 0 8px rgba(0, 255, 140, 0.55),
0 0 18px rgba(0, 255, 140, 0.35);
transform: translateY(-1px);
}
}
@keyframes glow-red {
0%,
100% {
text-shadow:
0 0 4px rgba(255, 70, 70, 0.25),
0 0 10px rgba(255, 70, 70, 0.2);
transform: translateY(0);
}
50% {
text-shadow:
0 0 8px rgba(255, 70, 70, 0.55),
0 0 18px rgba(255, 70, 70, 0.35);
transform: translateY(-1px);
}
}