style(button): 优化按钮组件样式
This commit is contained in:
@ -51,6 +51,8 @@
|
|||||||
background-color: $color-primary !important;
|
background-color: $color-primary !important;
|
||||||
border-color: transparent !important;
|
border-color: transparent !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
|
|
||||||
|
|
||||||
&:disabled {
|
&:disabled {
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
border-color: transparent !important;
|
border-color: transparent !important;
|
||||||
@ -67,6 +69,11 @@
|
|||||||
outline-offset: unset;
|
outline-offset: unset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-wave {
|
||||||
|
background: $color-primary-7 !important;
|
||||||
|
--wave-color: $color-primary-7;
|
||||||
|
}
|
||||||
&.ant-btn-dangerous {
|
&.ant-btn-dangerous {
|
||||||
background-color: $color-error !important;
|
background-color: $color-error !important;
|
||||||
&:disabled {
|
&:disabled {
|
||||||
@ -125,6 +132,7 @@
|
|||||||
color: $color-primary-5 !important;
|
color: $color-primary-5 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.ant-btn-dangerous {
|
&.ant-btn-dangerous {
|
||||||
border: 1px solid $color-error !important;
|
border: 1px solid $color-error !important;
|
||||||
color: $color-error !important;
|
color: $color-error !important;
|
||||||
|
|||||||
@ -351,7 +351,6 @@ const onForgetPassword = () => {
|
|||||||
setPageType('resetPasswordForm');
|
setPageType('resetPasswordForm');
|
||||||
};
|
};
|
||||||
const onRegister = () => {
|
const onRegister = () => {
|
||||||
console.log('onRegister');
|
|
||||||
setPageType('registerForm');
|
setPageType('registerForm');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user