.tita-common-calendar {
  width: 220px;
  background-color: #FFF;
  user-select: none;
  &-header {
    height: 30px;
    line-height: 30px;
    border-top: 1px solid #e8e8e8;
    font-size: 14px;
    text-align: center;
    .calendar-header-year,
    .calendar-header-month{
      font-weight: 600;
      padding: 0 2px;
      color: rgba(0,0,0,.85);
    }
    .header-next-month,
    .header-next-year,
    .header-prev-year,
    .header-prev-month {
      height: 30px;
      line-height: 30px;
      font-size: 20px;
    }
    .header-prev-year,
    .header-prev-month{
      float: left;
    }
    .header-next-month,
    .header-next-year{
      float: right;

    }
  }
  &-body {
    border-top:1px solid #e8e8e8;
    font-size: 14px;
    padding: 0 5px;
    .calendar-body-table {
      border-collapse: separate;
      border-spacing: 0 10px;
      th,td {
        width:30px;
        height: 20px;
        text-align: center;
      }
      .tita-calendar-item-inner {
        width: 20px;
        height: 20px;
        line-height: 20px;
        margin: 0 auto;
        border-radius: 3px;
        text-align: center;
      }
      .tita-calendar-item-outter {
        .tita-calendar-item-inner {
          transition: background-color .3s ease;
          cursor: pointer;
          &:hover {
            background-color: #ecf6fd;
          }
        }
      }
      .tita-calendar-item-current {
        color: rgba(0,0,0,.65);
      }
      .tita-calendar-item-today {
        border: 1px solid #108ee9;
        font-weight: 700;
        color: #108ee9;
      }
      .tita-calendar-item-disabled {
        cursor: not-allowed;
        color: #bcbcbc;
        background: #f3f3f3;
      }
      
      .tita-calendar-item-other {
        color: rgba(0,0,0,.25);
      }
      .tita-calendar-item-selected {
        background: #108ee9!important;
        color: #fff;
      }
      .tita-calendar-item-hightlight {
        background-color: #ecf6fd;
      }
    }
  }
}    