sidhesh01 commited on
Commit
f2ed3f9
·
verified ·
1 Parent(s): 7b292cb

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +206 -0
static/style.css CHANGED
@@ -659,6 +659,8 @@ body {
659
 
660
  .nav-content {
661
  padding: 16px;
 
 
662
  }
663
 
664
  .dashboard-main {
@@ -676,6 +678,29 @@ body {
676
 
677
  .shape-1 { width: 80vw; height: 80vw; }
678
  .shape-2 { width: 90vw; height: 90vw; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
679
  }
680
 
681
  @media (max-width: 480px) {
@@ -686,4 +711,185 @@ body {
686
  }
687
 
688
  .percentage-text { font-size: 28px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
689
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
659
 
660
  .nav-content {
661
  padding: 16px;
662
+ flex-wrap: wrap;
663
+ gap: 10px;
664
  }
665
 
666
  .dashboard-main {
 
678
 
679
  .shape-1 { width: 80vw; height: 80vw; }
680
  .shape-2 { width: 90vw; height: 90vw; }
681
+
682
+ .nav-tabs {
683
+ order: 10;
684
+ width: 100%;
685
+ justify-content: center;
686
+ }
687
+
688
+ .search-bar-wrapper {
689
+ padding: 0 10px;
690
+ }
691
+
692
+ .search-input-group {
693
+ flex-direction: column;
694
+ }
695
+
696
+ .search-btn {
697
+ width: 100%;
698
+ border-radius: 12px;
699
+ }
700
+
701
+ #search-register {
702
+ border-radius: 12px;
703
+ }
704
  }
705
 
706
  @media (max-width: 480px) {
 
711
  }
712
 
713
  .percentage-text { font-size: 28px; }
714
+
715
+ .search-title { font-size: 24px; }
716
+ }
717
+
718
+ /* ====================== */
719
+ /* Nav Tabs (Menu Bar) */
720
+ /* ====================== */
721
+ .nav-tabs {
722
+ display: flex;
723
+ gap: 4px;
724
+ background: rgba(255, 255, 255, 0.05);
725
+ border: 1px solid rgba(255, 255, 255, 0.1);
726
+ border-radius: 14px;
727
+ padding: 4px;
728
+ }
729
+
730
+ .nav-tab {
731
+ display: flex;
732
+ align-items: center;
733
+ gap: 6px;
734
+ background: transparent;
735
+ border: none;
736
+ color: var(--text-muted);
737
+ padding: 8px 18px;
738
+ border-radius: 10px;
739
+ font-family: 'Outfit', sans-serif;
740
+ font-size: 14px;
741
+ font-weight: 500;
742
+ cursor: pointer;
743
+ transition: all 0.3s ease;
744
+ position: relative;
745
+ white-space: nowrap;
746
+ }
747
+
748
+ .nav-tab:hover {
749
+ color: var(--text-main);
750
+ background: rgba(255, 255, 255, 0.05);
751
+ }
752
+
753
+ .nav-tab.active {
754
+ color: #fff;
755
+ background: var(--primary-grad);
756
+ box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
757
+ }
758
+
759
+ .nav-tab svg {
760
+ flex-shrink: 0;
761
+ }
762
+
763
+ /* ====================== */
764
+ /* Search Page */
765
+ /* ====================== */
766
+ .search-section {
767
+ text-align: center;
768
+ padding: 60px 20px 30px;
769
+ }
770
+
771
+ .search-header {
772
+ margin-bottom: 40px;
773
+ }
774
+
775
+ .search-title {
776
+ font-size: 32px;
777
+ font-weight: 700;
778
+ letter-spacing: -0.02em;
779
+ margin-bottom: 12px;
780
+ }
781
+
782
+ .search-subtitle {
783
+ color: var(--text-muted);
784
+ font-size: 16px;
785
+ max-width: 460px;
786
+ margin: 0 auto;
787
+ }
788
+
789
+ .search-bar-wrapper {
790
+ max-width: 650px;
791
+ margin: 0 auto;
792
+ }
793
+
794
+ .search-input-group {
795
+ display: flex;
796
+ align-items: center;
797
+ background: rgba(0, 0, 0, 0.35);
798
+ border: 1px solid var(--card-border);
799
+ border-radius: 16px;
800
+ padding: 6px;
801
+ transition: all 0.3s ease;
802
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
803
+ }
804
+
805
+ .search-input-group:focus-within {
806
+ border-color: rgba(239, 68, 68, 0.5);
807
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(239, 68, 68, 0.1);
808
+ }
809
+
810
+ .search-icon {
811
+ color: var(--text-muted);
812
+ margin: 0 12px;
813
+ flex-shrink: 0;
814
+ }
815
+
816
+ #search-register {
817
+ flex: 1;
818
+ background: transparent;
819
+ border: none;
820
+ color: var(--text-main);
821
+ font-family: 'Outfit', sans-serif;
822
+ font-size: 16px;
823
+ padding: 12px 8px;
824
+ outline: none;
825
+ min-width: 0;
826
+ }
827
+
828
+ #search-register::placeholder {
829
+ color: rgba(161, 161, 170, 0.6);
830
+ }
831
+
832
+ .search-btn {
833
+ background: var(--primary-grad);
834
+ color: #fff;
835
+ border: none;
836
+ border-radius: 12px;
837
+ padding: 12px 28px;
838
+ font-family: 'Outfit', sans-serif;
839
+ font-size: 15px;
840
+ font-weight: 600;
841
+ cursor: pointer;
842
+ transition: all 0.25s ease;
843
+ display: flex;
844
+ align-items: center;
845
+ justify-content: center;
846
+ gap: 8px;
847
+ white-space: nowrap;
848
+ min-width: 100px;
849
+ box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
850
+ }
851
+
852
+ .search-btn:hover {
853
+ transform: translateY(-1px);
854
+ box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
855
+ }
856
+
857
+ .search-btn:active {
858
+ transform: translateY(1px);
859
+ }
860
+
861
+ .search-btn:disabled {
862
+ opacity: 0.6;
863
+ cursor: not-allowed;
864
+ transform: none;
865
+ }
866
+
867
+ .search-btn .loader {
868
+ width: 18px;
869
+ height: 18px;
870
+ border: 2px solid rgba(255,255,255,0.3);
871
+ border-top-color: #fff;
872
+ border-radius: 50%;
873
+ animation: spin 0.8s linear infinite;
874
  }
875
+
876
+ /* Search result student badge */
877
+ .search-result-badge {
878
+ display: inline-flex;
879
+ align-items: center;
880
+ gap: 8px;
881
+ background: rgba(255, 255, 255, 0.06);
882
+ border: 1px solid rgba(255, 255, 255, 0.15);
883
+ padding: 10px 20px;
884
+ border-radius: 50px;
885
+ font-size: 14px;
886
+ font-weight: 500;
887
+ color: var(--text-main);
888
+ margin-bottom: 30px;
889
+ animation: slideUpFade 0.5s ease forwards;
890
+ }
891
+
892
+ .search-result-badge svg {
893
+ color: var(--primary);
894
+ }
895
+