feat(player): ui-ux-pro-max design system upgrade for theme-2 desktop
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
/* PC account records: bets, wallet, recharge, cashbacks */
|
||||
/* ════════════════════════════════════════════════════════════
|
||||
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: 16px;
|
||||
gap: var(--space-6);
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
@@ -16,10 +19,10 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 20px 32px;
|
||||
gap: var(--space-7) var(--space-11);
|
||||
flex-wrap: wrap;
|
||||
flex-shrink: 0;
|
||||
padding-bottom: 14px;
|
||||
padding-bottom: var(--space-5);
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
@@ -34,7 +37,7 @@
|
||||
.desktop-records-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
gap: var(--space-4);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -42,8 +45,8 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 8px 18px;
|
||||
border-radius: 6px;
|
||||
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);
|
||||
@@ -51,18 +54,19 @@
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s, border-color 0.2s;
|
||||
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: 6px;
|
||||
gap: var(--space-2);
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@@ -70,14 +74,14 @@
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 10px 14px;
|
||||
gap: var(--space-4) var(--space-6);
|
||||
}
|
||||
|
||||
.desktop-records-filter-group {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.desktop-records-filter-group-label {
|
||||
@@ -97,15 +101,15 @@
|
||||
}
|
||||
|
||||
.desktop-records-filter-chip {
|
||||
padding: 7px 16px;
|
||||
border-radius: 6px;
|
||||
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 0.2s, border-color 0.2s, background 0.2s;
|
||||
transition: color var(--transition), border-color var(--transition), background var(--transition);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -118,25 +122,26 @@
|
||||
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: 4px;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
|
||||
.desktop-wallet-subnav-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 8px 16px;
|
||||
border-radius: 6px;
|
||||
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 0.2s, background 0.2s, border-color 0.2s;
|
||||
transition: color var(--transition), background var(--transition), border-color var(--transition);
|
||||
}
|
||||
|
||||
.desktop-wallet-subnav-link:hover {
|
||||
@@ -150,6 +155,7 @@
|
||||
border-color: rgba(0, 102, 204, 0.28);
|
||||
}
|
||||
|
||||
/* ── Records Panel ── */
|
||||
.desktop-records-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -157,8 +163,9 @@
|
||||
min-height: 0;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.desktop-records-table-wrap {
|
||||
@@ -173,19 +180,23 @@
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* ── Table Header: glassmorphism + heading font ── */
|
||||
.desktop-records-table th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
padding: 12px 16px;
|
||||
z-index: var(--z-sticky);
|
||||
padding: var(--space-5) var(--space-6);
|
||||
text-align: left;
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
color: var(--primary-light);
|
||||
background: var(--desktop-bg);
|
||||
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: 1px solid var(--border);
|
||||
border-bottom: 2px solid var(--border-active);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -194,7 +205,7 @@
|
||||
}
|
||||
|
||||
.desktop-records-table td {
|
||||
padding: 12px 16px;
|
||||
padding: var(--space-5) var(--space-6);
|
||||
border-bottom: 1px solid var(--border);
|
||||
color: var(--text);
|
||||
vertical-align: middle;
|
||||
@@ -204,8 +215,9 @@
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
/* ── Row hover: blue left-border indicator ── */
|
||||
.desktop-records-table tbody tr.hover-row {
|
||||
transition: background 0.15s;
|
||||
transition: background var(--transition-fast), box-shadow var(--transition-fast);
|
||||
}
|
||||
|
||||
.desktop-records-table tbody tr.clickable-row {
|
||||
@@ -215,12 +227,13 @@
|
||||
.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: 'SF Mono', 'Consolas', monospace;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 12px;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
@@ -229,6 +242,7 @@
|
||||
text-align: right;
|
||||
font-variant-numeric: tabular-nums;
|
||||
font-weight: 700;
|
||||
font-family: var(--font-data);
|
||||
}
|
||||
|
||||
.desktop-records-table .date-cell {
|
||||
@@ -241,29 +255,33 @@
|
||||
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: 12px 16px;
|
||||
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: 14px;
|
||||
gap: var(--space-5);
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
padding: 48px 24px;
|
||||
padding: var(--space-13) var(--space-9);
|
||||
color: var(--text-muted);
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
@@ -277,18 +295,18 @@
|
||||
|
||||
.desktop-records-table-empty {
|
||||
text-align: center;
|
||||
padding: 56px 16px !important;
|
||||
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: 8px 0 0;
|
||||
margin: var(--space-4) 0 0;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1.6;
|
||||
color: var(--text-muted);
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.desktop-records-loading-cell {
|
||||
@@ -296,27 +314,76 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 280px;
|
||||
padding: 48px 24px;
|
||||
padding: var(--space-13) var(--space-9);
|
||||
}
|
||||
|
||||
/* ── Status Badges: dot indicator + pulse ── */
|
||||
.desktop-records-status {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 4px 10px;
|
||||
border-radius: 999px;
|
||||
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;
|
||||
}
|
||||
|
||||
.desktop-records-status.status-won { background: rgba(52, 199, 89, 0.12); color: #4cd964; }
|
||||
.desktop-records-status.status-lost { background: rgba(255, 69, 58, 0.12); color: #ff453a; }
|
||||
.desktop-records-status.status-pending { background: rgba(0, 102, 204, 0.12); color: var(--primary-light); }
|
||||
.desktop-records-status.status-push { background: rgba(100, 100, 100, 0.12); color: #aaa; }
|
||||
.desktop-records-status.status-cancelled { background: rgba(100, 100, 100, 0.1); color: #777; }
|
||||
.desktop-records-status.status-default { background: rgba(100, 100, 100, 0.1); color: #888; }
|
||||
/* Dot indicator before status text */
|
||||
.desktop-records-status::before {
|
||||
content: '';
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.desktop-records-amount.pos { color: var(--primary-light); }
|
||||
.desktop-records-amount.neg { color: var(--danger); }
|
||||
.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); }
|
||||
|
||||
Reference in New Issue
Block a user