@import './variables.less';


.rbc-row {
  display: flex;
  flex-direction: row;
  &.rbc-event-row{

  }
  &.rbc-date-row{
    height:48px;
  }
}

.rbc-row-segment {
  padding: 0 1px 1px 1px;

  .rbc-event-content {
    &:extend(.rbc-ellipsis);
  }
}

.rbc-selected-cell {
  background-color: @date-selection-bg-color;
}


.rbc-show-more {
  &:extend(.rbc-ellipsis);
  background-color: rgba(255, 255, 255, 0.3);
  z-index: @event-zindex;
  font-size: 12px;
  height: auto;
  line-height: 14px;
  white-space: nowrap;
}

.rbc-month-view {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 0 0;
  width: 100%;
  user-select: none;
  color: #6b7175;
}

.rbc-month-header {
  display: flex;
  flex-direction: row;
  background:#fafafa;
}

.rbc-month-row {
  display: flex;
  position: relative;
  flex-direction: column;
  overflow: hidden;
  transition: height linear 0.3s;
  height: 66px; // ie-fix
  &:after{
    content: "";
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: scale(0.5);
    -webkit-transform-origin: 0 0;
    padding: 1px;
    box-sizing: border-box;
    pointer-events: none;
    border-bottom: 1px solid #e6e7e8;
  }
}
.rbc-date-cell {  
  height : 4px;
  text-align: center;
  .rbc-date-content{
    margin:4px 0 2px 0;
    height:42px;
  }
  .rbc-now {
    color:#1695f0;
  }
  .rbc-current{
    display:inline-block;
    color:#fff;
    width:42px;
    border-radius:50%;
    background:#1695f0;
  }
  .rbc-date-title{
    font-size:16px;
    line-height:20px;
    padding-top:4px;
  }
  .rbc-date-inner{
    font-size:12px;
    line-height:14px;
  }

  > a {
    &, &:active, &:visited {
      color: inherit;
      text-decoration: none;
    }
  }
}

.rbc-row-bg {
  &:extend(.rbc-abs-full);
  display: flex;
  flex-direction: row;
  flex: 1 0 0;
  overflow: hidden;
  height:66px;
}

.rbc-overlay {
  position: absolute;
  z-index: @event-zindex + 1;
  border: 1px solid #e5e5e5;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,.25);
  padding: 10px;

  > * + * {
    margin-top: 1px;
  }
}

.rbc-overlay-header {
  border-bottom: 1px solid #e5e5e5;
  margin: -10px -10px 5px -10px ;
  padding: 2px 10px;
}
