style market chart

This commit is contained in:
woodser 2025-05-13 11:26:55 -04:00
parent 9e5aa481cb
commit fda77b764a
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF
3 changed files with 32 additions and 9 deletions

View file

@ -1950,10 +1950,12 @@ textfield */
#charts .default-color0.chart-series-area-line {
-fx-stroke: -bs-sell;
-fx-stroke-width: 2px;
}
#charts .default-color1.chart-series-area-line, #charts-dao .default-color0.chart-series-area-line {
-fx-stroke: -bs-buy;
-fx-stroke-width: 2px;
}
/* The .chart-line-symbol rules change the color of the legend symbol */
@ -2081,13 +2083,6 @@ textfield */
-fx-stroke-width: 2px;
}
#charts .default-color0.chart-series-area-fill {
-fx-fill: -bs-sell-transparent;
}
#charts .default-color1.chart-series-area-fill, #charts-dao .default-color0.chart-series-area-fill {
-fx-fill: -bs-buy-transparent;
}
.chart-vertical-grid-lines {
-fx-stroke: transparent;
}

View file

@ -586,4 +586,18 @@
.table-view .placeholder {
-fx-background-color: -bs-color-background-table-header;
}
}
#charts .default-color0.chart-series-area-fill {
-fx-fill: linear-gradient(to bottom,
rgba(213, 63, 46, 0.45) 0%,
rgba(213, 63, 46, 0.0) 100%
);
}
#charts .default-color1.chart-series-area-fill {
-fx-fill: linear-gradient(to bottom,
rgba(80, 181, 90, 0.45) 0%,
rgba(80, 181, 90, 0.0) 100%
);
}

View file

@ -146,4 +146,18 @@
/** All inputs have border in light mode. */
.jfx-combo-box, .jfx-text-field, .jfx-text-area, .jfx-password-field {
-fx-border-color: -bs-color-border-form-field;
}
}
#charts .default-color0.chart-series-area-fill {
-fx-fill: linear-gradient(to bottom,
rgba(215, 48, 48, 0.45) 0%,
rgba(215, 48, 48, 0.0) 100%
);
}
#charts .default-color1.chart-series-area-fill {
-fx-fill: linear-gradient(to bottom,
rgba(62, 163, 74, 0.45) 0%,
rgba(62, 163, 74, 0.0) 100%
);
}