chore: 适配@keyframes默认的命名规则

This commit is contained in:
xiaoxian521 2023-05-04 13:51:24 +08:00
parent afc15ea8df
commit 6176d9508b
3 changed files with 6 additions and 7 deletions

View File

@ -36,7 +36,7 @@
width: 2.5em;
height: 2.5em;
border-radius: 50%;
animation: loadAnimation 1.8s infinite ease-in-out;
animation: load-animation 1.8s infinite ease-in-out;
animation-fill-mode: both;
}
@ -68,7 +68,7 @@
left: 3.5em;
}
@keyframes loadAnimation {
@keyframes load-animation {
0%,
80%,
100% {

View File

@ -1,4 +1,4 @@
@keyframes scheduleInWidth {
@keyframes schedule-in-width {
from {
width: 0;
}
@ -8,7 +8,7 @@
}
}
@keyframes scheduleOutWidth {
@keyframes schedule-out-width {
from {
width: 100%;
}
@ -280,7 +280,7 @@
width: 100%;
height: 2px;
background: var(--el-color-primary);
animation: scheduleInWidth 200ms ease-in;
animation: schedule-in-width 200ms ease-in;
}
/* 灵动模式下鼠标移出隐藏蓝色进度条 */
@ -291,5 +291,5 @@
width: 0;
height: 2px;
background: var(--el-color-primary);
animation: scheduleOutWidth 200ms ease-in;
animation: schedule-out-width 200ms ease-in;
}

View File

@ -22,7 +22,6 @@ module.exports = {
],
rules: {
"selector-class-pattern": null,
"keyframes-name-pattern": null,
"no-descending-specificity": null,
"scss/dollar-variable-pattern": null,
"selector-pseudo-class-no-unknown": [