at the end of the day, it was inevitable
This commit is contained in:
@@ -0,0 +1,135 @@
|
||||
@import 'variables';
|
||||
|
||||
|
||||
.rbc-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.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-weight: bold;
|
||||
font-size: 85%;
|
||||
height: auto;
|
||||
line-height: normal;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.rbc-month-view {
|
||||
position: relative;
|
||||
border: 1px solid $calendar-border;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1 0 0;
|
||||
width: 100%;
|
||||
user-select: none;
|
||||
|
||||
height: 100%; // ie-fix
|
||||
|
||||
.rbc-header {
|
||||
border-bottom: 1px solid $cell-border;
|
||||
}
|
||||
|
||||
.rbc-header + .rbc-header {
|
||||
border-left: 1px solid $cell-border;
|
||||
}
|
||||
|
||||
.rbc-rtl & .rbc-header + .rbc-header {
|
||||
border-left-width: 0;
|
||||
border-right: 1px solid $cell-border;
|
||||
}
|
||||
}
|
||||
|
||||
.rbc-month-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.rbc-month-row {
|
||||
display: flex;
|
||||
position: relative;
|
||||
flex-direction: column;
|
||||
flex: 1 0 0;
|
||||
overflow: hidden;
|
||||
|
||||
height: 100%; // ie-fix
|
||||
|
||||
& + & {
|
||||
border-top: 1px solid $cell-border;
|
||||
}
|
||||
}
|
||||
|
||||
.rbc-date-cell {
|
||||
padding-inline-end: 5px;
|
||||
text-align: end;
|
||||
flex: 1 1;
|
||||
|
||||
&.rbc-now {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
> 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;
|
||||
}
|
||||
|
||||
.rbc-day-bg {
|
||||
flex: 1 0;
|
||||
& + & {
|
||||
border-left: 1px solid $cell-border;
|
||||
}
|
||||
|
||||
.rbc-rtl & + & {
|
||||
border-left-width: 0;
|
||||
border-right: 1px solid $cell-border;
|
||||
}
|
||||
}
|
||||
|
||||
.rbc-off-range-bg {
|
||||
background: $gray-100;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
Reference in New Issue
Block a user