feat(khira): add real-time SSE live updates and Kanban drag-and-drop
This commit is contained in:
@@ -2319,3 +2319,78 @@ dd { word-break: break-word; }
|
||||
}
|
||||
.scorecard-item .val.green { color: #10b981; }
|
||||
.scorecard-item .val.red { color: #ef4444; }
|
||||
|
||||
/* ── Realtime Live Status Indicator ── */
|
||||
.live-status-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
padding: 4px 10px;
|
||||
border-radius: 999px;
|
||||
background: rgba(16, 185, 129, 0.12);
|
||||
border: 1px solid rgba(52, 211, 153, 0.3);
|
||||
color: #34d399;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
margin-left: 14px;
|
||||
transition: all 0.3s ease;
|
||||
user-select: none;
|
||||
}
|
||||
.live-status-pill.offline {
|
||||
background: rgba(245, 158, 11, 0.12);
|
||||
border-color: rgba(251, 191, 36, 0.3);
|
||||
color: #fbbf24;
|
||||
}
|
||||
.live-dot {
|
||||
position: relative;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #10b981;
|
||||
}
|
||||
.live-status-pill.offline .live-dot {
|
||||
background: #f59e0b;
|
||||
}
|
||||
.live-pulse {
|
||||
position: absolute;
|
||||
top: -3px;
|
||||
left: -3px;
|
||||
right: -3px;
|
||||
bottom: -3px;
|
||||
border-radius: 50%;
|
||||
background: rgba(16, 185, 129, 0.5);
|
||||
animation: live-pulse-anim 2s infinite ease-out;
|
||||
}
|
||||
.live-status-pill.offline .live-pulse {
|
||||
background: rgba(245, 158, 11, 0.5);
|
||||
}
|
||||
@keyframes live-pulse-anim {
|
||||
0% { transform: scale(0.8); opacity: 0.9; }
|
||||
100% { transform: scale(2.2); opacity: 0; }
|
||||
}
|
||||
|
||||
/* ── Realtime Flash Animation on Board/List ── */
|
||||
@keyframes card-flash-anim {
|
||||
0% { box-shadow: 0 0 0 2px #38bdf8, 0 0 20px rgba(56, 189, 248, 0.4); transform: scale(1.02); }
|
||||
100% { box-shadow: none; transform: scale(1); }
|
||||
}
|
||||
.card.live-flash, .li.live-flash {
|
||||
animation: card-flash-anim 1.2s ease-out;
|
||||
}
|
||||
|
||||
/* ── HTML5 Drag & Drop Styling ── */
|
||||
.card[draggable="true"] {
|
||||
cursor: grab;
|
||||
}
|
||||
.card.dragging {
|
||||
opacity: 0.45;
|
||||
transform: scale(0.96);
|
||||
cursor: grabbing;
|
||||
}
|
||||
.col.drop-hover {
|
||||
background: rgba(56, 189, 248, 0.08) !important;
|
||||
border: 1px dashed rgba(56, 189, 248, 0.5) !important;
|
||||
border-radius: 18px !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user