mediawiki-extensions-Echo/modules/styles/mw.echo.ui.NotificationBadgeWidget.monobook.less
Moriel Schottlender 35a5384900 Change 'pt-notification-message' to 'pt-notification-notice'
And change all CSS and JS dependent calls/tags based on the new
tooltip message and ID of the personal tool <li> item.

Change-Id: I136fabe5710f90da10eb8d4afe92acdb77571eec
2016-07-21 11:19:17 -07:00

37 lines
940 B
Plaintext

@import '../echo.variables';
@import '../echo.variables.monobook';
#p-personal li.mw-echo-ui-notificationBadgeButtonPopupWidget {
text-transform: none;
font-weight: normal;
&, a {
color: #333;
}
// Badge
> .oo-ui-buttonElement-button {
padding-right: (@badge-padding + 0.25em);
&:hover {
.oo-ui-labelElement-label {
color: black !important;
}
}
}
// Footer
.oo-ui-popupWidget-footer {
// Override text-align that monobook uses for #p-personal li
text-align: left;
}
}
// These rules are outside of the LESS nesting because they don't work inside
// the nested rule. These should be very strong so as to override the base styles
#pt-notifications-alert .mw-echo-notifications-badge.oo-ui-flaggedElement-unseen {
background-color: @badge-background-unseen-alert;
}
#pt-notifications-notice .mw-echo-notifications-badge.oo-ui-flaggedElement-unseen {
background-color: @badge-background-unseen-message;
}