Update static/style.css
Browse files- static/style.css +58 -19
static/style.css
CHANGED
|
@@ -22,6 +22,11 @@ body{
|
|
| 22 |
linear-gradient(180deg, var(--bg1), var(--bg2));
|
| 23 |
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
|
| 24 |
overflow-x:hidden;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
}
|
| 26 |
|
| 27 |
/* Background layers */
|
|
@@ -31,6 +36,11 @@ body{
|
|
| 31 |
radial-gradient(1000px 600px at 20% -10%, rgba(155,140,255,.25),transparent 60%),
|
| 32 |
radial-gradient(900px 500px at 110% 120%, rgba(106,227,255,.18),transparent 60%);
|
| 33 |
filter: blur(30px);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
}
|
| 35 |
|
| 36 |
.stars, .shooting-stars{
|
|
@@ -92,14 +102,24 @@ body{
|
|
| 92 |
|
| 93 |
/* Layout */
|
| 94 |
.container{ width:min(1100px, 92%); margin: 0 auto; position:relative; z-index:2;}
|
| 95 |
-
header{ padding: 60px 0 20px;}
|
| 96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
.logo span{
|
| 98 |
background: linear-gradient(90deg, var(--accent), var(--accent2));
|
| 99 |
-webkit-background-clip:text; background-clip:text; color:transparent;
|
| 100 |
text-shadow: 0 0 28px rgba(106,227,255,.35);
|
|
|
|
| 101 |
}
|
| 102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
|
| 104 |
.card{
|
| 105 |
background: var(--glass);
|
|
@@ -109,7 +129,7 @@ header{ padding: 60px 0 20px;}
|
|
| 109 |
backdrop-filter: blur(10px);
|
| 110 |
box-shadow: 0 15px 60px rgba(0,0,0,.35);
|
| 111 |
transform: translateY(6px);
|
| 112 |
-
animation: card-in .
|
| 113 |
}
|
| 114 |
@keyframes card-in{ to{ transform: translateY(0)} }
|
| 115 |
|
|
@@ -119,7 +139,13 @@ header{ padding: 60px 0 20px;}
|
|
| 119 |
border-radius:12px; background:linear-gradient(135deg, var(--accent2), var(--accent));
|
| 120 |
box-shadow: 0 8px 26px rgba(155,140,255,.35);
|
| 121 |
font-weight:800;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
}
|
|
|
|
| 123 |
.grid{ display:grid; grid-template-columns: 1fr auto; gap:12px; margin-top:16px;}
|
| 124 |
.form-group{ display:flex; flex-direction:column; gap:8px}
|
| 125 |
.form-group.col-span{ grid-column: 1 / -1}
|
|
@@ -135,7 +161,10 @@ input:focus{ border-color: var(--accent); box-shadow: 0 0 0 4px rgba(106,227,255
|
|
| 135 |
padding: 12px 16px; border-radius:14px; color:#0b1020; font-weight:800;
|
| 136 |
background:linear-gradient(135deg, var(--accent), var(--accent2));
|
| 137 |
box-shadow: 0 10px 30px rgba(106,227,255,.35);
|
|
|
|
| 138 |
}
|
|
|
|
|
|
|
| 139 |
.btn .btn-glow{
|
| 140 |
position:absolute; inset:-80% -40%; background: radial-gradient(circle, rgba(255,255,255,.6), transparent 60%);
|
| 141 |
transform: translateX(-60%); animation: sweep 2.2s ease-in-out infinite;
|
|
@@ -143,7 +172,7 @@ input:focus{ border-color: var(--accent); box-shadow: 0 0 0 4px rgba(106,227,255
|
|
| 143 |
}
|
| 144 |
@keyframes sweep{ 50%{ transform: translateX(60%)} }
|
| 145 |
|
| 146 |
-
.status{ display:flex; gap:12px; align-items:center; margin-top:14px}
|
| 147 |
.hidden{ display:none}
|
| 148 |
.spinner{
|
| 149 |
width:20px; height:20px; border:2.5px solid rgba(255,255,255,.2); border-top-color:white; border-radius:50%;
|
|
@@ -155,46 +184,59 @@ input:focus{ border-color: var(--accent); box-shadow: 0 0 0 4px rgba(106,227,255
|
|
| 155 |
}
|
| 156 |
@keyframes dots{ 0%{content:"."} 33%{content:".."} 66%{content:"..."} }
|
| 157 |
|
| 158 |
-
.meta{ margin-top:14px; display:grid; grid-template-columns: repeat(3,1fr); gap:10px}
|
| 159 |
-
.meta-item{ background: rgba(255,255,255,.04); border:1px solid var(--border); border-radius:12px; padding:12px}
|
|
|
|
| 160 |
.meta-label{ color:var(--muted); font-size:12px}
|
| 161 |
.meta-value{ margin-top:4px; display:flex; gap:8px; flex-wrap:wrap}
|
| 162 |
|
| 163 |
.chip{
|
| 164 |
display:inline-flex; align-items:center; gap:6px;
|
| 165 |
border-radius:999px; padding:6px 10px; font-weight:700; font-size:12px; letter-spacing:.2px;
|
| 166 |
-
background: rgba(255,255,255,.07); border:1px solid var(--border)
|
|
|
|
| 167 |
}
|
| 168 |
.chip-gemini{ color:#00E5FF; border-color: rgba(0,229,255,.4)}
|
| 169 |
.chip-fallback{ color:#ff9ff3; border-color: rgba(255,159,243,.4)}
|
| 170 |
|
| 171 |
-
.charts{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-top:14px}
|
| 172 |
-
.chart-card{ background: rgba(255,255,255,.04); border:1px solid var(--border); border-radius:12px; padding:10px}
|
|
|
|
| 173 |
.chart-card h3{ margin:6px 6px 8px; font-size:14px; color:var(--muted)}
|
| 174 |
|
| 175 |
-
.table-card{ margin-top:14px; background: rgba(255,255,255,.04); border:1px solid var(--border); border-radius:12px; overflow:hidden}
|
| 176 |
.table-head{
|
| 177 |
display:flex; align-items:center; justify-content:space-between; padding:10px 12px; border-bottom:1px solid var(--border)
|
| 178 |
}
|
| 179 |
-
.table{ max-height: 360px; overflow:auto }
|
| 180 |
.row{
|
| 181 |
display:grid; grid-template-columns: 1fr 110px 90px; gap:10px; padding:10px 12px;
|
| 182 |
border-bottom:1px dashed rgba(255,255,255,.08);
|
| 183 |
transition: background .2s ease, transform .12s ease;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
}
|
| 185 |
.row:hover{ background: rgba(255,255,255,.03); transform: translateX(2px)}
|
| 186 |
.cell{ font-size:14px; color:var(--text)}
|
| 187 |
.badge{ padding:4px 10px; border-radius:999px; font-weight:800; font-size:12px}
|
| 188 |
-
.badge.pos{ background: rgba(46,204,113,.15); color: var(--pos); border:1px solid rgba(46,204,113,.35)}
|
| 189 |
-
.badge.neg{ background: rgba(255,92,122,.12); color: var(--neg); border:1px solid rgba(255,92,122,.35)}
|
| 190 |
-
.badge.neu{ background: rgba(255,209,102,.12); color: var(--neu); border:1px solid rgba(255,209,102,.35)}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 191 |
|
| 192 |
-
.footer{ text-align:center; padding:26px 12px 60px; color:var(--muted)}
|
| 193 |
.signature{ letter-spacing:.4px}
|
| 194 |
.kavya{
|
| 195 |
background: linear-gradient(90deg, #fff, var(--accent), var(--accent2));
|
| 196 |
-webkit-background-clip:text; background-clip:text; color:transparent;
|
| 197 |
text-shadow: 0 0 24px rgba(155,140,255,.45);
|
|
|
|
| 198 |
}
|
| 199 |
.heart{ filter: drop-shadow(0 0 10px rgba(255,150,200,.6)) }
|
| 200 |
|
|
@@ -204,6 +246,3 @@ input:focus{ border-color: var(--accent); box-shadow: 0 0 0 4px rgba(106,227,255
|
|
| 204 |
.charts{ grid-template-columns: 1fr}
|
| 205 |
.row{ grid-template-columns: 1fr 90px 80px}
|
| 206 |
}
|
| 207 |
-
|
| 208 |
-
/* subtle pop on hover */
|
| 209 |
-
.btn:hover{ transform: translateY(-1px); }
|
|
|
|
| 22 |
linear-gradient(180deg, var(--bg1), var(--bg2));
|
| 23 |
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
|
| 24 |
overflow-x:hidden;
|
| 25 |
+
animation: fadeInBody 1s ease;
|
| 26 |
+
}
|
| 27 |
+
@keyframes fadeInBody {
|
| 28 |
+
from { opacity:0; }
|
| 29 |
+
to { opacity:1; }
|
| 30 |
}
|
| 31 |
|
| 32 |
/* Background layers */
|
|
|
|
| 36 |
radial-gradient(1000px 600px at 20% -10%, rgba(155,140,255,.25),transparent 60%),
|
| 37 |
radial-gradient(900px 500px at 110% 120%, rgba(106,227,255,.18),transparent 60%);
|
| 38 |
filter: blur(30px);
|
| 39 |
+
animation: pulseGlow 8s ease-in-out infinite alternate;
|
| 40 |
+
}
|
| 41 |
+
@keyframes pulseGlow {
|
| 42 |
+
from { opacity:.6; }
|
| 43 |
+
to { opacity:1; }
|
| 44 |
}
|
| 45 |
|
| 46 |
.stars, .shooting-stars{
|
|
|
|
| 102 |
|
| 103 |
/* Layout */
|
| 104 |
.container{ width:min(1100px, 92%); margin: 0 auto; position:relative; z-index:2;}
|
| 105 |
+
header{ padding: 60px 0 20px; animation: slideDown 1s ease;}
|
| 106 |
+
@keyframes slideDown {
|
| 107 |
+
from { opacity:0; transform: translateY(-30px);}
|
| 108 |
+
to { opacity:1; transform: translateY(0);}
|
| 109 |
+
}
|
| 110 |
+
.logo{ font-size: clamp(28px, 6vw, 56px); font-weight:900; letter-spacing:.6px; }
|
| 111 |
.logo span{
|
| 112 |
background: linear-gradient(90deg, var(--accent), var(--accent2));
|
| 113 |
-webkit-background-clip:text; background-clip:text; color:transparent;
|
| 114 |
text-shadow: 0 0 28px rgba(106,227,255,.35);
|
| 115 |
+
animation: glowText 3s ease-in-out infinite alternate;
|
| 116 |
}
|
| 117 |
+
@keyframes glowText {
|
| 118 |
+
from { text-shadow: 0 0 10px rgba(106,227,255,.25);}
|
| 119 |
+
to { text-shadow: 0 0 26px rgba(155,140,255,.65);}
|
| 120 |
+
}
|
| 121 |
+
.subtitle{ color:var(--muted); margin-top:10px; max-width: 780px; line-height:1.5; animation: fadeIn 1.4s ease;}
|
| 122 |
+
@keyframes fadeIn { from {opacity:0} to {opacity:1} }
|
| 123 |
|
| 124 |
.card{
|
| 125 |
background: var(--glass);
|
|
|
|
| 129 |
backdrop-filter: blur(10px);
|
| 130 |
box-shadow: 0 15px 60px rgba(0,0,0,.35);
|
| 131 |
transform: translateY(6px);
|
| 132 |
+
animation: card-in .8s ease forwards;
|
| 133 |
}
|
| 134 |
@keyframes card-in{ to{ transform: translateY(0)} }
|
| 135 |
|
|
|
|
| 139 |
border-radius:12px; background:linear-gradient(135deg, var(--accent2), var(--accent));
|
| 140 |
box-shadow: 0 8px 26px rgba(155,140,255,.35);
|
| 141 |
font-weight:800;
|
| 142 |
+
animation: rotateIcon 5s linear infinite;
|
| 143 |
+
}
|
| 144 |
+
@keyframes rotateIcon {
|
| 145 |
+
0% { transform: rotate(0);}
|
| 146 |
+
100% { transform: rotate(360deg);}
|
| 147 |
}
|
| 148 |
+
|
| 149 |
.grid{ display:grid; grid-template-columns: 1fr auto; gap:12px; margin-top:16px;}
|
| 150 |
.form-group{ display:flex; flex-direction:column; gap:8px}
|
| 151 |
.form-group.col-span{ grid-column: 1 / -1}
|
|
|
|
| 161 |
padding: 12px 16px; border-radius:14px; color:#0b1020; font-weight:800;
|
| 162 |
background:linear-gradient(135deg, var(--accent), var(--accent2));
|
| 163 |
box-shadow: 0 10px 30px rgba(106,227,255,.35);
|
| 164 |
+
transition: transform .25s ease, box-shadow .25s ease;
|
| 165 |
}
|
| 166 |
+
.btn:hover{ transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 40px rgba(106,227,255,.45);}
|
| 167 |
+
.btn:active{ transform: scale(.96);}
|
| 168 |
.btn .btn-glow{
|
| 169 |
position:absolute; inset:-80% -40%; background: radial-gradient(circle, rgba(255,255,255,.6), transparent 60%);
|
| 170 |
transform: translateX(-60%); animation: sweep 2.2s ease-in-out infinite;
|
|
|
|
| 172 |
}
|
| 173 |
@keyframes sweep{ 50%{ transform: translateX(60%)} }
|
| 174 |
|
| 175 |
+
.status{ display:flex; gap:12px; align-items:center; margin-top:14px; animation: fadeIn .6s ease;}
|
| 176 |
.hidden{ display:none}
|
| 177 |
.spinner{
|
| 178 |
width:20px; height:20px; border:2.5px solid rgba(255,255,255,.2); border-top-color:white; border-radius:50%;
|
|
|
|
| 184 |
}
|
| 185 |
@keyframes dots{ 0%{content:"."} 33%{content:".."} 66%{content:"..."} }
|
| 186 |
|
| 187 |
+
.meta{ margin-top:14px; display:grid; grid-template-columns: repeat(3,1fr); gap:10px; animation: fadeIn .8s ease;}
|
| 188 |
+
.meta-item{ background: rgba(255,255,255,.04); border:1px solid var(--border); border-radius:12px; padding:12px; transition: transform .3s ease;}
|
| 189 |
+
.meta-item:hover{ transform: scale(1.05);}
|
| 190 |
.meta-label{ color:var(--muted); font-size:12px}
|
| 191 |
.meta-value{ margin-top:4px; display:flex; gap:8px; flex-wrap:wrap}
|
| 192 |
|
| 193 |
.chip{
|
| 194 |
display:inline-flex; align-items:center; gap:6px;
|
| 195 |
border-radius:999px; padding:6px 10px; font-weight:700; font-size:12px; letter-spacing:.2px;
|
| 196 |
+
background: rgba(255,255,255,.07); border:1px solid var(--border);
|
| 197 |
+
animation: fadeIn .8s ease;
|
| 198 |
}
|
| 199 |
.chip-gemini{ color:#00E5FF; border-color: rgba(0,229,255,.4)}
|
| 200 |
.chip-fallback{ color:#ff9ff3; border-color: rgba(255,159,243,.4)}
|
| 201 |
|
| 202 |
+
.charts{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-top:14px; animation: fadeIn 1s ease;}
|
| 203 |
+
.chart-card{ background: rgba(255,255,255,.04); border:1px solid var(--border); border-radius:12px; padding:10px; transition: transform .3s ease;}
|
| 204 |
+
.chart-card:hover{ transform: translateY(-4px) scale(1.01);}
|
| 205 |
.chart-card h3{ margin:6px 6px 8px; font-size:14px; color:var(--muted)}
|
| 206 |
|
| 207 |
+
.table-card{ margin-top:14px; background: rgba(255,255,255,.04); border:1px solid var(--border); border-radius:12px; overflow:hidden; animation: fadeIn 1.2s ease;}
|
| 208 |
.table-head{
|
| 209 |
display:flex; align-items:center; justify-content:space-between; padding:10px 12px; border-bottom:1px solid var(--border)
|
| 210 |
}
|
| 211 |
+
.table{ max-height: 360px; overflow:auto; animation: fadeIn .8s ease;}
|
| 212 |
.row{
|
| 213 |
display:grid; grid-template-columns: 1fr 110px 90px; gap:10px; padding:10px 12px;
|
| 214 |
border-bottom:1px dashed rgba(255,255,255,.08);
|
| 215 |
transition: background .2s ease, transform .12s ease;
|
| 216 |
+
animation: fadeInRow .6s ease;
|
| 217 |
+
}
|
| 218 |
+
@keyframes fadeInRow {
|
| 219 |
+
from { opacity:0; transform: translateY(8px);}
|
| 220 |
+
to { opacity:1; transform: translateY(0);}
|
| 221 |
}
|
| 222 |
.row:hover{ background: rgba(255,255,255,.03); transform: translateX(2px)}
|
| 223 |
.cell{ font-size:14px; color:var(--text)}
|
| 224 |
.badge{ padding:4px 10px; border-radius:999px; font-weight:800; font-size:12px}
|
| 225 |
+
.badge.pos{ background: rgba(46,204,113,.15); color: var(--pos); border:1px solid rgba(46,204,113,.35); animation: pulseBadge 2s infinite;}
|
| 226 |
+
.badge.neg{ background: rgba(255,92,122,.12); color: var(--neg); border:1px solid rgba(255,92,122,.35); animation: pulseBadge 2s infinite;}
|
| 227 |
+
.badge.neu{ background: rgba(255,209,102,.12); color: var(--neu); border:1px solid rgba(255,209,102,.35); animation: pulseBadge 2s infinite;}
|
| 228 |
+
@keyframes pulseBadge {
|
| 229 |
+
0%,100% { transform: scale(1); opacity:1;}
|
| 230 |
+
50% { transform: scale(1.08); opacity:.85;}
|
| 231 |
+
}
|
| 232 |
|
| 233 |
+
.footer{ text-align:center; padding:26px 12px 60px; color:var(--muted); animation: fadeIn 2s ease;}
|
| 234 |
.signature{ letter-spacing:.4px}
|
| 235 |
.kavya{
|
| 236 |
background: linear-gradient(90deg, #fff, var(--accent), var(--accent2));
|
| 237 |
-webkit-background-clip:text; background-clip:text; color:transparent;
|
| 238 |
text-shadow: 0 0 24px rgba(155,140,255,.45);
|
| 239 |
+
animation: glowText 4s ease-in-out infinite alternate;
|
| 240 |
}
|
| 241 |
.heart{ filter: drop-shadow(0 0 10px rgba(255,150,200,.6)) }
|
| 242 |
|
|
|
|
| 246 |
.charts{ grid-template-columns: 1fr}
|
| 247 |
.row{ grid-template-columns: 1fr 90px 80px}
|
| 248 |
}
|
|
|
|
|
|
|
|
|