mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
follow up for theming
This commit is contained in:
parent
aff872eea0
commit
86ef129c1b
3 changed files with 10 additions and 0 deletions
|
@ -419,6 +419,7 @@ public class TransactionDiagram extends GridPane {
|
|||
if(sum > 0 && !curve.getStyleClass().contains("input-dashed-line")) {
|
||||
long radius = Math.round((double)inputs.get(numUtxos-i).getValue() * (RELATIVE_SIZE_MAX_RADIUS - 1) / sum) + 1;
|
||||
Circle circle = new Circle(curve.getStartX(), curve.getStartY(), radius);
|
||||
circle.getStyleClass().add("size-indicator");
|
||||
group.getChildren().add(circle);
|
||||
}
|
||||
}
|
||||
|
@ -493,6 +494,7 @@ public class TransactionDiagram extends GridPane {
|
|||
if(sum > 0) {
|
||||
long radius = Math.min(RELATIVE_SIZE_MAX_RADIUS, Math.round((double)values.get(numOutputs-i) * (RELATIVE_SIZE_MAX_RADIUS - 1) / sum) + 1);
|
||||
Circle circle = new Circle(curve.getEndX(), curve.getEndY(), radius);
|
||||
circle.getStyleClass().add("size-indicator");
|
||||
group.getChildren().add(circle);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -210,6 +210,10 @@
|
|||
-fx-text-fill: lightgray;
|
||||
}
|
||||
|
||||
.root #transactionDiagram .size-indicator {
|
||||
-fx-fill: lightgray;
|
||||
}
|
||||
|
||||
.root .progress-indicator.progress-timer.warn > .determinate-indicator > .indicator {
|
||||
-fx-background-color: -fx-box-border, radial-gradient(center 50% 50%, radius 50%, #e06c75 70%, derive(-fx-control-inner-background, -9%) 100%);
|
||||
}
|
|
@ -85,6 +85,10 @@
|
|||
-fx-stroke-width: 1px;
|
||||
}
|
||||
|
||||
#transactionDiagram .size-indicator {
|
||||
-fx-fill: -fx-text-base-color;
|
||||
}
|
||||
|
||||
#transactionDiagram .input-dashed-line {
|
||||
-fx-stroke-dash-array: 5px 5px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue