jaeswift-website/css/soldomains.css

600 lines
12 KiB
CSS

/* .SOL DOMAINS - Solana Name Service */
.sol-container {
max-width: clamp(1000px, 85vw, 1800px);
margin: 0 auto;
padding: 0 2rem 3rem;
}
/* Search Section */
.sol-search-section {
margin-bottom: 2rem;
}
.sol-search-box {
display: flex;
gap: 0.5rem;
background: rgba(16, 16, 16, 0.85);
border: 1px solid var(--border);
border-left: 3px solid rgba(138, 43, 226, 0.6);
padding: 1rem 1.25rem;
align-items: center;
}
.sol-search-box:focus-within {
border-left-color: #a855f7;
box-shadow: 0 0 20px rgba(138, 43, 226, 0.1);
}
.sol-search-prefix {
font-family: 'Orbitron', monospace;
font-size: 0.75rem;
color: #a855f7;
letter-spacing: 2px;
white-space: nowrap;
}
.sol-search-input {
flex: 1;
background: transparent;
border: none;
outline: none;
font-family: 'JetBrains Mono', monospace;
font-size: 0.8rem;
color: #ffffff;
letter-spacing: 1px;
}
.sol-search-input::placeholder {
color: rgba(255, 255, 255, 0.2);
}
.sol-search-suffix {
font-family: 'JetBrains Mono', monospace;
font-size: 0.75rem;
color: rgba(138, 43, 226, 0.6);
letter-spacing: 1px;
}
.sol-search-btn {
background: rgba(138, 43, 226, 0.15);
border: 1px solid rgba(138, 43, 226, 0.3);
color: #a855f7;
font-family: 'Orbitron', monospace;
font-size: 0.65rem;
letter-spacing: 2px;
padding: 0.6rem 1.2rem;
cursor: pointer;
transition: all 0.25s ease;
}
.sol-search-btn:hover {
background: rgba(138, 43, 226, 0.25);
border-color: #a855f7;
box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}
/* Wallet Connection */
.sol-wallet-bar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
padding: 0.75rem 1.25rem;
background: rgba(16, 16, 16, 0.6);
border: 1px solid rgba(138, 43, 226, 0.15);
}
.sol-wallet-status {
font-family: 'JetBrains Mono', monospace;
font-size: 0.65rem;
color: rgba(255, 255, 255, 0.4);
letter-spacing: 1px;
}
.sol-wallet-status.connected {
color: #00cc44;
}
.sol-wallet-address {
font-family: 'JetBrains Mono', monospace;
font-size: 0.6rem;
color: rgba(138, 43, 226, 0.7);
letter-spacing: 1px;
margin-left: 0.5rem;
}
.sol-wallet-btn {
background: rgba(138, 43, 226, 0.12);
border: 1px solid rgba(138, 43, 226, 0.3);
color: #a855f7;
font-family: 'JetBrains Mono', monospace;
font-size: 0.6rem;
letter-spacing: 2px;
padding: 0.5rem 1rem;
cursor: pointer;
transition: all 0.25s ease;
}
.sol-wallet-btn:hover {
background: rgba(138, 43, 226, 0.25);
border-color: #a855f7;
}
.sol-wallet-btn.disconnect {
border-color: rgba(255, 50, 50, 0.3);
color: rgba(255, 50, 50, 0.7);
background: rgba(255, 50, 50, 0.08);
}
.sol-wallet-btn.disconnect:hover {
border-color: rgba(255, 50, 50, 0.6);
background: rgba(255, 50, 50, 0.15);
}
/* Tabs */
.sol-tabs {
display: flex;
gap: 0;
margin-bottom: 1.5rem;
border-bottom: 1px solid var(--border);
}
.sol-tab {
font-family: 'Orbitron', monospace;
font-size: 0.6rem;
letter-spacing: 2px;
color: rgba(255, 255, 255, 0.35);
background: transparent;
border: none;
border-bottom: 2px solid transparent;
padding: 0.75rem 1.5rem;
cursor: pointer;
transition: all 0.25s ease;
}
.sol-tab:hover {
color: rgba(255, 255, 255, 0.6);
}
.sol-tab.active {
color: #a855f7;
border-bottom-color: #a855f7;
}
/* Results Panel */
.sol-results {
min-height: 200px;
}
.sol-result-card {
background: rgba(16, 16, 16, 0.85);
border: 1px solid var(--border);
border-left: 3px solid rgba(138, 43, 226, 0.4);
padding: 1.5rem;
margin-bottom: 1rem;
}
.sol-result-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.sol-result-domain {
font-family: 'Orbitron', monospace;
font-size: 1rem;
color: #ffffff;
letter-spacing: 2px;
}
.sol-result-domain .sol-ext {
color: #a855f7;
}
.sol-result-status {
font-family: 'JetBrains Mono', monospace;
font-size: 0.6rem;
letter-spacing: 2px;
padding: 0.3rem 0.75rem;
border: 1px solid;
}
.sol-result-status.available {
color: #00cc44;
border-color: rgba(0, 204, 68, 0.3);
background: rgba(0, 204, 68, 0.08);
}
.sol-result-status.taken {
color: rgba(255, 170, 0, 0.8);
border-color: rgba(255, 170, 0, 0.3);
background: rgba(255, 170, 0, 0.08);
}
.sol-result-body {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
@media (max-width: 700px) {
.sol-result-body { grid-template-columns: 1fr; }
}
.sol-result-field {
margin-bottom: 0.5rem;
}
.sol-result-label {
font-family: 'JetBrains Mono', monospace;
font-size: 0.55rem;
color: rgba(138, 43, 226, 0.6);
letter-spacing: 2px;
margin-bottom: 0.25rem;
display: block;
}
.sol-result-value {
font-family: 'JetBrains Mono', monospace;
font-size: 0.7rem;
color: rgba(255, 255, 255, 0.75);
word-break: break-all;
}
.sol-result-value a {
color: #a855f7;
text-decoration: none;
}
.sol-result-value a:hover {
text-decoration: underline;
}
/* Register Button */
.sol-register-btn {
display: inline-block;
background: linear-gradient(135deg, rgba(138, 43, 226, 0.25), rgba(168, 85, 247, 0.15));
border: 1px solid rgba(138, 43, 226, 0.5);
color: #ffffff;
font-family: 'Orbitron', monospace;
font-size: 0.7rem;
letter-spacing: 3px;
padding: 0.75rem 2rem;
cursor: pointer;
transition: all 0.3s ease;
margin-top: 1rem;
text-decoration: none;
}
.sol-register-btn:hover {
background: linear-gradient(135deg, rgba(138, 43, 226, 0.4), rgba(168, 85, 247, 0.3));
border-color: #a855f7;
box-shadow: 0 0 25px rgba(138, 43, 226, 0.25);
transform: translateY(-1px);
}
.sol-register-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
/* My Domains List */
.sol-domains-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
}
@media (max-width: 900px) { .sol-domains-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sol-domains-grid { grid-template-columns: 1fr; } }
.sol-domain-card {
background: rgba(16, 16, 16, 0.85);
border: 1px solid var(--border);
border-left: 3px solid rgba(138, 43, 226, 0.4);
padding: 1rem 1.25rem;
transition: all 0.25s ease;
}
.sol-domain-card:hover {
border-left-color: #a855f7;
background: rgba(20, 20, 20, 0.95);
}
.sol-domain-name {
font-family: 'Orbitron', monospace;
font-size: 0.75rem;
color: #ffffff;
letter-spacing: 2px;
margin-bottom: 0.25rem;
}
.sol-domain-name .sol-ext {
color: #a855f7;
}
.sol-domain-fav {
font-family: 'JetBrains Mono', monospace;
font-size: 0.5rem;
color: #00cc44;
letter-spacing: 1px;
}
/* Loading / Empty States */
.sol-loading {
text-align: center;
padding: 3rem;
}
.sol-loading-spinner {
display: inline-block;
width: 20px;
height: 20px;
border: 2px solid rgba(138, 43, 226, 0.2);
border-top-color: #a855f7;
border-radius: 50%;
animation: sol-spin 0.8s linear infinite;
}
@keyframes sol-spin {
to { transform: rotate(360deg); }
}
.sol-loading-text {
font-family: 'JetBrains Mono', monospace;
font-size: 0.65rem;
color: rgba(255, 255, 255, 0.35);
letter-spacing: 2px;
margin-top: 0.75rem;
}
.sol-empty {
text-align: center;
padding: 3rem;
font-family: 'JetBrains Mono', monospace;
font-size: 0.65rem;
color: rgba(255, 255, 255, 0.25);
letter-spacing: 1px;
}
.sol-error {
background: rgba(255, 50, 50, 0.08);
border: 1px solid rgba(255, 50, 50, 0.2);
border-left: 3px solid rgba(255, 50, 50, 0.5);
padding: 1rem 1.25rem;
font-family: 'JetBrains Mono', monospace;
font-size: 0.65rem;
color: rgba(255, 50, 50, 0.8);
letter-spacing: 1px;
margin-bottom: 1rem;
}
/* Reverse Lookup */
.sol-reverse-box {
display: flex;
gap: 0.5rem;
background: rgba(16, 16, 16, 0.85);
border: 1px solid var(--border);
border-left: 3px solid rgba(138, 43, 226, 0.4);
padding: 1rem 1.25rem;
align-items: center;
margin-bottom: 1.5rem;
}
.sol-reverse-input {
flex: 1;
background: transparent;
border: none;
outline: none;
font-family: 'JetBrains Mono', monospace;
font-size: 0.7rem;
color: #ffffff;
letter-spacing: 0.5px;
}
.sol-reverse-input::placeholder {
color: rgba(255, 255, 255, 0.2);
}
/* Stats Bar */
.sol-stats-bar {
display: flex;
gap: 2rem;
padding: 0.5rem 0;
margin-bottom: 1.5rem;
border-bottom: 1px solid rgba(138, 43, 226, 0.1);
}
.sol-stat {
font-family: 'JetBrains Mono', monospace;
font-size: 0.55rem;
color: rgba(255, 255, 255, 0.3);
letter-spacing: 1px;
}
.sol-stat-value {
color: #a855f7;
}
/* Price Display */
.sol-price {
display: flex;
align-items: baseline;
gap: 0.5rem;
margin-top: 0.75rem;
}
.sol-price-amount {
font-family: 'Orbitron', monospace;
font-size: 1.1rem;
color: #ffffff;
}
.sol-price-currency {
font-family: 'JetBrains Mono', monospace;
font-size: 0.65rem;
color: rgba(138, 43, 226, 0.7);
letter-spacing: 2px;
}
.sol-price-usd {
font-family: 'JetBrains Mono', monospace;
font-size: 0.6rem;
color: rgba(255, 255, 255, 0.3);
}
/* Wallet Modal */
.sol-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
}
.sol-modal.hidden {
display: none !important;
}
.sol-modal-backdrop {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.75);
backdrop-filter: blur(4px);
}
.sol-modal-content {
position: relative;
background: rgba(12, 12, 12, 0.98);
border: 1px solid rgba(138, 43, 226, 0.3);
border-top: 2px solid #a855f7;
width: 90%;
max-width: 420px;
max-height: 80vh;
overflow-y: auto;
}
.sol-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 1.25rem;
border-bottom: 1px solid rgba(138, 43, 226, 0.15);
}
.sol-modal-title {
font-family: 'Orbitron', monospace;
font-size: 0.7rem;
color: #a855f7;
letter-spacing: 3px;
}
.sol-modal-close {
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.15);
color: rgba(255, 255, 255, 0.5);
font-size: 0.75rem;
width: 28px;
height: 28px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.sol-modal-close:hover {
border-color: rgba(255, 50, 50, 0.5);
color: rgba(255, 50, 50, 0.8);
}
.sol-modal-body {
padding: 0.75rem;
}
.sol-modal-footer {
padding: 0.75rem 1.25rem;
border-top: 1px solid rgba(138, 43, 226, 0.1);
}
.sol-modal-hint {
font-family: 'JetBrains Mono', monospace;
font-size: 0.55rem;
color: rgba(255, 255, 255, 0.25);
letter-spacing: 1px;
}
/* Wallet Options */
.sol-wallet-option {
display: flex;
align-items: center;
gap: 0.75rem;
width: 100%;
padding: 0.85rem 1rem;
background: rgba(20, 20, 20, 0.6);
border: 1px solid rgba(138, 43, 226, 0.12);
color: #ffffff;
cursor: pointer;
transition: all 0.2s ease;
margin-bottom: 0.4rem;
text-decoration: none;
}
.sol-wallet-option:hover {
background: rgba(138, 43, 226, 0.1);
border-color: rgba(138, 43, 226, 0.35);
transform: translateX(3px);
}
.sol-wallet-option.not-installed {
opacity: 0.45;
}
.sol-wallet-option.not-installed:hover {
opacity: 0.7;
}
.sol-wallet-option-icon {
font-size: 1.2rem;
width: 28px;
text-align: center;
}
.sol-wallet-option-name {
font-family: 'Orbitron', monospace;
font-size: 0.65rem;
letter-spacing: 2px;
flex: 1;
}
.sol-wallet-option-status {
font-family: 'JetBrains Mono', monospace;
font-size: 0.5rem;
letter-spacing: 1px;
color: #00cc44;
}
.sol-wallet-option.not-installed .sol-wallet-option-status {
color: rgba(255, 255, 255, 0.3);
}
.sol-wallet-divider {
font-family: 'JetBrains Mono', monospace;
font-size: 0.5rem;
color: rgba(255, 255, 255, 0.2);
letter-spacing: 2px;
padding: 0.75rem 1rem 0.4rem;
border-top: 1px solid rgba(255, 255, 255, 0.05);
margin-top: 0.25rem;
}