@@ -194,24 +194,6 @@ body.bm-dashboard-dark .table-striped > tbody > tr:nth-of-type(odd) {
194194 color : # ffffff !important ;
195195}
196196
197- body .dark-mode .modal-content ,
198- body .bm-dashboard-dark .modal-content {
199- background-color : # 2e5061 ;
200- color : # ffffff !important ;
201- }
202-
203- body .dark-mode .modal-header ,
204- body .bm-dashboard-dark .modal-header {
205- background-color : # 3a506b ;
206- border-color : # 4a6072 ;
207- color : # ffffff !important ;
208- }
209-
210- body .dark-mode .modal-title ,
211- body .bm-dashboard-dark .modal-title {
212- color : # ffffff !important ;
213- }
214-
215197body .dark-mode .modal-body ,
216198body .bm-dashboard-dark .modal-body {
217199 color : # ffffff !important ;
@@ -368,4 +350,97 @@ body.bm-dashboard-dark .page-item.active .page-link {
368350 .tab-content {
369351 background-color : transparent;
370352 border : none;
371- }
353+ }
354+
355+ /* Update these sections in your index.css */
356+
357+ /* Explicit targeting for all input types and selects */
358+ body .dark-mode .form-control ,
359+ body .bm-dashboard-dark .form-control ,
360+ body .dark-mode select ,
361+ body .bm-dashboard-dark select ,
362+ body .dark-mode input [type = "text" ] {
363+ background-color : # 1e293b !important ; /* Darker navy for input fields */
364+ color : # ffffff !important ;
365+ border : 1px solid # 334155 !important ;
366+ }
367+
368+ /* Fix for the Project and Tool dropdown arrows and internal padding */
369+ body .dark-mode select .form-control ,
370+ body .bm-dashboard-dark select .form-control {
371+ background-image : url ("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e" ) !important ;
372+ background-repeat : no-repeat !important ;
373+ background-position : right 0.75rem center !important ;
374+ background-size : 16px 12px !important ;
375+ }
376+
377+ /* Ensure placeholder text is visible but muted */
378+ body .dark-mode .form-control ::placeholder {
379+ color : # 94a3b8 !important ;
380+ }
381+
382+ /* Styling for the options inside the dropdowns */
383+ body .dark-mode option ,
384+ body .bm-dashboard-dark option {
385+ background-color : # 1e293b !important ;
386+ color : # ffffff !important ;
387+ }
388+
389+ /* GLOBAL OVERRIDE: This will fix all modals in the project at once */
390+ body .dark-mode .modal-content ,
391+ body .bm-dashboard-dark .modal-content {
392+ background-color : # 1b2a41 !important ;
393+ border : 1px solid # 2e3d55 !important ;
394+ color : # ffffff !important ;
395+ }
396+
397+ body .dark-mode .modal-header ,
398+ body .dark-mode .modal-body ,
399+ body .dark-mode .modal-footer ,
400+ body .bm-dashboard-dark .modal-header ,
401+ body .bm-dashboard-dark .modal-body ,
402+ body .bm-dashboard-dark .modal-footer {
403+ background-color : # 1b2a41 !important ;
404+ color : # ffffff !important ;
405+ border-color : # 2e3d55 !important ;
406+ }
407+
408+
409+ /* Force Project and Tool dropdowns to stay dark */
410+ body .dark-mode .form-control ,
411+ body .dark-mode select ,
412+ body .dark-mode input {
413+ background-color : # 1e293b !important ;
414+ color : # ffffff !important ;
415+ border : 1px solid # 334155 !important ;
416+ }
417+
418+ /* Fixes the white dropdown arrow issues */
419+ body .dark-mode select .form-control {
420+ background-image : url ("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e" ) !important ;
421+ }
422+
423+ /* index.css */
424+
425+ /* Applied to all modals globally to ensure differentiation */
426+ body .dark-mode .modal-header ,
427+ body .bm-dashboard-dark .modal-header {
428+ background-color : # 24344d !important ; /* Slightly lighter than the body #1b2a41 */
429+ border-bottom : 1px solid # 334155 !important ; /* Prominent separator line */
430+ color : # ffffff !important ;
431+ padding : 1rem 1.5rem ;
432+ }
433+
434+ /* Ensure the title inside stands out */
435+ body .dark-mode .modal-title ,
436+ body .bm-dashboard-dark .modal-title {
437+ font-weight : 600 ;
438+ letter-spacing : 0.5px ;
439+ }
440+ body .dark-mode .modal-content .table thead th {
441+ background-color : # 2d3d5a !important ; /* Distinct table header color */
442+ color : # ffffff !important ;
443+ border-bottom : 2px solid # 334155 !important ;
444+ font-size : 0.85rem ;
445+ letter-spacing : 1px ;
446+ }
0 commit comments