Spaces:
3SCError404
/
Paused

nexus / frontend /apps /internal /src /components /TicketGrid.module.css
dushyantsingh0
backend stabilization
5667401
Raw History Blame Contribute Delete
4.31 kB
.tableWrapper {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
overflow: auto;
max-height: calc(100vh - 420px);
margin-top: 8px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
position: relative;
}
.tableContainer {
display: flex;
flex-direction: column;
}
.pagination {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 12px;
padding: 16px 24px;
background: white;
border-top: 1px solid var(--border-subtle);
border-bottom-left-radius: var(--radius-lg);
border-bottom-right-radius: var(--radius-lg);
}
.pageInfo {
font-size: 11px;
font-weight: 800;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.pagBtn {
background: white;
border: 1px solid var(--border-subtle);
color: var(--text-main);
padding: 6px 12px;
border-radius: 8px;
font-size: 10px;
font-weight: 900;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 6px;
}
.pagBtn:hover:not(:disabled) {
border-color: var(--primary);
color: var(--primary);
background: var(--bg-hover);
}
.pagBtn:disabled {
opacity: 0.4;
cursor: not-allowed;
filter: grayscale(1);
}
.table {
width: 100%;
border-collapse: collapse;
text-align: left;
table-layout: fixed;
}
.thId, .thPriority, .thSubject, .thCustomer, .thStatus, .thSLA, .thAgent {
padding: 18px 24px;
background: #f8fafc;
border-bottom: 2px solid var(--border-subtle);
color: var(--text-muted);
font-size: 9px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 0.12em;
}
.thId { width: 80px; }
.thPriority { width: 60px; text-align: center; }
.thSubject { width: auto; }
.thCustomer { width: 220px; }
.thStatus { width: 140px; }
.thSLA { width: 100px; text-align: right; }
.thAgent { width: 200px; padding-left: 40px; }
.row {
cursor: pointer;
transition: all 0.2s;
border-bottom: 1px solid var(--border-subtle);
}
.row:hover {
background: var(--bg-hover);
}
.tdId, .tdPriority, .tdSubject, .tdCustomer, .tdStatus, .tdSLA, .tdAgent {
padding: 14px 24px;
vertical-align: middle;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tdId {
font-family: var(--font-sans);
font-size: 11px;
font-weight: 700;
color: var(--text-muted);
}
.pTag {
font-size: 10px;
font-weight: 800;
padding: 2px 8px;
border-radius: 4px;
display: inline-block;
min-width: 32px;
text-align: center;
text-transform: uppercase;
}
.titleGroup {
display: flex;
align-items: center;
gap: 12px;
}
.title {
font-size: 13px;
font-weight: 700;
color: var(--text-main);
overflow: hidden;
text-overflow: ellipsis;
}
.aiBadge {
font-size: 9px;
font-weight: 800;
background: rgba(30, 64, 175, 0.08);
color: var(--primary);
padding: 2px 8px;
border-radius: 4px;
border: 1px solid rgba(30, 64, 175, 0.1);
}
.customerGroup {
display: flex;
align-items: center;
gap: 10px;
}
.sentiment {
font-size: 12px;
}
.name {
font-size: 13px;
font-weight: 600;
color: var(--text-main);
}
.statusGroup {
display: flex;
align-items: center;
gap: 8px;
}
.dot {
width: 6px;
height: 6px;
border-radius: 50%;
}
.statusLabel {
font-size: 11px;
font-weight: 700;
color: var(--text-main);
text-transform: uppercase;
letter-spacing: 0.02em;
}
.sla {
font-size: 11px;
font-weight: 700;
color: var(--text-muted);
}
.slaUrgent {
color: var(--error);
font-weight: 900;
animation: urgentPulse 1.5s infinite;
}
@keyframes urgentPulse {
0% { opacity: 1; }
50% { opacity: 0.6; }
100% { opacity: 1; }
}
.agentGroup {
display: flex;
align-items: center;
gap: 12px;
}
.miniAvatar {
width: 28px;
height: 28px;
border-radius: 8px;
background: var(--bg-hover);
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
font-weight: 800;
color: var(--primary);
border: 1px solid var(--border-subtle);
}
.agentName {
font-size: 12px;
font-weight: 600;
color: var(--text-main);
}
.emptyState {
padding: 80px 40px;
text-align: center;
color: var(--text-muted);
font-size: 13px;
font-weight: 600;
}
.loading {
padding: 80px;
text-align: center;
color: var(--text-muted);
font-weight: 600;
}