[update] 调整按钮

This commit is contained in:
danshihao
2024-04-19 14:35:20 +08:00
parent 03821681ce
commit d03fadfe8a
+7
View File
@@ -324,6 +324,12 @@ button.ant-btn {
&.ant-btn-primary { &.ant-btn-primary {
background: #8FC7FF; background: #8FC7FF;
color: @text-black; color: @text-black;
box-shadow: 0 0 0 0 transparent inset;
&:hover,
&:focus {
box-shadow: 0 0 0 1px @primary-color inset;
}
// 透明状态(ghost // 透明状态(ghost
&.ant-btn-background-ghost { &.ant-btn-background-ghost {
@@ -333,6 +339,7 @@ button.ant-btn {
} }
&:not([disabled]):active { &:not([disabled]):active {
box-shadow: 0 0 0 0 transparent inset;
background-color: @border-color-base !important; background-color: @border-color-base !important;
border-color: @border-color-base !important; border-color: @border-color-base !important;
color: @text-color !important; color: @text-color !important;