Spaces:
Running
Running
Commit ·
9e370f5
1
Parent(s): bb06deb
commit initial 09-12-2025 004
Browse files- src/App.css +289 -0
src/App.css
CHANGED
|
@@ -36,6 +36,66 @@
|
|
| 36 |
transform: rotate(360deg);
|
| 37 |
}
|
| 38 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
/* Menu dropdowns */
|
| 41 |
.ide-menu-wrapper {
|
|
@@ -68,6 +128,222 @@
|
|
| 68 |
background: rgba(255, 255, 255, 0.08);
|
| 69 |
}
|
| 70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
transform: rotate(360deg);
|
| 37 |
}
|
| 38 |
}
|
| 39 |
+
* {
|
| 40 |
+
box-sizing: border-box;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.ide-root {
|
| 44 |
+
height: 100vh;
|
| 45 |
+
width: 100vw;
|
| 46 |
+
display: flex;
|
| 47 |
+
flex-direction: column;
|
| 48 |
+
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
| 49 |
+
overflow: hidden;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
/* Themes */
|
| 53 |
+
.ide-dark {
|
| 54 |
+
background: #1e1e1e;
|
| 55 |
+
color: #ddd;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.ide-light {
|
| 59 |
+
background: #f5f5f5;
|
| 60 |
+
color: #222;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
/* Menubar */
|
| 64 |
+
.ide-menubar {
|
| 65 |
+
height: 32px;
|
| 66 |
+
display: flex;
|
| 67 |
+
align-items: center;
|
| 68 |
+
justify-content: space-between;
|
| 69 |
+
padding: 0 8px;
|
| 70 |
+
background: #2d2d2d;
|
| 71 |
+
color: #ddd;
|
| 72 |
+
font-size: 13px;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.ide-menubar-left,
|
| 76 |
+
.ide-menubar-right {
|
| 77 |
+
display: flex;
|
| 78 |
+
align-items: center;
|
| 79 |
+
gap: 8px;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.ide-logo {
|
| 83 |
+
font-weight: 600;
|
| 84 |
+
margin-right: 12px;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.ide-menu-item {
|
| 88 |
+
border: none;
|
| 89 |
+
background: transparent;
|
| 90 |
+
color: inherit;
|
| 91 |
+
padding: 2px 6px;
|
| 92 |
+
border-radius: 3px;
|
| 93 |
+
cursor: pointer;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.ide-menu-item:hover {
|
| 97 |
+
background: rgba(255, 255, 255, 0.08);
|
| 98 |
+
}
|
| 99 |
|
| 100 |
/* Menu dropdowns */
|
| 101 |
.ide-menu-wrapper {
|
|
|
|
| 128 |
background: rgba(255, 255, 255, 0.08);
|
| 129 |
}
|
| 130 |
|
| 131 |
+
/* Body: sidebar + main */
|
| 132 |
+
.ide-body {
|
| 133 |
+
flex: 1;
|
| 134 |
+
display: flex;
|
| 135 |
+
min-height: 0;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
/* Sidebar */
|
| 139 |
+
.ide-sidebar {
|
| 140 |
+
width: 210px;
|
| 141 |
+
background: #252526;
|
| 142 |
+
color: #ccc;
|
| 143 |
+
display: flex;
|
| 144 |
+
flex-direction: column;
|
| 145 |
+
border-right: 1px solid #333;
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
.ide-sidebar-header {
|
| 149 |
+
height: 32px;
|
| 150 |
+
padding: 4px 8px;
|
| 151 |
+
display: flex;
|
| 152 |
+
justify-content: space-between;
|
| 153 |
+
align-items: center;
|
| 154 |
+
font-size: 11px;
|
| 155 |
+
text-transform: uppercase;
|
| 156 |
+
letter-spacing: 0.05em;
|
| 157 |
+
border-bottom: 1px solid #333;
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
.ide-icon-button {
|
| 161 |
+
border: none;
|
| 162 |
+
background: transparent;
|
| 163 |
+
color: #ccc;
|
| 164 |
+
cursor: pointer;
|
| 165 |
+
font-size: 16px;
|
| 166 |
+
line-height: 1;
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
.ide-icon-button:hover {
|
| 170 |
+
color: #fff;
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
.ide-file-list {
|
| 174 |
+
flex: 1;
|
| 175 |
+
overflow-y: auto;
|
| 176 |
+
padding: 4px 0;
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
.ide-file-item {
|
| 180 |
+
display: flex;
|
| 181 |
+
align-items: center;
|
| 182 |
+
padding: 3px 8px;
|
| 183 |
+
gap: 6px;
|
| 184 |
+
font-size: 13px;
|
| 185 |
+
cursor: pointer;
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
.ide-file-item:hover {
|
| 189 |
+
background: rgba(255, 255, 255, 0.05);
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
.ide-file-item-active {
|
| 193 |
+
background: #37373d;
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
.ide-file-icon {
|
| 197 |
+
width: 18px;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
.ide-file-name {
|
| 201 |
+
flex: 1;
|
| 202 |
+
white-space: nowrap;
|
| 203 |
+
text-overflow: ellipsis;
|
| 204 |
+
overflow: hidden;
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
/* Main area */
|
| 208 |
+
.ide-main {
|
| 209 |
+
flex: 1;
|
| 210 |
+
display: flex;
|
| 211 |
+
flex-direction: column;
|
| 212 |
+
min-width: 0;
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
/* Tabs */
|
| 216 |
+
.ide-tabs {
|
| 217 |
+
height: 34px;
|
| 218 |
+
display: flex;
|
| 219 |
+
align-items: center;
|
| 220 |
+
justify-content: space-between;
|
| 221 |
+
background: #252526;
|
| 222 |
+
border-bottom: 1px solid #333;
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
.ide-tab-list {
|
| 226 |
+
display: flex;
|
| 227 |
+
height: 100%;
|
| 228 |
+
overflow-x: auto;
|
| 229 |
+
}
|
| 230 |
+
|
| 231 |
+
.ide-tab {
|
| 232 |
+
display: flex;
|
| 233 |
+
align-items: center;
|
| 234 |
+
padding: 0 10px;
|
| 235 |
+
font-size: 13px;
|
| 236 |
+
border-right: 1px solid #333;
|
| 237 |
+
cursor: pointer;
|
| 238 |
+
color: #ccc;
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
.ide-tab-active {
|
| 242 |
+
background: #1e1e1e;
|
| 243 |
+
color: #fff;
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
.ide-tab-close {
|
| 247 |
+
border: none;
|
| 248 |
+
background: transparent;
|
| 249 |
+
color: inherit;
|
| 250 |
+
margin-left: 6px;
|
| 251 |
+
cursor: pointer;
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
.ide-tab-close:hover {
|
| 255 |
+
color: #f66;
|
| 256 |
+
}
|
| 257 |
+
|
| 258 |
+
.ide-tab-actions {
|
| 259 |
+
display: flex;
|
| 260 |
+
align-items: center;
|
| 261 |
+
gap: 8px;
|
| 262 |
+
padding-right: 8px;
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
.ide-select {
|
| 266 |
+
background: #1e1e1e;
|
| 267 |
+
color: #eee;
|
| 268 |
+
border: 1px solid #555;
|
| 269 |
+
border-radius: 3px;
|
| 270 |
+
font-size: 12px;
|
| 271 |
+
padding: 2px 4px;
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
.ide-button {
|
| 275 |
+
border: 1px solid #555;
|
| 276 |
+
background: #0e639c;
|
| 277 |
+
color: #fff;
|
| 278 |
+
padding: 3px 10px;
|
| 279 |
+
border-radius: 3px;
|
| 280 |
+
font-size: 12px;
|
| 281 |
+
cursor: pointer;
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
.ide-button:hover {
|
| 285 |
+
background: #1177bb;
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
/* Editor */
|
| 289 |
+
.ide-editor-wrapper {
|
| 290 |
+
flex: 1;
|
| 291 |
+
min-height: 0;
|
| 292 |
+
}
|
| 293 |
+
|
| 294 |
+
/* Bottom panel */
|
| 295 |
+
.ide-bottom-panel {
|
| 296 |
+
height: 180px;
|
| 297 |
+
display: flex;
|
| 298 |
+
border-top: 1px solid #333;
|
| 299 |
+
background: #1e1e1e;
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
.ide-output-panel,
|
| 303 |
+
.ide-agent-panel {
|
| 304 |
+
flex: 1;
|
| 305 |
+
display: flex;
|
| 306 |
+
flex-direction: column;
|
| 307 |
+
border-right: 1px solid #333;
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
.ide-agent-panel {
|
| 311 |
+
border-right: none;
|
| 312 |
+
}
|
| 313 |
+
|
| 314 |
+
.ide-panel-header {
|
| 315 |
+
height: 24px;
|
| 316 |
+
padding: 2px 8px;
|
| 317 |
+
font-size: 11px;
|
| 318 |
+
text-transform: uppercase;
|
| 319 |
+
letter-spacing: 0.06em;
|
| 320 |
+
border-bottom: 1px solid #333;
|
| 321 |
+
color: #ccc;
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
.ide-output-content {
|
| 325 |
+
flex: 1;
|
| 326 |
+
margin: 0;
|
| 327 |
+
padding: 6px 8px;
|
| 328 |
+
font-size: 12px;
|
| 329 |
+
background: #1e1e1e;
|
| 330 |
+
color: #dcdcdc;
|
| 331 |
+
overflow: auto;
|
| 332 |
+
white-space: pre-wrap;
|
| 333 |
+
}
|
| 334 |
+
|
| 335 |
+
.ide-agent-textarea {
|
| 336 |
+
flex: 1;
|
| 337 |
+
resize: none;
|
| 338 |
+
border: none;
|
| 339 |
+
outline: none;
|
| 340 |
+
padding: 6px 8px;
|
| 341 |
+
background: #1e1e1e;
|
| 342 |
+
color: #ddd;
|
| 343 |
+
font-size: 12px;
|
| 344 |
+
font-family: inherit;
|
| 345 |
+
}
|
| 346 |
+
|
| 347 |
/* Explanation section inside AI panel */
|
| 348 |
.ide-explanation {
|
| 349 |
border-top: 1px solid #333;
|
|
|
|
| 351 |
display: flex;
|
| 352 |
flex-direction: column;
|
| 353 |
}
|
| 354 |
+
|
| 355 |
+
/* Status bar */
|
| 356 |
+
.ide-statusbar {
|
| 357 |
+
height: 22px;
|
| 358 |
+
background: #007acc;
|
| 359 |
+
color: #fff;
|
| 360 |
+
font-size: 11px;
|
| 361 |
+
display: flex;
|
| 362 |
+
align-items: center;
|
| 363 |
+
justify-content: flex-end;
|
| 364 |
+
gap: 16px;
|
| 365 |
+
padding: 0 10px;
|
| 366 |
+
}
|