index.less 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. @import (reference) '../../style/themes/index.less';
  2. @import '../../style/mixins/hairline.less';
  3. @pickerPrefix: ant-range-picker;
  4. .@{pickerPrefix} {
  5. &-confirm-disabled {
  6. .ant-picker-header-confirm {
  7. pointer-events: none;
  8. opacity: 0.6;
  9. }
  10. }
  11. &-selector {
  12. display: flex;
  13. align-items: center;
  14. justify-content: space-between;
  15. height: 104 * @rpx;
  16. padding: 24 * @rpx 24 * @rpx 0;
  17. box-sizing: border-box;
  18. &-item {
  19. width: 310 * @rpx;
  20. height: 64 * @rpx;
  21. padding: 0 16 * @rpx 0 24 * @rpx;
  22. box-sizing: border-box;
  23. border-radius: 8 * @rpx;
  24. display: flex;
  25. justify-content: space-between;
  26. align-items: center;
  27. box-shadow: inset 0 1 * @rpx 6 * @rpx 0 fade(@COLOR_BLACK_CHANGE, 10);
  28. color: @COLOR_TEXT_PRIMARY;
  29. &-active {
  30. .hairline-radius( @COLOR_BRAND1,16*@rpx);
  31. color: @COLOR_BRAND1;
  32. .@{pickerPrefix}-selector-item-icon {
  33. color: @COLOR_BRAND1;
  34. }
  35. }
  36. &-value {
  37. font-size: 28 * @rpx;
  38. }
  39. &-placeholder {
  40. font-size: 28 * @rpx;
  41. color: @COLOR_TEXT_WEAK;
  42. }
  43. &-icon {
  44. color: @COLOR_TEXT_WEAK;
  45. font-size: 32 * @rpx;
  46. }
  47. }
  48. &-split {
  49. color: @COLOR_TEXT_WEAK;
  50. }
  51. }
  52. }