MediaWiki:Common.less/notifications.less
// MediaWiki notif popup when // saving edits, adding page to watchlist .mw-notification { background-color: var(--body-light); border-color: var(--body-border); color: var(--text-color); }
// Echo // Notification Page toolbar .mw-echo-ui-notificationsInboxWidget-toolbarWrapper { background: var(--body-main); }
.mw-echo-ui-crossWikiUnreadFilterWidget { border-color: var(--body-border); // "Pages with unread notifications" &-subtitle { color: var(--byline-color); } }
// popup and footer .mw-echo-ui-notificationBadgeButtonPopupWidget-popup { > .oo-ui-popupWidget-popup { > .oo-ui-popupWidget-head, > .oo-ui-popupWidget-footer, > .oo-ui-popupWidget-footer .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement:last-child { border-color: var(--ooui-interface-border); } } }
// Notifications interface .mw-echo-ui-notificationItemWidget { background-color: var(--body-main); border-color: var(--body-border);
&:hover, &-unread:hover { background-color: var(--wikitable-bg-lighter); }
&:last-child { border-bottom-color: var(--body-border); }
&-unread { background-color: var(--search-box); } }
// same text colour for all .mw-echo-ui-notificationItemWidget-content-message-header, .mw-echo-ui-notificationItemWidget-content-message-body, .mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button > .oo-ui-labelElement-label, .mw-echo-ui-notificationItemWidget-content-actions-timestamp { color: var(--ooui-text); }
.mw-echo-ui-bundleNotificationItemWidget-group { background-color: var(--body-main); }
@notification-background-unseen: var(--wikitable-bg-lighter); @notification-background-unread: var(--search-box); @notification-background-read: var(--body-main);
@keyframes unseen-fadeout-to-unread { from { background-color: @notification-background-unseen; }
to { background-color: @notification-background-unread; } }
@keyframes unseen-fadeout-to-read { from { background-color: @notification-background-unseen; }
to { background-color: @notification-background-read; } }