index.wxss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .ant-stepper {
  2. position: relative;
  3. display: inline-flex;
  4. flex-wrap: nowrap;
  5. height: 28px;
  6. overflow: hidden;
  7. box-sizing: border-box;
  8. }
  9. .ant-stepper .ant-stepper-button {
  10. width: 28px;
  11. height: 28px;
  12. line-height: 28px;
  13. padding: 0;
  14. color: #1677ff;
  15. background-color: #f5f5f5;
  16. }
  17. .ant-stepper .ant-stepper-button-hover {
  18. background-color: rgba(0, 0, 0, 0.08);
  19. }
  20. .ant-stepper .ant-stepper-button-up {
  21. border-top-left-radius: 0;
  22. border-top-right-radius: 2px;
  23. border-bottom-left-radius: 0;
  24. border-bottom-right-radius: 2px;
  25. }
  26. .ant-stepper .ant-stepper-button-down {
  27. border-top-right-radius: 0;
  28. border-top-left-radius: 2px;
  29. border-bottom-right-radius: 0;
  30. border-bottom-left-radius: 2px;
  31. }
  32. .ant-stepper .ant-stepper-button-disabled {
  33. color: #999999;
  34. }
  35. .ant-stepper-input {
  36. width: 44px;
  37. height: 28px;
  38. margin-left: 2px;
  39. margin-right: 2px;
  40. text-align: center;
  41. line-height: normal;
  42. font-size: 15px;
  43. color: #333333;
  44. box-sizing: border-box;
  45. background-color: #f5f5f5;
  46. caret-color: #1677ff;
  47. }
  48. .ant-stepper-input-disabled {
  49. opacity: 0.4;
  50. }
  51. .ant-stepper-input-readonly {
  52. line-height: 28px;
  53. padding: 0;
  54. }