Fixed background color when window is out of focus

This commit is contained in:
xboxones1 2024-11-02 14:16:24 +00:00 committed by Jonathan White
parent 2738a72b43
commit d03ffc228c
2 changed files with 8 additions and 4 deletions

View File

@ -1,12 +1,14 @@
DatabaseWidget:!active, GroupView:!active, DatabaseWidget:!active, GroupView:!active,
DatabaseWidget #groupView:!active, DatabaseWidget #tagView:!active,
EntryPreviewWidget QLineEdit:!active, EntryPreviewWidget QTextEdit:!active, EntryPreviewWidget QLineEdit:!active, EntryPreviewWidget QTextEdit:!active,
EntryPreviewWidget TagsEdit:!active { EntryPreviewWidget TagsEdit:!active, QStatusBar:!active {
background-color: #404042; background-color: #404042;
} }
DatabaseWidget:disabled, GroupView:disabled, DatabaseWidget:disabled, GroupView:disabled,
DatabaseWidget #groupView:disabled, DatabaseWidget #tagView:disabled,
EntryPreviewWidget QLineEdit:disabled, EntryPreviewWidget QTextEdit:disabled, EntryPreviewWidget QLineEdit:disabled, EntryPreviewWidget QTextEdit:disabled,
EntryPreviewWidget TagsEdit:disabled { EntryPreviewWidget TagsEdit:disabled, QStatusBar:disabled {
background-color: #424242; background-color: #424242;
} }

View File

@ -1,12 +1,14 @@
DatabaseWidget:!active, GroupView:!active, DatabaseWidget:!active, GroupView:!active,
DatabaseWidget #groupView:!active, DatabaseWidget #tagView:!active,
EntryPreviewWidget QLineEdit:!active, EntryPreviewWidget QTextEdit:!active, EntryPreviewWidget QLineEdit:!active, EntryPreviewWidget QTextEdit:!active,
EntryPreviewWidget TagsEdit:!active { EntryPreviewWidget TagsEdit:!active, QStatusBar:!active {
background-color: #FCFCFC; background-color: #FCFCFC;
} }
DatabaseWidget:disabled, GroupView:disabled, DatabaseWidget:disabled, GroupView:disabled,
DatabaseWidget #groupView:disabled, DatabaseWidget #tagView:disabled,
EntryPreviewWidget QLineEdit:disabled, EntryPreviewWidget QTextEdit:disabled, EntryPreviewWidget QLineEdit:disabled, EntryPreviewWidget QTextEdit:disabled,
EntryPreviewWidget TagsEdit:disabled { EntryPreviewWidget TagsEdit:disabled, QStatusBar:disabled {
background-color: #EDEDED; background-color: #EDEDED;
} }