stepper.wxss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. .t-float-left {
  2. float: left;
  3. }
  4. .t-float-right {
  5. float: right;
  6. }
  7. @keyframes tdesign-fade-out {
  8. from {
  9. opacity: 1;
  10. }
  11. to {
  12. opacity: 0;
  13. }
  14. }
  15. .hotspot-expanded.relative {
  16. position: relative;
  17. }
  18. .hotspot-expanded::after {
  19. content: '';
  20. display: block;
  21. position: absolute;
  22. left: 0;
  23. top: 0;
  24. right: 0;
  25. bottom: 0;
  26. transform: scale(1.5);
  27. }
  28. .t-stepper {
  29. display: flex;
  30. align-items: center;
  31. }
  32. .t-stepper.t-stepper--normal .t-stepper__input {
  33. display: block;
  34. font-size: 32rpx;
  35. color: #000;
  36. text-align: center;
  37. border: 0;
  38. vertical-align: top;
  39. background: 0;
  40. height: 48rpx;
  41. }
  42. .t-stepper.t-stepper--normal .t-stepper__minus,
  43. .t-stepper.t-stepper--normal .t-stepper__plus {
  44. display: block;
  45. box-sizing: border-box;
  46. height: 48rpx;
  47. padding-top: 5rpx;
  48. }
  49. .t-stepper.t-stepper--pure .t-stepper__input {
  50. border-radius: 4rpx;
  51. height: 48rpx;
  52. margin: 0 10rpx;
  53. background-color: #f1f2f5;
  54. text-align: center;
  55. font-size: 24rpx;
  56. }
  57. .t-stepper.t-stepper--pure .t-stepper__minus,
  58. .t-stepper.t-stepper--pure .t-stepper__plus {
  59. box-sizing: border-box;
  60. border-radius: 4rpx;
  61. background-color: #f1f2f5;
  62. height: 48rpx;
  63. width: 48rpx;
  64. }
  65. .t-stepper.t-stepper--pure .t-stepper__minus-icon,
  66. .t-stepper.t-stepper--pure .t-stepper__plus-icon {
  67. position: absolute;
  68. left: 50%;
  69. top: 50%;
  70. transform: translate(-50%, -50%);
  71. }
  72. .t-stepper .t-is-disabled .t-stepper__input {
  73. color: rgba(0, 0, 0, 0.26);
  74. }