mediawiki-skins-MinervaNeue/components/ToggleList/MenuListItem.less
Jan Drewniak d79f68500f Modify padding on .toggle-list-item
Bug: T233050
Change-Id: I219c4195cfc0ea399e4dd62e1283403b42c8c253
2019-09-25 00:12:51 +02:00

44 lines
821 B
Plaintext

// A MenuListItem is a ToggleList item for menus.
@import '../../minerva.less/minerva.variables.less';
@import '../../minerva.less/minerva.mixins.less';
.toggle-list-item {
display: block;
padding: 0.75em 0.875em;
//
// Make the app feel like an app, not a JPEG. When hovering over a menu item, add a little
// interactivity.
&:hover {
background: @grayLightest;
}
}
.toggle-list-item__anchor {
display: block;
line-height: 1;
&:hover {
text-decoration: none;
}
&:visited, &:active {
color: @grayMediumDark;
}
}
.toggle-list-item__icon {
vertical-align: middle;
}
.toggle-list-item__label {
// Left-align text. Button elements are centered.
text-align: left;
color: @grayMediumDark;
font-weight: bold;
white-space: nowrap;
vertical-align: middle;
font-size: @font-size-minerva-small;
}