Improved navigation

(cherry picked from commit 6684f7c7faa15d6d59df35fbff9ea6666634d754)
This commit is contained in:
Silvio Giebl
2019-07-22 09:33:17 +02:00
parent ec420a385b
commit 0a8138a6e0
2 changed files with 18 additions and 17 deletions

View File

@@ -1,22 +1,23 @@
//
// Main nav, breadcrumb, etc...
//
.navigation-list {
.nav-list {
padding: 0;
margin-top: 0;
margin-bottom: 0;
list-style: none;
}
.navigation-list-child-list {
.nav-list-child-list {
padding-left: $sp-3;
list-style: none;
.navigation-list-link {
.nav-list-link {
color: $nav-child-link-color;
}
.navigation-list-item {
.nav-list-item {
position: relative;
&::before {
@@ -35,7 +36,7 @@
}
}
.navigation-list-item {
.nav-list-item {
@include fs-4;
margin: 0;
@@ -43,18 +44,18 @@
@include fs-3;
}
.navigation-list-child-list {
.nav-list-child-list {
display: none;
}
&.active {
.navigation-list-child-list {
.nav-list-child-list {
display: block;
}
}
}
.navigation-list-link {
.nav-list-link {
display: block;
padding-top: $sp-1;
padding-bottom: $sp-1;