mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-29 09:48:46 -04:00
make tabs lowercase, slightly bigger font
This commit is contained in:
parent
4a04b7095c
commit
c9290964c3
9 changed files with 36 additions and 35 deletions
|
@ -757,14 +757,15 @@ 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 15;
|
-fx-padding: 11 5;
|
||||||
|
-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: 0.769em;
|
-fx-font-size: .9em;
|
||||||
-fx-font-weight: bold;
|
-fx-font-weight: medium;
|
||||||
-fx-fill: -bs-rd-nav-deselected;
|
-fx-fill: -bs-rd-nav-deselected;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1334,7 +1335,7 @@ textfield */
|
||||||
.jfx-tab-pane .headers-region .tab .tab-container .tab-label {
|
.jfx-tab-pane .headers-region .tab .tab-container .tab-label {
|
||||||
-fx-text-fill: -bs-rd-font-light;
|
-fx-text-fill: -bs-rd-font-light;
|
||||||
-fx-padding: 14;
|
-fx-padding: 14;
|
||||||
-fx-font-size: 0.769em;
|
-fx-font-size: .9em;
|
||||||
-fx-font-weight: normal;
|
-fx-font-weight: normal;
|
||||||
-fx-cursor: hand;
|
-fx-cursor: hand;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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").toUpperCase());
|
ToggleButton marketButton = new NavButton(MarketView.class, Res.get("mainView.menu.market"));
|
||||||
ToggleButton buyButton = new NavButton(BuyOfferView.class, Res.get("mainView.menu.buyXmr").toUpperCase());
|
ToggleButton buyButton = new NavButton(BuyOfferView.class, Res.get("mainView.menu.buyXmr"));
|
||||||
ToggleButton sellButton = new NavButton(SellOfferView.class, Res.get("mainView.menu.sellXmr").toUpperCase());
|
ToggleButton sellButton = new NavButton(SellOfferView.class, Res.get("mainView.menu.sellXmr"));
|
||||||
ToggleButton portfolioButton = new NavButton(PortfolioView.class, Res.get("mainView.menu.portfolio").toUpperCase());
|
ToggleButton portfolioButton = new NavButton(PortfolioView.class, Res.get("mainView.menu.portfolio"));
|
||||||
ToggleButton fundsButton = new NavButton(FundsView.class, Res.get("mainView.menu.funds").toUpperCase());
|
ToggleButton fundsButton = new NavButton(FundsView.class, Res.get("mainView.menu.funds"));
|
||||||
|
|
||||||
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"));
|
||||||
|
|
|
@ -86,12 +86,12 @@ public class AccountView extends ActivatableView<TabPane, Void> {
|
||||||
|
|
||||||
root.setTabClosingPolicy(TabPane.TabClosingPolicy.ALL_TABS);
|
root.setTabClosingPolicy(TabPane.TabClosingPolicy.ALL_TABS);
|
||||||
|
|
||||||
traditionalAccountsTab.setText(Res.get("account.menu.paymentAccount").toUpperCase());
|
traditionalAccountsTab.setText(Res.get("account.menu.paymentAccount"));
|
||||||
cryptoAccountsTab.setText(Res.get("account.menu.altCoinsAccountView").toUpperCase());
|
cryptoAccountsTab.setText(Res.get("account.menu.altCoinsAccountView"));
|
||||||
passwordTab.setText(Res.get("account.menu.password").toUpperCase());
|
passwordTab.setText(Res.get("account.menu.password"));
|
||||||
seedWordsTab.setText(Res.get("account.menu.seedWords").toUpperCase());
|
seedWordsTab.setText(Res.get("account.menu.seedWords"));
|
||||||
//walletInfoTab.setText(Res.get("account.menu.walletInfo").toUpperCase());
|
//walletInfoTab.setText(Res.get("account.menu.walletInfo"));
|
||||||
backupTab.setText(Res.get("account.menu.backup").toUpperCase());
|
backupTab.setText(Res.get("account.menu.backup"));
|
||||||
|
|
||||||
navigationListener = (viewPath, data) -> {
|
navigationListener = (viewPath, data) -> {
|
||||||
if (viewPath.size() == 3 && viewPath.indexOf(AccountView.class) == 1) {
|
if (viewPath.size() == 3 && viewPath.indexOf(AccountView.class) == 1) {
|
||||||
|
|
|
@ -55,9 +55,9 @@ public class FundsView extends ActivatableView<TabPane, Void> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void initialize() {
|
public void initialize() {
|
||||||
depositTab.setText(Res.get("funds.tab.deposit").toUpperCase());
|
depositTab.setText(Res.get("funds.tab.deposit"));
|
||||||
withdrawalTab.setText(Res.get("funds.tab.withdrawal").toUpperCase());
|
withdrawalTab.setText(Res.get("funds.tab.withdrawal"));
|
||||||
transactionsTab.setText(Res.get("funds.tab.transactions").toUpperCase());
|
transactionsTab.setText(Res.get("funds.tab.transactions"));
|
||||||
|
|
||||||
navigationListener = (viewPath, data) -> {
|
navigationListener = (viewPath, data) -> {
|
||||||
if (viewPath.size() == 3 && viewPath.indexOf(FundsView.class) == 1)
|
if (viewPath.size() == 3 && viewPath.indexOf(FundsView.class) == 1)
|
||||||
|
|
|
@ -88,10 +88,10 @@ public class MarketView extends ActivatableView<TabPane, Void> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void initialize() {
|
public void initialize() {
|
||||||
offerBookTab.setText(Res.get("market.tabs.offerBook").toUpperCase());
|
offerBookTab.setText(Res.get("market.tabs.offerBook"));
|
||||||
spreadTab.setText(Res.get("market.tabs.spreadCurrency").toUpperCase());
|
spreadTab.setText(Res.get("market.tabs.spreadCurrency"));
|
||||||
spreadTabPaymentMethod.setText(Res.get("market.tabs.spreadPayment").toUpperCase());
|
spreadTabPaymentMethod.setText(Res.get("market.tabs.spreadPayment"));
|
||||||
tradesTab.setText(Res.get("market.tabs.trades").toUpperCase());
|
tradesTab.setText(Res.get("market.tabs.trades"));
|
||||||
|
|
||||||
navigationListener = (viewPath, data) -> {
|
navigationListener = (viewPath, data) -> {
|
||||||
if (viewPath.size() == 3 && viewPath.indexOf(MarketView.class) == 1)
|
if (viewPath.size() == 3 && viewPath.indexOf(MarketView.class) == 1)
|
||||||
|
|
|
@ -220,14 +220,14 @@ 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.4em;");
|
offerLabel.setStyle("-fx-font-size: 1.2em;");
|
||||||
labelTab.setGraphic(offerLabel);
|
labelTab.setGraphic(offerLabel);
|
||||||
|
|
||||||
fiatOfferBookTab = new Tab(Res.get("shared.fiat").toUpperCase());
|
fiatOfferBookTab = new Tab(Res.get("shared.fiat"));
|
||||||
fiatOfferBookTab.setClosable(false);
|
fiatOfferBookTab.setClosable(false);
|
||||||
cryptoOfferBookTab = new Tab(Res.get("shared.crypto").toUpperCase());
|
cryptoOfferBookTab = new Tab(Res.get("shared.crypto"));
|
||||||
cryptoOfferBookTab.setClosable(false);
|
cryptoOfferBookTab.setClosable(false);
|
||||||
otherOfferBookTab = new Tab(Res.get("shared.other").toUpperCase());
|
otherOfferBookTab = new Tab(Res.get("shared.other"));
|
||||||
otherOfferBookTab.setClosable(false);
|
otherOfferBookTab.setClosable(false);
|
||||||
tabPane.getTabs().addAll(labelTab, fiatOfferBookTab, cryptoOfferBookTab, otherOfferBookTab);
|
tabPane.getTabs().addAll(labelTab, fiatOfferBookTab, cryptoOfferBookTab, otherOfferBookTab);
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,9 +80,9 @@ public class PortfolioView extends ActivatableView<TabPane, Void> {
|
||||||
root.setTabClosingPolicy(TabPane.TabClosingPolicy.ALL_TABS);
|
root.setTabClosingPolicy(TabPane.TabClosingPolicy.ALL_TABS);
|
||||||
failedTradesTab.setClosable(false);
|
failedTradesTab.setClosable(false);
|
||||||
|
|
||||||
openOffersTab.setText(Res.get("portfolio.tab.openOffers").toUpperCase());
|
openOffersTab.setText(Res.get("portfolio.tab.openOffers"));
|
||||||
pendingTradesTab.setText(Res.get("portfolio.tab.pendingTrades").toUpperCase());
|
pendingTradesTab.setText(Res.get("portfolio.tab.pendingTrades"));
|
||||||
closedTradesTab.setText(Res.get("portfolio.tab.history").toUpperCase());
|
closedTradesTab.setText(Res.get("portfolio.tab.history"));
|
||||||
|
|
||||||
navigationListener = (viewPath, data) -> {
|
navigationListener = (viewPath, data) -> {
|
||||||
if (viewPath.size() == 3 && viewPath.indexOf(PortfolioView.class) == 1)
|
if (viewPath.size() == 3 && viewPath.indexOf(PortfolioView.class) == 1)
|
||||||
|
|
|
@ -56,9 +56,9 @@ public class SettingsView extends ActivatableView<TabPane, Void> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void initialize() {
|
public void initialize() {
|
||||||
preferencesTab.setText(Res.get("settings.tab.preferences").toUpperCase());
|
preferencesTab.setText(Res.get("settings.tab.preferences"));
|
||||||
networkTab.setText(Res.get("settings.tab.network").toUpperCase());
|
networkTab.setText(Res.get("settings.tab.network"));
|
||||||
aboutTab.setText(Res.get("settings.tab.about").toUpperCase());
|
aboutTab.setText(Res.get("settings.tab.about"));
|
||||||
|
|
||||||
navigationListener = (viewPath, data) -> {
|
navigationListener = (viewPath, data) -> {
|
||||||
if (viewPath.size() == 3 && viewPath.indexOf(SettingsView.class) == 1)
|
if (viewPath.size() == 3 && viewPath.indexOf(SettingsView.class) == 1)
|
||||||
|
|
|
@ -139,9 +139,9 @@ public class SupportView extends ActivatableView<TabPane, Void> {
|
||||||
// Has to be called before loadView
|
// Has to be called before loadView
|
||||||
updateAgentTabs();
|
updateAgentTabs();
|
||||||
|
|
||||||
tradersMediationDisputesTab.setText(Res.get("support.tab.mediation.support").toUpperCase());
|
tradersMediationDisputesTab.setText(Res.get("support.tab.mediation.support"));
|
||||||
tradersRefundDisputesTab.setText(Res.get("support.tab.refund.support").toUpperCase());
|
tradersRefundDisputesTab.setText(Res.get("support.tab.refund.support"));
|
||||||
tradersArbitrationDisputesTab.setText(Res.get("support.tab.arbitration.support").toUpperCase());
|
tradersArbitrationDisputesTab.setText(Res.get("support.tab.arbitration.support"));
|
||||||
|
|
||||||
navigationListener = (viewPath, data) -> {
|
navigationListener = (viewPath, data) -> {
|
||||||
if (viewPath.size() == 3 && viewPath.indexOf(SupportView.class) == 1)
|
if (viewPath.size() == 3 && viewPath.indexOf(SupportView.class) == 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue