2019-10-25 20:53:39 +00:00
|
|
|
@import '../echo.variables.less';
|
|
|
|
@import '../echo.mixins.less';
|
|
|
|
@import 'mediawiki.mixins.less';
|
2015-12-18 18:56:59 +00:00
|
|
|
|
2016-08-31 18:46:25 +00:00
|
|
|
// This is only valid for the Special:Notifications page in no-JS mode,
|
|
|
|
// where the formatting of the notifications include the following structure
|
2015-08-13 00:54:16 +00:00
|
|
|
.mw-echo-state {
|
|
|
|
display: block;
|
2016-03-09 20:13:48 +00:00
|
|
|
width: 100%;
|
2016-08-31 18:46:25 +00:00
|
|
|
.box-sizing( border-box );
|
2015-08-13 00:54:16 +00:00
|
|
|
|
|
|
|
.mw-echo-notification-primary-link {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-echo-icon {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2019-01-10 02:42:06 +00:00
|
|
|
|
2015-08-13 00:54:16 +00:00
|
|
|
.mw-echo-notification {
|
2016-10-25 04:18:08 +00:00
|
|
|
background-color: @background-color-base;
|
|
|
|
color: @grey-light;
|
2015-08-13 00:54:16 +00:00
|
|
|
clear: both;
|
|
|
|
display: block;
|
|
|
|
line-height: 90%;
|
|
|
|
margin: 0;
|
|
|
|
min-height: 30px;
|
|
|
|
position: relative;
|
|
|
|
padding-top: 15px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
/* Force container to expand to height of floated contents */
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
span.autocomment {
|
|
|
|
color: inherit;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-echo-notifications {
|
2016-10-25 04:18:08 +00:00
|
|
|
background-color: @notification-background-read;
|
2015-08-13 00:54:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-echo-content {
|
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
|
|
|
|
2015-12-18 18:56:59 +00:00
|
|
|
.mw-echo-title {
|
|
|
|
color: @notification-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-echo-payload {
|
|
|
|
color: @notification-body-color;
|
2016-02-15 20:55:28 +00:00
|
|
|
margin-top: 4px;
|
2020-04-18 02:16:01 +00:00
|
|
|
.text-overflow( @visible: false );
|
2015-12-18 18:56:59 +00:00
|
|
|
}
|
|
|
|
|
2015-11-19 04:10:40 +00:00
|
|
|
.mw-echo-title,
|
|
|
|
.mw-echo-payload {
|
2015-08-13 00:54:16 +00:00
|
|
|
font-size: 1em;
|
|
|
|
line-height: 1.4em;
|
|
|
|
|
|
|
|
.plainlinks {
|
|
|
|
max-width: 100%;
|
|
|
|
display: inline-block;
|
2020-04-18 02:16:01 +00:00
|
|
|
.text-overflow( @visible: false );
|
2015-08-13 00:54:16 +00:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-20 21:19:54 +00:00
|
|
|
.mw-echo-notification-footer {
|
2016-10-25 04:18:08 +00:00
|
|
|
color: @grey-light;
|
2015-08-13 00:54:16 +00:00
|
|
|
font-size: 11px;
|
|
|
|
margin-top: 0.2em;
|
2016-01-20 21:19:54 +00:00
|
|
|
|
|
|
|
.mw-echo-notification-footer-element {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 15em;
|
|
|
|
margin-right: 0.5em;
|
2020-04-18 02:16:01 +00:00
|
|
|
.text-overflow( @visible: false );
|
2016-01-20 21:19:54 +00:00
|
|
|
}
|
2015-08-13 00:54:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|