Spaces:
Paused

miracle / frontend /apps /internal /src /components /TicketGrid.module.css
dushyantsingh0
backend stabilization
ea10f92
Raw History Blame Contribute Delete
5.12 kB
.tableWrapper {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
overflow: auto;
max-height: calc(100vh - 280px);
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: var(--bg-card);
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: var(--bg-card);
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;
min-width: 1000px; /* Ensure columns don't squash */
}
.thId, .thPriority, .thTitle, .thCreator, .thStatus, .thSla, .thAssignee {
padding: 12px 16px;
background: #f8fafc;
border-bottom: 2px solid var(--border-subtle);
color: var(--text-muted);
font-size: 10px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.1em;
white-space: nowrap;
position: relative;
user-select: none;
}
.thContent {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.resizer {
position: absolute;
right: 0;
top: 0;
height: 100%;
width: 5px;
cursor: col-resize;
background: transparent;
transition: background 0.2s;
z-index: 10;
}
.resizer:hover, .resizerActive {
background: var(--primary);
width: 2px;
}
.row {
cursor: pointer;
transition: all 0.2s;
border-bottom: 1px solid var(--border-subtle);
display: table-row !important;
}
.row:hover {
background: var(--bg-hover);
}
.tdId, .tdPriority, .tdTitle, .tdCreator, .tdStatus, .tdSla, .tdAssignee {
padding: 12px 16px;
vertical-align: middle;
display: table-cell !important;
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;
}
.loadingOverlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.4);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
border-radius: var(--radius-lg);
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.spinner {
animation: spin 1s linear infinite;
color: var(--primary);
}
@keyframes spin {
to { transform: rotate(360deg); }
}