From b96bb7d9f2f0f03c0fa75d9615373bd035d53b5b Mon Sep 17 00:00:00 2001 From: woodser Date: Fri, 20 Dec 2024 13:44:00 -0500 Subject: [PATCH] increase contrast of filter toggles and remove bottom highlight --- .../haveno/desktop/main/offer/offerbook/OfferBookView.java | 2 +- desktop/src/main/java/haveno/desktop/theme-dark.css | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/desktop/src/main/java/haveno/desktop/main/offer/offerbook/OfferBookView.java b/desktop/src/main/java/haveno/desktop/main/offer/offerbook/OfferBookView.java index d4919ac84f..3bcb3cb03f 100644 --- a/desktop/src/main/java/haveno/desktop/main/offer/offerbook/OfferBookView.java +++ b/desktop/src/main/java/haveno/desktop/main/offer/offerbook/OfferBookView.java @@ -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")); diff --git a/desktop/src/main/java/haveno/desktop/theme-dark.css b/desktop/src/main/java/haveno/desktop/theme-dark.css index 37903692ce..d045e3b5b0 100644 --- a/desktop/src/main/java/haveno/desktop/theme-dark.css +++ b/desktop/src/main/java/haveno/desktop/theme-dark.css @@ -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; }