Skip to content

Commit

Permalink
Fix background color of dialogs in dark mode (#4994)
Browse files Browse the repository at this point in the history
* Fix background color of dialogs in dark mode

* Update CHANGELOG

* Add new line at end of Base.css

* Revert "Update CHANGELOG"

This reverts commit 13a313a.
  • Loading branch information
davidemdot authored and tobiasdiez committed May 24, 2019
1 parent 9322cde commit d3b193c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/jabref/gui/Base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1032,3 +1032,7 @@ We want to have a look that matches our icons in the tool-bar */
-fx-font-size: 1.5em;
-fx-padding: 1em 0em 1em 0em;
}

.dialog-pane {
-fx-background-color: -fx-control-inner-background;
}
5 changes: 3 additions & 2 deletions src/main/java/org/jabref/gui/help/AboutDialog.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
.about-heading {
-fx-font-size: 30;
-fx-text-fill: -jr-theme;
}

.about-heading:pressed {
-fx-text-fill: -fx-focus-color;
-fx-text-fill: -jr-selected;
}

.top-padding {
Expand Down Expand Up @@ -33,7 +34,7 @@
}

.info-sections {
-fx-padding: 5px;
-fx-padding: 5px;
}

.logo-pane {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#sideMenu {
-fx-background-color: -jr-white;
-fx-background-color: -fx-control-inner-background;
-fx-border-color: -fx-outer-border;
-fx-border-width: 1;
}

#sideMenu > .virtual-flow > .clipped-container > .sheet > .list-cell {
-fx-padding: 8 8 8 8;
-fx-background: -jr-white;
-fx-background: -fx-control-inner-background;
}

.preferencePaneContainer {
Expand Down

0 comments on commit d3b193c

Please sign in to comment.