mediawiki-extensions-Echo/modules/styles/mw.echo.ui.SpecialHelpMenuWidget.less
Volker E 6d2e560c1e Introduce stylelint
Introducing stylelint with configuration rules compliant to
Wikimedia CSS Coding Standards 'stylelint-config-wikimedia', nullifying
some for now and making majority pass.

Change-Id: I2c4acee41c9b56d9b00e2a2c5b7ab0ab5de454ce
2016-10-04 18:15:02 -07:00

42 lines
729 B
Plaintext

@import '../echo.variables';
.mw-echo-ui-specialHelpMenuWidget {
.oo-ui-popupWidget-body {
// Override clippable inline rules
overflow-y: hidden !important;
overflow-x: hidden !important;
}
&-markAllRead-label {
&-title {
display: block;
}
&-subtitle {
display: block;
color: @grey-light;
margin-top: 0.2em;
}
}
&-menu {
.oo-ui-buttonWidget {
display: block;
padding: 0.5em;
margin-right: 0;
.oo-ui-labelElement-label {
white-space: normal;
// Width of the popup (300px) minus the
// width of the icon (1.875em) minus the
// padding of the button (0.5em * 2)
width: ~'calc(300px - 1.875em - 1em)';
}
&:hover {
background-color: #ddd;
}
}
}
}