File size: 5,406 Bytes
cdc7470
 
 
 
 
 
 
 
20ece93
cdc7470
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20ece93
 
cdc7470
 
20ece93
 
cdc7470
 
 
 
20ece93
 
cdc7470
 
 
20ece93
 
cdc7470
 
20ece93
cdc7470
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b4f53c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cdc7470
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b4f53c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0ba5d77
b4f53c6
 
0ba5d77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b4f53c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Next:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Atkinson Hyperlegible Next', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* PTO Background Pattern */
.pto-pattern {
    background-image: linear-gradient(45deg, #f5f5f5 25%, transparent 25%),
                      linear-gradient(-45deg, #f5f5f5 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, #f5f5f5 75%),
                      linear-gradient(-45deg, transparent 75%, #f5f5f5 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* On-call Background */
.on-call-bg {
    background-color: #fef9c3;
}

/* Holiday Background */
.holiday-bg {
    background-color: #dbeafe;
}

/* Conference Background */
.conference-bg {
    background-color: #f3e8ff;
}

/* Status Indicator Colors */
.status-complete {
    background-color: #10b981;
}

.status-in-progress {
    background-color: #3b82f6;
}

.status-blocked {
    background-color: #f59e0b;
}

.status-not-started {
    background-color: #6b7280;
}

/* Cell Selection */
.cell-selected {
    border: 2px solid #0ea5e9 !important;
    box-shadow: 0 0 0 1px #0ea5e9;
}

/* Drag and Drop Styles */
.drag-over-valid {
    border: 2px solid #10b981 !important;
}

.drag-over-invalid {
    border: 2px solid #ef4444 !important;
}

.dragging {
    opacity: 0.5;
}

/* Dependency Lines */
.dependency-line {
    stroke: #6b7280;
    stroke-width: 2;
    marker-end: url(#arrowhead);
}
/* Sprint Boundary Lines */
.sprint-boundary {
    border-top: 3px solid #3b82f6;
}
/* Conflict Indicators */
.conflict-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: #ef4444;
    border-radius: 50%;
}

/* Task Item Styles */
.task-item {
    position: relative;
    transition: all 0.2s ease;
}

.task-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* More indicator */
.more-indicator {
    background: rgba(243, 244, 246, 0.8);
    border-radius: 4px;
    padding: 2px 4px;
}
/* Command Panel Animation */
.command-panel-enter {
    transform: translateX(100%);
}

.command-panel-enter-active {
    transform: translateX(0);
    transition: transform 300ms ease-in-out;
}

.command-panel-exit {
    transform: translateX(0);
}

.command-panel-exit-active {
    transform: translateX(100%);
    transition: transform 300ms ease-in-out;
}

/* Task Stack Animation */
.task-stack-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.task-stack-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 200ms, transform 200ms;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .calendar-grid {
        font-size: 12px;
    }
    
    .team-member-column {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .calendar-grid {
        font-size: 11px;
    }
    
    .team-member-column {
        min-width: 120px;
    }
}

/* Print Styles */
@media print {
    .command-panel,
    .floating-action-btn {
        display: none !important;
    }
    
    .calendar-grid {
        break-inside: avoid;
    }
}

/* Team Member Header */
.team-member-header {
    background: white;
    border-right: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}
/* Cell Styles */
.cell {
    background: white;
    border-right: 1px solid #e5e7eb;
    padding: 0.25rem;
    min-height: 4rem;
    position: relative;
    transition: all 0.2s ease;
    overflow: hidden;
}

/* Column Resizing */
.team-member-header {
    position: relative;
    cursor: col-resize;
    user-select: none;
}

.team-member-header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    cursor: col-resize;
}

.team-member-header:hover::after {
    background: #0ea5e9;
}

/* Task Item Styling */
.task-item {
    max-height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 4px;
    font-size: 14px;
}

.task-title {
    font-weight: 500;
    line-height: 1.3;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    flex-shrink: 0;
}

.time-estimate {
    font-size: 10px;
    color: #64748b;
}

.link-count {
    font-size: 10px;
}
.cell:hover {
    background-color: #f9fafb;
}

/* Status Colors */
.status-complete {
    background-color: #10b981;
}

.status-in-progress {
    background-color: #3b82f6;
}

.status-blocked {
    background-color: #f59e0b;
}

.status-not-started {
    background-color: #6b7280;
}

/* Date Column */
.sticky.left-0 {
    background: #f8f9fa;
    font-weight: 500;
    color: #374151;
}