make tabs lowercase, slightly bigger font

This commit is contained in:
woodser 2025-05-01 10:34:07 -04:00
parent 4a04b7095c
commit c9290964c3
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF
9 changed files with 36 additions and 35 deletions

View file

@ -757,14 +757,15 @@ tree-table-view:focused {
.nav-button {
-fx-cursor: hand;
-fx-background-color: transparent;
-fx-padding: 11 15;
-fx-padding: 11 5;
-fx-min-width: 70;
-fx-background-radius: 999;
-fx-border-radius: 999;
}
.nav-button .text {
-fx-font-size: 0.769em;
-fx-font-weight: bold;
-fx-font-size: .9em;
-fx-font-weight: medium;
-fx-fill: -bs-rd-nav-deselected;
}
@ -1334,7 +1335,7 @@ textfield */
.jfx-tab-pane .headers-region .tab .tab-container .tab-label {
-fx-text-fill: -bs-rd-font-light;
-fx-padding: 14;
-fx-font-size: 0.769em;
-fx-font-size: .9em;
-fx-font-weight: normal;
-fx-cursor: hand;
}

View file

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

View file

@ -86,12 +86,12 @@ public class AccountView extends ActivatableView<TabPane, Void> {
root.setTabClosingPolicy(TabPane.TabClosingPolicy.ALL_TABS);
traditionalAccountsTab.setText(Res.get("account.menu.paymentAccount").toUpperCase());
cryptoAccountsTab.setText(Res.get("account.menu.altCoinsAccountView").toUpperCase());
passwordTab.setText(Res.get("account.menu.password").toUpperCase());
seedWordsTab.setText(Res.get("account.menu.seedWords").toUpperCase());
//walletInfoTab.setText(Res.get("account.menu.walletInfo").toUpperCase());
backupTab.setText(Res.get("account.menu.backup").toUpperCase());
traditionalAccountsTab.setText(Res.get("account.menu.paymentAccount"));
cryptoAccountsTab.setText(Res.get("account.menu.altCoinsAccountView"));
passwordTab.setText(Res.get("account.menu.password"));
seedWordsTab.setText(Res.get("account.menu.seedWords"));
//walletInfoTab.setText(Res.get("account.menu.walletInfo"));
backupTab.setText(Res.get("account.menu.backup"));
navigationListener = (viewPath, data) -> {
if (viewPath.size() == 3 && viewPath.indexOf(AccountView.class) == 1) {

View file

@ -55,9 +55,9 @@ public class FundsView extends ActivatableView<TabPane, Void> {
@Override
public void initialize() {
depositTab.setText(Res.get("funds.tab.deposit").toUpperCase());
withdrawalTab.setText(Res.get("funds.tab.withdrawal").toUpperCase());
transactionsTab.setText(Res.get("funds.tab.transactions").toUpperCase());
depositTab.setText(Res.get("funds.tab.deposit"));
withdrawalTab.setText(Res.get("funds.tab.withdrawal"));
transactionsTab.setText(Res.get("funds.tab.transactions"));
navigationListener = (viewPath, data) -> {
if (viewPath.size() == 3 && viewPath.indexOf(FundsView.class) == 1)

View file

@ -88,10 +88,10 @@ public class MarketView extends ActivatableView<TabPane, Void> {
@Override
public void initialize() {
offerBookTab.setText(Res.get("market.tabs.offerBook").toUpperCase());
spreadTab.setText(Res.get("market.tabs.spreadCurrency").toUpperCase());
spreadTabPaymentMethod.setText(Res.get("market.tabs.spreadPayment").toUpperCase());
tradesTab.setText(Res.get("market.tabs.trades").toUpperCase());
offerBookTab.setText(Res.get("market.tabs.offerBook"));
spreadTab.setText(Res.get("market.tabs.spreadCurrency"));
spreadTabPaymentMethod.setText(Res.get("market.tabs.spreadPayment"));
tradesTab.setText(Res.get("market.tabs.trades"));
navigationListener = (viewPath, data) -> {
if (viewPath.size() == 3 && viewPath.indexOf(MarketView.class) == 1)

View file

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

View file

@ -80,9 +80,9 @@ public class PortfolioView extends ActivatableView<TabPane, Void> {
root.setTabClosingPolicy(TabPane.TabClosingPolicy.ALL_TABS);
failedTradesTab.setClosable(false);
openOffersTab.setText(Res.get("portfolio.tab.openOffers").toUpperCase());
pendingTradesTab.setText(Res.get("portfolio.tab.pendingTrades").toUpperCase());
closedTradesTab.setText(Res.get("portfolio.tab.history").toUpperCase());
openOffersTab.setText(Res.get("portfolio.tab.openOffers"));
pendingTradesTab.setText(Res.get("portfolio.tab.pendingTrades"));
closedTradesTab.setText(Res.get("portfolio.tab.history"));
navigationListener = (viewPath, data) -> {
if (viewPath.size() == 3 && viewPath.indexOf(PortfolioView.class) == 1)

View file

@ -56,9 +56,9 @@ public class SettingsView extends ActivatableView<TabPane, Void> {
@Override
public void initialize() {
preferencesTab.setText(Res.get("settings.tab.preferences").toUpperCase());
networkTab.setText(Res.get("settings.tab.network").toUpperCase());
aboutTab.setText(Res.get("settings.tab.about").toUpperCase());
preferencesTab.setText(Res.get("settings.tab.preferences"));
networkTab.setText(Res.get("settings.tab.network"));
aboutTab.setText(Res.get("settings.tab.about"));
navigationListener = (viewPath, data) -> {
if (viewPath.size() == 3 && viewPath.indexOf(SettingsView.class) == 1)

View file

@ -139,9 +139,9 @@ public class SupportView extends ActivatableView<TabPane, Void> {
// Has to be called before loadView
updateAgentTabs();
tradersMediationDisputesTab.setText(Res.get("support.tab.mediation.support").toUpperCase());
tradersRefundDisputesTab.setText(Res.get("support.tab.refund.support").toUpperCase());
tradersArbitrationDisputesTab.setText(Res.get("support.tab.arbitration.support").toUpperCase());
tradersMediationDisputesTab.setText(Res.get("support.tab.mediation.support"));
tradersRefundDisputesTab.setText(Res.get("support.tab.refund.support"));
tradersArbitrationDisputesTab.setText(Res.get("support.tab.arbitration.support"));
navigationListener = (viewPath, data) -> {
if (viewPath.size() == 3 && viewPath.indexOf(SupportView.class) == 1)