feat: button组件替换
This commit is contained in:
@ -8,6 +8,8 @@
|
||||
font-weight: 400 !important;
|
||||
line-height: 22px !important;
|
||||
padding: 0 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
&.ant-btn-lg {
|
||||
height: 36px;
|
||||
padding: 0 20px;
|
||||
@ -75,6 +77,38 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
&.ant-btn-background-ghost {
|
||||
border: 1px solid $color-primary !important;
|
||||
color: $color-primary !important;
|
||||
background-color: #fff !important;
|
||||
&:disabled {
|
||||
border-color: $color-primary-3 !important;
|
||||
color: $color-primary-3 !important;
|
||||
background-color: #fff !important;
|
||||
}
|
||||
&:not(:disabled) {
|
||||
&:hover {
|
||||
border-color: $color-primary-5 !important;
|
||||
color: $color-primary-5 !important;
|
||||
background-color: #fff !important;
|
||||
}
|
||||
}
|
||||
&.ant-btn-dangerous {
|
||||
border: 1px solid $color-error !important;
|
||||
color: $color-error !important;
|
||||
background-color: #fff !important;
|
||||
&:disabled {
|
||||
border-color: $color-error-3 !important;
|
||||
color: $color-error-3 !important;
|
||||
}
|
||||
&:not(:disabled) {
|
||||
&:hover {
|
||||
border-color: $color-error-5 !important;
|
||||
color: $color-error-5 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ant-btn-outline {
|
||||
|
||||
Reference in New Issue
Block a user