Pages: - add WalletLayout route (WalletHeader + main + Footer via <Outlet/>), wrap converter/swap/bridge/transactions; thin pages, drop duplicated shell CSS - extract SwapBridgeTabs shared between swap/bridge pages Converter reuse (FSD layers, no widget->widget imports): - move commission tiers to entities/commission (+ CommissionTable ui) - shared calc hook features/payment/model/useCurrencyConversion; useConverterSection becomes thin wrapper; HomePage Converter reuses it - move ConvertField/DirectionSwapButton to shared/ui; delete dead useConverter Tooling: - add eslint.config.js (ESLint 9 flat config); fix no-explicit-any in WalletPage Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
154 lines
2.3 KiB
CSS
154 lines
2.3 KiB
CSS
.section {
|
|
padding: 100px 48px;
|
|
background: var(--bg-deep);
|
|
}
|
|
|
|
.wrap {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
background: var(--bg-mid);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: 24px;
|
|
padding: 32px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
flex-wrap: wrap;
|
|
gap: 24px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
margin-top: 8px;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.pills {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.pill {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.pillValue {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: 8px;
|
|
padding: 6px 14px;
|
|
font-family: var(--font-mono);
|
|
font-size: 14px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.body {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 48px;
|
|
}
|
|
|
|
.tabs {
|
|
display: inline-flex;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--glass-border);
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.tab {
|
|
padding: 12px 32px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
letter-spacing: 1px;
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.tab:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.tab[data-active] {
|
|
background: var(--grad-center);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.tab:not([data-active]):hover {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.payBtn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
margin-top: 32px;
|
|
padding: 18px;
|
|
border-radius: 12px;
|
|
background: var(--grad-center);
|
|
color: var(--text-primary);
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
letter-spacing: 1px;
|
|
text-decoration: none;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.payBtn:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.body {
|
|
grid-template-columns: 1fr;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.section {
|
|
padding: 40px 32px;
|
|
}
|
|
|
|
.header {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.tabs {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.bottom {
|
|
margin-top: 1.5rem;
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.pills {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.section {
|
|
padding-left: 24px;
|
|
padding-right: 24px;
|
|
}
|
|
|
|
.wrap {
|
|
padding: 28px;
|
|
}
|
|
}
|