summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-10-26 16:09:02 +0200
committerGitHub <noreply@github.com>2017-10-26 16:09:02 +0200
commit13087da3c66449caee51450619b386d605964383 (patch)
treef1c71e665210af16640328cf2d1df882141e9e5d
parentc25b694fcafa3138d78645f81cc6ecd1d34d1656 (diff)
parent0aac62096ccb3b47b08c29544868e41514fffdab (diff)
downloadnextcloud-server-13087da3c66449caee51450619b386d605964383.tar.gz
nextcloud-server-13087da3c66449caee51450619b386d605964383.zip
Merge pull request #6973 from nextcloud/menu-highlight
Add blue bar as highlight to active menu entry
-rw-r--r--core/css/header.scss1
-rw-r--r--settings/css/settings.scss2
2 files changed, 3 insertions, 0 deletions
diff --git a/core/css/header.scss b/core/css/header.scss
index 3b20c801c1b..c03fa2aa0d3 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -424,6 +424,7 @@ nav {
&:active,
&.active {
opacity: 1;
+ box-shadow: inset 2px 0 $color-primary;
}
}
}
diff --git a/settings/css/settings.scss b/settings/css/settings.scss
index 85ca66542a3..f649ef1a31e 100644
--- a/settings/css/settings.scss
+++ b/settings/css/settings.scss
@@ -248,6 +248,8 @@ input {
opacity: .75;
}
&.active {
+ box-shadow: inset 2px 0 $color-primary;
+
.menuitem-text {
font-weight: 600;
}