@import "./time.public";

@include prefix(time-base-column) {
  display: inline-block;
  height: 7*$time-size;
  width: 40px;
  border-radius: 2px;

  .time-base-column-list {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;

    .time-base-column-item {
      font-size: 12px;
      height: $time-size;
      line-height: $time-size;
      transition: all 300ms ease;
      text-align: center;

      &.time-base-column-option-item {
        cursor: pointer;

        &:hover {
          background-color: plv(background-hover);
          color: plv(text-1);
        }
      }

      &.time-base-column-item-disabled {
        color: plv(text-3);
        cursor: not-allowed;

        &:hover {
          color: plv(text-3);
          background-color: transparent;
        }
      }

      &.time-base-column-item-current {
        background-color: plv(primary-light-1);
        color: plv(primary-6);

        &:hover {
          color: plv(primary-6);
        }
      }
    }
  }
}
