@import '../../vars.less';

@colorBlue: #31D4D5;
@colorOrange: #FF704E;

.monthWrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.caretLeft {
  display: none;
}
.monthWrap:hover .monthList, .monthWrap:hover .caretLeft {
  display: initial;
}
.monthWrap:hover .caretDown {
  display: none;
}
.selectedMonth {
  color: @colorBlue;
}

.monthList {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 1;
  width: 81px;
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid @colorBlue;
}
.monthUp .monthList {
  top: initial;
  bottom: 100%;
}
.monthItem, .monthActiveItem {
  font-size: 14px;
  font-family: Lantinghei SC;
  font-weight: 200;
  color: #FFFFFF;
  line-height: 22px;
  text-align: center;
}
.monthActiveItem {
  color: @colorBlue;
}

.monthOrange {
  color: @colorOrange;
  .monthActiveItem {
    color: @colorOrange;
  }
  .monthList {
    border: 1px solid @colorOrange;
  }
  .selectedMonth {
    color: @colorOrange;
  }
}

.mothWrapNormal {
  .monthItem, .monthActiveItem {
    font-size: @normal-font-size-1;
    line-height: @normal-font-size-1;
    padding: 10px 0;
  }
  .monthList {
    width: 120px;
    padding: 20px 0;
  }
  .selectedMonth {
    font-size: @normal-font-size-1;
  }
}
