Skip to content

Commit

Permalink
Fixed background color when window is out of focus
Browse files Browse the repository at this point in the history
  • Loading branch information
xboxones1 authored and droidmonkey committed Nov 2, 2024
1 parent 2738a72 commit d03ffc2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/gui/styles/dark/darkstyle.qss
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
DatabaseWidget:!active, GroupView:!active,
DatabaseWidget #groupView:!active, DatabaseWidget #tagView:!active,
EntryPreviewWidget QLineEdit:!active, EntryPreviewWidget QTextEdit:!active,
EntryPreviewWidget TagsEdit:!active {
EntryPreviewWidget TagsEdit:!active, QStatusBar:!active {
background-color: #404042;
}

DatabaseWidget:disabled, GroupView:disabled,
DatabaseWidget #groupView:disabled, DatabaseWidget #tagView:disabled,
EntryPreviewWidget QLineEdit:disabled, EntryPreviewWidget QTextEdit:disabled,
EntryPreviewWidget TagsEdit:disabled {
EntryPreviewWidget TagsEdit:disabled, QStatusBar:disabled {
background-color: #424242;
}

Expand Down
6 changes: 4 additions & 2 deletions src/gui/styles/light/lightstyle.qss
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
DatabaseWidget:!active, GroupView:!active,
DatabaseWidget #groupView:!active, DatabaseWidget #tagView:!active,
EntryPreviewWidget QLineEdit:!active, EntryPreviewWidget QTextEdit:!active,
EntryPreviewWidget TagsEdit:!active {
EntryPreviewWidget TagsEdit:!active, QStatusBar:!active {
background-color: #FCFCFC;
}

DatabaseWidget:disabled, GroupView:disabled,
DatabaseWidget #groupView:disabled, DatabaseWidget #tagView:disabled,
EntryPreviewWidget QLineEdit:disabled, EntryPreviewWidget QTextEdit:disabled,
EntryPreviewWidget TagsEdit:disabled {
EntryPreviewWidget TagsEdit:disabled, QStatusBar:disabled {
background-color: #EDEDED;
}

Expand Down

0 comments on commit d03ffc2

Please # to comment.