File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1267,6 +1267,13 @@ aside[class^="theme-doc-sidebar-container"] {
12671267 }
12681268
12691269 .menu__list-item-collapsible {
1270+ border-radius : var (--ifm-global-radius );
1271+
1272+ // Disable background color on hover for collapsible items with direct child anchor without href
1273+ & :has (> a :not ([href ])):hover {
1274+ background-color : transparent ;
1275+ }
1276+
12701277 .menu__caret {
12711278 padding : 0 6px ;
12721279
@@ -1276,14 +1283,6 @@ aside[class^="theme-doc-sidebar-container"] {
12761283 margin-top : -1px ;
12771284 }
12781285 }
1279-
1280- & :hover {
1281- background : none !important ;
1282-
1283- .menu__link--sublist-caret :hover {
1284- background : var (--ifm-menu-color-background-hover ) !important ;
1285- }
1286- }
12871286 }
12881287
12891288 @media only screen and (max-width : 1120px ) {
You can’t perform that action at this time.
0 commit comments