mediawiki-extensions-Echo/modules/styles/mw.echo.ui.NotificationBadgeWidget.monobook.less
Moriel Schottlender 77acb5b3ee Move the popups to the overlay
This will solve multiple issues with the design having to overcome
the theme-based design for the #p-tools.

Bug: T156080
Change-Id: Ibfcdfeea649e566059fd88485e146fbad2201016
2017-12-20 15:44:27 -08:00

37 lines
697 B
Plaintext

@import '../echo.variables';
#p-personal li.mw-echo-ui-notificationBadgeButtonPopupWidget {
text-transform: none;
font-weight: normal;
&-popup {
// #p-personal li has a font-size of 0.75em, but we want the
// font size here to be exactly 0.875em, so we must override
// the parent em sizing by dividing.
font-size: 0.875em / 0.75em;
a.oo-ui-buttonElement-button {
color: #333;
}
}
a {
background-color: initial;
}
// Badge
> .oo-ui-buttonElement-button {
&:hover {
.oo-ui-labelElement-label {
color: #000 !important;
}
}
}
// Footer
.oo-ui-popupWidget-footer {
// Override text-align that monobook uses for #p-personal li
text-align: left;
}
}