390 lines
9.2 KiB
CSS
390 lines
9.2 KiB
CSS
/* ════════════════════════════════════════════════════════════
|
|
PC Account Records — Theme-2 Blue-White
|
|
Bets, wallet, recharge, cashbacks
|
|
════════════════════════════════════════════════════════════ */
|
|
.desktop-records-page {
|
|
width: 100%;
|
|
max-width: 1480px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-6);
|
|
flex: 1;
|
|
min-height: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.desktop-records-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-7) var(--space-11);
|
|
flex-wrap: wrap;
|
|
flex-shrink: 0;
|
|
padding-bottom: var(--space-5);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.desktop-records-header-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.desktop-records-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-4);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.desktop-records-action-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: var(--space-4) var(--space-7);
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--border-active);
|
|
background: rgba(0, 102, 204, 0.08);
|
|
color: var(--primary-light);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
|
|
}
|
|
|
|
.desktop-records-action-btn:hover {
|
|
background: rgba(0, 102, 204, 0.14);
|
|
border-color: var(--border-active);
|
|
box-shadow: var(--glow-gold);
|
|
}
|
|
|
|
.desktop-records-filter-bar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-2);
|
|
align-items: center;
|
|
}
|
|
|
|
.desktop-records-filter-groups {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--space-4) var(--space-6);
|
|
}
|
|
|
|
.desktop-records-filter-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
.desktop-records-filter-group-label {
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
color: var(--text-muted);
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.desktop-records-filter-divider {
|
|
width: 1px;
|
|
height: 22px;
|
|
background: var(--border);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.desktop-records-filter-chip {
|
|
padding: 7px var(--space-6);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
background: var(--bg-hover);
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
transition: color var(--transition), border-color var(--transition), background var(--transition);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.desktop-records-filter-chip:hover {
|
|
color: var(--text);
|
|
border-color: rgba(0, 102, 204, 0.25);
|
|
}
|
|
|
|
.desktop-records-filter-chip.active {
|
|
color: var(--primary-light);
|
|
background: rgba(0, 102, 204, 0.1);
|
|
border-color: rgba(0, 102, 204, 0.35);
|
|
box-shadow: 0 0 0 1px rgba(0, 102, 204, 0.1);
|
|
}
|
|
|
|
.desktop-wallet-subnav {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-1);
|
|
}
|
|
|
|
.desktop-wallet-subnav-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: var(--space-4) var(--space-6);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
text-decoration: none;
|
|
border: 1px solid transparent;
|
|
transition: color var(--transition), background var(--transition), border-color var(--transition);
|
|
}
|
|
|
|
.desktop-wallet-subnav-link:hover {
|
|
color: var(--text);
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.desktop-wallet-subnav-link.active {
|
|
color: var(--primary-light);
|
|
background: rgba(0, 102, 204, 0.1);
|
|
border-color: rgba(0, 102, 204, 0.28);
|
|
}
|
|
|
|
/* ── Records Panel ── */
|
|
.desktop-records-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 0;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.desktop-records-table-wrap {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.desktop-records-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* ── Table Header: glassmorphism + heading font ── */
|
|
.desktop-records-table th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: var(--z-sticky);
|
|
padding: var(--space-5) var(--space-6);
|
|
text-align: left;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
font-family: var(--font-heading);
|
|
color: var(--primary);
|
|
background: var(--glass-bg-strong);
|
|
backdrop-filter: var(--blur-md);
|
|
-webkit-backdrop-filter: var(--blur-md);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
border-bottom: 2px solid var(--border-active);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.desktop-records-table th.num-th {
|
|
text-align: right;
|
|
}
|
|
|
|
.desktop-records-table td {
|
|
padding: var(--space-5) var(--space-6);
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--text);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.desktop-records-table tbody tr:nth-child(even) {
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
/* ── Row hover: blue left-border indicator ── */
|
|
.desktop-records-table tbody tr.hover-row {
|
|
transition: background var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
|
|
.desktop-records-table tbody tr.clickable-row {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.desktop-records-table tbody tr.hover-row:hover,
|
|
.desktop-records-table tbody tr.clickable-row:hover {
|
|
background: rgba(0, 102, 204, 0.06);
|
|
box-shadow: inset 3px 0 0 var(--primary-lighter);
|
|
}
|
|
|
|
.desktop-records-table .id-cell {
|
|
color: var(--text);
|
|
font-weight: 700;
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.desktop-records-table .num-cell {
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 700;
|
|
font-family: var(--font-data);
|
|
}
|
|
|
|
.desktop-records-table .date-cell {
|
|
white-space: nowrap;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.desktop-records-table .link-cell {
|
|
color: var(--primary-light);
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.desktop-records-table .link-cell:hover {
|
|
color: var(--primary-lighter);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* ── Pagination ── */
|
|
.desktop-records-pagination {
|
|
flex-shrink: 0;
|
|
padding: var(--space-5) var(--space-6);
|
|
border-top: 1px solid var(--border);
|
|
background: var(--desktop-bg);
|
|
}
|
|
|
|
/* ── Empty / Loading States ── */
|
|
.desktop-records-loading,
|
|
.desktop-records-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-5);
|
|
flex: 1;
|
|
min-height: 0;
|
|
padding: var(--space-13) var(--space-9);
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.desktop-records-table .state-row td {
|
|
padding: 0;
|
|
border-bottom: none;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.desktop-records-table-empty {
|
|
text-align: center;
|
|
padding: var(--space-13) var(--space-6) !important;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.desktop-records-table-empty .empty-hint {
|
|
margin: var(--space-4) 0 0;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
line-height: 1.6;
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.desktop-records-loading-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 280px;
|
|
padding: var(--space-13) var(--space-9);
|
|
}
|
|
|
|
/* ── Status Badges: dot indicator + pulse ── */
|
|
.desktop-records-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: var(--space-2) var(--space-5);
|
|
border-radius: var(--radius-full);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.03em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Dot indicator before status text */
|
|
.desktop-records-status::before {
|
|
content: '';
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.desktop-records-status.status-won {
|
|
background: rgba(52, 199, 89, 0.12);
|
|
color: #2BB058;
|
|
}
|
|
.desktop-records-status.status-won::before { background: #34C759; }
|
|
|
|
.desktop-records-status.status-lost {
|
|
background: rgba(255, 69, 58, 0.12);
|
|
color: #E53935;
|
|
}
|
|
.desktop-records-status.status-lost::before { background: #FF453A; }
|
|
|
|
.desktop-records-status.status-pending {
|
|
background: rgba(0, 102, 204, 0.12);
|
|
color: var(--primary-light);
|
|
}
|
|
.desktop-records-status.status-pending::before {
|
|
background: var(--primary-lighter);
|
|
animation: pulse-dot 1.6s ease-in-out infinite;
|
|
}
|
|
|
|
.desktop-records-status.status-push {
|
|
background: rgba(100, 100, 100, 0.12);
|
|
color: #888;
|
|
}
|
|
.desktop-records-status.status-push::before { background: #aaa; }
|
|
|
|
.desktop-records-status.status-cancelled {
|
|
background: rgba(100, 100, 100, 0.1);
|
|
color: #777;
|
|
}
|
|
.desktop-records-status.status-cancelled::before { background: #999; }
|
|
|
|
.desktop-records-status.status-default {
|
|
background: rgba(100, 100, 100, 0.1);
|
|
color: #888;
|
|
}
|
|
.desktop-records-status.status-default::before { background: #aaa; }
|
|
|
|
@keyframes pulse-dot {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.5; transform: scale(1.3); }
|
|
}
|
|
|
|
/* ── Amount styling ── */
|
|
.desktop-records-amount.pos { color: var(--primary-light); font-weight: 800; }
|
|
.desktop-records-amount.neg { color: var(--danger); font-weight: 800; }
|
|
.desktop-records-amount.zero { color: var(--text-muted); }
|