wip style market panel

This commit is contained in:
woodser 2025-05-13 20:20:38 -04:00
parent e9351e0301
commit 48ee2d269c
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF
3 changed files with 32 additions and 2 deletions

View file

@ -1304,6 +1304,35 @@ textfield */
-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 *

View file

@ -632,6 +632,7 @@ public class OfferBookChartView extends ActivatableViewAndModel<VBox, OfferBookC
tableView.setPlaceholder(placeholder);
HBox titleButtonBox = new HBox();
titleButtonBox.getStyleClass().add("offer-table-top");
titleButtonBox.setAlignment(Pos.CENTER);
Label titleLabel = new AutoTooltipLabel();
@ -660,7 +661,7 @@ public class OfferBookChartView extends ActivatableViewAndModel<VBox, OfferBookC
VBox vBox = new VBox();
VBox.setVgrow(tableView, Priority.ALWAYS);
vBox.setPadding(new Insets(0, 0, 0, 0));
vBox.setSpacing(10);
vBox.setSpacing(0);
vBox.setFillWidth(true);
//vBox.setMinHeight(190);
vBox.getChildren().addAll(titleButtonBox, tableView);

View file

@ -47,7 +47,7 @@
-bs-color-background-popup: rgb(31, 31, 31);
-bs-color-background-form-field: rgb(18, 18, 18);
-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-odd: rgb(9, 9, 9);
-bs-color-table-cell-faded: -bs-color-gray-ccc;