index.scss 647 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. @import '@styles/theme.scss';
  2. .comp-button {
  3. display: flex;
  4. justify-content: center;
  5. align-items: center;
  6. width: 100%;
  7. height: 94px;
  8. border: 0;
  9. border-radius: 0;
  10. background: #ffffff;
  11. &--primary {
  12. background: $primary-color;
  13. }
  14. &--plain {
  15. border: 1px solid $primary-color;
  16. /* TODO background: transparent 的编译有问题 */
  17. background-color: transparent;
  18. }
  19. &--disabled {
  20. background: $disabled-color;
  21. }
  22. }
  23. .comp-button__txt {
  24. color: $text-color;
  25. font-size: 28px;
  26. &--primary {
  27. color: #ffffff;
  28. }
  29. &--plain {
  30. color: $primary-color;
  31. }
  32. &--disabled {
  33. color: #ffffff;
  34. }
  35. }