quantvat / src /static /css /home.css
heisbuba's picture
Create home.css
8cb1379 verified
Raw History Blame
6.23 kB
/* --- Layout & Grid --- */
.grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-top: 15px;
}
/* --- Action Buttons --- */
.btn {
background: var(--bg-card);
border: 1px solid var(--border);
color: var(--text-main);
padding: 20px;
border-radius: 12px;
font-weight: 600;
text-align: center;
cursor: pointer;
text-decoration: none;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
width: auto;
}
.btn svg {
width: 24px;
height: 24px;
margin-bottom: 5px;
}
/* Accent color for scan actions */
.btn-spot,
.btn-futures,
.btn-adv,
.btn-report {
border-color: var(--accent-green);
color: var(--accent-green);
}
/* --- Terminal Console --- */
.terminal {
background: #000;
padding: 15px;
border-radius: 12px;
border: 1px solid var(--border);
font-family: 'JetBrains Mono', monospace;
font-size: 0.75rem;
color: #cbd5e1;
height: 200px;
overflow-y: auto;
margin-top: 20px;
}
.log-line {
margin-bottom: 4px;
}
.log-line.highlight {
color: #fff;
border-left: 2px solid var(--accent-green);
padding-left: 5px;
}
.log-line.error {
color: #f6465d;
}
.log-line.warn {
color: #f59e0b;
}
/* --- Progress Tracking --- */
.progress-container {
margin-top: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.progress-bar {
height: 4px;
background: #2b3139;
border-radius: 2px;
margin-top: 5px;
overflow: hidden;
}
.progress-fill {
height: 100%;
width: 0%;
background: var(--accent-green);
transition: width 0.3s ease;
}
/* --- Navigation & Filters --- */
.filter-nav-container {
display: flex;
gap: 8px;
overflow-x: auto;
padding: 5px 20px 15px 5px;
margin-top: 10px;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
-webkit-mask-image: linear-gradient(to right, black 98%, transparent 100%);
mask-image: linear-gradient(to right, black 98%, transparent 100%);
}
.filter-nav-container::-webkit-scrollbar {
display: none;
}
.nav-item {
display: inline-flex;
align-items: center;
gap: 6px;
background: var(--bg-card);
border: 1px solid var(--border);
color: var(--text-main);
padding: 8px 14px;
border-radius: 100px;
font-size: 0.75rem;
font-weight: 600;
white-space: nowrap;
cursor: pointer;
transition: 0.2s;
text-decoration: none;
flex: 0 0 auto;
}
.nav-item:hover {
border-color: var(--accent-green);
background: rgba(16, 185, 129, 0.05);
}
.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 1000;
justify-content: center;
align-items: center;
padding: 20px;
}
.modal-overlay.is-active {
display: flex;
}
.modal-content {
background: #151a1e;
border: 1px solid var(--border);
border-radius: 16px;
padding: 24px;
max-width: 480px;
width: 100%;
max-height: 85vh;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
box-sizing: border-box;
animation: modalPopIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
scrollbar-width: none;
-ms-overflow-style: none;
}
.modal-content::-webkit-scrollbar {
display: none;
}
@keyframes modalPopIn {
from {
transform: scale(0.8);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
.modal-header {
margin: 0 0 20px 0;
font-size: 1rem;
font-weight: 800;
color: #fff;
text-align: center;
text-transform: uppercase;
}
.filter-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px 12px;
margin-bottom: 20px;
}
.filter-field {
display: flex;
flex-direction: column;
}
.filter-field label {
display: block;
font-size: 0.75rem;
color: var(--text-dim);
margin-bottom: 6px;
font-weight: 600;
}
.filter-field input {
width: 100%;
box-sizing: border-box;
background: #0b0e11;
border: 1px solid var(--border);
color: #fff;
padding: 8px 10px;
border-radius: 8px;
font-size: 0.875rem;
outline: none;
}
.modal-actions {
display: flex !important;
gap: 12px;
border-top: 1px solid var(--border);
padding-top: 16px;
margin-top: 10px;
position: sticky;
bottom: -24px;
background: #151a1e;
padding-bottom: 4px;
}
.btn-modal {
flex: 1;
padding: 12px 5px;
font-size: 0.8rem;
border-radius: 12px;
font-weight: 800;
cursor: pointer;
text-transform: uppercase;
transition: all 0.2s;
}
.btn-save {
background: var(--accent-green);
color: #000;
border: none;
}
.btn-reset {
background: rgba(239, 68, 68, 0.1);
border: 1px solid var(--accent-red) !important;
color: var(--accent-red);
}
@media (max-width: 576px) {
.modal-overlay {
padding: 12px;
}
.modal-content {
padding: 16px;
max-height: 90vh;
}
.filter-grid {
grid-template-columns: repeat(2, 1fr);
gap: 10px 8px;
}
.modal-actions {
bottom: -16px;
}
}