aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/calendarBox/CalendarBox.scss
blob: 89dc294a5d27e34ae4b9ea20a03f806fe838bd4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.calendarBox-interactive,
.calendarBox {
    display: flex;
    width: 100%;
    height: 100%;
    transform-origin: top left;
    overflow: auto;
    > div {
        pointer-events: none;
        width: 100%;
        height: 100%;
        .fc-timegrid-body {
            width: 100% !important;
            table {
                width: 100% !important;
            }
        }
        .fc-col-header {
            width: 100% !important;
        }
        .fc-daygrid-body {
            width: 100% !important;
            .fc-scrollgrid-sync-table {
                width: 100% !important;
            }
        }
    }
}

// AARAV ADD

/* Existing styles */
.fc-event.mother {
    font-weight: 500;
    border-radius: 4px;
    padding: 2px 4px;
    border-width: 2px;
  }
  
  /* New styles for completed tasks */
  .fc-event.completed-task {
    opacity: 1;
    filter: grayscale(70%) brightness(90%);
    text-decoration: line-through;
    color: #ffffff;
  }
  
.calendarBox-interactive {
    > div {
        pointer-events: unset;
    }
}

.custom-drag-mirror {
    transition: none !important;
    transform: none !important;
}

.fc-event-dragging {
    opacity: 0 !important;
}