diff options
author | Michael Weimann <mail@michael-weimann.eu> | 2018-08-28 12:01:32 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-02 08:37:54 +0200 |
commit | 92049c3ceb4121c6e424e8ba902cc6ebc663c690 (patch) | |
tree | eb8a283e260e2b0918d13087c29af96d494fde58 /apps/theming/css | |
parent | 7526971c95250807ac1ec485297919a27ee0dcfc (diff) | |
download | nextcloud-server-92049c3ceb4121c6e424e8ba902cc6ebc663c690.tar.gz nextcloud-server-92049c3ceb4121c6e424e8ba902cc6ebc663c690.zip |
Switches the default logo color depending on the primary color
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'apps/theming/css')
-rw-r--r-- | apps/theming/css/theming.scss | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss index f12ce4d907f..b1b8896d0c1 100644 --- a/apps/theming/css/theming.scss +++ b/apps/theming/css/theming.scss @@ -98,20 +98,21 @@ background-image: url(./img/core/filetypes/folder-drag-accept.svg?v=#{$theming-cachebuster}) !important; } +#theming-preview-logo, +#header .logo { + background-image: $image-logo; +} + /* override styles for login screen in guest.css */ @if variable_exists('theming-logo-mime') and $theming-logo-mime != '' { #theming-preview-logo, #header .logo { - background-image: $image-logo; background-size: contain; } + #body-login #header .logo { margin-bottom: 22px; } -} @else { - #theming-preview-logo { - background-image: $image-logo; - } } @if variable_exists('theming-background-mime') and $theming-background-mime != '' { |