Skip to content

Commit

Permalink
increase contrast of filter toggles and remove bottom highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Dec 21, 2024
1 parent c5ef60c commit 542441d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public void initialize() {
paymentMethodComboBox.setCellFactory(GUIUtil.getPaymentMethodCellFactory());
paymentMethodComboBox.setPrefWidth(250);

matchingOffersToggleButton = AwesomeDude.createIconToggleButton(AwesomeIcon.USER, null, "1.3em", null);
matchingOffersToggleButton = AwesomeDude.createIconToggleButton(AwesomeIcon.USER, null, "1.5em", null);
matchingOffersToggleButton.getStyleClass().add("toggle-button-no-slider");
matchingOffersToggleButton.setPrefHeight(27);
Tooltip matchingOffersTooltip = new Tooltip(Res.get("offerbook.matchingOffers"));
Expand Down
4 changes: 3 additions & 1 deletion desktop/src/main/java/haveno/desktop/theme-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,10 @@
.toggle-button-no-slider {
-fx-focus-color: transparent;
-fx-faint-focus-color: transparent;
-fx-background-radius: 3;
-fx-background-insets: 0, 1;
}

.toggle-button-no-slider:selected {
-fx-background-color: -bs-color-gray-ddd;
-fx-background-color: -bs-color-gray-bbb;
}

0 comments on commit 542441d

Please sign in to comment.