Consistent selection background color

This commit is contained in:
Nav
2023-04-25 20:28:03 +01:00
parent fbe3e5b545
commit 7aa8ef0858
6 changed files with 9 additions and 9 deletions

View File

@@ -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;

View File

@@ -72,7 +72,7 @@
}
#region-selector #region-item[selected=true] {
background-color: #355A80;
background-color: #3c595c;
}
#region-selector #region-item #name-label {

View File

@@ -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);

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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;