From 3d2ebdb640292b18a88cdd9e27477ccfce33785c Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Thu, 25 Jan 2024 10:23:03 +0100 Subject: [PATCH] remove class overrides --- public/global.css | 70 ++++++--------------------------------- src/App.svelte | 8 ++--- src/pages/Launch.svelte | 6 ++-- src/pages/Login.svelte | 4 +-- src/pages/Settings.svelte | 12 ++----- 5 files changed, 23 insertions(+), 77 deletions(-) diff --git a/public/global.css b/public/global.css index bb28a94..059a1fe 100644 --- a/public/global.css +++ b/public/global.css @@ -1,63 +1,15 @@ -html, body { - position: relative; - width: 100%; - height: 100%; +html, +body { + position: relative; + width: 100%; + height: 100%; } body { - color: #333; - margin: 0; - padding: 8px; - box-sizing: border-box; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; -} - -a { - color: rgb(0,100,200); - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -a:visited { - color: rgb(0,80,160); -} - -label { - display: block; -} - -input, button, select, textarea { - font-family: inherit; - font-size: inherit; - -webkit-padding: 0.4em 0; - padding: 0.4em; - margin: 0 0 0.5em 0; - box-sizing: border-box; - border: 1px solid #ccc; - border-radius: 2px; -} - -input:disabled { - color: #ccc; -} - -button { - color: #333; - background-color: #f4f4f4; - outline: none; -} - -button:disabled { - color: #999; -} - -button:not(:disabled):active { - background-color: #ddd; -} - -button:focus { - border-color: #666; + color: #333; + margin: 0; + padding: 8px; + box-sizing: border-box; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } diff --git a/src/App.svelte b/src/App.svelte index 3cfd84f..67d7185 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -124,7 +124,7 @@
{#if $currentPage == Page.Settings} -