Skip to content

Commit

Permalink
[themes] Fix selection text for various widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jan 23, 2019
1 parent 401cea1 commit 4cb722a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion resources/themes/Night Mapping/style.qss
Expand Up @@ -51,6 +51,8 @@ QAbstractSpinBox {
border-radius:0px;
background-color: @darkgradient;
color:@text;
selection-background-color: @selection;
selection-color: @text;
}

QAbstractSpinBox::up-button {
Expand Down Expand Up @@ -122,6 +124,8 @@ QLineEdit
border: 1px solid #111;
background-color: #888;
color: #111;
selection-background-color: @selection;
selection-color: @text;
}

QTextEdit, QPlainTextEdit
Expand All @@ -133,6 +137,8 @@ QTextEdit, QPlainTextEdit
border-radius: 0px;
background-color:@itembackground;
color:@text;
selection-background-color: @selection;
selection-color: @text;
}

QPushButton
Expand Down Expand Up @@ -205,6 +211,7 @@ QPushButton:pressed, QToolButton:pressed {

QComboBox {
selection-background-color: @selection;
selection-color: @text;
background-color: @darkgradient;
color:@text;
border-style: solid;
Expand All @@ -214,7 +221,7 @@ QComboBox {
}


QComboBox:hover, QAbstractSpinBox:hover {
QComboBox:hover,QAbstractSpinBox:hover {
background-color: @darkalternativegradient;
}

Expand All @@ -228,6 +235,7 @@ QComboBox:on {
stop: 0.9 #414141,
stop: 1 #444);
selection-background-color: @selection;
selection-color: @text;
}

QComboBox:editable {
Expand All @@ -237,6 +245,8 @@ QComboBox:editable QLineEdit {
border-color: @itemdarkbackground;
background-color: @itemdarkbackground;
color:@text;
selection-background-color: @selection;
selection-color: @text;
}

QComboBox QAbstractItemView, QComboBox QListView {
Expand Down

0 comments on commit 4cb722a

Please sign in to comment.