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

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