|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- @import './variables';
- @import './time-column';
-
- .rbc-slot-selection {
- z-index: 10;
- position: absolute;
- background-color: $time-selection-bg-color;
- color: $time-selection-color;
- font-size: 75%;
- width: 100%;
- padding: 3px;
- }
-
- .rbc-slot-selecting {
- cursor: move;
- }
-
- .rbc-time-view {
- display: flex;
- flex-direction: column;
- flex: 1;
- width: 100%;
- border: 1px solid $calendar-border;
- min-height: 0;
-
- .rbc-time-gutter {
- white-space: nowrap;
- }
-
- .rbc-allday-cell {
- box-sizing: content-box;
- width: 100%;
- height: 100%;
- position: relative;
- }
- .rbc-allday-cell + .rbc-allday-cell {
- border-left: 1px solid $cell-border;
- }
-
- .rbc-allday-events {
- position: relative;
- z-index: 4;
- }
-
- .rbc-row {
- box-sizing: border-box;
- min-height: 20px;
- }
- }
-
- .rbc-time-header {
- display: flex;
- flex: 0 0 auto; // should not shrink below height
- flex-direction: row;
-
- &.rbc-overflowing {
- border-right: 1px solid $cell-border;
- }
-
- .rbc-rtl &.rbc-overflowing {
- border-right-width: 0;
- border-left: 1px solid $cell-border;
- }
-
- > .rbc-row:first-child {
- border-bottom: 1px solid $cell-border;
- }
-
- > .rbc-row.rbc-row-resource {
- border-bottom: 1px solid $cell-border;
- }
-
- // .rbc-gutter-cell {
- // flex: none;
- // }
-
- // > .rbc-gutter-cell + * {
- // width: 100%;
- // }
- }
-
- .rbc-time-header-cell-single-day {
- display: none;
- }
-
- .rbc-time-header-content {
- flex: 1;
- display: flex;
- min-width: 0;
- flex-direction: column;
- border-left: 1px solid $cell-border;
-
- .rbc-rtl & {
- border-left-width: 0;
- border-right: 1px solid $cell-border;
- }
-
- >.rbc-row.rbc-row-resource {
- border-bottom: 1px solid $cell-border;
- flex-shrink: 0;
- }
- }
-
- .rbc-time-content {
- display: flex;
- flex: 1 0 0%;
- align-items: flex-start;
- width: 100%;
- border-top: 2px solid $calendar-border;
- overflow-y: auto;
- position: relative;
-
- > .rbc-time-gutter {
- flex: none;
- }
-
- > * + * > * {
- border-left: 1px solid $cell-border;
- }
-
- .rbc-rtl & > * + * > * {
- border-left-width: 0;
- border-right: 1px solid $cell-border;
- }
-
- > .rbc-day-slot {
- width: 100%;
- user-select: none;
- -webkit-user-select: none;
- }
- }
-
- .rbc-current-time-indicator {
- position: absolute;
- z-index: 3;
- left: 0;
- right: 0;
- height: 1px;
-
- background-color: $current-time-color;
- pointer-events: none;
- }
|