summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.css
blob: 402c527d2c64fca37efd82d04ba2c5d06094e540 (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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#chartjs-tooltip {
	opacity: 0;
	position: absolute;
	background: rgba(0, 0, 0, .7);
	color: white;
	padding: 3px;
	border-radius: 3px;
	transition: all .1s ease;
	pointer-events: none;
	transform: translate(-50%, 0);
	z-index: 20000;
}

#chartjs-tooltip.above {
	transform: translate(-50%, -100%);
}

#chartjs-tooltip.above:before {
	border: solid;
	border-color: #111 transparent;
	border-color: rgba(0, 0, 0, .8) transparent;
	border-width: 8px 8px 0 8px;
	bottom: 1em;
	content: "";
	display: block;
	left: 50%;
	top: 100%;
	position: absolute;
	z-index: 99;
	transform: translate(-50%, 0);
}

.pie label {
	font-weight: bold;
	font-size: 14px;
	display: block;
	margin-bottom: 10px;
	text-align: center;
}

.kpi ul {
	list-style: none;
}

.kpi li {
	margin: 10px;
	display: none;
}

.kpi big {
	font-weight: bold;
}

.head {
	text-align: center;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	white-space: normal;
}

.head .pie {
	min-width: 200px;
	padding: 5px;
	flex: 1 1 30%;
}

.cbi-tooltip .head .pie {
	min-width: 100px;
}

.head .kpi {
	padding: 5px;
	font-size: smaller;
	text-align: left;
	align-self: center;
	flex: 1 0 33%;
	min-width: 150px;
	display: flex;
	justify-content: center;
}

.head .kpi ul {
	margin: 0;
}

.td.double > span {
	display: block;
}

.cbi-tooltip {
	box-shadow: 0 0 5px #000;
}

@media screen and (max-width: 992px) {
	.td.hide-xs {
		display: none;
	}

	.td.double:not(.hide-xs) > span {
		white-space: nowrap;
		text-align: left;
	}

	.td.double:not(.hide-xs) > span:first-child::before {
		content: "IPv4: ";
		font-weight: bold;
	}

	.td.double:not(.hide-xs) > span:last-child::before {
		content: "IPv6: ";
		font-weight: bold;
	}
}