style: 修改Dialog样式

This commit is contained in:
kailong321200875 2023-06-26 11:38:14 +08:00
parent 0e04fce436
commit e451bfcde6
2 changed files with 5 additions and 14 deletions

View File

@ -130,7 +130,11 @@ const dialogStyle = computed(() => {
.is-hover { .is-hover {
&:hover { &:hover {
span,
i,
svg {
color: var(--el-color-primary) !important; color: var(--el-color-primary) !important;
} }
} }
}
</style> </style>

View File

@ -96,19 +96,6 @@ ${selector}:after {
background-color: var(--el-border-color); background-color: var(--el-border-color);
z-index: 3; z-index: 3;
} }
`
}
],
[
/^is-hover$/,
([], { rawSelector }) => {
const selector = e(rawSelector)
return `
${selector}:hover {
${selector} span,i,svg {
color: var(--el-color-primary) !important;
}
}
` `
} }
] ]