@@ -1032,3 +1032,49 @@ select.bootstrap-select-filter {
10321032 position : absolute;
10331033 z-index : 1 ;
10341034}
1035+ /* -- Responsive Navbar -- */
1036+ /* Collapsed navbar (mobile view) */
1037+ @media (max-width : 1199.98px ) {
1038+ /* Dark mode */
1039+ [data-bs-theme = dark ] # navbarCollapse ,
1040+ : root : not ([data-bs-theme = light ]) # navbarCollapse {
1041+ background-color : # 2d3e50 !important ;
1042+ margin-top : 0.5rem ;
1043+ padding : 0.5rem 1rem ;
1044+ border-radius : 0.25rem ;
1045+ box-shadow : 0 0.5rem 1rem rgba (0 , 0 , 0 , 0.3 );
1046+ }
1047+ /* Light mode */
1048+ [data-bs-theme = light ] # navbarCollapse {
1049+ background-color : # ffffff !important ;
1050+ margin-top : 0.5rem ;
1051+ padding : 0.5rem 1rem ;
1052+ border-radius : 0.25rem ;
1053+ box-shadow : 0 0.5rem 1rem rgba (0 , 0 , 0 , 0.15 );
1054+ }
1055+ [data-bs-theme = light ] # navbarCollapse .nav-link {
1056+ color : # 212529 !important ;
1057+ }
1058+ [data-bs-theme = light ] # navbarCollapse .navbar-nav .nav-link : hover {
1059+ color : # 0056b3 !important ;
1060+ }
1061+ /* Search form width */
1062+ # navbarCollapse # search-form {
1063+ width : 100% ;
1064+ }
1065+ # navbarCollapse # search-form .input-group {
1066+ width : 100% ;
1067+ }
1068+ /* DejaCode dropdown width */
1069+ .navbar-brand .dropdown-menu {
1070+ width : 100% ;
1071+ max-width : 300px ;
1072+ }
1073+ }
1074+ /* Dropdown positioning */
1075+ .navbar-brand .dropdown-menu {
1076+ position : absolute;
1077+ top : 100% ;
1078+ left : 0 ;
1079+ margin-top : 0 ;
1080+ }
0 commit comments