hybrid remove caps and sizing

This commit is contained in:
woodser 2025-05-01 11:22:47 -04:00
parent c9290964c3
commit 33db80eae2
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF
3 changed files with 9 additions and 10 deletions

View file

@ -757,15 +757,14 @@ tree-table-view:focused {
.nav-button { .nav-button {
-fx-cursor: hand; -fx-cursor: hand;
-fx-background-color: transparent; -fx-background-color: transparent;
-fx-padding: 11 5; -fx-padding: 11 15;
-fx-min-width: 70;
-fx-background-radius: 999; -fx-background-radius: 999;
-fx-border-radius: 999; -fx-border-radius: 999;
} }
.nav-button .text { .nav-button .text {
-fx-font-size: .9em; -fx-font-size: 0.769em;
-fx-font-weight: medium; -fx-font-weight: bold;
-fx-fill: -bs-rd-nav-deselected; -fx-fill: -bs-rd-nav-deselected;
} }

View file

@ -165,11 +165,11 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
if (LanguageUtil.isDefaultLanguageRTL()) if (LanguageUtil.isDefaultLanguageRTL())
MainView.rootContainer.setNodeOrientation(NodeOrientation.RIGHT_TO_LEFT); MainView.rootContainer.setNodeOrientation(NodeOrientation.RIGHT_TO_LEFT);
ToggleButton marketButton = new NavButton(MarketView.class, Res.get("mainView.menu.market")); ToggleButton marketButton = new NavButton(MarketView.class, Res.get("mainView.menu.market").toUpperCase());
ToggleButton buyButton = new NavButton(BuyOfferView.class, Res.get("mainView.menu.buyXmr")); ToggleButton buyButton = new NavButton(BuyOfferView.class, Res.get("mainView.menu.buyXmr").toUpperCase());
ToggleButton sellButton = new NavButton(SellOfferView.class, Res.get("mainView.menu.sellXmr")); ToggleButton sellButton = new NavButton(SellOfferView.class, Res.get("mainView.menu.sellXmr").toUpperCase());
ToggleButton portfolioButton = new NavButton(PortfolioView.class, Res.get("mainView.menu.portfolio")); ToggleButton portfolioButton = new NavButton(PortfolioView.class, Res.get("mainView.menu.portfolio").toUpperCase());
ToggleButton fundsButton = new NavButton(FundsView.class, Res.get("mainView.menu.funds")); ToggleButton fundsButton = new NavButton(FundsView.class, Res.get("mainView.menu.funds").toUpperCase());
ToggleButton supportButton = new NavButton(SupportView.class, Res.get("mainView.menu.support")); ToggleButton supportButton = new NavButton(SupportView.class, Res.get("mainView.menu.support"));
ToggleButton accountButton = new NavButton(AccountView.class, Res.get("mainView.menu.account")); ToggleButton accountButton = new NavButton(AccountView.class, Res.get("mainView.menu.account"));

View file

@ -220,7 +220,7 @@ public abstract class OfferView extends ActivatableView<TabPane, Void> {
labelTab.setClosable(false); labelTab.setClosable(false);
Label offerLabel = new Label(getOfferLabel()); // use overlay for label for custom formatting Label offerLabel = new Label(getOfferLabel()); // use overlay for label for custom formatting
offerLabel.getStyleClass().add("titled-group-bg-label"); offerLabel.getStyleClass().add("titled-group-bg-label");
offerLabel.setStyle("-fx-font-size: 1.2em;"); offerLabel.setStyle("-fx-font-size: 1.1em;");
labelTab.setGraphic(offerLabel); labelTab.setGraphic(offerLabel);
fiatOfferBookTab = new Tab(Res.get("shared.fiat")); fiatOfferBookTab = new Tab(Res.get("shared.fiat"));