mediawiki-extensions-Echo/modules/nojs/mw.echo.notifications.less
Roan Kattouw 88d6f01c33 Make notification body text lighter
Use #888 instead of #666 to match secondary link text
(which is #000 with 50% opacity), both in the flyout and
on the special page.

Bonus: use LESS variables for these colors.

Change-Id: Ifc1182a001e9b25f6ff7c213b6fcde3dc2f0acd2
2015-12-18 13:13:22 -08:00

85 lines
1.6 KiB
Plaintext

@import '../echo.variables';
// This needs to be outside the upper selector 'NotificationItemWidget'
// because the same styles also apply (for the moment, at least) to the notification
// objects in the Special:Notifications page, which are, individually
// not wrapped with a NotificationItemWidget.
.mw-echo-state {
display: block;
padding: 15px 40px 10px 10px;
.mw-echo-notification-primary-link {
display: none;
}
.mw-echo-icon {
width: 30px;
height: 30px;
float: left;
margin-right: 10px;
margin-left: 10px;
}
.mw-echo-notification {
clear: both;
display: block;
color: #6D6D6D;
line-height: 90%;
margin: 0;
min-height: 30px;
background-color: white;
position: relative;
padding-top: 15px;
padding-bottom: 10px;
/* Force container to expand to height of floated contents */
overflow: hidden;
zoom: 1;
&.mw-echo-unread {
color: #252525;
}
span.autocomment {
color: inherit;
font-style: normal;
}
}
.mw-echo-notifications {
background-color: #EEEEEE;
}
.mw-echo-content {
overflow: hidden;
display: block;
.mw-echo-title {
color: @notification-text-color;
}
.mw-echo-payload {
color: @notification-body-color;
}
.mw-echo-title,
.mw-echo-payload {
font-size: 1em;
line-height: 1.4em;
.plainlinks {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
display: inline-block;
vertical-align: top;
}
}
.mw-echo-timestamp, .mw-echo-notification-footer {
color: #6D6D6D;
font-size: 11px;
margin-top: 0.2em;
}
}
}