Fix more background colors of selected text (#5687)

This commit is contained in:
DigArtRoks
2020-10-30 19:51:04 +01:00
committed by GitHub
parent 9d104b2205
commit 69a35b58d3
2 changed files with 14 additions and 4 deletions

View File

@@ -34,8 +34,6 @@ QLineEdit {
border-radius: 4px;
border: 2px inset rgba(91,101,113,128);
background: #49515b;
color: #e0e0e0;
selection-background-color: #202020;
}
@@ -50,6 +48,13 @@ QLineEdit:focus {
border: 1px solid rgba(0,0,0, 128);
}
/* Set color and selection background color for various inputs.
SpinBoxes are used in QInputDialogs */
QTextEdit, QLineEdit:focus, QComboBox:focus, QSpinBox:focus, QDoubleSpinBox:focus {
color: #e0e0e0;
selection-background-color: #202020;
}
QToolTip {
border-radius: 4px;

View File

@@ -61,8 +61,6 @@ QLineEdit {
border-radius: 4px;
border: 1px;
background: #101213;
color: #d1d8e4;
selection-background-color: #17793b;
}
QLineEdit:read-only {
@@ -76,6 +74,13 @@ QLineEdit:focus {
border: 1px solid #0bd556;
}
/* Set color and selection background color for various inputs.
SpinBoxes are used in QInputDialogs */
QTextEdit, QLineEdit:focus, QComboBox:focus, QSpinBox:focus, QDoubleSpinBox:focus {
color: #d1d8e4;
selection-background-color: #17793b;
}
QToolTip {
border-radius: 4px;