2025-07-22 11:28:39 +08:00
|
|
|
.arco-btn {
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
border: 1px solid #d7d7d9 !important;
|
|
|
|
|
color: #3c4043 !important;
|
|
|
|
|
font-family: $font-family-regular;
|
|
|
|
|
font-size: 14px !important;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
font-weight: 400 !important;
|
|
|
|
|
line-height: 22px !important;
|
|
|
|
|
&.arco-btn-disabled {
|
|
|
|
|
border-color: #f2f3f5 !important;
|
|
|
|
|
color: #b1b2b5 !important;
|
|
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
|
|
|
|
border-color: #e6e6e8 !important;
|
|
|
|
|
color: #737478 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.arco-btn-primary {
|
2025-07-23 11:32:37 +08:00
|
|
|
background-color: $color-primary !important;
|
2025-07-22 11:28:39 +08:00
|
|
|
border: none !important;
|
|
|
|
|
color: #fff !important;
|
|
|
|
|
&.arco-btn-disabled {
|
|
|
|
|
color: #fff !important;
|
2025-07-23 11:32:37 +08:00
|
|
|
background-color: $color-primary-3 !important;
|
2025-07-22 11:28:39 +08:00
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
|
|
|
|
color: #fff !important;
|
2025-07-23 11:32:37 +08:00
|
|
|
background-color: $color-primary-5 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//success
|
|
|
|
|
&.arco-btn-status-success {
|
|
|
|
|
background-color: $color-success !important;
|
|
|
|
|
&.arco-btn-disabled {
|
|
|
|
|
background-color: $color-success-3 !important;
|
|
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: $color-success-5 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// danger
|
|
|
|
|
&.arco-btn-status-danger {
|
|
|
|
|
background-color: $color-error !important;
|
|
|
|
|
&.arco-btn-disabled {
|
|
|
|
|
background-color: $color-error-3 !important;
|
|
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: $color-error-5 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// warning
|
|
|
|
|
&.arco-btn-status-warning {
|
|
|
|
|
background-color: $color-warning !important;
|
|
|
|
|
&.arco-btn-disabled {
|
|
|
|
|
background-color: $color-warning-3 !important;
|
|
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: $color-warning-5 !important;
|
|
|
|
|
}
|
2025-07-22 11:28:39 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.arco-btn-outline {
|
2025-07-23 11:32:37 +08:00
|
|
|
border: 1px solid $color-primary !important;
|
|
|
|
|
color: $color-primary !important;
|
2025-07-22 11:28:39 +08:00
|
|
|
&.arco-btn-disabled {
|
2025-07-23 11:32:37 +08:00
|
|
|
border-color: $color-primary-3 !important;
|
|
|
|
|
color: $color-primary-3 !important;
|
2025-07-22 11:28:39 +08:00
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
2025-07-23 11:32:37 +08:00
|
|
|
border-color: $color-primary-5 !important;
|
|
|
|
|
color: $color-primary-5 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.arco-btn-status-success {
|
|
|
|
|
border: 1px solid $color-success !important;
|
|
|
|
|
color: $color-success !important;
|
|
|
|
|
&.arco-btn-disabled {
|
|
|
|
|
border-color: $color-success-3 !important;
|
|
|
|
|
color: $color-success-3 !important;
|
|
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
|
|
|
|
border-color: $color-success-5 !important;
|
|
|
|
|
color: $color-success-5 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
&.arco-btn-status-danger {
|
|
|
|
|
border: 1px solid $color-error !important;
|
|
|
|
|
color: $color-error !important;
|
|
|
|
|
&.arco-btn-disabled {
|
|
|
|
|
border-color: $color-error-3 !important;
|
|
|
|
|
color: $color-error-3 !important;
|
|
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
|
|
|
|
border-color: $color-error-5 !important;
|
|
|
|
|
color: $color-error-5 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
&.arco-btn-status-warning {
|
|
|
|
|
border: 1px solid $color-warning !important;
|
|
|
|
|
color: $color-warning !important;
|
|
|
|
|
&.arco-btn-disabled {
|
|
|
|
|
border-color: $color-warning-3 !important;
|
|
|
|
|
color: $color-warning-3 !important;
|
|
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
|
|
|
|
border-color: $color-warning-5 !important;
|
|
|
|
|
color: $color-warning-5 !important;
|
|
|
|
|
}
|
2025-07-22 11:28:39 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.arco-btn-text {
|
|
|
|
|
background-color: transparent !important;
|
|
|
|
|
border: none !important;
|
2025-07-23 11:32:37 +08:00
|
|
|
color: $color-primary !important;
|
2025-07-22 11:28:39 +08:00
|
|
|
&.arco-btn-disabled {
|
2025-07-23 11:32:37 +08:00
|
|
|
color: $color-primary-2 !important;
|
2025-07-22 11:28:39 +08:00
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
2025-07-23 11:32:37 +08:00
|
|
|
color: $color-primary-5 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.arco-btn-status-success {
|
|
|
|
|
color: $color-success !important;
|
|
|
|
|
&.arco-btn-disabled {
|
|
|
|
|
color: $color-success-2 !important;
|
|
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
|
|
|
|
color: $color-success-5 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.arco-btn-status-danger {
|
|
|
|
|
color: $color-error !important;
|
|
|
|
|
&.arco-btn-disabled {
|
|
|
|
|
color: $color-error-2 !important;
|
|
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
|
|
|
|
color: $color-error-5 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.arco-btn-status-warning {
|
|
|
|
|
color: $color-warning !important;
|
|
|
|
|
&.arco-btn-disabled {
|
|
|
|
|
color: $color-warning-2 !important;
|
|
|
|
|
}
|
|
|
|
|
&:not(.arco-btn-disabled) {
|
|
|
|
|
&:hover {
|
|
|
|
|
color: $color-warning-5 !important;
|
|
|
|
|
}
|
2025-07-22 11:28:39 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|