mediawiki-skins-Citizen/resources/skins.citizen.styles/Menu.less

55 lines
891 B
Plaintext

.citizen-menu {
&__heading {
&-label {
display: block;
padding: 0.625rem var( --space-md );
margin: 0;
color: var( --color-base--subtle );
font-size: inherit;
font-weight: var( --font-weight-normal );
letter-spacing: 0.05em;
}
}
}
// FIXME: This should not be here
.citizen-ui-icon {
display: block;
width: var( --size-icon );
height: var( --size-icon );
contain: strict;
&:before {
display: block;
width: 100%;
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
content: '';
opacity: var( --opacity-icon-base );
}
}
.mw-portlet {
// Hide selected item
.selected {
.mixin-screen-reader-text;
}
// Hide empty menu
&-empty {
display: none !important;
}
}
.skin-citizen-dark {
.citizen-ui-icon:before {
filter: invert( 1 );
}
.mw-portlet a:after {
filter: invert( 1 );
}
}