aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/TaskBox.scss
blob: 071fe1f7cd9e2a7521ab0032e292db1bedeb575e (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.task-manager-container {
    color-scheme: light;
    display: flex;
    flex-direction: column;
    padding: 8px;
    gap: 10px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.task-manager-title {
    width: 100%;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.task-manager-description {
    width: 100%;
    font-size: 1rem;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-height: 40px;
    box-sizing: border-box;
    vertical-align: top;
    text-align: start;
    resize: none;
    line-height: 1.4;
    resize: none;
    flex-grow: 1;
}

.task-manager-checkboxes {
    display: flex;
    align-items: center;
    gap: 16px;
}

.task-manager-allday,
.task-manager-complete {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.task-manager-times {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.task-manager-times label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 4px;
}

input[type='datetime-local'] {
    width: 100%;
    font-size: 0.9rem;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.task-manager-checkboxes {
    display: flex;
    flex-wrap: wrap; /* allows wrapping on small screens */
    align-items: center;
    gap: 16px;
    row-gap: 8px; /* optional: tighter vertical spacing if it wraps */
}

.task-manager-google {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 6px;
    background-color: #5e88c8;
    color: white;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);

    &:hover {
        background-color: #4773b0; // darker shade of your base blue
        color: white;
        transform: scale(1.01); // subtle hover feel without real size change
    }

    &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
      }
}