File size: 7,666 Bytes
be7da11 4a02afe | 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 | html, body, .gradio-container {
max-height: 100vh !important;
height: 100vh !important;
overflow-y: auto !important;
margin: 0;
padding: 0;
}
/* 2. Ensure nested layout structures handle their own overflowing content */
.gradio-container-5-0-0,
.gradio-container > .wrap,
#component-0 {
height: 100% !important;
overflow-y: auto !important;
}
/* 3. If you have a sidebar or main gallery grid, make sure they don't force a page stretch */
.gradio-row, .gradio-main, .grid {
max-height: 100% !important;
}
/* Sidebar Container */
#custom-sidebar {
background-color: #0f172a !important;
/* Deep Slate 900 */
border-right: 1px solid #1e293b !important;
/* Slate 800 */
padding: 24px 16px !important;
display: flex;
flex-direction: column;
height: 100vh !important;
/* Ensures it spans full viewport height */
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3) !important;
}
/* App Brand Header */
.brand-header {
margin-bottom: 32px;
padding-left: 12px;
border-bottom: 1px solid #1e293b;
padding-bottom: 20px;
}
.brand-header h1 {
font-size: 1.6rem !important;
font-weight: 800 !important;
background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
/* Subtle gradient */
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 6px !important;
letter-spacing: -0.5px;
}
.brand-header p {
font-size: 0.7rem;
color: #64748b;
/* Slate 500 */
text-transform: uppercase;
letter-spacing: 1.5px;
font-weight: 600;
margin: 0;
}
/* Modern Navigation Buttons */
.nav-btn {
text-align: left !important;
justify-content: flex-start !important;
background: transparent !important;
border: 1px solid transparent !important;
box-shadow: none !important;
color: #94a3b8 !important;
/* Slate 400 */
font-weight: 500 !important;
font-size: 0.95rem !important;
padding: 10px 16px !important;
border-radius: 10px !important;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
/* Smooth easing */
margin-bottom: 8px !important;
display: flex !important;
align-items: center !important;
gap: 10px !important;
/* Perfect emoji/text alignment */
}
.nav-btn:hover {
background-color: #1e293b !important;
/* Slate 800 */
color: #f8fafc !important;
/* Slate 50 */
border-color: #334155 !important;
/* Slate 700 */
transform: translateX(4px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}
.nav-btn:active {
transform: translateX(2px) scale(0.98);
/* Subtle click feedback */
}
.stats-container .svelte-1b6s6s {
background: transparent !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
margin: 0 !important;
font-size: 1rem !important;
}
/* Main Content Area (Dark Theme Match) */
.main-content {
padding: 32px 48px;
max-width: 1200px;
margin: 0 auto;
background-color: #020617 !important;
/* Slate 950 (slightly darker than sidebar) */
color: #e2e8f0 !important;
min-height: 100vh;
}
/* Dark Settings Card */
.settings-card {
background-color: #1e293b !important;
/* Surface level 1 */
border: 1px solid #334155 !important;
/* Dark Slate Border */
border-radius: 12px !important;
padding: 24px !important;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3) !important;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.settings-card h3 {
margin-top: 0 !important;
font-size: 1.1rem !important;
color: #f8fafc !important;
font-weight: 600 !important;
}
/* Customize Upload Area */
.upload-zone {
border: 2px dashed #475569 !important;
border-radius: 12px !important;
background-color: #0f172a !important;
/* Surface level 2 */
transition: border-color 0.2s ease-in-out !important;
}
.upload-zone:hover {
border-color: #10b981 !important;
/* Emerald on hover */
}
/* Ingest Console Log */
.console-wrapper {
margin-top: 25px;
}
.console-wrapper h3 {
font-size: 1rem !important;
color: #94a3b8 !important;
font-weight: 600 !important;
margin-bottom: 8px !important;
}
.status-console textarea {
font-family: 'Fira Code', 'Courier New', Courier, monospace !important;
background-color: #020617 !important;
/* Near Pitch Black */
color: #34d399 !important;
/* Terminal green */
border: 1px solid #1e293b !important;
border-radius: 8px !important;
padding: 12px !important;
font-size: 0.9rem !important;
line-height: 1.5 !important;
}
.selection-status-box {
background-color: #1e293b !important;
/* Surface Level 1 Dark background */
border: 1px solid #334155 !important;
/* Medium slate outline */
border-radius: 8px !important;
padding: 16px 20px !important;
width: 100% !important;
/* Forces component to span full screen width */
margin-bottom: 12px !important;
box-sizing: border-box !important;
}
/* Cleaner, separate horizontal row for action buttons */
.selection-buttons-row {
gap: 10px !important;
margin-bottom: 15px !important;
}
.about-hero {
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
border: 1px solid #334155 !important;
border-radius: 12px !important;
padding: 30px !important;
margin-bottom: 25px !important;
}
.about-hero h1 {
font-size: 2.2rem !important;
font-weight: 800 !important;
color: #f8fafc !important;
margin-bottom: 6px !important;
}
.about-hero h3 {
font-size: 1.1rem !important;
font-weight: 500 !important;
color: #94a3b8 !important;
margin-top: 0 !important;
}
/* Technology Badges */
.tech-badge {
display: inline-block;
background-color: #064e3b !important;
/* Dark forest green background */
color: #34d399 !important;
/* Light mint text */
padding: 4px 12px;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 700;
margin-right: 6px;
margin-bottom: 10px;
border: 1px solid #047857;
letter-spacing: 0.5px;
}
/* Steps Grid Cards */
.about-card {
background-color: #1e293b !important;
border: 1px solid #334155 !important;
border-radius: 10px !important;
padding: 24px !important;
height: 100%;
transition: transform 0.2s ease, border-color 0.2s ease !important;
}
.about-card:hover {
transform: translateY(-3px);
border-color: #10b981 !important;
/* Emerald highlight on hover */
}
.about-card-icon {
font-size: 2rem;
margin-bottom: 12px;
line-height: 1;
}
/* Targets Markdown inside cards to avoid global conflicts */
.about-card h3 {
color: #f8fafc !important;
font-size: 1.15rem !important;
font-weight: 700 !important;
margin-top: 0 !important;
margin-bottom: 8px !important;
}
.about-card p {
color: #cbd5e1 !important;
font-size: 0.9rem !important;
line-height: 1.5 !important;
margin: 0 !important;
}
/* Hackathon Announcement Footer */
.hackathon-footer {
margin-top: 35px !important;
background-color: #020617 !important;
border: 1px solid #1e293b !important;
padding: 16px 24px !important;
border-radius: 8px !important;
align-items: center !important;
gap: 15px !important;
} |