style(button): 优化按钮样式和交互
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user