diff options
author | 0neGal <mail@0negal.com> | 2022-06-29 21:27:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 21:27:40 +0200 |
commit | 0c54139fc9279fd081eb57e62008456585ffd927 (patch) | |
tree | 8c2e78470c0945e66895cf13cc231b4b672a5400 /src/app/css/launcher.css | |
parent | d21931a94c20bd37278986185433df60c495250a (diff) | |
parent | 4145f882671c5ddde487a456a15dada979ea35c1 (diff) | |
download | Viper-0c54139fc9279fd081eb57e62008456585ffd927.tar.gz Viper-0c54139fc9279fd081eb57e62008456585ffd927.zip |
Merge branch 'main' into deprecate-nsversiontxt
Diffstat (limited to 'src/app/css/launcher.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));} |