|
444 | 444 | background: var(--bg-color); |
445 | 445 | z-index: 1500; |
446 | 446 | flex-direction: column; |
447 | | - padding: 20px; |
| 447 | + padding: 40px; |
448 | 448 | box-sizing: border-box; |
449 | 449 | overflow-y: auto; |
| 450 | + animation: fadeIn 0.3s ease-out; |
450 | 451 | } |
451 | 452 |
|
452 | 453 | #gui-header { |
453 | 454 | display: flex; |
454 | 455 | justify-content: space-between; |
455 | 456 | align-items: center; |
456 | | - margin-bottom: 20px; |
457 | | - border-bottom: 1px solid var(--border-color); |
458 | | - padding-bottom: 10px; |
| 457 | + margin-bottom: 30px; |
| 458 | + border-bottom: 2px solid var(--border-color); |
| 459 | + padding-bottom: 20px; |
459 | 460 | } |
460 | 461 |
|
461 | 462 | #gui-path { |
462 | 463 | font-weight: bold; |
463 | 464 | color: var(--prompt-color); |
464 | | - font-size: 1.2em; |
| 465 | + font-size: 1.8em; |
| 466 | + text-shadow: 0 0 10px var(--glow-color); |
465 | 467 | } |
466 | 468 |
|
467 | 469 | #gui-grid { |
468 | 470 | display: grid; |
469 | | - grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); |
470 | | - gap: 15px; |
| 471 | + grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); |
| 472 | + gap: 25px; |
471 | 473 | flex-grow: 1; |
| 474 | + align-content: start; |
472 | 475 | } |
473 | 476 |
|
474 | 477 | .gui-item { |
475 | 478 | display: flex; |
476 | 479 | flex-direction: column; |
477 | 480 | align-items: center; |
478 | 481 | text-align: center; |
479 | | - padding: 15px; |
| 482 | + padding: 25px; |
480 | 483 | border: 1px solid var(--border-color); |
481 | | - border-radius: 8px; |
| 484 | + border-radius: 12px; |
482 | 485 | cursor: pointer; |
483 | | - transition: background 0.2s; |
| 486 | + transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); |
| 487 | + background: rgba(255, 255, 255, 0.02); |
484 | 488 | } |
485 | 489 |
|
486 | 490 | .gui-item:hover { |
487 | | - background: rgba(255, 255, 255, 0.05); |
| 491 | + background: rgba(255, 255, 255, 0.08); |
488 | 492 | border-color: var(--highlight-color); |
| 493 | + transform: translateY(-5px); |
| 494 | + box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); |
489 | 495 | } |
490 | 496 |
|
491 | 497 | .gui-icon { |
492 | | - font-size: 32px; |
493 | | - margin-bottom: 10px; |
| 498 | + font-size: 48px; |
| 499 | + margin-bottom: 15px; |
| 500 | + filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2)); |
494 | 501 | } |
495 | 502 |
|
496 | 503 | .gui-label { |
497 | | - font-size: 12px; |
| 504 | + font-size: 14px; |
498 | 505 | color: var(--text-color); |
499 | 506 | word-break: break-word; |
| 507 | + font-weight: 500; |
500 | 508 | } |
501 | 509 |
|
502 | 510 | #gui-close { |
503 | | - font-size: 24px; |
| 511 | + font-size: 32px; |
504 | 512 | cursor: pointer; |
| 513 | + color: var(--error-color); |
| 514 | + transition: transform 0.2s; |
| 515 | + } |
| 516 | + |
| 517 | + #gui-close:hover { |
| 518 | + transform: scale(1.1) rotate(90deg); |
| 519 | + } |
| 520 | + |
| 521 | + /* Desktop GUI Button */ |
| 522 | + #desktop-gui-btn { |
| 523 | + position: fixed; |
| 524 | + top: 20px; |
| 525 | + right: 20px; |
| 526 | + background: rgba(255, 255, 255, 0.1); |
| 527 | + border: 1px solid var(--border-color); |
| 528 | + color: var(--highlight-color); |
| 529 | + padding: 8px 15px; |
| 530 | + border-radius: 6px; |
| 531 | + cursor: pointer; |
| 532 | + font-family: var(--font-stack); |
| 533 | + font-weight: bold; |
| 534 | + z-index: 100; |
| 535 | + transition: all 0.2s; |
| 536 | + } |
| 537 | + |
| 538 | + #desktop-gui-btn:hover { |
| 539 | + background: var(--border-color); |
| 540 | + } |
| 541 | + |
| 542 | + @media (max-width: 600px) { |
| 543 | + #desktop-gui-btn { |
| 544 | + display: none; |
| 545 | + } |
505 | 546 | } |
506 | 547 | </style> |
507 | 548 | </head> |
|
519 | 560 | </div> |
520 | 561 | </div> |
521 | 562 |
|
| 563 | + <div id="desktop-gui-btn" onclick="toggleGui()">☰ GUI Mode</div> |
| 564 | + |
522 | 565 | <!-- GUI Overlay --> |
523 | 566 | <div id="gui-overlay"> |
524 | 567 | <div id="gui-header"> |
|
620 | 663 | <span class="command-link" onclick="runCommand('pwd')">pwd</span> - Print working directory |
621 | 664 | <span class="command-link" onclick="runCommand('everything')">everything</span> - Show all content |
622 | 665 | <span class="command-link" onclick="runCommand('screenfetch')">screenfetch</span> - Show system info |
| 666 | + <span class="command-link" onclick="runCommand('gui')">gui</span> - Open graphical interface |
623 | 667 | <span class="command-link" onclick="runCommand('theme')">theme</span> - Switch theme (default, hacker, retro, dracula) |
624 | 668 | <span class="command-link" onclick="runCommand('history')">history</span> - Show command history |
625 | 669 | <span class="command-link" onclick="runCommand('date')">date</span> - Show current date and time |
|
783 | 827 | weather: () => { |
784 | 828 | return "Look out the window, human. ☁️"; |
785 | 829 | }, |
| 830 | + gui: () => { |
| 831 | + toggleGui(); |
| 832 | + return "Opening GUI mode..."; |
| 833 | + }, |
786 | 834 | // Fun commands |
787 | 835 | sudo: () => { |
788 | 836 | return `<span class='error'>guest is not in the sudoers file. This incident will be reported.</span>`; |
|
0 commit comments