mediawiki-skins-Vector/resources/skins.vector.styles/components/MenuPortal.less
Jon Robson d708478752 [Technical] Remove common Menu styles
There are no longer any common menu styles. These are moved to the legacy
skin and new rules are added to the dedicated components.

Change-Id: I1bf26bfb29bb495ee65e983fad60122007f62698
2022-11-08 14:31:14 -06:00

46 lines
891 B
Plaintext

@import '../../common/variables.less';
@import 'mediawiki.mixins.less';
.vector-menu-portal {
margin: 0 @margin-end-portal 0 @margin-start-portal;
padding: 0.25em 0;
direction: ltr;
.vector-menu-heading {
display: block;
color: @color-base--subtle;
margin: 0.5em 0 0 ( @margin-start-nav-main-body / @font-size-nav-main-heading );
border: 0;
padding: 0.25em 0;
font-size: @font-size-nav-main-heading;
font-weight: normal;
cursor: default;
border-bottom: 1px solid @border-color-portal-heading;
}
.vector-menu-content {
margin-left: @margin-start-portal-body;
padding-top: 0;
ul {
padding-top: 0.3em;
}
li {
margin: 0;
padding: 0.25em 0;
font-size: @font-size-portal-list-item;
line-height: @line-height-nav;
word-wrap: break-word;
a {
color: @color-link;
&:visited {
color: @color-link--visited;
}
}
}
}
}