mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +00:00
7280d255c0
* Remove ambiguity in imports - say the file extension 'less' for all instances of variables and mixins. * Separate toast styles from drawer styles so they can be imported separately * associate header-action selector with its parent (.overlay-header) not parent's parent (.overlay) so it can be imported and rendered without the Overlay. Change-Id: Ib7e19a440ba095d6424d35305fb41d643ca9764c
33 lines
767 B
Plaintext
33 lines
767 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__anchor--menu {
|
|
font-size: @font-size-minerva-small;
|
|
font-weight: bold;
|
|
// Fill the list item cell.
|
|
.box-sizing( border-box );
|
|
display: block;
|
|
width: 100%;
|
|
//
|
|
padding: 1em;
|
|
white-space: nowrap;
|
|
// Left-align text. Button elements are centered.
|
|
text-align: left;
|
|
//
|
|
color: @grayMediumDark;
|
|
|
|
&:visited, &:active {
|
|
// Visited and active links need extra specificity.
|
|
color: @grayMediumDark;
|
|
}
|
|
//
|
|
// Make the app feel like an app, not a JPEG. When hovering over a menu item, add a little
|
|
// interactivity.
|
|
&:hover {
|
|
text-decoration: none;
|
|
background: @grayLightest;
|
|
}
|
|
}
|