diff options
Diffstat (limited to 'src/app/css')
-rw-r--r-- | src/app/css/launcher.css | 29 | ||||
-rw-r--r-- | src/app/css/popups.css | 18 | ||||
-rw-r--r-- | src/app/css/webview.css | 4 |
3 files changed, 50 insertions, 1 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));} diff --git a/src/app/css/popups.css b/src/app/css/popups.css index bff7d07..826955b 100644 --- a/src/app/css/popups.css +++ b/src/app/css/popups.css @@ -350,4 +350,22 @@ background: rgb(var(--red)); } +.switch.on:hover::after { + transform: scale(1.2); +} + +.title { + display: flex; +} + +.title img { + width: 30px; + height: 30px; + margin: auto 0; +} + +.title h2 { + margin-left: calc(var(--padding) / 3); +} + /* } */ diff --git a/src/app/css/webview.css b/src/app/css/webview.css index 9e26b5d..982ebfc 100644 --- a/src/app/css/webview.css +++ b/src/app/css/webview.css @@ -4,9 +4,11 @@ body { background-color: transparent !important; } +#ncmp_tool, .navbar, .bottom-padding, .card-header, .breadcrumb, -.list-group, .mb-4, .my-2, .mt-2 { +.list-group, .mb-4, .my-2, .mt-2, +#thunderstore-mod-manager-ad-alert { display: none !important; } |