mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-02 11:16:37 +00:00
4e8a3186a6
One of the goals with desktop improvements is to not make any visible changes to the original Vector skin. In T289163 we wrapped links in a span, and moved the font-size declaration to the span. The padding of the link is now applying with font-size 16px. Bug: T289163 Change-Id: Ifbf6f7a4c5cb6fda6389b33fc9962bdb03dd1f43
27 lines
478 B
Plaintext
27 lines
478 B
Plaintext
@import '../../common/variables.less';
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
// Extends the common MenuDropdown, but allows it to be opened via hover.
|
|
|
|
.vector-menu-dropdown:not( .vector-user-menu ) {
|
|
&:hover .vector-menu-content {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
}
|
|
|
|
.vector-menu-checkbox {
|
|
&:checked + h3:after {
|
|
transform: scaleY( -1 );
|
|
}
|
|
}
|
|
|
|
.vector-menu-dropdown {
|
|
li {
|
|
a {
|
|
// Historic value.
|
|
padding: unit( ( 8.125px / @font-size-browser ), em );
|
|
}
|
|
}
|
|
}
|