From acce1bc5ce5fbd3a50b9be034e590e3eec56c295 Mon Sep 17 00:00:00 2001 From: Bernhard Kirchen Date: Mon, 21 Feb 2022 17:07:58 +0100 Subject: [PATCH] entry preview: blend background of tags when inactive --- src/gui/styles/dark/darkstyle.qss | 6 ++++-- src/gui/styles/light/lightstyle.qss | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/gui/styles/dark/darkstyle.qss b/src/gui/styles/dark/darkstyle.qss index a9aef28af..23bcfd927 100644 --- a/src/gui/styles/dark/darkstyle.qss +++ b/src/gui/styles/dark/darkstyle.qss @@ -1,10 +1,12 @@ DatabaseWidget:!active, GroupView:!active, -EntryPreviewWidget QLineEdit:!active, EntryPreviewWidget QTextEdit:!active { +EntryPreviewWidget QLineEdit:!active, EntryPreviewWidget QTextEdit:!active, +EntryPreviewWidget TagsEdit:!active { background-color: #404042; } DatabaseWidget:disabled, GroupView:disabled, -EntryPreviewWidget QLineEdit:disabled, EntryPreviewWidget QTextEdit:disabled { +EntryPreviewWidget QLineEdit:disabled, EntryPreviewWidget QTextEdit:disabled, +EntryPreviewWidget TagsEdit:disabled { background-color: #424242; } diff --git a/src/gui/styles/light/lightstyle.qss b/src/gui/styles/light/lightstyle.qss index 5a8fe64a2..2764a56b0 100644 --- a/src/gui/styles/light/lightstyle.qss +++ b/src/gui/styles/light/lightstyle.qss @@ -1,10 +1,12 @@ DatabaseWidget:!active, GroupView:!active, -EntryPreviewWidget QLineEdit:!active, EntryPreviewWidget QTextEdit:!active { +EntryPreviewWidget QLineEdit:!active, EntryPreviewWidget QTextEdit:!active, +EntryPreviewWidget TagsEdit:!active { background-color: #FCFCFC; } DatabaseWidget:disabled, GroupView:disabled, -EntryPreviewWidget QLineEdit:disabled, EntryPreviewWidget QTextEdit:disabled { +EntryPreviewWidget QLineEdit:disabled, EntryPreviewWidget QTextEdit:disabled, +EntryPreviewWidget TagsEdit:disabled { background-color: #EDEDED; }