web: start: add dynamique menu
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
d4282353e7
commit
c805169747
9 changed files with 343 additions and 8 deletions
121
web/pages/account/account.css
Normal file
121
web/pages/account/account.css
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
#account-page {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
/* ── Header ────────────────────────────────────────────────────────────── */
|
||||
|
||||
#account-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
background: #1e1e2e;
|
||||
border: 1px solid #313244;
|
||||
border-radius: 10px;
|
||||
padding: 20px 24px;
|
||||
}
|
||||
|
||||
#account-name {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
color: #cdd6f4;
|
||||
margin: 0 0 4px;
|
||||
}
|
||||
|
||||
#account-id {
|
||||
font-size: 12px;
|
||||
color: #6c7086;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
#account-balance-block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.balance-label {
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
color: #6c7086;
|
||||
}
|
||||
|
||||
#account-balance {
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
color: #a6e3a1;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
#account-balance.negative { color: #f38ba8; }
|
||||
|
||||
/* ── Transactions ───────────────────────────────────────────────────────── */
|
||||
|
||||
#account-transactions {
|
||||
background: #1e1e2e;
|
||||
border: 1px solid #313244;
|
||||
border-radius: 10px;
|
||||
padding: 20px 24px;
|
||||
}
|
||||
|
||||
#account-transactions h3 {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: #a6adc8;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
margin: 0 0 16px;
|
||||
}
|
||||
|
||||
#tx-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#tx-table th {
|
||||
text-align: left;
|
||||
color: #6c7086;
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
padding: 0 12px 10px;
|
||||
border-bottom: 1px solid #313244;
|
||||
}
|
||||
|
||||
#tx-table td {
|
||||
padding: 10px 12px;
|
||||
color: #a6adc8;
|
||||
border-bottom: 1px solid #1e1e2e;
|
||||
}
|
||||
|
||||
#tx-table tbody tr:last-child td { border-bottom: none; }
|
||||
#tx-table tbody tr:hover td { background: #313244; }
|
||||
|
||||
.amount-col { text-align: right; }
|
||||
|
||||
td.amount { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
|
||||
td.amount.positive { color: #a6e3a1; }
|
||||
td.amount.negative { color: #f38ba8; }
|
||||
|
||||
td.date { color: #6c7086; font-size: 13px; white-space: nowrap; }
|
||||
|
||||
/* ── States ─────────────────────────────────────────────────────────────── */
|
||||
|
||||
#account-loading {
|
||||
color: #6c7086;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#account-error {
|
||||
background: #313244;
|
||||
border: 1px solid #f38ba8;
|
||||
border-radius: 8px;
|
||||
padding: 12px 16px;
|
||||
color: #f38ba8;
|
||||
font-size: 13px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue