feat: Update version to 2.2.2, enhance global navigation exclusion logic, and improve hover behavior in MegaMenu
This commit is contained in:
@@ -59,6 +59,15 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.mega-menu-top-item:hover,
|
||||
.mega-menu-top-item:focus-within,
|
||||
.mega-menu-top-item:active,
|
||||
.mega-menu-top-item.is-open,
|
||||
.mega-menu-top-item.is-active {
|
||||
background: #f3f2f1;
|
||||
color: #323130;
|
||||
}
|
||||
|
||||
.mega-menu-mode-flyout .mega-menu-top-item {
|
||||
position: relative;
|
||||
}
|
||||
@@ -114,8 +123,8 @@
|
||||
.menu-item-text:hover,
|
||||
.menu-item-toggle:hover,
|
||||
.menu-item-toggle[aria-expanded="true"] {
|
||||
background: #f3f2f1;
|
||||
color: #323130;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -258,8 +267,9 @@
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.flyout-link:hover,
|
||||
.flyout-item:focus-within > .flyout-link {
|
||||
.flyout-item:hover > .flyout-link,
|
||||
.flyout-item:focus-within > .flyout-link,
|
||||
.flyout-item:active > .flyout-link {
|
||||
background: #f3f2f1;
|
||||
color: #323130;
|
||||
}
|
||||
@@ -368,7 +378,7 @@
|
||||
border-bottom: 1px solid #edebe9;
|
||||
}
|
||||
|
||||
.menu-item-toggle { width: 44px; margin: 0; border-left: 1px solid #edebe9; }
|
||||
.menu-item-toggle { width: 44px; margin: 0; border-left: 0; }
|
||||
|
||||
.mega-menu {
|
||||
position: static;
|
||||
|
||||
Reference in New Issue
Block a user