common.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. html {
  2. background-color: #f7f7f7;
  3. }
  4. view, text {
  5. vertical-align: middle;
  6. font-variant-ligatures: none;
  7. }
  8. .container {
  9. &.fixed {
  10. height: calc(100vh - var(--window-top) - var(--window-bottom));
  11. }
  12. &.min-fixed {
  13. min-height: calc(100vh - var(--window-top) - var(--window-bottom));
  14. }
  15. .ui-button, uni-button {
  16. width: 100%;
  17. margin: 16rpx 0;
  18. font-size: 32rpx;
  19. font-weight: bold;
  20. line-height: 2.8;
  21. border-radius: 50px;
  22. transition: all .3s;
  23. }
  24. .ui-button[type='primary'],
  25. uni-button[type='primary'] {
  26. color: #000;
  27. background-color: var(--primary-color);
  28. }
  29. uni-button[loading][type='primary'] {
  30. color: #000;
  31. background-color: #CCC;
  32. }
  33. .ui-button[type='accent'],
  34. uni-button[type='accent'] {
  35. color: #ffffff;
  36. background-color: var(--accent-color);
  37. }
  38. .ui-button[disabled],
  39. uni-button[disabled] {
  40. color: #888;
  41. }
  42. .button-anim {
  43. transition: all .4s;
  44. }
  45. .button-anim:active {
  46. transform: scale(0.96);
  47. }
  48. .card-list-loading .x-skeleton__wrapper__rows {
  49. padding: 32rpx;
  50. border-radius: 32rpx;
  51. background-color: white;
  52. }
  53. }