From a0f6bec4f977786dd8b530f6b3e48e0d0ea7c087 Mon Sep 17 00:00:00 2001 From: Christoph Atteneder Date: Tue, 24 Jul 2018 16:04:46 +0200 Subject: [PATCH] Adapt offer book styling to match design guide more closely --- desktop/src/main/java/bisq/desktop/bisq.css | 7 ++++--- .../main/market/offerbook/OfferBookChartView.java | 9 ++++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/desktop/src/main/java/bisq/desktop/bisq.css b/desktop/src/main/java/bisq/desktop/bisq.css index 08d04df3da..a4d9fea4ee 100644 --- a/desktop/src/main/java/bisq/desktop/bisq.css +++ b/desktop/src/main/java/bisq/desktop/bisq.css @@ -208,6 +208,7 @@ bg color of non edit textFields: fafafa .jfx-button { -fx-background-color: -bs-new-grey; + -fx-background-radius: 0px; } .jfx-checkbox { @@ -752,9 +753,9 @@ textfield */ /* OfferBook */ .table-title { - -fx-font-weight: bold; - -fx-font-size: 1.231em; - -fx-alignment: center; + -fx-font-size: 1.154em; + -fx-font-weight: normal; + -fx-alignment: left; } /* Offer */ diff --git a/desktop/src/main/java/bisq/desktop/main/market/offerbook/OfferBookChartView.java b/desktop/src/main/java/bisq/desktop/main/market/offerbook/OfferBookChartView.java index fad9f8de31..3a7417a620 100644 --- a/desktop/src/main/java/bisq/desktop/main/market/offerbook/OfferBookChartView.java +++ b/desktop/src/main/java/bisq/desktop/main/market/offerbook/OfferBookChartView.java @@ -66,6 +66,7 @@ import javafx.scene.layout.VBox; import javafx.geometry.Insets; import javafx.geometry.Pos; +import javafx.geometry.Side; import org.fxmisc.easybind.EasyBind; import org.fxmisc.easybind.Subscription; @@ -149,9 +150,10 @@ public class OfferBookChartView extends ActivatableViewAndModel