Consistent selection background color
This commit is contained in:
@@ -27,7 +27,7 @@ QMenuBar::item {
|
||||
}
|
||||
|
||||
QMenuBar::item:pressed {
|
||||
background-color: #355A80;
|
||||
background-color: #3c595c;
|
||||
}
|
||||
|
||||
QMenuBar {
|
||||
@@ -57,7 +57,7 @@ QMenu::item {
|
||||
}
|
||||
|
||||
QMenu::item:selected {
|
||||
background-color: #355A80;
|
||||
background-color: #3c595c;
|
||||
}
|
||||
|
||||
QMenu::item:disabled {
|
||||
@@ -125,7 +125,7 @@ QLineEdit,
|
||||
QPlainTextEdit {
|
||||
background-color: #2F2F2D;
|
||||
border: 1px solid #41423f;
|
||||
selection-background-color: #355A80;
|
||||
selection-background-color: #3c595c;
|
||||
selection-color: #afb1b3;
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@ QComboBox QAbstractItemView:item {
|
||||
}
|
||||
|
||||
QComboBox QAbstractItemView::item:selected {
|
||||
background-color: #355A80;
|
||||
background-color: #3c595c;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
}
|
||||
|
||||
#region-selector #region-item[selected=true] {
|
||||
background-color: #355A80;
|
||||
background-color: #3c595c;
|
||||
}
|
||||
|
||||
#region-selector #region-item #name-label {
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace Bloom::Widgets
|
||||
static constexpr auto secondaryFontColor = QColor(0x8A, 0x8A, 0x8D);
|
||||
|
||||
if (this->selected) {
|
||||
static constexpr auto selectedBackgroundColor = QColor(0x35, 0x5A, 0x80);
|
||||
static constexpr auto selectedBackgroundColor = QColor(0x3C, 0x59, 0x5C);
|
||||
|
||||
painter->setBrush(selectedBackgroundColor);
|
||||
painter->setPen(Qt::PenStyle::NoPen);
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
|
||||
#target-register-history-widget #current-item[selected=true],
|
||||
#target-register-history-widget #register-history-item[selected=true] {
|
||||
background-color: #355A80;
|
||||
background-color: #3c595c;
|
||||
}
|
||||
|
||||
#target-register-history-widget #separator-widget {
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace Bloom::Widgets
|
||||
}
|
||||
|
||||
void RegisterGroupItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) {
|
||||
static constexpr auto selectedBackgroundColor = QColor(0x35, 0x5A, 0x80);
|
||||
static constexpr auto selectedBackgroundColor = QColor(0x3C, 0x59, 0x5C);
|
||||
|
||||
static constexpr auto itemLeftPadding = 3;
|
||||
static constexpr auto itemTopPadding = 4;
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace Bloom::Widgets
|
||||
return;
|
||||
}
|
||||
|
||||
static constexpr auto selectedBackgroundColor = QColor(0x35, 0x5A, 0x80);
|
||||
static constexpr auto selectedBackgroundColor = QColor(0x3C, 0x59, 0x5C);
|
||||
|
||||
static constexpr auto itemLeftPadding = 41;
|
||||
static constexpr auto itemTopPadding = 4;
|
||||
|
||||
Reference in New Issue
Block a user