Spaces:
Paused
Paused
dushyantsingh0 commited on
Commit ·
4f2d916
1
Parent(s): 57990d3
UI: Hardened dashboard ticket hover to match premium article style
Browse files
frontend/apps/customer/src/App.css
CHANGED
|
@@ -467,3 +467,28 @@
|
|
| 467 |
z-index: 2;
|
| 468 |
position: relative;
|
| 469 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 467 |
z-index: 2;
|
| 468 |
position: relative;
|
| 469 |
}
|
| 470 |
+
|
| 471 |
+
.nexus-ticket-item {
|
| 472 |
+
padding: 20px;
|
| 473 |
+
margin: 0 -20px;
|
| 474 |
+
border-radius: 16px;
|
| 475 |
+
border-bottom: 1px solid var(--border-subtle);
|
| 476 |
+
cursor: pointer;
|
| 477 |
+
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
| 478 |
+
display: flex;
|
| 479 |
+
align-items: center;
|
| 480 |
+
gap: 16px;
|
| 481 |
+
}
|
| 482 |
+
|
| 483 |
+
.nexus-ticket-item:last-child {
|
| 484 |
+
border-bottom: none;
|
| 485 |
+
}
|
| 486 |
+
|
| 487 |
+
.nexus-ticket-item:hover {
|
| 488 |
+
background: var(--bg-hover);
|
| 489 |
+
transform: translateY(-4px) scale(1.02);
|
| 490 |
+
box-shadow: 0 20px 40px rgba(0,0,0,0.06);
|
| 491 |
+
border-bottom-color: transparent;
|
| 492 |
+
z-index: 2;
|
| 493 |
+
position: relative;
|
| 494 |
+
}
|
frontend/apps/customer/src/components/Dashboard.tsx
CHANGED
|
@@ -292,7 +292,7 @@ export const Dashboard: React.FC<DashboardProps> = ({ setActive, setSelectedTick
|
|
| 292 |
) : activeTickets.length === 0 ? (
|
| 293 |
<div style={{ fontSize: 14, color: "var(--text-muted)", textAlign: 'center', padding: '64px 0', fontWeight: 500 }}>NO ACTIVE TICKETS AT THE MOMENT</div>
|
| 294 |
) : activeTickets.slice(0, 5).map(t => (
|
| 295 |
-
<div key={t.id} onClick={() => { setSelectedTicket(t); setActive("thread"); }} className="
|
| 296 |
<div style={{ flex: 1, minWidth: 0 }}>
|
| 297 |
<div style={{ fontSize: 15, fontWeight: 700, color: "var(--text-main)", marginBottom: 6, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", fontFamily: "var(--font-heading)" }}>{t.title}</div>
|
| 298 |
<div style={{ display: "flex", gap: 10, alignItems: "center" }}>
|
|
|
|
| 292 |
) : activeTickets.length === 0 ? (
|
| 293 |
<div style={{ fontSize: 14, color: "var(--text-muted)", textAlign: 'center', padding: '64px 0', fontWeight: 500 }}>NO ACTIVE TICKETS AT THE MOMENT</div>
|
| 294 |
) : activeTickets.slice(0, 5).map(t => (
|
| 295 |
+
<div key={t.id} onClick={() => { setSelectedTicket(t); setActive("thread"); }} className="nexus-ticket-item">
|
| 296 |
<div style={{ flex: 1, minWidth: 0 }}>
|
| 297 |
<div style={{ fontSize: 15, fontWeight: 700, color: "var(--text-main)", marginBottom: 6, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", fontFamily: "var(--font-heading)" }}>{t.title}</div>
|
| 298 |
<div style={{ display: "flex", gap: 10, alignItems: "center" }}>
|