-
Notifications
You must be signed in to change notification settings - Fork 1
/
dashboard.css
100 lines (84 loc) · 1.55 KB
/
dashboard.css
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
:root {
--main-cell-size: 120px;
}
body {
font-family: Sans-Serif;
background: #202020;
color: #fff;
padding: 0px;
margin: 0px;
}
a, a:hover, a:active, a:visited {
color: #fff;
text-decoration: none;
}
.updated {
padding: 5px;
background: cadetblue;
text-align: center;
position: fixed;
width: 100%;
box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}
.updated .nonetwork {
color: #FFEB3B;
}
.instances {
padding-top: 30px;
width: max-content;
}
.service {
padding: 1em 0;
overflow: hidden;
}
.service div {
text-align: center;
border-radius: 12px;
margin-left: 10px;
box-sizing: border-box;
}
.service-name {
width: 150px;
height: var(--main-cell-size);
float: left;
display: flex;
justify-content: center;
flex-direction: column;
word-break: break-word;
}
.service .instance {
width: var(--main-cell-size);
height: var(--main-cell-size);
float: left;
overflow: hidden;
padding: 5px;
background: rgba(255, 255, 255, 0.2);
}
.service .instance:hover {
opacity: 0.9;
}
.service .instance a {
display: block;
text-shadow: #999 1px 1px;
height: var(--main-cell-size);
display: flex;
justify-content: center;
flex-direction: column;
}
.service .instance.ok {
background: darkseagreen;
}
.service .instance.fail {
background: indianred;
}
.blink {
animation: blink 1s infinite;
}
@-webkit-keyframes blink {
0%, 49% {
opacity: 0.3;
}
50%, 100% {
opacity: 1;
}
}