diff options
author | 0neGal <mail@0negal.com> | 2022-05-28 01:52:03 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2022-05-28 01:52:03 +0200 |
commit | a844a146e88faa0c5f7239b5d05869868f2a2aab (patch) | |
tree | c21d60fae9b1015f0fad1fb0edc7843182b3144c /src/app/css | |
parent | 0f9d80cce91960350c42a50cbbee0a8d4e0c8713 (diff) | |
download | Viper-a844a146e88faa0c5f7239b5d05869868f2a2aab.tar.gz Viper-a844a146e88faa0c5f7239b5d05869868f2a2aab.zip |
initial commit for master server status
This doesn't fully implement everything as the master server is down
whilst making this commit, so I can't fully implement it.
Diffstat (limited to 'src/app/css')
-rw-r--r-- | src/app/css/launcher.css | 29 |
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));} |