Spaces:
Sleeping
Sleeping
File size: 7,702 Bytes
9f525d9 29c860d 9f525d9 29c860d 9f525d9 31364b7 9f525d9 cafd34c b9537ea 29c860d 9f525d9 29c860d 9f525d9 8954f2b 9f525d9 cafd34c 29c860d 9f525d9 cafd34c 29c860d 9f525d9 7a51fdb 9f525d9 8e1ec71 cafd34c 29c860d 9f525d9 cafd34c 29c860d 9f525d9 29c860d 9f525d9 29c860d 9f525d9 29c860d 9f525d9 29c860d 9f525d9 29c860d 9f525d9 29c860d 9f525d9 29c860d 9f525d9 7a51fdb 9f525d9 7a51fdb 29c860d 9f525d9 cafd34c 29c860d 9f525d9 7a51fdb 9f525d9 7a51fdb 9f525d9 cafd34c 29c860d 9f525d9 7a51fdb 9f525d9 7a51fdb 29c860d 9f525d9 cafd34c 29c860d 9f525d9 7a51fdb 9f525d9 7a51fdb 29c860d 9f525d9 7a51fdb 9f525d9 7a51fdb 29c860d 9f525d9 7a51fdb 9f525d9 7a51fdb 29c860d 9f525d9 7a51fdb 29c860d 9f525d9 29c860d 9f525d9 7a51fdb 29c860d 9f525d9 29c860d 9f525d9 5b4b4f9 7c59d3c 9f525d9 29c860d 9f525d9 7a51fdb cafd34c 9f525d9 cafd34c 29c860d 9f525d9 cafd34c 29c860d 9f525d9 29c860d 9f525d9 7a51fdb 9f525d9 cafd34c 29c860d 9f525d9 cafd34c 29c860d 9f525d9 cafd34c 29c860d 9f525d9 7a51fdb 29c860d 9f525d9 7a51fdb 29c860d 9f525d9 29c860d 9f525d9 7a51fdb 9f525d9 7a51fdb 29c860d 9f525d9 7a51fdb 9f525d9 29c860d 9f525d9 7a51fdb 9f525d9 29c860d 9f525d9 29c860d 9f525d9 aaed0ef bfb6701 b677fd0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 | * {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
position: relative;
min-height: 100vh;
}
/* Dark gradient background matching screenshot */
body,
.block-container {
background:
radial-gradient(circle at 20% 15%, rgba(59, 130, 246, 0.12), transparent 40%),
radial-gradient(circle at 80% 25%, rgba(139, 92, 246, 0.1), transparent 45%),
radial-gradient(circle at 50% 70%, rgba(16, 185, 129, 0.08), transparent 50%),
radial-gradient(circle at 10% 85%, rgba(236, 72, 153, 0.08), transparent 45%),
linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #0f1629 50%, #1e2139 75%, #0d1425 100%) !important;
background-size: cover;
background-attachment: fixed;
}
/* Grid pattern overlay */
/* body::after {
content: '';
position: absolute;
z-index: -1;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image:
repeating-linear-gradient(45deg, transparent, transparent 25px, rgba(174, 246, 59, 0.015) 35px, rgba(93, 205, 18, 0.015) 70px),
repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(139, 92, 246, 0.015) 35px, rgba(139, 92, 246, 0.015) 70px);
pointer-events: none;
opacity: 0.6;
} */
/* Header styling matching screenshot */
.header {
padding: 40px 30px;
background:
radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.25), transparent 55%),
radial-gradient(circle at 85% 20%, rgba(45, 135, 255, 0.22), transparent 70%),
linear-gradient(135deg, #2c3e50, #1e293b, #0f172a);
color: white;
border-bottom-left-radius: 40px;
border-bottom-right-radius: 40px;
box-shadow: 0 50px 90px -20px rgba(0, 0, 0, 0.6);
display: flex;
justify-content: center;
align-items: center;
width: 100%;
margin-bottom: 30px;
}
.header-logo {
flex: unset;
display: flex;
justify-content: flex-start;
width: 100px;
}
.header h1 {
margin: 0;
flex: 1;
text-align: center;
font-size: 2rem;
display: flex;
justify-content: center;
font-weight: 700;
letter-spacing: 1px;
color: #ffffff;
}
/* How to Use section */
.how-to-container {
padding: 20px 0 40px 0;
background: transparent;
color: #ffffff;
}
.how-to-container h3 {
font-size: 20px;
padding-bottom: 10px;
color: #ffffff;
}
.st-emotion-cache-pk3c77 h3 {
color: white;
}
.how-to-container ul {
margin: 0px;
flex-wrap: wrap;
display: flex;
gap: 20px;
list-style: none;
padding: 0;
}
.how-to-container li {
color: rgba(255, 255, 255, 0.8);
line-height: 1.8;
}
/* Query Container */
.query-container {
padding: 0 0 40px 0;
}
.query-form, .examples-block {
background-color: #fff;
padding: 20px;
border-radius: 20px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
height: 100%;
}
.query-form h3, .examples-block h3 {
background-color: #fff;
font-size: 20px;
padding-bottom: 15px;
margin-bottom: 15px;
color: #1e293b;
font-weight: 700;
}
/* Textarea styling */
.query-form textarea {
border: 1px solid #e2e8f0 !important;
padding: 12px !important;
margin-bottom: 20px !important;
border-radius: 10px !important;
font-size: 14px !important;
color: #1e293b !important;
background: #f8fafc !important;
}
.query-form textarea:focus {
border-color: #3b82f6 !important;
outline: none !important;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}
/* Button styling */
button[kind="primary"], .stButton > button[kind="primary"] {
background-color: #2c5282 !important;
color: white !important;
border: none !important;
border-radius: 10px !important;
padding: 8px 18px !important;
font-weight: 600 !important;
transition: all 0.3s ease !important;
height: 35px !important;
font-size: 14px;
}
button[kind="primary"]:hover {
background-color: #1e3a5f !important;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(44, 82, 130, 0.4) !important;
font-size: 14px;
}
button[kind="secondary"], .stButton > button[kind="secondary"] {
background-color: transparent !important;
color: #2c5282 !important;
border: 1px solid #2c5282 !important;
border-radius: 10px !important;
padding: 12px 24px !important;
font-weight: 600 !important;
transition: all 0.3s ease !important;
height: 35px !important;
font-size: 14px;
}
button[kind="secondary"]:hover {
background-color: #2c5282 !important;
color: white !important;
font-size: 14px;
}
/* Example buttons */
.examples-block button {
background-color: #f8fafc !important;
color: #1e293b !important;
border: 1px solid #e2e8f0 !important;
border-radius: 10px !important;
padding: 10px 16px !important;
font-size: 14px !important;
text-align: left !important;
transition: all 0.2s ease !important;
margin-bottom: 8px !important;
}
.examples-block button:hover {
background-color: #3b82f6 !important;
color: white !important;
border-color: #3b82f6 !important;
transform: translateX(5px);
}
/* Results section */
.results-heading h2, .route-heading h3 {
color: #fff;
font-weight: 700;
margin-bottom: 20px;
}
.results-heading.block {
padding-top: 20px;
}
/* Streamlit overrides */
.stTextArea textarea {
background: #f8fafc !important;
}
.st-emotion-cache-pk3c77 p, .st-emotion-cache-pk3c77 ol, .st-emotion-cache-pk3c77 ul, .st-emotion-cache-pk3c77 dl, .st-emotion-cache-pk3c77 li {
font-size: 16px;
}
.block-container {
background:radial-gradient(circle at 20% 10%, rgba(255,255,255,0.25), transparent 55%), radial-gradient(circle at 85% 20%, rgba(45,135,255,0.22), transparent 70%),linear-gradient(135deg, #0e1a2b, #0f1032, #03011a);
padding-top: 2rem !important;
padding-bottom: 2rem !important;
padding-left: 160px !important;
padding-right: 160px !important;
/* max-width: 1400px !important; */
}
/* Download button */
.stDownloadButton button {
background-color: #2c5282 !important;
color: white !important;
border-radius: 10px !important;
padding: 12px 24px !important;
font-weight: 600 !important;
}
.stDownloadButton button:hover {
background-color: #1e3a5f !important;
transform: translateY(-2px);
}
/* Chart styling */
.stPlotlyChart {
background: white;
border-radius: 15px;
padding: 20px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
/* Success/Error messages */
.stSuccess, .stError {
border-radius: 10px !important;
padding: 12px !important;
}
/* Spinner */
.stSpinner > div {
border-top-color: #78C841 !important;
}
/* Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb {
background: rgba(59, 130, 246, 0.5);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(59, 130, 246, 0.7);
}
/* Responsive design */
@media (max-width: 768px) {
.header h1 {
font-size: 1.8em;
}
.query-form, .examples-block {
margin-bottom: 20px;
}
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.query-form, .examples-block {
animation: fadeIn 0.5s ease-out;
}
/* Text selection */
::selection {
background: rgba(59, 130, 246, 0.3);
color: white;
}
/* Hide Streamlit heading anchor (link) icons */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
display: none !important;
}
|