File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,4 +68,42 @@ table.dataTable thead th {
6868 background-color : # 000 ;
6969 color : # ff4500 ; /* matches nav active color */
7070 font-weight : bold;
71- te
71+ text-align : center;
72+ border-bottom : 2px solid # ff4500 ;
73+ white-space : nowrap;
74+ position : sticky;
75+ top : 0 ;
76+ z-index : 3 ;
77+ }
78+
79+ /* --- Freeze first column --- */
80+ table .dataTable tbody td : first-child ,
81+ table .dataTable thead th : first-child {
82+ background-color : # f9f9f9 ;
83+ color : # 000 ;
84+ font-weight : bold;
85+ position : sticky;
86+ left : 0 ;
87+ z-index : 2 ;
88+ }
89+
90+ /* --- Row hover with subtle orange tint --- */
91+ table .dataTable tbody tr : hover {
92+ background-color : rgba (255 , 69 , 0 , 0.08 ); /* soft orange highlight */
93+ transition : background 0.2s ease-in-out;
94+ }
95+
96+ /* --- Ensure hover applies to frozen first column too --- */
97+ table .dataTable tbody tr : hover td : first-child {
98+ background-color : rgba (255 , 69 , 0 , 0.12 ); /* slightly darker for contrast */
99+ }
100+
101+ /* --- Mobile: Horizontal scroll --- */
102+ @media (max-width : 768px ) {
103+ .dataTables_wrapper {
104+ overflow-x : auto;
105+ }
106+ table .dataTable {
107+ min-width : 600px ;
108+ }
109+ }
You can’t perform that action at this time.
0 commit comments