aboutsummaryrefslogtreecommitdiff
path: root/src/app/css/launcher.css
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-06-01 19:24:26 +0200
committerGitHub <noreply@github.com>2022-06-01 19:24:26 +0200
commit461ad2c4183f47c089f307e21acc0c2316874243 (patch)
tree643c051bd2aa9ec5c71c1e25fc86065d9f76429d /src/app/css/launcher.css
parent1c06ab53f1cf2228e1034a66538f3a31a14e3743 (diff)
parent6794097cb275bed0f208614e15404a46d734ca4a (diff)
downloadViper-461ad2c4183f47c089f307e21acc0c2316874243.tar.gz
Viper-461ad2c4183f47c089f307e21acc0c2316874243.zip
Merge pull request #130 from 0neGal/server-status
feat: Master server status
Diffstat (limited to 'src/app/css/launcher.css')
-rw-r--r--src/app/css/launcher.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/app/css/launcher.css b/src/app/css/launcher.css
index 03812c6..ce54ddf 100644
--- a/src/app/css/launcher.css
+++ b/src/app/css/launcher.css
@@ -297,3 +297,32 @@ code {
margin-top: calc(var(--spacing) / 2);
margin-bottom: calc(var(--spacing) / 2);
}
+
+#serverstatus {
+ --spacing: calc(var(--padding) / 5);
+
+ transition-duration: 0.2s;
+ transition-timing-function: ease-in-out;
+ transition-property: background, opacity;
+
+ opacity: 0.0;
+ display: block;
+ margin: 0 auto;
+ font-weight: 700;
+ width: fit-content;
+ color: transparent;
+ border-radius: 50px;
+ flex-basis: max-content;
+ background: transparent;
+ margin-top: calc(var(--spacing) * 2);
+ padding: var(--spacing) calc(var(--spacing) * 3);
+}
+
+#serverstatus.up,
+#serverstatus.down {
+ color: white;
+ opacity: 1.0;
+}
+
+#serverstatus.up {background: rgb(var(--blue));}
+#serverstatus.down {background: rgb(var(--red));}