mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
[themes] Fix selection text for various widgets
This commit is contained in:
parent
52df29281f
commit
9068f3c9a4
@ -51,6 +51,8 @@ QAbstractSpinBox {
|
|||||||
border-radius: 0.2em;
|
border-radius: 0.2em;
|
||||||
background-color: @darkgradient;
|
background-color: @darkgradient;
|
||||||
color:@itembackground;
|
color:@itembackground;
|
||||||
|
selection-background-color: @selection;
|
||||||
|
selection-color: @itemdarkbackground;
|
||||||
}
|
}
|
||||||
|
|
||||||
QAbstractSpinBox::up-button {
|
QAbstractSpinBox::up-button {
|
||||||
@ -125,6 +127,8 @@ QLineEdit, QTextEdit, QPlainTextEdit
|
|||||||
border-radius: 0.2em;
|
border-radius: 0.2em;
|
||||||
background-color:@itembackground;
|
background-color:@itembackground;
|
||||||
color:@text;
|
color:@text;
|
||||||
|
selection-background-color: @selection;
|
||||||
|
selection-color: @itemdarkbackground;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton
|
QPushButton
|
||||||
@ -198,6 +202,7 @@ QPushButton:pressed, QToolButton:pressed {
|
|||||||
|
|
||||||
QComboBox {
|
QComboBox {
|
||||||
selection-background-color: @selection;
|
selection-background-color: @selection;
|
||||||
|
selection-color: @itemdarkbackground;
|
||||||
background-color: @darkgradient;
|
background-color: @darkgradient;
|
||||||
color:@itembackground;
|
color:@itembackground;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
@ -221,6 +226,7 @@ QComboBox:on {
|
|||||||
stop: 0.9 #414141,
|
stop: 0.9 #414141,
|
||||||
stop: 1 #444);
|
stop: 1 #444);
|
||||||
selection-background-color: @selection;
|
selection-background-color: @selection;
|
||||||
|
selection-color: @itemdarkbackground;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox:editable {
|
QComboBox:editable {
|
||||||
@ -603,8 +609,8 @@ QAbstractItemView, QListView
|
|||||||
border: none;
|
border: none;
|
||||||
border-radius: 0.15em;
|
border-radius: 0.15em;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
selection-color: @text;
|
|
||||||
selection-background-color: @selection;
|
selection-background-color: @selection;
|
||||||
|
selection-color: @itemdarkbackground;
|
||||||
}
|
}
|
||||||
|
|
||||||
QAbstractItemView::selected, QListView::selected {
|
QAbstractItemView::selected, QListView::selected {
|
||||||
|
@ -51,6 +51,8 @@ QAbstractSpinBox {
|
|||||||
border-radius:0px;
|
border-radius:0px;
|
||||||
background-color: @darkgradient;
|
background-color: @darkgradient;
|
||||||
color:@text;
|
color:@text;
|
||||||
|
selection-background-color: @selection;
|
||||||
|
selection-color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
QAbstractSpinBox::up-button {
|
QAbstractSpinBox::up-button {
|
||||||
@ -122,6 +124,8 @@ QLineEdit
|
|||||||
border: 1px solid #111;
|
border: 1px solid #111;
|
||||||
background-color: #888;
|
background-color: #888;
|
||||||
color: #111;
|
color: #111;
|
||||||
|
selection-background-color: @selection;
|
||||||
|
selection-color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTextEdit, QPlainTextEdit
|
QTextEdit, QPlainTextEdit
|
||||||
@ -133,6 +137,8 @@ QTextEdit, QPlainTextEdit
|
|||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
background-color:@itembackground;
|
background-color:@itembackground;
|
||||||
color:@text;
|
color:@text;
|
||||||
|
selection-background-color: @selection;
|
||||||
|
selection-color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton
|
QPushButton
|
||||||
@ -205,6 +211,7 @@ QPushButton:pressed, QToolButton:pressed {
|
|||||||
|
|
||||||
QComboBox {
|
QComboBox {
|
||||||
selection-background-color: @selection;
|
selection-background-color: @selection;
|
||||||
|
selection-color: @text;
|
||||||
background-color: @darkgradient;
|
background-color: @darkgradient;
|
||||||
color:@text;
|
color:@text;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
@ -228,6 +235,7 @@ QComboBox:on {
|
|||||||
stop: 0.9 #414141,
|
stop: 0.9 #414141,
|
||||||
stop: 1 #444);
|
stop: 1 #444);
|
||||||
selection-background-color: @selection;
|
selection-background-color: @selection;
|
||||||
|
selection-color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox:editable {
|
QComboBox:editable {
|
||||||
@ -237,6 +245,8 @@ QComboBox:editable QLineEdit {
|
|||||||
border-color: @itemdarkbackground;
|
border-color: @itemdarkbackground;
|
||||||
background-color: @itemdarkbackground;
|
background-color: @itemdarkbackground;
|
||||||
color:@text;
|
color:@text;
|
||||||
|
selection-background-color: @selection;
|
||||||
|
selection-color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox QAbstractItemView, QComboBox QListView {
|
QComboBox QAbstractItemView, QComboBox QListView {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user