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 committed Nov 2, 2024
1 parent 2738a72 commit f52bc9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/gui/styles/dark/darkstyle.qss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
DatabaseWidget:!active, GroupView:!active,
DatabaseWidget:!active, GroupView:!active, DatabaseWidget #groupView:!active,
EntryPreviewWidget QLineEdit:!active, EntryPreviewWidget QTextEdit:!active,
EntryPreviewWidget TagsEdit:!active {
EntryPreviewWidget TagsEdit:!active, QStatusBar:!active {
background-color: #404042;
}

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

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

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

Expand Down

0 comments on commit f52bc9f

Please sign in to comment.