@import "../style/var.less";
@import "../style/fn.less";
@import "../style/mixin/setOnepx.less";

.@{lib-name}-calendar {
  background: #fff;
  user-select: none;
  .fe-calendar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 10px 18px 0 18px;
  }
  .@{lib-name}-calendar-weeks {
    display: flex;
    color: @text-color;
    font-size: 14px;
    height: 30px;
    .@{lib-name}-calendar-item {
      width: 14.2%;
      // width: 42px;
    }
    position: relative;
    &:before {
      .setBottomLine();
    }
  }
  .@{lib-name}-calendar-days {
    display: flex;
    font-size: 16px;
    color: @text-color;
    flex-wrap: wrap;
    .@{lib-name}-calendar-item {
      width: 14.2%;
      // width: 42px;
      height: 42px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  .@{lib-name}-calendar-months {
    display: flex;
    font-size: 16px;
    color: @text-color;
    flex-wrap: wrap;
    .@{lib-name}-calendar-item {
      width: 25%;
    }
  }
  .@{lib-name}-calendar-years {
    display: flex;
    font-size: 16px;
    color: @text-color;
    flex-wrap: wrap;
    .fe-calendar-item {
      width: 20%;
    }
  }
  .@{lib-name}-calendar-item {
    min-height: 1px;
    text-align: center;
  }
  .fe-f-disabled {
    color: @gray-dark;
  }
  .fe-f-active {
    color: @white;
    position: relative;
    background: @nuofe;
    border-radius: 4px;
    box-shadow: 2px 2px 3px rgba(24, 144, 255, 0.4);
  }
  .fe-f-btn-a {
    background: none;
    outline: none;
    display: block;
    border: none;
    padding: 0;
    &.fe-f-title {
      font-size: 20px;
      color: #333333;
    }
  }
  .fe-f-crow {
    &:before {
      position: relative;
      top: -1px;
      display: inline-block;
      width: 8px;
      height: 8px;
      vertical-align: middle;
      border: 0 solid #aaa;
      border-width: 1.5px 0 0 1.5px;
      border-radius: 1px;
      transform: rotate(-45deg) scale(0.8);
      transition: all 0.3s;
      content: "";
    }
  }
  .fe-f-crow-right {
    &:before {
      transform: rotate(135deg) scale(0.8);
    }
  }
}
.fe-fade-enter-active,
.fe-fade-leave-active {
  transition: opacity 0.5s;
}
.fe-fade-enter, .fe-fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}
