style(button): 优化按钮样式和交互

This commit is contained in:
rd
2025-09-16 11:55:56 +08:00
parent 473a6e6229
commit b951114936
3 changed files with 28 additions and 22 deletions

View File

@ -19,6 +19,7 @@
padding: 0 16px;
height: 28px;
}
}
.ant-btn-default {
&:disabled {
@ -68,12 +69,12 @@
outline: none;
outline-offset: unset;
}
&:active {
background: $color-primary-7 !important;
}
}
.ant-wave {
background: $color-primary-7 !important;
--wave-color: $color-primary-7;
}
&.ant-btn-dangerous {
background-color: $color-error !important;
&:disabled {
@ -83,6 +84,10 @@
&:hover {
background-color: $color-error-5 !important;
}
&:active {
background: $color-error-5 !important;
}
}
}
&.ant-btn-background-ghost {
@ -132,7 +137,7 @@
color: $color-primary-5 !important;
}
}
&.ant-btn-dangerous {
border: 1px solid $color-error !important;
color: $color-error !important;