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:
Volker E 2023-02-02 14:26:12 -08:00
parent 6bbba65667
commit 608b4e7266
2 changed files with 1 additions and 27 deletions

View file

@ -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;

View file

@ -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;