mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-29 09:07:27 -04:00
hybrid remove caps and sizing
This commit is contained in:
parent
c9290964c3
commit
33db80eae2
3 changed files with 9 additions and 10 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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"));
|
||||||
|
|
|
@ -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"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue