summaryrefslogtreecommitdiffstats
path: root/apps/theming/css
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-03-13 22:09:36 +0100
committerJulius Härtl <jus@bitgrid.net>2019-03-13 22:09:36 +0100
commite2bc47d6f5599607366c398efc149b5a82eefa42 (patch)
treefb5474deb85c913c8edead1dd0d9608be2be667b /apps/theming/css
parentac10ff01cf87047aab8eaf06a43f088bb7d31910 (diff)
downloadnextcloud-server-e2bc47d6f5599607366c398efc149b5a82eefa42.tar.gz
nextcloud-server-e2bc47d6f5599607366c398efc149b5a82eefa42.zip
Use SCSS variables since CSS vars are not loaded on public pages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/css')
-rw-r--r--apps/theming/css/theming.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss
index fdcc9c83588..7db64924f34 100644
--- a/apps/theming/css/theming.scss
+++ b/apps/theming/css/theming.scss
@@ -69,7 +69,7 @@ $invert: luma($color-primary) > 0.6;
label,
p,
#alternative-logins legend {
- color: var(--color-primary-text);
+ color: $color-primary-text;
}
input[type='checkbox'].checkbox--white + label:before {
border-color: nc-darken($color-primary-element, 40%) !important;
@@ -86,7 +86,7 @@ $invert: luma($color-primary) > 0.6;
}
/* Always give primary button a border for light primary colors */
.primary {
- border-color: var(--color-border) !important;
+ border-color: $color-border !important;
}
} @else {
#appmenu:not(.inverted) svg {
@@ -193,7 +193,7 @@ input.primary,
#body-login {
a, label, p {
- color: var(--color-primary-text);
+ color: $color-primary-text;
}
}