修改弹框样式

This commit is contained in:
2025-10-27 14:24:45 +08:00
parent 75c8deac30
commit 661df4c995

View File

@ -591,4 +591,56 @@ img {
/*.is-current > .el-tree-node__content {
background: transparent !important;
}*/
}*/
.el-message--success {
background:
linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
linear-gradient(0deg, rgba(27, 248, 195, 0.5) 0%, rgba(27, 248, 195, 0) 100%) !important;
border: unset !important;
}
.el-message--success .el-message__content {
font-size: 14px !important;
font-weight: 500 !important;
color: rgba(27, 248, 195, 1) !important;
}
.el-message--success svg {
color: rgba(27, 248, 195, 1) !important;
}
.el-message--warning {
background:
linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
linear-gradient(0deg, rgba(255, 161, 69, 0.5) 0%, rgba(255, 161, 69, 0) 100%) !important;
border: unset !important;
}
.el-message--warning .el-message__content {
font-size: 14px !important;
font-weight: 500 !important;
color: rgba(255, 161, 69, 1) !important;
}
.el-message--warning svg {
color: rgba(255, 161, 69, 1) !important;
}
.el-message--error {
background:
linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
linear-gradient(0deg, rgba(241, 108, 85, 0.5) 0%, rgba(241, 108, 85, 0) 100%) !important;
border: unset !important;
}
.el-message--error .el-message__content {
font-size: 14px !important;
font-weight: 500 !important;
color: rgba(241, 108, 85, 1) !important;
}
.el-message--error svg {
color: rgba(241, 108, 85, 1) !important;
}