filter boxes generally working

This commit is contained in:
woodser 2025-05-06 16:45:08 -04:00
parent a4bb43a1d5
commit 014dced7b1
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF
3 changed files with 22 additions and 10 deletions

View file

@ -222,7 +222,7 @@
-jfx-focus-color: transparent; -jfx-focus-color: transparent;
-fx-background-color: -bs-background-color; -fx-background-color: -bs-background-color;
-fx-border-color: -bs-background-gray; -fx-border-color: -bs-background-gray;
-fx-padding: 5 14; -fx-padding: 4 14;
} }
.jfx-combo-box .prompt-container { .jfx-combo-box .prompt-container {
@ -1544,9 +1544,9 @@ textfield */
-fx-border-radius: 999; -fx-border-radius: 999;
-fx-focus-color: transparent; -fx-focus-color: transparent;
-fx-faint-focus-color: transparent; -fx-faint-focus-color: transparent;
-fx-padding: 5 14 5 14; -fx-padding: 9 18 9 18;
-fx-border-width: 0; -fx-border-width: 1px;
-fx-border-color: transparent; -fx-border-color: -bs-color-background-button-border;
-fx-background-insets: 0; -fx-background-insets: 0;
} }

View file

@ -188,7 +188,6 @@ abstract public class OfferBookView<R extends GridPane, M extends OfferBookViewM
noDepositOffersToggleButton = new ToggleButton(Res.get("offerbook.filterNoDeposit")); noDepositOffersToggleButton = new ToggleButton(Res.get("offerbook.filterNoDeposit"));
noDepositOffersToggleButton.getStyleClass().add("toggle-button-no-slider"); noDepositOffersToggleButton.getStyleClass().add("toggle-button-no-slider");
noDepositOffersToggleButton.setPrefHeight(27);
Tooltip noDepositOffersTooltip = new Tooltip(Res.get("offerbook.noDepositOffers")); Tooltip noDepositOffersTooltip = new Tooltip(Res.get("offerbook.noDepositOffers"));
Tooltip.install(noDepositOffersToggleButton, noDepositOffersTooltip); Tooltip.install(noDepositOffersToggleButton, noDepositOffersTooltip);

View file

@ -556,16 +556,29 @@
.toggle-button-no-slider { .toggle-button-no-slider {
-fx-background-color: -bs-color-background-button-background; -fx-background-color: -bs-color-background-button-background;
-fx-border-color: -bs-color-background-button-border;
-fx-padding: 4 13 4 13;
-fx-border-width: 1px;
} }
.toggle-button-no-slider:selected { .toggle-button-no-slider:selected {
-fx-text-fill: white; -fx-text-fill: white;
-fx-background-color: -bs-color-gray-ccc; -fx-background-color: -bs-color-gray-ccc;
-fx-padding: 5 14 5 14; -fx-border-color: -bs-color-gray-ccc;
-fx-border-width: 0px; -fx-border-width: 1px;
}
.toggle-button-no-slider:hover {
-fx-cursor: hand;
-fx-background-color: -bs-color-gray-ddd;
-fx-border-color: -bs-color-gray-ddd;
}
.toggle-button-no-slider:selected:hover {
-fx-cursor: hand;
-fx-background-color: -bs-color-gray-3;
-fx-border-color: -bs-color-gray-3;
}
.toggle-button-no-slider:pressed, .toggle-button-no-slider:selected:hover:pressed {
-fx-background-color: -bs-color-gray-bbb;
} }
#image-logo-landscape { #image-logo-landscape {