@@ -943,3 +943,146 @@ hr {
943943 opacity : 1 !important ;
944944 box-shadow : rgba (10 , 10 , 10 , 0.1 ) 0px 2px 3px ;
945945}
946+
947+ /* REDESIGN BROWSE PAGE */
948+
949+ @font-face {
950+ font-family : 'SFPro' ;
951+ src : url ('frontend/review/public/static/fonts/SF-Pro-Display-Regular.otf' ) format ('opentype' );
952+ font-weight : normal;
953+ font-style : normal;
954+ }
955+
956+ @font-face {
957+ font-family : 'SFPro-Bold' ;
958+ src : url ('frontend/review/public/static/fonts/SF-Pro-Display-Bold.otf' ) format ('opentype' );
959+ font-weight : bold;
960+ font-style : normal;
961+ }
962+
963+ .new-search-bar {
964+ min-width : 0 ;
965+ width : 100% ;
966+ }
967+
968+ .select-box-container : hover {
969+ background : # E1E4E8 ;
970+ }
971+
972+ .SelectSearchBarContainer {
973+ /* Enables scrolling */
974+ overflow : auto;
975+
976+ /* Firefox: Sets thumb color to a gray pill, and track color to transparent */
977+ scrollbar-width : thin;
978+ scrollbar-color : # a0aec0 transparent;
979+ }
980+
981+ /* WebKit browsers (Chrome, Safari, Edge) */
982+
983+ /* 1. Define the overall scrollbar size */
984+ .no-scrollbar ::-webkit-scrollbar {
985+ width : 8px ; /* For vertical scrollbar */
986+ height : 8px ; /* For horizontal scrollbar */
987+ }
988+
989+ /* 2. Make the track completely transparent */
990+ .no-scrollbar ::-webkit-scrollbar-track {
991+ background : transparent;
992+ }
993+
994+ /* 3. Style the "pill" (the thumb) */
995+ .no-scrollbar ::-webkit-scrollbar-thumb {
996+ background-color : # a0aec0 ; /* Color of your pill */
997+ border-radius : 20px ; /* Gives it the rounded "pill" shape */
998+ }
999+
1000+ /* Optional: Make the pill slightly darker when hovered */
1001+ .no-scrollbar ::-webkit-scrollbar-thumb : hover {
1002+ background-color : # 718096 ;
1003+ }
1004+
1005+ .course-results-table {
1006+ border : none !important ;
1007+ font-family : 'SFPro' , sans-serif;
1008+ }
1009+
1010+ .course-results-table .rt-tr .rt-th ,
1011+ .course-results-table .rt-tr .rt-td {
1012+ border-right : none !important ;
1013+ border-bottom : none !important ;
1014+ }
1015+
1016+ /* Target the header cells */
1017+ .course-results-table .rt-thead .rt-th {
1018+ display : flex;
1019+ align-items : center;
1020+ justify-content : flex-start;
1021+ background-color : # F7F9FB ;
1022+ color : # 3E3E40 ;
1023+ font-weight : 700 ;
1024+ padding : 12px 17px !important ;
1025+ }
1026+
1027+ /* Target the data cells */
1028+ .course-results-table .rt-tbody .rt-td {
1029+ display : flex;
1030+ align-items : center;
1031+ justify-content : flex-start;
1032+ padding : 12px 16px ;
1033+ color : # 3E3E40 ;
1034+ background-color : # FFFFFF ;
1035+ font-family : 'SFPro' , sans-serif;
1036+ font-weight : 300 ;
1037+ font-size : 15px ;
1038+ }
1039+
1040+ .course-results-table .rt-tr : not (.ignore-select ): hover {
1041+ cursor : default !important ;
1042+ }
1043+
1044+ .course-results-table-container # course-table_info {
1045+ display : none;
1046+ }
1047+
1048+ .course-code-cell {
1049+ display : flex;
1050+ justify-content : center;
1051+ align-items : center;
1052+ height : 100% ;
1053+ color : # 1995E7 ;
1054+ cursor : pointer;
1055+ }
1056+
1057+ .course-code-cell : hover {
1058+ color : # 1565a8 ;
1059+ }
1060+
1061+ /* selected state */
1062+ .course-results-btn-primary {
1063+ background-color : # 6D6F71 ; /* Dark gray background */
1064+ color : white; /* White text */
1065+ border : 1px solid # 6D6F71 ;
1066+ }
1067+
1068+ .course-results-btn-primary : hover {
1069+ background-color : # 5c5e61 ; /* Slightly darker on hover */
1070+ border-color : # 5c5e61 ;
1071+ }
1072+
1073+ /* unselected state */
1074+ .course-results-btn-secondary {
1075+ background-color : white; /* White background */
1076+ color : # 6D6F71 ; /* Dark gray text */
1077+ border : 1px solid # 6D6F71 ; /* Dark gray border */
1078+ }
1079+
1080+ .course-results-btn-secondary : hover {
1081+ background-color : # f8f9fa ; /* Very light gray on hover */
1082+ color : # 5c5e61 ;
1083+ border-color : # 5c5e61 ;
1084+ }
1085+
1086+ .course-results-btn-image {
1087+ filter : grayscale (100% );
1088+ }
0 commit comments