fix: readable text selection in inputs (selection-color on orange highlight)
Editing a table cell select-alls its text; without an explicit selection-color the highlighted text rendered near-invisible against the accent-orange selection background. Applies to all line edits, text areas, and combo boxes.
This commit is contained in:
@@ -67,7 +67,7 @@ QLabel#muted {{ color: {MUTED}; }}
|
|||||||
QFrame#card {{ background: {PANEL}; border: 1px solid {BORDER}; border-radius: 10px; }}
|
QFrame#card {{ background: {PANEL}; border: 1px solid {BORDER}; border-radius: 10px; }}
|
||||||
QLineEdit, QPlainTextEdit, QComboBox {{
|
QLineEdit, QPlainTextEdit, QComboBox {{
|
||||||
background: {PANEL_2}; border: 1px solid {BORDER}; border-radius: 7px;
|
background: {PANEL_2}; border: 1px solid {BORDER}; border-radius: 7px;
|
||||||
padding: 6px 8px; selection-background-color: {ACCENT};
|
padding: 6px 8px; selection-background-color: {ACCENT}; selection-color: #1a1205;
|
||||||
}}
|
}}
|
||||||
QLineEdit:focus, QPlainTextEdit:focus, QComboBox:focus {{ border: 1px solid {ACCENT}; }}
|
QLineEdit:focus, QPlainTextEdit:focus, QComboBox:focus {{ border: 1px solid {ACCENT}; }}
|
||||||
QComboBox::drop-down {{ border: none; width: 22px; }}
|
QComboBox::drop-down {{ border: none; width: 22px; }}
|
||||||
|
|||||||
Reference in New Issue
Block a user