Changeset a762898 for lan-frontend/src/styles/theme.css
- Timestamp:
- 01/26/26 16:19:33 (5 months ago)
- Branches:
- master
- Children:
- ba17441
- Parents:
- e4c61dd
- File:
-
- 1 edited
-
lan-frontend/src/styles/theme.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lan-frontend/src/styles/theme.css
re4c61dd ra762898 3 3 Dark Navy + Light Blue 4 4 ========================= */ 5 @tailwind base; 6 @tailwind components; 7 @tailwind utilities; 5 8 6 9 :root{ … … 548 551 border-color: rgba(88, 167, 255, .35); 549 552 } 553 554 /* ====== LAYOUT with LEFT SIDEBAR ====== */ 555 .app-shell { 556 display: grid; 557 grid-template-columns: 240px 1fr; 558 min-height: 100vh; 559 } 560 561 .app-main { 562 padding: 14px; 563 } 564 565 /* Sidebar */ 566 .side { 567 background: rgba(255,255,255,0.04); 568 border-right: 1px solid rgba(255,255,255,0.10); 569 padding: 14px; 570 position: sticky; 571 top: 0; 572 height: 100vh; 573 } 574 575 .side-brand { 576 display: flex; 577 gap: 10px; 578 align-items: center; 579 padding: 10px; 580 border: 1px solid rgba(255,255,255,0.10); 581 border-radius: 14px; 582 background: rgba(0,0,0,0.12); 583 margin-bottom: 14px; 584 } 585 586 .side-brand-dot { 587 width: 10px; 588 height: 10px; 589 border-radius: 999px; 590 background: #7dd3fc; 591 box-shadow: 0 0 0 4px rgba(125,211,252,0.15); 592 } 593 594 .side-brand-title { 595 font-weight: 700; 596 letter-spacing: 0.2px; 597 } 598 599 .side-brand-sub { 600 font-size: 12px; 601 color: var(--dim); 602 } 603 604 .side-section-title { 605 font-size: 11px; 606 color: var(--dim); 607 margin: 12px 8px 8px; 608 letter-spacing: 0.12em; 609 } 610 611 .side-item { 612 width: 100%; 613 display: flex; 614 align-items: center; 615 gap: 10px; 616 padding: 10px 12px; 617 border-radius: 12px; 618 border: 1px solid transparent; 619 background: transparent; 620 color: inherit; 621 cursor: pointer; 622 text-align: left; 623 } 624 625 .side-item:hover { 626 background: rgba(255,255,255,0.06); 627 border-color: rgba(255,255,255,0.08); 628 } 629 630 .side-item.active { 631 background: rgba(125,211,252,0.12); 632 border-color: rgba(125,211,252,0.25); 633 } 634 635 .side-icon { 636 width: 26px; 637 display: grid; 638 place-items: center; 639 font-size: 18px; 640 } 641 642 .side-label { 643 font-size: 14px; 644 font-weight: 600; 645 } 646 647 .side-footer { 648 position: absolute; 649 bottom: 12px; 650 left: 14px; 651 right: 14px; 652 padding: 10px; 653 border-radius: 12px; 654 border: 1px solid rgba(255,255,255,0.10); 655 background: rgba(0,0,0,0.12); 656 } 657 658 .side-footer-hint { 659 font-size: 12px; 660 color: var(--dim); 661 } 662 /* ==== Collapsible Side Menu ==== */ 663 .side { 664 position: sticky; 665 top: 0; 666 height: 100vh; 667 z-index: 20; 668 669 width: 260px; 670 transition: width 180ms ease; 671 border-right: 1px solid rgba(255,255,255,0.08); 672 background: rgba(6, 12, 24, 0.72); 673 backdrop-filter: blur(10px); 674 } 675 676 .side.collapsed { 677 width: 54px; /* само тенка лента */ 678 } 679 680 .side-inner { 681 height: 100%; 682 padding: 14px 10px; 683 display: flex; 684 flex-direction: column; 685 } 686 687 .side-handle { 688 position: absolute; 689 left: 6px; 690 top: 10px; 691 width: 42px; 692 height: 34px; 693 border-radius: 12px; 694 border: 1px solid rgba(255,255,255,0.12); 695 background: rgba(255,255,255,0.06); 696 color: rgba(255,255,255,0.9); 697 cursor: pointer; 698 } 699 700 .side-brand { 701 display: flex; 702 align-items: center; 703 gap: 10px; 704 padding: 10px; 705 margin-top: 38px; /* за да не се судри со handle */ 706 border-radius: 16px; 707 background: rgba(255,255,255,0.03); 708 border: 1px solid rgba(255,255,255,0.06); 709 } 710 711 .side-brand-dot { 712 width: 12px; 713 height: 12px; 714 border-radius: 999px; 715 background: rgba(80, 160, 255, 0.95); 716 box-shadow: 0 0 18px rgba(80,160,255,0.45); 717 } 718 719 .side-brand-text { min-width: 0; } 720 .side-brand-title { font-weight: 800; color: rgba(255,255,255,0.92); } 721 .side-brand-sub { font-size: 12px; color: rgba(255,255,255,0.55); } 722 723 .side-section { margin-top: 14px; } 724 .side-section-title { 725 font-size: 11px; 726 letter-spacing: 0.12em; 727 color: rgba(255,255,255,0.45); 728 padding: 10px; 729 } 730 731 .side-item { 732 width: 100%; 733 display: flex; 734 align-items: center; 735 gap: 10px; 736 padding: 10px 12px; 737 margin: 6px 0; 738 border-radius: 14px; 739 border: 1px solid transparent; 740 background: transparent; 741 color: rgba(255,255,255,0.82); 742 cursor: pointer; 743 text-align: left; 744 } 745 746 .side-item:hover { 747 background: rgba(255,255,255,0.06); 748 border-color: rgba(255,255,255,0.08); 749 } 750 751 .side-item.active { 752 background: rgba(80,160,255,0.16); 753 border-color: rgba(80,160,255,0.25); 754 } 755 756 .side-icon { 757 width: 28px; 758 display: grid; 759 place-items: center; 760 font-size: 18px; 761 } 762 763 .side-label { 764 white-space: nowrap; 765 overflow: hidden; 766 text-overflow: ellipsis; 767 } 768 769 .side-footer { 770 margin-top: auto; 771 padding: 10px; 772 color: rgba(255,255,255,0.55); 773 font-size: 12px; 774 } 775 .layout { display: flex; } 776 .content { flex: 1; min-width: 0; } 777 /* collapsed = центрирање иконите + тргање празни простори */ 778 .side.collapsed .side-inner { 779 padding: 10px 6px; 780 align-items: center; 781 } 782 783 .side.collapsed .side-brand { 784 width: 42px; 785 padding: 10px 0; 786 justify-content: center; 787 margin-top: 48px; 788 } 789 790 .side.collapsed .side-item { 791 justify-content: center; 792 padding: 10px 0; 793 } 794 795 .side.collapsed .side-icon { 796 width: 42px; 797 } 798 799 /* handle во средина (поубаво) */ 800 .side-handle { 801 left: 6px; 802 top: 10px; 803 width: 42px; 804 height: 34px; 805 } 806 807 /* кога е open да си е нормално */ 808 .side.open .side-inner { 809 align-items: stretch; 810 } 811 812 .cont{ 813 margin-right: 50px; 814 }
Note:
See TracChangeset
for help on using the changeset viewer.
