mediawiki-extensions-Echo/modules/badge/ext.echo.badge.less
jdlrobson 430628ccc1 Hygiene: Port all Echo css to less.
No changes.
Makes styling code more readable.

Change-Id: Ie45f2cd3671bee5b88ba92ca2946d6e77cd59508
2014-08-04 11:43:27 -07:00

31 lines
596 B
Plaintext

/* 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;
&:hover,
&:active,
&:focus {
background-color: #c2c2c2;
outline: none;
-moz-outline-style: none;
}
&.mw-echo-unread-notifications {
background-color: #cc0000;
}
&.mw-echo-unread-notifications:hover {
background-color: #bf0000;
}
}