mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-18 05:01:25 +00:00
41d30615a2
* 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
16 lines
279 B
Plaintext
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 );
|
|
}
|
|
}
|