ECMQuantAI / static /style.css
AJAYKASU's picture
Feature: IPO Discount, Greenshoe, & Ownership Logic
978dc7e verified
:root {
--bg-dark: #0E1117;
--bg-card: #1E1E1E;
--bg-sidebar: #000000;
--primary-gold: #FFD700;
--text-main: #FAFAFA;
--text-muted: #B0B0B0;
--border: #333333;
--font-stack: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
body {
margin: 0;
padding: 0;
background-color: var(--bg-dark);
color: var(--text-main);
font-family: var(--font-stack);
height: 100vh;
overflow: hidden;
}
.app-container {
display: flex;
height: 100vh;
}
/* Sidebar */
.sidebar {
width: 300px;
background-color: var(--bg-sidebar);
border-right: 1px solid var(--border);
padding: 20px;
display: flex;
flex-direction: column;
gap: 20px;
}
.brand {
font-size: 1.2rem;
font-weight: 700;
color: var(--text-main);
letter-spacing: 0.5px;
margin-bottom: 20px;
}
.input-section label,
.settings-section label {
display: block;
color: var(--text-muted);
font-size: 0.75rem;
font-weight: 600;
margin-bottom: 8px;
text-transform: uppercase;
}
textarea {
width: 100%;
background-color: #1a1a1a;
border: 1px solid var(--border);
color: var(--text-main);
padding: 10px;
border-radius: 4px;
resize: none;
font-family: var(--font-stack);
}
button#run-btn {
background-color: var(--primary-gold);
color: #000;
border: none;
padding: 12px;
border-radius: 4px;
font-weight: 700;
cursor: pointer;
transition: opacity 0.2s;
margin-top: 20px;
}
button#run-btn:hover {
opacity: 0.9;
}
.footer {
margin-top: auto;
color: #444;
font-size: 0.7rem;
text-align: center;
}
/* Main Content */
.main-content {
flex: 1;
padding: 30px;
overflow-y: auto;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
border-bottom: 1px solid var(--border);
padding-bottom: 15px;
}
h1 {
font-weight: 300;
font-size: 1.8rem;
margin: 0;
}
.gold-text {
color: var(--primary-gold);
}
/* Grid System */
.dashboard-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.full-width {
grid-column: span 4;
}
.card,
.metric-card {
background-color: var(--bg-card);
border: 1px solid var(--border);
border-radius: 6px;
padding: 20px;
}
.summary-card {
border-left: 4px solid var(--primary-gold);
}
.metric-card {
text-align: center;
}
.metric-label {
display: block;
color: var(--text-muted);
font-size: 0.85rem;
margin-bottom: 5px;
}
.metric-value {
color: var(--primary-gold);
font-size: 1.5rem;
font-weight: 700;
}
.highlight-card .metric-value {
font-size: 1.8rem;
color: #fff;
text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
/* Tables */
table {
width: 100%;
border-collapse: collapse;
}
th {
text-align: left;
color: var(--text-muted);
font-size: 0.8rem;
border-bottom: 1px solid var(--border);
padding: 10px;
}
td {
padding: 10px;
border-bottom: 1px solid #2a2a2a;
font-size: 0.9rem;
}
/* Loader */
.loader-container {
text-align: center;
margin-top: 100px;
color: var(--text-muted);
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(255, 215, 0, 0.3);
border-radius: 50%;
border-top-color: var(--primary-gold);
animation: spin 1s ease-in-out infinite;
margin: 0 auto 15px;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
/* Toggle Switch */
.switch {
position: relative;
display: inline-block;
width: 40px;
height: 20px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #333;
transition: .4s;
border-radius: 34px;
}
.slider:before {
position: absolute;
content: "";
height: 14px;
width: 14px;
left: 3px;
bottom: 3px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked+.slider {
background-color: var(--primary-gold);
}
input:checked+.slider:before {
transform: translateX(20px);
}