25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

143 lines
2.3 KiB

  1. @import './variables';
  2. @import './time-column';
  3. .rbc-slot-selection {
  4. z-index: 10;
  5. position: absolute;
  6. background-color: $time-selection-bg-color;
  7. color: $time-selection-color;
  8. font-size: 75%;
  9. width: 100%;
  10. padding: 3px;
  11. }
  12. .rbc-slot-selecting {
  13. cursor: move;
  14. }
  15. .rbc-time-view {
  16. display: flex;
  17. flex-direction: column;
  18. flex: 1;
  19. width: 100%;
  20. border: 1px solid $calendar-border;
  21. min-height: 0;
  22. .rbc-time-gutter {
  23. white-space: nowrap;
  24. }
  25. .rbc-allday-cell {
  26. box-sizing: content-box;
  27. width: 100%;
  28. height: 100%;
  29. position: relative;
  30. }
  31. .rbc-allday-cell + .rbc-allday-cell {
  32. border-left: 1px solid $cell-border;
  33. }
  34. .rbc-allday-events {
  35. position: relative;
  36. z-index: 4;
  37. }
  38. .rbc-row {
  39. box-sizing: border-box;
  40. min-height: 20px;
  41. }
  42. }
  43. .rbc-time-header {
  44. display: flex;
  45. flex: 0 0 auto; // should not shrink below height
  46. flex-direction: row;
  47. &.rbc-overflowing {
  48. border-right: 1px solid $cell-border;
  49. }
  50. .rbc-rtl &.rbc-overflowing {
  51. border-right-width: 0;
  52. border-left: 1px solid $cell-border;
  53. }
  54. > .rbc-row:first-child {
  55. border-bottom: 1px solid $cell-border;
  56. }
  57. > .rbc-row.rbc-row-resource {
  58. border-bottom: 1px solid $cell-border;
  59. }
  60. // .rbc-gutter-cell {
  61. // flex: none;
  62. // }
  63. // > .rbc-gutter-cell + * {
  64. // width: 100%;
  65. // }
  66. }
  67. .rbc-time-header-cell-single-day {
  68. display: none;
  69. }
  70. .rbc-time-header-content {
  71. flex: 1;
  72. display: flex;
  73. min-width: 0;
  74. flex-direction: column;
  75. border-left: 1px solid $cell-border;
  76. .rbc-rtl & {
  77. border-left-width: 0;
  78. border-right: 1px solid $cell-border;
  79. }
  80. >.rbc-row.rbc-row-resource {
  81. border-bottom: 1px solid $cell-border;
  82. flex-shrink: 0;
  83. }
  84. }
  85. .rbc-time-content {
  86. display: flex;
  87. flex: 1 0 0%;
  88. align-items: flex-start;
  89. width: 100%;
  90. border-top: 2px solid $calendar-border;
  91. overflow-y: auto;
  92. position: relative;
  93. > .rbc-time-gutter {
  94. flex: none;
  95. }
  96. > * + * > * {
  97. border-left: 1px solid $cell-border;
  98. }
  99. .rbc-rtl & > * + * > * {
  100. border-left-width: 0;
  101. border-right: 1px solid $cell-border;
  102. }
  103. > .rbc-day-slot {
  104. width: 100%;
  105. user-select: none;
  106. -webkit-user-select: none;
  107. }
  108. }
  109. .rbc-current-time-indicator {
  110. position: absolute;
  111. z-index: 3;
  112. left: 0;
  113. right: 0;
  114. height: 1px;
  115. background-color: $current-time-color;
  116. pointer-events: none;
  117. }