File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -728,22 +728,34 @@ ul.dropdown li:hover {
728
728
# parts table input [type = "number" ] {
729
729
background-color : transparent;
730
730
border : none;
731
- color : # 404247 ;
731
+ color : var ( --text-primary ) ;
732
732
padding : 0.2em 0.3em ;
733
733
font-size : 1em ;
734
734
}
735
735
736
736
# parts table input [type = "text" ]: focus ,
737
737
# parts table input [type = "number" ]: focus {
738
- background-color : # fff ;
738
+ background-color : var (--bg-secondary );
739
+ color : var (--text-primary );
739
740
}
740
741
741
- # parts table input [type = "text" ] {
742
- width : 7em ;
742
+ /* Fix for dark mode input visibility in non-active rows */
743
+ body .dark-mode # parts table tbody tr : not (.active ) td input [type = "text" ],
744
+ body .dark-mode # parts table tbody tr : not (.active ) td input [type = "number" ] {
745
+ color : var (--text-primary );
743
746
}
744
747
745
- # parts table input [type = "number" ] {
746
- width : 2.5em ;
748
+ body .dark-mode # parts table tbody tr .active td input {
749
+ color : # fff ;
750
+ }
751
+
752
+ /* Improved focus styles for both active and non-active rows in dark mode */
753
+ body .dark-mode # parts table tbody tr td input [type = "text" ]: focus ,
754
+ body .dark-mode # parts table tbody tr td input [type = "number" ]: focus {
755
+ background-color : var (--input-bg );
756
+ color : var (--text-primary );
757
+ border : 1px solid var (--button-primary );
758
+ outline : none;
747
759
}
748
760
749
761
/* parts table svg */
You can’t perform that action at this time.
0 commit comments