mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
styles: Replace deprecated Less mixins with CSS unprefixed property
Also remove obsolete vendor prefixes. Bug: T306486 Bug: T308351 Change-Id: Ie63d2b9d4c9883c2106b74daa03c6c244b32cc78
This commit is contained in:
parent
6bbba65667
commit
608b4e7266
|
@ -251,19 +251,13 @@
|
|||
}
|
||||
|
||||
&-initiallyUnseen {
|
||||
-webkit-animation-name: unseen-fadeout-to-read;
|
||||
animation-name: unseen-fadeout-to-read;
|
||||
-webkit-animation-duration: 0.5s;
|
||||
animation-duration: 0.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;
|
||||
|
||||
&.mw-echo-ui-notificationItemWidget-unread {
|
||||
-webkit-animation-name: unseen-fadeout-to-unread;
|
||||
animation-name: unseen-fadeout-to-unread;
|
||||
}
|
||||
}
|
||||
|
@ -273,16 +267,6 @@
|
|||
// These styles are in modules/nojs/ext.echo.notifications.less
|
||||
}
|
||||
|
||||
@-webkit-keyframes unseen-fadeout-to-unread {
|
||||
from {
|
||||
background-color: @notification-background-unseen;
|
||||
}
|
||||
|
||||
to {
|
||||
background-color: @notification-background-unread;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes unseen-fadeout-to-unread {
|
||||
from {
|
||||
background-color: @notification-background-unseen;
|
||||
|
@ -293,16 +277,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes unseen-fadeout-to-read {
|
||||
from {
|
||||
background-color: @notification-background-unseen;
|
||||
}
|
||||
|
||||
to {
|
||||
background-color: @notification-background-read;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes unseen-fadeout-to-read {
|
||||
from {
|
||||
background-color: @notification-background-unseen;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
width: 100%;
|
||||
|
||||
&.oo-ui-optionWidget {
|
||||
.transition( ~'background-color 100ms, color 100ms' );
|
||||
transition: background-color 100ms, color 100ms;
|
||||
|
||||
&-highlighted {
|
||||
background-color: #eaecf0;
|
||||
|
|
Loading…
Reference in a new issue