mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-11 07:26:29 +00:00
d3b67e2122
* Icon can be defined using a path or a URL * Extensions don't need custom CSS, but add icon through BeforeCreateEchoEvent * Sites set their notification icon in LocalSettings.php or equivalent Bug: 46585 Change-Id: Ifc02b653d07de19229dfb2604305e32f3bd595fe
81 lines
1.4 KiB
CSS
81 lines
1.4 KiB
CSS
.mw-echo-title {
|
|
font-size: 13px;
|
|
line-height: 14px;
|
|
font-weight: normal;
|
|
}
|
|
.mw-echo-content {
|
|
font-size: 13px;
|
|
line-height: 16px;
|
|
overflow: hidden;
|
|
}
|
|
.mw-echo-payload {
|
|
margin-top: 0.3em;
|
|
}
|
|
.mw-echo-timestamp {
|
|
color: #6D6D6D;
|
|
font-size: 9px;
|
|
}
|
|
.mw-echo-notifications {
|
|
background-color: #EEEEEE;
|
|
}
|
|
.mw-echo-notification {
|
|
clear: both;
|
|
display: block;
|
|
color: #6D6D6D;
|
|
line-height: 90%;
|
|
margin: 0;
|
|
min-height: 30px;
|
|
background-color: white;
|
|
position: relative;
|
|
/* Force container to expand to height of floated contents */
|
|
overflow: hidden;
|
|
zoom: 1;
|
|
}
|
|
.mw-echo-notification.mw-echo-unread {
|
|
color: #252525;
|
|
}
|
|
.mw-echo-close-box {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 10px;
|
|
width: 23px;
|
|
height: 23px;
|
|
z-index: 3;
|
|
/* @embed */
|
|
background-image: url(DismissOnRowHover.png);
|
|
background-repeat: no-repeat;
|
|
}
|
|
.mw-echo-close-box:hover {
|
|
/* @embed */
|
|
background-image: url(DismissOnHover.png);
|
|
}
|
|
.mw-echo-dismiss {
|
|
padding: 10px 40px 5px 60px;
|
|
background-color: #EDEDEE;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
}
|
|
.mw-echo-prefs-dismiss-message {
|
|
font-size: 10px;
|
|
line-height: 14px;
|
|
}
|
|
.mw-echo-cancel-link {
|
|
margin-left: 1em;
|
|
cursor: pointer;
|
|
}
|
|
.mw-echo-notification span.comment {
|
|
font-style: normal;
|
|
}
|
|
.mw-echo-notification span.autocomment {
|
|
color: inherit;
|
|
}
|
|
.mw-echo-icon {
|
|
width: 30px;
|
|
height: 30px;
|
|
float: left;
|
|
margin-right: 10px;
|
|
margin-left: 10px;
|
|
}
|