mediawiki-skins-Vector/resources/skins.vector.styles/legacy/MenuDropdown.less
jdlrobson 41d30615a2 [modern] Usability improvements to dropdown
* Don't reveal the menu on hover
* Don't flip the dropdown arrow when open
* Menus close when clicked outside

Bug: T275681
Change-Id: I36f5c46422725a935c962be3194fd37bde1fa769
2021-03-07 18:59:41 +00:00

16 lines
279 B
Plaintext

// Extends the dropdown menu but allows it to be opened via hover.
@import '../MenuDropdown.less';
.vector-menu-dropdown {
&:hover .vector-menu-content {
opacity: 1;
visibility: visible;
}
}
.vector-menu-checkbox {
&:checked + h3:after {
transform: scaleY( -1 );
}
}