react-flex-picker
Version:
Helps to build your own calendar by using prepared components and api to control them
44 lines (36 loc) • 578 B
text/stylus
$daysHeight = 30px;
.day {
cursor: pointer;
display: inline-block;
width: $daysHeight;
height: $daysHeight;
text-align: center;
line-height: $daysHeight;
}
.dayDisabled {
opacity: 0.5;
cursor: default;
}
.dayOff {
color: red;
}
.daySelected {
color: white;
background-color: lightskyblue;
opacity: 1;
}
.dayFirstSelected {
color: white;
background-color: blue;
}
.dayLastSelected {
color: white;
background-color: blue;
}
.dayClickable:hover {
color: white;
background-color: darkblue;
}
.dayHovered {
background-color: lightblue;
}