@import "../common/var";

@include b(time-range-picker) {
  width: 360px;
  overflow: visible;

  @include e(content) {
    position: relative;
    text-align: center;
    padding: 10px;
  }

  @include e(cell) {
    box-sizing: border-box;
    margin: 0;
    padding: 4px 0 7px;
    width: 50%;
    display: inline-block;
  }

  @include e(header) {
    margin-bottom: 10px;
    text-align: center;
    font-size: 14px;
  }

  @include e(div) {
    margin: 0 6px;
    border: 1px solid $--datepicker-border-color;
    border-radius: 2px;
    .el-time-panel__content {
      margin: 0 4px;
    }
  }

  @include e(body) {
    border-radius: 2px;
    &.has-seconds .el-time-spinner__wrapper {
      width: calc(33.3% - 13.33px);
      &:not(:last-child) {
        margin-right: 20px;
      }
    }
    .el-time-spinner__list {
      .el-time-spinner__list-block {
        width: 100%;
        left: 0;
        height: 20px;
        border-radius: 2px;
      }
    }
  }
}