jaeswift-website/css/jupiterswap.css

172 lines
3.7 KiB
CSS

/* ─── Jupiter Swap Terminal ─────────────────────────────────
Military / CRT theme wrapper for Jupiter Terminal v4
─────────────────────────────────────────────────────────── */
.jup-container {
max-width: 520px;
margin: 0 auto;
padding: 0 1.5rem 3rem;
}
/* ── Info Panel ── */
.jup-info-panel {
background: rgba(16, 16, 16, 0.7);
border: 1px solid rgba(123, 97, 255, 0.15);
border-left: 3px solid rgba(123, 97, 255, 0.5);
padding: 1rem 1.25rem;
margin-bottom: 1.5rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.jup-info-row {
display: flex;
align-items: flex-start;
gap: 0.6rem;
}
.jup-info-icon {
font-size: 0.5rem;
color: #7B61FF;
margin-top: 0.25rem;
flex-shrink: 0;
}
.jup-info-text {
font-family: 'JetBrains Mono', monospace;
font-size: 0.65rem;
color: rgba(255, 255, 255, 0.5);
line-height: 1.5;
letter-spacing: 0.5px;
}
.jup-info-referral .jup-info-icon {
color: #00D18C;
}
.jup-info-referral .jup-info-text {
color: rgba(0, 209, 140, 0.5);
}
/* ── Terminal Wrapper ── */
.jup-terminal-wrapper {
background: rgba(10, 10, 10, 0.95);
border: 1px solid rgba(123, 97, 255, 0.2);
border-radius: 4px;
overflow: hidden;
position: relative;
box-shadow:
0 0 30px rgba(123, 97, 255, 0.05),
0 4px 20px rgba(0, 0, 0, 0.4);
}
.jup-terminal-wrapper:hover {
border-color: rgba(123, 97, 255, 0.35);
box-shadow:
0 0 40px rgba(123, 97, 255, 0.08),
0 4px 24px rgba(0, 0, 0, 0.5);
}
/* ── Terminal Title Bar ── */
.jup-terminal-header {
display: flex;
align-items: center;
gap: 0.4rem;
padding: 0.6rem 1rem;
background: rgba(20, 20, 20, 0.9);
border-bottom: 1px solid rgba(123, 97, 255, 0.1);
}
.jup-terminal-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #ff5f57;
}
.jup-terminal-dot--yellow {
background: #ffbd2e;
}
.jup-terminal-dot--green {
background: #28c840;
}
.jup-terminal-title {
font-family: 'JetBrains Mono', monospace;
font-size: 0.55rem;
color: rgba(123, 97, 255, 0.6);
letter-spacing: 2px;
margin-left: 0.5rem;
}
/* ── Jupiter Terminal Container ── */
#jupiter-terminal {
min-height: 480px;
position: relative;
z-index: 1;
}
/* Override Jupiter's internal styles for dark theme consistency */
#jupiter-terminal iframe {
border: none !important;
}
/* ── Loading State ── */
.jup-terminal-loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1rem;
padding: 3rem 1rem;
position: absolute;
top: 40px;
left: 0;
right: 0;
bottom: 0;
background: rgba(10, 10, 10, 0.95);
z-index: 2;
}
.jup-terminal-loading span {
font-family: 'JetBrains Mono', monospace;
font-size: 0.6rem;
color: rgba(123, 97, 255, 0.6);
letter-spacing: 3px;
animation: jup-pulse 1.5s ease-in-out infinite;
}
.jup-spinner {
width: 28px;
height: 28px;
border: 2px solid rgba(123, 97, 255, 0.15);
border-top-color: #7B61FF;
border-radius: 50%;
animation: jup-spin 0.8s linear infinite;
}
@keyframes jup-spin {
to { transform: rotate(360deg); }
}
@keyframes jup-pulse {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}
/* ── Responsive ── */
@media (max-width: 600px) {
.jup-container {
padding: 0 0.75rem 2rem;
}
.jup-info-panel {
padding: 0.75rem 1rem;
}
#jupiter-terminal {
min-height: 420px;
}
}