aboutsummaryrefslogtreecommitdiff
path: root/src/App.scss
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2024-04-06 14:53:53 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2024-04-06 14:53:53 +0000
commit0635a6c131804c2a6f2ce99c4888a0d3ee757570 (patch)
treef71775902e9dfad877dfb1a364c21d145b23ffce /src/App.scss
parentd7f744d2819343eced508a589d6fad3842686a3e (diff)
parent3eabdf9dedff1a39f9f8003a7d581c71a90e9161 (diff)
Merge branch 'themes3-fixes' into 'develop'
Themes 3 fixes Closes #1301 and #1303 See merge request pleroma/pleroma-fe!1906
Diffstat (limited to 'src/App.scss')
-rw-r--r--src/App.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/App.scss b/src/App.scss
index 54b8c751..6e0aabca 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -14,6 +14,9 @@
--ZI_navbar_popovers: 7500;
--ZI_navbar: 7000;
--ZI_popovers: 6000;
+
+ // Fallback for when stuff is loading
+ --background: var(--bg);
}
html {
@@ -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;
@@ -406,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;
@@ -470,6 +475,7 @@ nav {
font-size: 100%;
font-family: inherit;
box-shadow: var(--shadow);
+ background-color: transparent;
padding: 0;
line-height: unset;
cursor: pointer;
@@ -502,6 +508,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;