date-picker.scss 1.52 KB
@import '@/styles/_support';

// 日历容器
.date-wrap {

  font-family: Arial;
  font-size: 14px;

  // 日历
  .calendar-wrap {
    position: relative;
    @extend .bb;
    width: 450px;
    height: 320px;
    border-radius: $borderRadius;
    background-color: wheat;
    border: solid 1px #dcdddd;
    padding: 28px 36px 18px 36px;
    background-color: #ffffff;

    // 年月标题
    .nav-wrap {
      @extend .flc;
      align-items: center;
      color: $cOrange;

      .date-wrap {
        @extend .flb;
        align-items: center;

        .date {
          // margin: 0 40px;
          width: 154px;
          text-align: center;
        }
      }

      .nav-btn2 {
        color: #959595;
      }
    }

    .con {
      margin: 12px auto 0;

      // 表头
      .th {
        @extend .flb;

        // 单元格
        .td {
          color: $cOrange;
        }
      }

      // 表体
      .tr {
        @extend .flb;
        justify-content: flex-start;
        flex-wrap: wrap;
        // margin-top: 0px;

        .td {
          text-align: center;
          width: calc(100%/7);
          height: 34px;
          @extend .flb;
          justify-content: center;
          align-items: center;
        }
      }

      .point {
        width: 28px;
        height: 28px;
        line-height: 28px;
        text-align: center;
        border-radius: 100%;
      }

      .sel {
        color: #ffffff;
        background-color: $cOrange;
      }
    }
  }
}

.disable {
  color: #dcdddd !important;
  cursor: default !important;
}