|
1 | | -@import "react-datepicker/dist/react-datepicker.css"; |
2 | | -@import "react-quill-new/dist/quill.snow.css"; |
3 | | -@import "react-calendar-heatmap/dist/styles.css"; |
4 | | -@import "rc-slider/assets/index.css"; |
5 | | -@import "mapbox-gl/dist/mapbox-gl.css"; |
6 | | -@import "@toast-ui/calendar/dist/toastui-calendar.min.css"; |
| 1 | +@import "react-datepicker/dist/react-datepicker.css" layer(base); |
| 2 | +@import "react-quill-new/dist/quill.snow.css" layer(base); |
| 3 | +@import "react-calendar-heatmap/dist/styles.css" layer(base); |
| 4 | +@import "rc-slider/assets/index.css" layer(base); |
| 5 | +@import "mapbox-gl/dist/mapbox-gl.css" layer(base); |
| 6 | +@import "react-big-calendar/lib/css/react-big-calendar.css" layer(base); |
7 | 7 | @import "tailwindcss"; |
8 | 8 |
|
9 | 9 | @plugin "@tailwindcss/typography"; |
|
57 | 57 | hr { |
58 | 58 | @apply border-b border-slate-200 dark:border-zinc-600; |
59 | 59 | } |
| 60 | + |
| 61 | + button:not(:disabled), |
| 62 | + [role="button"]:not(:disabled) { |
| 63 | + @apply cursor-pointer; |
| 64 | + } |
60 | 65 | } |
61 | 66 |
|
62 | 67 | @utility prose { |
|
220 | 225 | @apply opacity-80!; |
221 | 226 | } |
222 | 227 |
|
223 | | -.toastui-calendar-panel, |
224 | | -.toastui-calendar-week, |
225 | | -.toastui-calendar-column, |
226 | | -.toastui-calendar-weekday-grid, |
227 | | -.toastui-calendar-daygrid-cell, |
228 | | -.toastui-calendar-gridline-half, |
229 | | -.toastui-calendar-timegrid-hour-rows, |
230 | | -.toastui-calendar-timezone-labels-slot, |
231 | | -.toastui-calendar-timegrid-timezone-label { |
232 | | - @apply dark:border-zinc-700!; |
| 228 | +.rbc-header, |
| 229 | +.rbc-month-row + .rbc-month-row, |
| 230 | +.rbc-day-bg + .rbc-day-bg, |
| 231 | +.rbc-timeslot-group, |
| 232 | +.rbc-time-view .rbc-allday-cell + .rbc-allday-cell, |
| 233 | +.rbc-time-content > * + * > *, |
| 234 | +.rbc-day-slot .rbc-time-slot { |
| 235 | + @apply border-zinc-200 dark:border-zinc-700; |
233 | 236 | } |
234 | 237 |
|
235 | | -.toastui-calendar-timegrid-hour-rows, |
236 | | -.toastui-calendar-timegrid-timezone-label { |
237 | | - @apply bg-transparent!; |
| 238 | +.rbc-month-view, |
| 239 | +.rbc-time-view, |
| 240 | +.rbc-time-header, |
| 241 | +.rbc-time-header-content, |
| 242 | +.rbc-time-content, |
| 243 | +.rbc-time-gutter .rbc-timeslot-group { |
| 244 | + @apply border-0; |
238 | 245 | } |
239 | 246 |
|
240 | | -.toastui-calendar-timezone-labels-slot { |
241 | | - @apply dark:bg-zinc-900!; |
| 247 | +.rbc-timeslot-group { |
| 248 | + @apply min-h-12; |
242 | 249 | } |
243 | 250 |
|
244 | | -.toastui-calendar-weekday-event, |
245 | | -.toastui-calendar-weekday-event-title { |
246 | | - @apply text-inherit!; |
| 251 | +.rbc-month-header, |
| 252 | +.rbc-time-header-cell { |
| 253 | + @apply min-h-8; |
| 254 | +} |
| 255 | + |
| 256 | +.rbc-time-content { |
| 257 | + @apply border-t-2 border-zinc-200 dark:border-zinc-700; |
| 258 | +} |
| 259 | + |
| 260 | +.rbc-header { |
| 261 | + @apply flex items-center text-zinc-400 text-left font-normal; |
| 262 | +} |
| 263 | + |
| 264 | +.rbc-header + .rbc-header { |
| 265 | + @apply border-l-0; |
| 266 | +} |
| 267 | + |
| 268 | +.rbc-today { |
| 269 | + @apply bg-sky-400/10; |
| 270 | +} |
| 271 | + |
| 272 | +.rbc-current-time-indicator { |
| 273 | + @apply bg-sky-500; |
| 274 | +} |
| 275 | + |
| 276 | +.rbc-date-cell, |
| 277 | +.rbc-time-slot { |
| 278 | + @apply text-zinc-700 dark:text-zinc-300; |
| 279 | +} |
| 280 | + |
| 281 | +.rbc-off-range { |
| 282 | + @apply text-zinc-400 dark:text-zinc-600; |
| 283 | +} |
| 284 | + |
| 285 | +.rbc-off-range-bg { |
| 286 | + @apply bg-transparent; |
| 287 | +} |
| 288 | + |
| 289 | +.rbc-event:focus { |
| 290 | + @apply outline-0; |
| 291 | +} |
| 292 | + |
| 293 | +.rbc-event-label, |
| 294 | +.rbc-event-content { |
| 295 | + @apply text-xs; |
| 296 | +} |
| 297 | + |
| 298 | +.rbc-selected-cell { |
| 299 | + @apply bg-sky-500/20 border border-sky-500!; |
247 | 300 | } |
248 | 301 |
|
249 | | -.toastui-calendar-event-time { |
250 | | - @apply whitespace-normal break-words; |
| 302 | +.rbc-slot-selection { |
| 303 | + @apply bg-sky-500/20 border border-sky-500 text-sky-500; |
251 | 304 | } |
252 | 305 |
|
253 | 306 | .mapboxgl-popup-content { |
|
0 commit comments