2015-08-13 00:54:16 +00:00
|
|
|
@import '../../echo.variables';
|
|
|
|
|
|
|
|
.mw-echo-ui-notificationOptionWidget {
|
|
|
|
padding: 0.5em;
|
|
|
|
background-color: #F1F1F1;
|
|
|
|
border-bottom: 1px solid #DDDDDD;
|
|
|
|
white-space: normal;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 16px;
|
|
|
|
|
2015-09-09 22:12:01 +00:00
|
|
|
&:hover > a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:hover) a,
|
|
|
|
#p-personal &:not(:hover) a.new {
|
|
|
|
color: #666666;
|
|
|
|
}
|
|
|
|
|
2015-08-13 00:54:16 +00:00
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-labelElement-label {
|
|
|
|
// We have to override this with !important because OOUI's rules for
|
|
|
|
// the label element are extremely strong and cannot be overridden
|
|
|
|
white-space: normal !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-markAsReadButton {
|
|
|
|
float: right;
|
|
|
|
font-size: 0.5em;
|
|
|
|
opacity: 0.5;
|
|
|
|
padding: 0.5em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-03 22:37:02 +00:00
|
|
|
&-initiallyUnseen {
|
2015-09-17 18:56:56 +00:00
|
|
|
-webkit-animation-name: unseen-fadeout-to-read;
|
|
|
|
animation-name: unseen-fadeout-to-read;
|
2015-08-13 00:54:16 +00:00
|
|
|
-webkit-animation-duration: .5s;
|
|
|
|
animation-duration: .5s;
|
|
|
|
-webkit-animation-delay: 2s;
|
|
|
|
animation-delay: 2s;
|
|
|
|
-webkit-animation-timing-function: ease-out;
|
|
|
|
animation-timing-function: ease-out;
|
|
|
|
-webkit-animation-fill-mode: both;
|
|
|
|
animation-fill-mode: both;
|
|
|
|
|
2015-09-17 18:56:56 +00:00
|
|
|
&.mw-echo-ui-notificationOptionWidget-unread {
|
|
|
|
-webkit-animation-name: unseen-fadeout-to-unread;
|
|
|
|
animation-name: unseen-fadeout-to-unread;
|
2015-08-13 00:54:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&-unread {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.oo-ui-optionWidget-selected,
|
|
|
|
&.oo-ui-optionWidget-highlighted {
|
|
|
|
background-color: #F9F9F9;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-unread.oo-ui-optionWidget-highlighted {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
// NOTE: The internal styling of the notifications is outside this file, because
|
|
|
|
// it also affects the notifications in Special:Notifications
|
|
|
|
// These styles are in modules/nojs/ext.echo.notifications.less
|
|
|
|
}
|
|
|
|
|
2015-09-17 18:56:56 +00:00
|
|
|
@-webkit-keyframes unseen-fadeout-to-unread {
|
2015-10-01 13:48:52 +00:00
|
|
|
from {
|
|
|
|
background-color: @notification-background-unseen;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
background-color: @notification-background-unread;
|
|
|
|
}
|
2015-08-13 00:54:16 +00:00
|
|
|
}
|
|
|
|
|
2015-09-17 18:56:56 +00:00
|
|
|
@keyframes unseen-fadeout-to-unread {
|
2015-10-01 13:48:52 +00:00
|
|
|
from {
|
|
|
|
background-color: @notification-background-unseen;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
background-color: @notification-background-unread;
|
|
|
|
}
|
2015-08-13 00:54:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes unseen-fadeout-to-read {
|
2015-10-01 13:48:52 +00:00
|
|
|
from {
|
|
|
|
background-color: @notification-background-unseen;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
background-color: @notification-background-read;
|
|
|
|
}
|
2015-08-13 00:54:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes unseen-fadeout-to-read {
|
2015-10-01 13:48:52 +00:00
|
|
|
from {
|
|
|
|
background-color: @notification-background-unseen;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
background-color: @notification-background-read;
|
|
|
|
}
|
2015-08-13 00:54:16 +00:00
|
|
|
}
|