menu: merge different interaction modes into a single mode property
menu: add `swipe` mode
This commit is contained in:
parent
3af1d4ad1c
commit
fe9df9c2d9
4 changed files with 43 additions and 10 deletions
|
|
@ -375,7 +375,7 @@
|
|||
&.on div:before {
|
||||
opacity: var(--alpha-fill-on)!important;
|
||||
}
|
||||
&.active div:before, &:hover div:before {
|
||||
&.active div:before {
|
||||
opacity: var(--alpha-fill-hover);
|
||||
}
|
||||
|
||||
|
|
@ -428,7 +428,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.active, &:hover {
|
||||
&.active {
|
||||
div:after, div:after {
|
||||
opacity: var(--alpha-fill-hover);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue