mediawiki-extensions-Echo/modules/badge/ext.echo.badge.css
Derk-Jan Hartman c638d44190 Echo: Better support for non-default skins, as well as no Javascript
This provides some rudimentary styling support to make Echo usable
with the Modern skin.
It also fixes the Notifications special page so it is styled
correctly in Modern, CologneBlue, or with Javascript turned off.
Also some more tweaks for Monobook skin.
Retiring the 'feedback' link from the special page, per PM.

Bug: 47932
Change-Id: I633a93a78f5a78d0642a3a059fa6f7208f99cec4
2013-06-07 11:36:19 -07:00

28 lines
845 B
CSS
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* We have to include the #pt-notifications selector due to monobook */
#pt-notifications .mw-echo-notifications-badge {
min-width: 7px;
border-radius: 2px;
padding: 0.25em 0.45em 0.2em 0.45em;
margin-left: -4px;
text-align: center;
background-color: #d2d2d2;
font-weight: bold;
color: white;
text-shadow: 0 1px rgba(0, 0, 0, 0.4);
cursor: pointer;
}
#pt-notifications .mw-echo-notifications-badge:hover,
#pt-notifications .mw-echo-notifications-badge:active,
#pt-notifications .mw-echo-notifications-badge:focus {
background-color: #c2c2c2;
text-decoration: none;
outline: none;
-moz-outline-style: none;
}
#pt-notifications .mw-echo-notifications-badge.mw-echo-unread-notifications {
background-color: #cc0000;
}
#pt-notifications .mw-echo-notifications-badge.mw-echo-unread-notifications:hover {
background-color: #bf0000;
}