Skip to content
Snippets Groups Projects
Commit cf649655 authored by Silvio Giebl's avatar Silvio Giebl
Browse files

Merge branch 'improvement/navigation' into improvement/search-button

parents 301a4ab6 4bb8d761
No related branches found
No related tags found
No related merge requests found
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
.site-title:hover, .site-title:hover,
.site-button:hover { .site-button:hover {
background-color: $feedback-color; background-image: linear-gradient(-90deg, rgba($feedback-color, 1) 0%, rgba($feedback-color, 0.8) 80%, rgba($feedback-color, 0) 100%);
} }
// stylelint-disable selector-max-type // stylelint-disable selector-max-type
......
// //
// Main nav, breadcrumb, etc... // Main nav, breadcrumb, etc...
// //
// stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type, selector-max-specificity
.nav-list { .nav-list {
padding: 0; padding: 0;
...@@ -20,13 +21,14 @@ ...@@ -20,13 +21,14 @@
.nav-list-link { .nav-list-link {
display: block; display: block;
min-height: $nav-list-item-height-sm; min-height: $nav-list-item-height-sm;
line-height: #{$nav-list-item-height-sm - 2 * $sp-1};
padding-top: $sp-1; padding-top: $sp-1;
padding-bottom: $sp-1; padding-bottom: $sp-1;
line-height: #{$nav-list-item-height-sm - 2 * $sp-1};
@if $nav-list-expander-right { @if $nav-list-expander-right {
padding-right: $nav-list-item-height-sm; padding-right: $nav-list-item-height-sm;
padding-left: $gutter-spacing-sm; padding-left: $gutter-spacing-sm;
} @else { }
@else {
padding-right: $gutter-spacing-sm; padding-right: $gutter-spacing-sm;
padding-left: $nav-list-item-height-sm; padding-left: $nav-list-item-height-sm;
} }
...@@ -37,7 +39,8 @@ ...@@ -37,7 +39,8 @@
@if $nav-list-expander-right { @if $nav-list-expander-right {
padding-right: $nav-list-item-height; padding-right: $nav-list-item-height;
padding-left: $gutter-spacing; padding-left: $gutter-spacing;
} @else { }
@else {
padding-right: $gutter-spacing; padding-right: $gutter-spacing;
padding-left: $nav-list-item-height; padding-left: $nav-list-item-height;
} }
...@@ -50,7 +53,7 @@ ...@@ -50,7 +53,7 @@
&:hover, &:hover,
&.active { &.active {
background-color: $feedback-color; background-image: linear-gradient(-90deg, rgba($feedback-color, 1) 0%, rgba($feedback-color, 0.8) 80%, rgba($feedback-color, 0) 100%);
} }
} }
...@@ -77,7 +80,7 @@ ...@@ -77,7 +80,7 @@
} }
&:hover { &:hover {
background-color: $feedback-color; background-image: linear-gradient(-90deg, rgba($feedback-color, 1) 0%, rgba($feedback-color, 0.8) 100%);
} }
@if $nav-list-expander-right { @if $nav-list-expander-right {
...@@ -109,7 +112,8 @@ ...@@ -109,7 +112,8 @@
> .nav-list-expander svg { > .nav-list-expander svg {
@if $nav-list-expander-right { @if $nav-list-expander-right {
transform: rotate(-90deg); transform: rotate(-90deg);
} @else { }
@else {
transform: rotate(90deg); transform: rotate(90deg);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment