学员端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.0 KiB

1 year ago
  1. $u-button-active-opacity:0.75 !default;
  2. $u-button-loading-text-margin-left:4px !default;
  3. $u-button-text-color: #FFFFFF !default;
  4. $u-button-text-plain-error-color:$u-error !default;
  5. $u-button-text-plain-warning-color:$u-warning !default;
  6. $u-button-text-plain-success-color:$u-success !default;
  7. $u-button-text-plain-info-color:$u-info !default;
  8. $u-button-text-plain-primary-color:$u-primary !default;
  9. .u-button {
  10. &--active {
  11. opacity: $u-button-active-opacity;
  12. }
  13. &--active--plain {
  14. background-color: rgb(217, 217, 217);
  15. }
  16. &__loading-text {
  17. margin-left:$u-button-loading-text-margin-left;
  18. }
  19. &__text,
  20. &__loading-text {
  21. color:$u-button-text-color;
  22. }
  23. &__text--plain--error {
  24. color:$u-button-text-plain-error-color;
  25. }
  26. &__text--plain--warning {
  27. color:$u-button-text-plain-warning-color;
  28. }
  29. &__text--plain--success{
  30. color:$u-button-text-plain-success-color;
  31. }
  32. &__text--plain--info {
  33. color:$u-button-text-plain-info-color;
  34. }
  35. &__text--plain--primary {
  36. color:$u-button-text-plain-primary-color;
  37. }
  38. }