mirror of
https://github.com/thangisme/notes.git
synced 2025-01-03 10:06:24 -05:00
Improved navigation active and highlight
This commit is contained in:
parent
fd91140923
commit
078696415e
@ -181,7 +181,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
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
.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;
|
||||||
@ -50,7 +50,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 +77,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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user