Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[themes] Fix selection text for various widgets
  • Loading branch information
nirvn committed Jan 23, 2019
1 parent 52df292 commit 9068f3c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
8 changes: 7 additions & 1 deletion resources/themes/Blend of Gray/style.qss
Expand Up @@ -51,6 +51,8 @@ QAbstractSpinBox {
border-radius: 0.2em;
background-color: @darkgradient;
color:@itembackground;
selection-background-color: @selection;
selection-color: @itemdarkbackground;
}

QAbstractSpinBox::up-button {
Expand Down Expand Up @@ -125,6 +127,8 @@ QLineEdit, QTextEdit, QPlainTextEdit
border-radius: 0.2em;
background-color:@itembackground;
color:@text;
selection-background-color: @selection;
selection-color: @itemdarkbackground;
}

QPushButton
Expand Down Expand Up @@ -198,6 +202,7 @@ QPushButton:pressed, QToolButton:pressed {

QComboBox {
selection-background-color: @selection;
selection-color: @itemdarkbackground;
background-color: @darkgradient;
color:@itembackground;
border-style: solid;
Expand All @@ -221,6 +226,7 @@ QComboBox:on {
stop: 0.9 #414141,
stop: 1 #444);
selection-background-color: @selection;
selection-color: @itemdarkbackground;
}

QComboBox:editable {
Expand Down Expand Up @@ -603,8 +609,8 @@ QAbstractItemView, QListView
border: none;
border-radius: 0.15em;
padding: 1px;
selection-color: @text;
selection-background-color: @selection;
selection-color: @itemdarkbackground;
}

QAbstractItemView::selected, QListView::selected {
Expand Down
10 changes: 10 additions & 0 deletions 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 @@ -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 9068f3c

Please sign in to comment.