mediawiki-skins-Citizen/resources/skins.citizen.styles/Menu.less
alistair3149 1df223abfa
feat(core): update menu to be more inlined with MW core
* Use label instead of h3 for menu headings
* Rename portals to portlets according to core
* Replace label-class with heading-class
* Use has-label to hide labels instead of adding screen reader class
2022-05-18 17:14:24 -04:00

33 lines
465 B
Plaintext

.citizen-menu {
&__heading {
&-label {
display: block;
padding: 0.625rem 1.25rem;
margin: 0;
color: var( --color-base--subtle );
font-size: inherit;
font-weight: normal;
letter-spacing: 0.75px;
}
}
}
.mw-portlet {
// Hide selected item
.selected {
.mixin-screen-reader-text;
}
// Hide empty menu
&-empty,
&.emptyPortlet {
display: none !important;
}
}
.skin-citizen-dark {
.mw-portlet a:after {
filter: invert( 1 );
}
}