diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-03-13 22:09:36 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-03-14 07:52:10 +0000 |
commit | 1d5149aff6c02b65c09dd19d2b2ce51d2b10dbf2 (patch) | |
tree | ac1aeb26bc35a7328295e286c3a18283bf87814f /apps | |
parent | cdb36026710375c7670a40d9a1374b5f0665151d (diff) | |
download | nextcloud-server-1d5149aff6c02b65c09dd19d2b2ce51d2b10dbf2.tar.gz nextcloud-server-1d5149aff6c02b65c09dd19d2b2ce51d2b10dbf2.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')
-rw-r--r-- | apps/theming/css/theming.scss | 6 |
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; } } |