UNPKG

@rusinov/react-big-calendar

Version:
94 lines (77 loc) 1.44 kB
@import './variables.less'; @import './reset.less'; .rbc-calendar { box-sizing: border-box; height: 100%; display: flex; flex-direction: column; align-items: stretch; } .rbc-calendar *, .rbc-calendar *:before, .rbc-calendar *:after { box-sizing: inherit; } .rbc-abs-full { overflow: hidden; position: absolute; top: 0; left: 0; right: 0; bottom: 0; } .rbc-ellipsis { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rbc-rtl { direction: rtl; } .rbc-off-range { color: @out-of-range-color; } .rbc-off-range-bg { background: @out-of-range-bg-color; } .rbc-header { overflow: hidden; flex: 1 0 0%; text-overflow: ellipsis; white-space: nowrap; padding: 0 3px; text-align: center; vertical-align: middle; font-weight: bold; font-size: 90%; min-height: 0; border-bottom: 1px solid @cell-border; & + & { border-left: 1px solid @cell-border; } .rbc-rtl & + & { border-left-width: 0; border-right: 1px solid @cell-border; } & > a { &, &:active, &:visited { color: inherit; text-decoration: none; } } } .rbc-row-content { position: relative; user-select: none; -webkit-user-select: none; z-index: 4; } .rbc-today { background-color: @today-highlight-bg; } @import './toolbar.less'; @import './event.less'; @import './month.less'; @import './agenda.less'; @import './time-grid.less';