From 940df1efa7cb9b6f3273030675f93b2e1b3c709d Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 3 Apr 2024 21:10:27 +0300 Subject: add fallbacks for lazy stuff loading --- src/App.scss | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/App.scss') diff --git a/src/App.scss b/src/App.scss index 54b8c751..77d761dd 100644 --- a/src/App.scss +++ b/src/App.scss @@ -19,6 +19,9 @@ html { font-size: var(--font-size); // overflow-x: clip causes my browser's tab to crash with SIGILL lul + + // Fallback for when stuff is loading + --background: var(--bg); } body { @@ -370,6 +373,7 @@ nav { border: none; border-radius: var(--roundness); cursor: pointer; + background-color: var(--background); box-shadow: var(--shadow); font-size: 1em; font-family: sans-serif; @@ -470,6 +474,7 @@ nav { font-size: 100%; font-family: inherit; box-shadow: var(--shadow); + background-color: transparent; padding: 0; line-height: unset; cursor: pointer; @@ -502,6 +507,8 @@ textarea { border: none; border-radius: var(--roundness); + background-color: var(--background); + color: var(--text); box-shadow: var(--shadow); font-family: var(--font); font-size: 1em; -- cgit v1.2.3-70-g09d2 From c0010d0f484a2800c3f453beafc0b07c5f24c918 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 4 Apr 2024 22:45:13 +0300 Subject: fix transparent popovers --- src/App.scss | 7 ++++--- src/components/popover/popover.vue | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src/App.scss') diff --git a/src/App.scss b/src/App.scss index 77d761dd..6e0aabca 100644 --- a/src/App.scss +++ b/src/App.scss @@ -14,14 +14,14 @@ --ZI_navbar_popovers: 7500; --ZI_navbar: 7000; --ZI_popovers: 6000; + + // Fallback for when stuff is loading + --background: var(--bg); } html { font-size: var(--font-size); // overflow-x: clip causes my browser's tab to crash with SIGILL lul - - // Fallback for when stuff is loading - --background: var(--bg); } body { @@ -410,6 +410,7 @@ nav { width: 100%; line-height: var(--__line-height); padding: var(--__vertical-gap) var(--__horizontal-gap); + background: transparent; --__line-height: 1.5em; --__horizontal-gap: 0.75em; diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue index 0cc0949c..0c5b372e 100644 --- a/src/components/popover/popover.vue +++ b/src/components/popover/popover.vue @@ -71,6 +71,7 @@ border-color: var(--border); border-style: solid; border-width: 1px; + background-color: var(--background); } .dropdown-menu { @@ -82,6 +83,7 @@ max-width: 100vw; z-index: var(--ZI_popover_override, var(--ZI_popovers)); white-space: nowrap; + background-color: var(--background); .dropdown-divider { height: 0; -- cgit v1.2.3-70-g09d2