summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-11 11:04:22 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-14 09:40:55 +0200
commit995ddc61d10e82e4553f025bee1839e0ce041f84 (patch)
treedca7fb63023ae488d16bf62c18eda7f4463d741f
parentd1f3e1de963b9ed90d6a12b0a34fa803d7e7e3ce (diff)
downloadnextcloud-server-995ddc61d10e82e4553f025bee1839e0ce041f84.tar.gz
nextcloud-server-995ddc61d10e82e4553f025bee1839e0ce041f84.zip
Add buttom border for header
* allows to distinct the header from the rest of the UI for bright colors * ref #5654 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r--apps/theming/css/theming.scss20
-rw-r--r--core/css/header.scss5
2 files changed, 25 insertions, 0 deletions
diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss
index 77fc6f70200..252d009289e 100644
--- a/apps/theming/css/theming.scss
+++ b/apps/theming/css/theming.scss
@@ -116,3 +116,23 @@ input.primary {
}
}
}
+
+@if ($color-primary == #ffffff) {
+ /* show grey border below header */
+ #body-user #header,
+ #body-settings #header,
+ #body-public #header {
+ border-bottom: 1px solid #ebebeb;
+ }
+
+ /* show triangle in header in grey */
+ #appmenu li a.active:before,
+ .header-right #settings #expand:before {
+ border-bottom-color:#ebebeb;
+ }
+
+ /* show border around quota bar in files app */
+ .app-files #quota .quota-container {
+ border: 1px solid #ebebeb;
+ }
+}
diff --git a/core/css/header.scss b/core/css/header.scss
index e744d3acb40..f62759a89d3 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -528,6 +528,11 @@ nav {
left: 50%;
bottom: 0;
z-index: 100;
+ display: none;
+ }
+ li a.active:before,
+ li:hover a:before,
+ li:hover a.active:before {
display: block;
}
&.menu-open li:hover a:before,