Files
zeekay 6a8e922392 Initial commit: Lux Wallet browser extension
- Multi-chain wallet for Lux ecosystem (Lux, Zoo, SPC, Hanzo networks)
- Support for external EVM chains (Ethereum, Arbitrum, Base, etc.)
- WXT-based build system for Chrome and Firefox
- Ledger hardware wallet integration
- Security engine for transaction risk analysis
- Address book and custom networks support
2026-01-29 17:40:25 -08:00

198 lines
2.7 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 360px;
min-height: 520px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #0f0f1a;
color: #fff;
}
.container {
display: flex;
flex-direction: column;
min-height: 520px;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px;
border-bottom: 1px solid #1a1a2e;
}
.logo {
display: flex;
align-items: center;
gap: 8px;
}
.logo-icon {
font-size: 24px;
color: #6366f1;
}
.logo-text {
font-size: 18px;
font-weight: 600;
}
.settings-btn {
background: none;
border: none;
color: #9ca3af;
font-size: 20px;
cursor: pointer;
}
.settings-btn:hover {
color: #fff;
}
.swap-container {
flex: 1;
padding: 16px;
display: flex;
flex-direction: column;
gap: 4px;
}
.input-card {
background: #1a1a2e;
border-radius: 16px;
padding: 16px;
}
.input-header {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
}
.label {
color: #9ca3af;
font-size: 14px;
}
.balance {
color: #6b7280;
font-size: 14px;
}
.input-row {
display: flex;
align-items: center;
gap: 8px;
}
.amount-input {
flex: 1;
background: none;
border: none;
color: #fff;
font-size: 28px;
font-weight: 500;
outline: none;
}
.amount-input::placeholder {
color: #4b5563;
}
.token-btn {
display: flex;
align-items: center;
gap: 8px;
background: #374151;
border: none;
border-radius: 20px;
padding: 8px 12px;
cursor: pointer;
transition: background 0.2s;
}
.token-btn:hover {
background: #4b5563;
}
.token-icon {
width: 24px;
height: 24px;
background: #6366f1;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 600;
color: #fff;
}
.token-symbol {
color: #fff;
font-size: 16px;
font-weight: 600;
}
.dropdown-arrow {
color: #9ca3af;
font-size: 12px;
}
.switch-btn {
align-self: center;
width: 32px;
height: 32px;
background: #374151;
border: 4px solid #0f0f1a;
border-radius: 50%;
color: #fff;
font-size: 16px;
cursor: pointer;
margin: -12px 0;
z-index: 1;
transition: background 0.2s;
}
.switch-btn:hover {
background: #4b5563;
}
.action-btn {
background: #6366f1;
border: none;
border-radius: 16px;
padding: 16px;
color: #fff;
font-size: 16px;
font-weight: 600;
cursor: pointer;
margin-top: 8px;
transition: background 0.2s;
}
.action-btn:hover {
background: #4f46e5;
}
.footer {
padding: 16px;
text-align: center;
border-top: 1px solid #1a1a2e;
}
.footer a {
color: #6366f1;
text-decoration: none;
font-size: 14px;
}
.footer a:hover {
text-decoration: underline;
}