@import "common/var";
@import "./date-picker/picker.scss";
@import "./date-picker/date-picker.scss";
@import "./scrollbar.scss";
@import "./popper";

.time-select {
  margin: 5px 0;
  min-width: 0;
}

.time-select .el-picker-panel__content {
  max-height: 200px;
  margin: 6px 0;
}

.time-select-item {
  padding: 8px 10px;
  font-size: 14px;
  line-height: 20px;
  .bi-iconfont-check {
    position: absolute;
    right: 10px;
    line-height: 20px;
  }
}

.time-select-item.selected:not(.disabled) {
  color: $--color-primary;
}

.time-select-item.disabled {
  color: $--color-text-secondary;
  cursor: not-allowed;
  &:hover {
    background-color: transparent;
    cursor: not-allowed;
  }
}

.time-select-item:hover {
  background-color: $--select-option-hover-background;
  cursor: pointer;
}
