style(button): 调整按钮激活状态样式

- 优化普通按钮、幽灵按钮和危险按钮在激活状态下的样式
- 添加白色背景和透明边框,提高点击反馈的视觉效果
This commit is contained in:
rd
2025-09-17 17:58:11 +08:00
parent a7012395b3
commit b24dc1af9d

View File

@ -71,6 +71,8 @@
}
&:active {
color: #fff !important;
border-color: transparent !important;
background-color: $color-primary-7 !important;
}
}
@ -109,6 +111,7 @@
&:active {
border-color: $color-primary-7 !important;
color: $color-primary-7 !important;
background-color: #fff !important;
}
}
&.ant-btn-dangerous {
@ -190,6 +193,7 @@
&:active {
color: $color-primary-7 !important;
border-color: transparent !important;
}
}
&.ant-btn-dangerous {
@ -225,6 +229,7 @@
&:active {
color: $color-primary-7 !important;
border-color: transparent !important;
}
}
&.ant-btn-dangerous {