mediawiki-extensions-Echo/modules/badge/ext.echo.badge.css
MatmaRex b916c85353 ext.echo.badge: Remove defunct CSS rule
The space after colon on this line is actually a non-breaking space
( ), which is not allowed in this place according to CSS syntax.
Therefore all browsers ignored this rule (logging an error like
"Invalid CSS property value") and the shadow was never shown.

We could fix the rule instead, but I'm pretty sure users are used to
this by now, and in my opinion it looks better without shadow.

Bug: 53490
Change-Id: I1fd508d2059bec5cd79a6dcdce8dc9be6e6d4229
2013-08-29 19:40:34 +00:00

27 lines
804 B
CSS

/* 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;
cursor: pointer;
text-decoration: none;
}
#pt-notifications .mw-echo-notifications-badge:hover,
#pt-notifications .mw-echo-notifications-badge:active,
#pt-notifications .mw-echo-notifications-badge:focus {
background-color: #c2c2c2;
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;
}