Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weimann <mail@michael-weimann.eu>2018-08-28 13:01:32 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-02 09:37:54 +0300
commit92049c3ceb4121c6e424e8ba902cc6ebc663c690 (patch)
treeeb8a283e260e2b0918d13087c29af96d494fde58 /apps/theming/css
parent7526971c95250807ac1ec485297919a27ee0dcfc (diff)
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.scss11
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 != '' {