2021-09-29 20:54:53 +00:00
|
|
|
@import '../../common/variables.less';
|
|
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
|
2021-02-02 10:04:37 +00:00
|
|
|
// Extends the common MenuDropdown, but allows it to be opened via hover.
|
2021-02-24 23:30:16 +00:00
|
|
|
|
2021-07-22 17:27:33 +00:00
|
|
|
.vector-menu-dropdown:not( .vector-user-menu ) {
|
2021-02-24 23:30:16 +00:00
|
|
|
&:hover .vector-menu-content {
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.vector-menu-checkbox {
|
|
|
|
&:checked + h3:after {
|
|
|
|
transform: scaleY( -1 );
|
|
|
|
}
|
|
|
|
}
|
2021-09-29 20:54:53 +00:00
|
|
|
|
|
|
|
.vector-menu-dropdown {
|
|
|
|
li {
|
|
|
|
a {
|
|
|
|
// Historic value.
|
|
|
|
padding: unit( ( 8.125px / @font-size-browser ), em );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|