1212 padding : 0 ;
1313}
1414
15+ /* ---------------- DASHBOARD CONTAINER ---------------- */
1516.weeklyProjectSummaryDashboardContainer {
1617 width : 95% ;
1718 margin : auto;
154155 display : inline-block;
155156 width : 14px ;
156157 height : 14px ;
157- border : 2px solid rgba (255 , 255 , 255 , 0.3 );
158+ border : 2px solid rgb (255 255 255 / 30 % );
158159 border-radius : 50% ;
159160 border-top-color : white;
160161 animation : spin 0.8s linear infinite;
168169 }
169170}
170171
171- /* ---------------- DASHBOARD ---------------- */
172-
172+ /* ---------------- GRID ---------------- */
173173.weeklyProjectSummaryDashboardGrid {
174174 display : grid;
175175 grid-template-columns : repeat (4 , 1fr );
215215 grid-column : span 1 ;
216216}
217217
218-
219218.weekly-project-summary-card .financial-big {
220219 grid-column : span 4 ;
221220 min-height : 600px ;
233232 margin : 0 ;
234233 font-weight : normal;
235234 font-size : 24px ;
236-
237235}
238236
239237.fullCard {
266264 grid-column : span 4 ;
267265}
268266
267+ /* ---------------- SECTION ---------------- */
269268.weeklyProjectSummaryDashboardSection {
270269 background : var (--section-bg );
271270 border-radius : 8px ;
336335 --focus-border-color : # e8a71c ;
337336}
338337
338+ /* MERGED: keep background + FORCE all title text visible in dark mode */
339339.darkMode .weeklyProjectSummaryDashboardCategoryTitle {
340- color : # ffffff ;
341340 background : # 2d4059 ;
341+ color : # ffffff ;
342342}
343343
344344.darkMode .weeklyProjectSummaryDashboardCategoryTitle : hover {
345345 background : # 3a506b ;
346346}
347347
348+ .darkMode .weeklyProjectSummaryDashboardCategoryTitle span {
349+ color : # ffffff ;
350+ }
351+
352+ .darkMode .weeklyProjectSummaryDashboardCategoryTitle * {
353+ color : # ffffff ;
354+ }
355+
348356.darkMode .weeklyProjectSummaryDashboardCategoryContent {
349357 background-color : var (--section-bg );
350358 border-top : 1px solid rgba (255 , 255 , 255 , 0.2 );
355363 color : var (--text-color );
356364}
357365
358- /* First, set a max-height and make it scrollable */
366+ /* ---------------- TOOLTIP SCROLL FIX ---------------- */
359367.quantityOfMaterialsUsedChartTooltip {
360- max-height : 80vh !important ; /* Limit to 80% of viewport height */
361- overflow-y : auto !important ; /* Enable vertical scrolling */
362- padding-right : 15px !important ; /* Add some padding for the scrollbar */
363- /* Support for Firefox */
368+ max-height : 80vh !important ;
369+ overflow-y : auto !important ;
370+ padding-right : 15px !important ;
371+
372+ /* Firefox */
364373 scrollbar-width : thin;
365374 scrollbar-color : rgba (0 , 0 , 0 , 0.3 ) rgba (0 , 0 , 0 , 0.1 );
366375}
367376
368- /* Style the scrollbar for better visibility - Webkit browsers */
377+ /* Chrome/Safari scrollbar */
369378.quantityOfMaterialsUsedChartTooltip ::-webkit-scrollbar {
370379 width : 8px ;
371380}
392401.darkMode .quantityOfMaterialsUsedChartTooltip {
393402 scrollbar-color : rgba (255 , 255 , 255 , 0.3 ) rgba (255 , 255 , 255 , 0.1 );
394403}
395- /* ---------------- RESPONSIVE DESIGN ---------------- */
396404
397- /* Medium Screens - Wrap Items */
405+ /* ---------------- RESPONSIVE DESIGN ---------------- */
398406@media (max-width : 1024px ) {
399407 .weeklySummaryHeaderContainer {
400408 flex-direction : column;
413421 }
414422}
415423
416- /* Small Screens - Make Dropdowns Vertical */
417424@media (max-width : 768px ) {
418425 .weeklySummaryHeaderContainer {
419426 flex-direction : column;
426433 width : 100% ;
427434 }
428435
429- /* Make Dropdowns Full Width */
430436 .weeklySummaryHeaderControls select {
431437 width : 100% ;
432438 max-width : none;
436442 max-width : none;
437443 }
438444
439- /* Make Button Full Width */
440445 .weeklySummaryShareBtn {
441446 width : 100% ;
442447 }
451456 .weeklyProjectSummaryDashboardSection .small {
452457 grid-column : span 1 ;
453458 }
454-
455- .projectStatusGrid {
456- grid-template-columns : 1fr ;
457- }
458459}
459460
460461/* ---------------- STATUS CARD ---------------- */
475476}
476477
477478/* ---------------- RESPONSIVE GRID LAYOUT ---------------- */
479+ /* MERGED: keep ONLY one projectStatusGrid */
478480.projectStatusGrid {
479481 display : grid;
480482 grid-template-columns : repeat (5 , 1fr );
545547 .projectStatusGrid {
546548 grid-template-columns : repeat (1 , 1fr );
547549 }
548- }
550+ }
0 commit comments