summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/style.css
diff options
context:
space:
mode:
authorSimon Rettberg2019-01-28 13:48:35 +0100
committerSimon Rettberg2019-01-28 13:48:35 +0100
commit3b1df888c963d906005ff139892df06a0d1ae2b4 (patch)
treee083400a996893fec66ed3c7e03cc234ca50a1af /modules-available/statistics/style.css
parent[inc/Util] readableFileSize: support input in KB/MB/... (diff)
downloadslx-admin-3b1df888c963d906005ff139892df06a0d1ae2b4.tar.gz
slx-admin-3b1df888c963d906005ff139892df06a0d1ae2b4.tar.xz
slx-admin-3b1df888c963d906005ff139892df06a0d1ae2b4.zip
[statistics] Track and display memory/tmp usage of clients
Diffstat (limited to 'modules-available/statistics/style.css')
-rw-r--r--modules-available/statistics/style.css32
1 files changed, 32 insertions, 0 deletions
diff --git a/modules-available/statistics/style.css b/modules-available/statistics/style.css
index 1496ac87..c48275ba 100644
--- a/modules-available/statistics/style.css
+++ b/modules-available/statistics/style.css
@@ -8,4 +8,36 @@
border-radius: 25px;
font-size: 20px;
line-height: 40px;
+}
+
+.meter {
+ position: relative;
+ border-radius: 5px;
+ border: 1px solid #999;
+ background: linear-gradient(to right, #9e6 0%, #fb8 66%, #f32 100%);
+ height: 1.25em;
+ padding: 0;
+ width: 100%;
+ overflow: hidden;
+}
+
+.meter .bar {
+ position: absolute;
+ top: 0;
+ height: 100%;
+ right: 0;
+ background: #efe;
+ display: inline-block;
+ padding: 0;
+ margin: 0 0 0 auto;
+}
+
+.meter .text {
+ position: absolute;
+ right: 5px;
+ overflow: visible;
+ font-size: 8pt;
+ white-space: nowrap;
+ z-index: 1000;
+ text-shadow: #fff 1px 1px;
} \ No newline at end of file