mediawiki-extensions-Echo/modules/styles/mw.echo.ui.SpecialHelpMenuWidget.less
Moriel Schottlender 545d4e67ae Add a mark-all-read button and a settings menu to Special:Notifications
Add a global-wiki 'mark all as read' to the Special:Notifications page.
The 'mark all as read' will makr all notifications in the given
wiki. The context of the wiki changes when filters are chosen,
and so the message of the button changes as well.

Bug: T115528
Change-Id: Ibd9dcdf7072d6cbc1a268c18e558e6d0df28f929
2016-07-20 17:25:38 -07:00

42 lines
732 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: #DDDDDD;
}
}
}
}