index.wxss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .ant-button {
  2. position: relative;
  3. display: flex;
  4. flex-direction: column;
  5. justify-self: center;
  6. align-items: center;
  7. height: auto;
  8. line-height: normal;
  9. padding: 12px;
  10. border-radius: 4px;
  11. border: 0 none;
  12. box-sizing: border-box;
  13. font-size: 18px;
  14. z-index: 2;
  15. }
  16. .ant-button-large {
  17. font-size: 18px;
  18. padding: 12px 12px 12px 12px;
  19. }
  20. .ant-button-medium {
  21. font-size: 17px;
  22. padding: 8px 12px 8px 12px;
  23. }
  24. .ant-button-small {
  25. font-size: 15px;
  26. padding: 4px 12px 4px 12px;
  27. }
  28. .ant-button-primary {
  29. color: #ffffff;
  30. background-color: #1677ff;
  31. box-shadow: inset 0 0 0 1px #1677ff;
  32. }
  33. .ant-button-default {
  34. color: #1677ff;
  35. background-color: #ffffff;
  36. box-shadow: inset 0 0 0 1px #1677ff;
  37. }
  38. .ant-button-text {
  39. color: #1677ff;
  40. background-color: transparent;
  41. box-shadow: none;
  42. }
  43. .ant-button-primary-danger {
  44. color: #ffffff;
  45. background-color: #ff3141;
  46. box-shadow: inset 0 0 0 1px #ff3141;
  47. }
  48. .ant-button-default-danger {
  49. color: #ff3141;
  50. background-color: #ffffff;
  51. box-shadow: inset 0 0 0 1px #ff3141;
  52. }
  53. .ant-button-text-danger {
  54. color: #ff3141;
  55. background-color: transparent;
  56. box-shadow: none;
  57. }
  58. .ant-button-text-active {
  59. background-color: rgba(255, 255, 255, 0.92);
  60. }
  61. .ant-button-active {
  62. filter: brightness(0.92);
  63. }
  64. .ant-button-disabled {
  65. opacity: 0.4;
  66. }
  67. .ant-button-wrap {
  68. display: flex;
  69. flex-direction: row;
  70. align-items: center;
  71. justify-content: center;
  72. }
  73. .ant-button-content-text-margin {
  74. margin-left: 8px;
  75. }
  76. .ant-button-content-text:empty {
  77. margin-left: 0;
  78. width: 0;
  79. opacity: 0;
  80. }
  81. .ant-button-content-text:empty::after {
  82. content: '\00a0';
  83. }
  84. .ant-button-content-subtext {
  85. font-size: 12px;
  86. opacity: 0.6;
  87. }
  88. .ant-button-content-loading-container {
  89. display: flex;
  90. justify-content: center;
  91. align-items: center;
  92. width: 33px;
  93. height: 16px;
  94. margin-left: 8px;
  95. }
  96. .ant-button-content-loading {
  97. position: relative;
  98. }
  99. .ant-button-inline {
  100. display: inline-block;
  101. border-radius: 4px;
  102. }
  103. .ant-button-inline .ant-button-content-loading-container {
  104. width: 16px;
  105. height: 16px;
  106. }
  107. .ant-button-inline .ant-button-content-loading {
  108. transform: scale(0.5);
  109. }
  110. .ant-button::after {
  111. border-width: 0;
  112. }