mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-30 02:15:49 +00:00
ab11cc9adb
Replaced h3 tag in includes/templates/Menu.mustache with label tag. Replaced h3 elements in .storybook/icons.less, resources/common/components/Menu.less, resources/common/components/MenuDropdown.less, resources/common/components/MenuPortal.less, resources/common/components/MenuTabs.less,resources/skins.vector.styles.legacy/components/MenuDropdown.less, resources/skins.vector.styles/components/UserLinks.less, resources/skins.vector.styles.legacy/components/Sidebar.less and resources/skins.vector.styles.legacy/layouts/screen.less by vector-menu-heading. Bug: T290280 Change-Id: I6eee7d6bc47c74a62166d4579fd4d3da3dc88e88
27 lines
496 B
Plaintext
27 lines
496 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 + .vector-menu-heading:after {
|
|
transform: scaleY( -1 );
|
|
}
|
|
}
|
|
|
|
.vector-menu-dropdown {
|
|
li {
|
|
a {
|
|
// Historic value.
|
|
padding: unit( ( 8.125px / @font-size-browser ), em );
|
|
}
|
|
}
|
|
}
|