$monthPrefixCls: #{$prefixCls}-calendar-month;

.#{$monthPrefixCls} {
  background-color: white;
  .title {
    text-align: center;
    padding: 10px 0;
  }
  .row {
    display: flex;
  }
  .cell {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 14.28571429%;
    padding: 2px 0;
    &.disable {
      color: #aaa;
    }
    .left, .right {
      flex: 1;
      display: inline-block;
    }
    &.date-selected {
      // color: white;
      .date-wrapper, .left, .right {
        background-color: $primaryColorLight;
      }
    }
    &.selected-single {
      .date {
        // border-radius: 50%;
      }
      .left, .right {
        background-color: transparent;
      }
      .date-wrapper {
        color: white;
        background-color: $primaryColor;
        border-radius: 1px;
      }
    }
    &.selected-start {
      .date {
        // border-radius: 50% 0 0 50%;
      }
      .left {
        background-color: transparent;
      }
      .date-wrapper {
        color: white;
        background-color: $primaryColor;
        border-radius: 1px;
      }
    }
    &.selected-end {
      .date {
        // border-radius: 0 50% 50% 0;
      }
      .right {
        background-color: transparent;
      }
      .date-wrapper {
        color: white;
        background-color: $primaryColor;
        border-radius: 1px;
      }
    }
  }
  .date-wrapper {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    .date {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-shrink: 0;
      width: 100%;
      line-height: 1;
    }
    .left, .right {
      border: none;
      width: 100%;
      height: 100%;
    }
  }
  .info {
    height: 15px;
    width: 100%;
    font-size: 12px;
    color: white;
    white-space: nowrap;
    // text-overflow: ellipsis;
    // overflow: hidden;
    text-align: center;
  }
}