Show active slider when in use (not only on hover)
diff --git a/dev/scss/header/menu.scss b/dev/scss/header/menu.scss
index d844d14..af5331f 100644
--- a/dev/scss/header/menu.scss
+++ b/dev/scss/header/menu.scss
@@ -51,7 +51,8 @@
@include choose-item;
}
-ul.menu:hover > div.ruler {
+ul.menu:hover > div.ruler,
+ul.menu > div.ruler.active {
opacity: 1;
}
@@ -81,9 +82,10 @@
cursor: pointer;
z-index: 600;
border-radius: 4px;
- &:hover, &.active {
- @include choose-hover;
- }
+ }
+
+ &.active > span {
+ @include choose-hover;
}
> div {