.#{$slider-prefix-cls} {
  position: relative;
  flex: 1;
  margin: $slider-handle-size/2 0;

  &-wrap {
    display: flex;
    align-items: center;

    // 带图标
    .aid {
      padding: 0 $slider-icon-padding-x;
      font-size: $slider-icon-font-size;
      color: $gray-11;
      text-align: center;
    }
  }

  &-left {
    padding-right: $slider-handle-size/2;
  }

  &-right {
    padding-left: $slider-handle-size/2;
  }

  &-rail,
  &-track {
    position: absolute;
    top: 50%;
    height: $slider-rail-height;
    border-radius: $slider-rail-height;
    transform: translateY(-50%);
  }

  &-rail {
    left: 0;
    width: 100%;
    background-color: $gray-6;
  }

  &-track {
    background-color: $brand-primary;
  }

  &-handle {
    position: absolute;
    top: 50%;
    width: $slider-handle-size;
    height: $slider-handle-size;
    // margin-top: -($slider-handle-size - $slider-rail-height)/2;
    margin-left: -$slider-handle-size/2;
    background-color: $white;
    border-radius: 50%;
    box-shadow: $slider-handle-box-shadow;
    transform: translateY(-50%);
  }

  &-step {
    position: absolute;
    top: 50%;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: $slider-step-height;
    background: transparent;
    transform: translateY(-50%);
    margin-top: $slider-step-top;
    &__dot {
      width: $slider-step-height;
      height: $slider-step-height;
      background-color: $gray-6;
      border-radius: 50%;

      &--active {
        background-color: $brand-primary;
      }
    }
  }

  @include status-disabled;
}
