Skip to content
Permalink
Browse files

[themes] Fix selection text for various widgets

  • Loading branch information
nirvn committed Jan 23, 2019
1 parent 52df292 commit 9068f3c9a46dfa066f89bbda2104a11a5556e043
Showing with 17 additions and 1 deletion.
  1. +7 −1 resources/themes/Blend of Gray/style.qss
  2. +10 −0 resources/themes/Night Mapping/style.qss
@@ -51,6 +51,8 @@ QAbstractSpinBox {
border-radius: 0.2em;
background-color: @darkgradient;
color:@itembackground;
selection-background-color: @selection;
selection-color: @itemdarkbackground;
}

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

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

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

QComboBox:editable {
@@ -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 {
@@ -51,6 +51,8 @@ QAbstractSpinBox {
border-radius:0px;
background-color: @darkgradient;
color:@text;
selection-background-color: @selection;
selection-color: @text;
}

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

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

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

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

QComboBox:editable {
@@ -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 {

0 comments on commit 9068f3c

Please sign in to comment.
You can’t perform that action at this time.