mediawiki-extensions-Echo/modules/ooui/styles/mw.echo.ui.NotificationsWidget.less
Roan Kattouw 011bd2e558 Apply text-decoration: none; on non-hover as well
Hover effects aren't the only thing that cause link underlining,
the "Underline links" preference can do this too.

We do still need the :hover selectors too, for specificity reasons.

Bug: T130793
Change-Id: I01c0eaee449470380f3bd752e509043c4580fea9
2016-03-23 16:12:29 -07:00

33 lines
532 B
Plaintext

@import '../../echo.variables';
.mw-echo-ui-notificationsWidget {
&-loadingOption {
padding: 2em;
background-color: @notification-background-read;
&-notLinked,
&-notLinked a {
cursor: default;
}
.mw-echo-ui-notificationsWidget-bundle & {
padding: 0;
}
> a,
&:hover > a {
text-decoration: none;
color: #666666;
}
&:not(:hover) a,
#p-personal &:not(:hover) a.new {
color: #666666;
}
&.oo-ui-optionWidget.oo-ui-labelElement .oo-ui-labelElement-label {
white-space: normal;
}
}
}