mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-16 02:10:39 -04:00
wip style market panel
This commit is contained in:
parent
e9351e0301
commit
48ee2d269c
3 changed files with 32 additions and 2 deletions
|
@ -1304,6 +1304,35 @@ textfield */
|
||||||
-fx-cell-size: 47px;
|
-fx-cell-size: 47px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-view.offer-table {
|
||||||
|
-fx-background-radius: 0;
|
||||||
|
-fx-border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-view.offer-table .column-header.first-column {
|
||||||
|
-fx-background-radius: 0;
|
||||||
|
-fx-border-radius: 50 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-view.offer-table .column-header.last-column {
|
||||||
|
-fx-background-radius: 0;
|
||||||
|
-fx-border-radius: 0 50 0 0;;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-view.offer-table .table-row-cell {
|
||||||
|
-fx-background: -fx-accent;
|
||||||
|
-fx-background-color: -bs-color-gray-6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.offer-table-top {
|
||||||
|
-fx-background-color: -bs-color-background-pane;
|
||||||
|
-fx-padding: 25 20 25 20;
|
||||||
|
-fx-background-radius: 15 15 0 0;
|
||||||
|
-fx-border-radius: 15 15 0 0;
|
||||||
|
-fx-border-width: 0 0 1 0;
|
||||||
|
-fx-border-color: -bs-color-border-form-field;
|
||||||
|
}
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* *
|
* *
|
||||||
* Icons *
|
* Icons *
|
||||||
|
|
|
@ -632,6 +632,7 @@ public class OfferBookChartView extends ActivatableViewAndModel<VBox, OfferBookC
|
||||||
tableView.setPlaceholder(placeholder);
|
tableView.setPlaceholder(placeholder);
|
||||||
|
|
||||||
HBox titleButtonBox = new HBox();
|
HBox titleButtonBox = new HBox();
|
||||||
|
titleButtonBox.getStyleClass().add("offer-table-top");
|
||||||
titleButtonBox.setAlignment(Pos.CENTER);
|
titleButtonBox.setAlignment(Pos.CENTER);
|
||||||
|
|
||||||
Label titleLabel = new AutoTooltipLabel();
|
Label titleLabel = new AutoTooltipLabel();
|
||||||
|
@ -660,7 +661,7 @@ public class OfferBookChartView extends ActivatableViewAndModel<VBox, OfferBookC
|
||||||
VBox vBox = new VBox();
|
VBox vBox = new VBox();
|
||||||
VBox.setVgrow(tableView, Priority.ALWAYS);
|
VBox.setVgrow(tableView, Priority.ALWAYS);
|
||||||
vBox.setPadding(new Insets(0, 0, 0, 0));
|
vBox.setPadding(new Insets(0, 0, 0, 0));
|
||||||
vBox.setSpacing(10);
|
vBox.setSpacing(0);
|
||||||
vBox.setFillWidth(true);
|
vBox.setFillWidth(true);
|
||||||
//vBox.setMinHeight(190);
|
//vBox.setMinHeight(190);
|
||||||
vBox.getChildren().addAll(titleButtonBox, tableView);
|
vBox.getChildren().addAll(titleButtonBox, tableView);
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
-bs-color-background-popup: rgb(31, 31, 31);
|
-bs-color-background-popup: rgb(31, 31, 31);
|
||||||
-bs-color-background-form-field: rgb(18, 18, 18);
|
-bs-color-background-form-field: rgb(18, 18, 18);
|
||||||
-bs-color-border-form-field: rgb(65, 65, 65);
|
-bs-color-border-form-field: rgb(65, 65, 65);
|
||||||
-bs-color-background-pane: rgb(9, 9, 9);
|
-bs-color-background-pane: rgb(15, 15, 15);
|
||||||
-bs-color-background-row-even: rgb(19, 19, 19);
|
-bs-color-background-row-even: rgb(19, 19, 19);
|
||||||
-bs-color-background-row-odd: rgb(9, 9, 9);
|
-bs-color-background-row-odd: rgb(9, 9, 9);
|
||||||
-bs-color-table-cell-faded: -bs-color-gray-ccc;
|
-bs-color-table-cell-faded: -bs-color-gray-ccc;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue