2019-06-20 19:17:50 +00:00
|
|
|
// A MenuListItem is a ToggleList item for menus.
|
|
|
|
|
2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
@import '../../minerva.less/minerva.mixins.less';
|
2019-06-20 19:17:50 +00:00
|
|
|
|
|
|
|
.toggle-list-item__anchor--menu {
|
2019-07-31 17:59:52 +00:00
|
|
|
font-size: @font-size-minerva-small;
|
2019-06-20 19:17:50 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|