Skip to content

Commit f0799cf

Browse files
authored
Custom stylesheet fixes (#687)
Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
1 parent 38b0ca3 commit f0799cf

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
.nad-branch-edges .nad-edge-path, .nad-3wt-edges .nad-edge-path {stroke: grey; stroke-width: 5; fill: none}
2-
.nad-branch-edges .nad-winding, .nad-3wt-nodes .nad-winding {stroke: grey; stroke-width: 5; fill: none}
1+
.nad-branch-edges .nad-edge-path, .nad-3wt-edges .nad-edge-path {stroke: var(--nad-vl-color, grey); stroke-width: 5; fill: none}
2+
.nad-branch-edges .nad-winding, .nad-3wt-nodes .nad-winding {stroke: var(--nad-vl-color, grey); stroke-width: 5; fill: none}
33
.nad-text-edges {stroke: black; stroke-width: 3; stroke-dasharray: 6,7}
4-
.nad-vl-nodes .nad-busnode {fill: lightgrey}
5-
.nad-vl-nodes circle.nad-unknown-busnode {stroke: #808080; stroke-width: 5; stroke-dasharray: 5,5; fill: none}
4+
.nad-vl-nodes .nad-busnode {fill: var(--nad-vl-color, lightgrey)}
5+
.nad-vl-nodes circle.nad-unknown-busnode {stroke: var(--nad-vl-color, #808080); stroke-width: 5; stroke-dasharray: 5,5; fill: none}
66
.nad-hvdc-edge polyline.nad-hvdc {stroke: grey; stroke-width: 40}
77
.nad-branch-edges .nad-tie-line-edge .nad-edge-path {stroke-width: 7}
88
.nad-pst-arrow {stroke: #6a6a6a; stroke-width: 4; stroke-linecap: round; fill: none}
@@ -12,5 +12,5 @@ path.nad-arrow-in:not(.nad-state-in .nad-arrow-in) {visibility: hidden}
1212
.nad-text-nodes {font: 25px serif; fill: black; dominant-baseline: central}
1313
.nad-text-nodes foreignObject {overflow: visible; color: black}
1414
.nad-label-box {background-color: #6c6c6c20; width: max-content; padding: 10px; border-radius: 10px;}
15-
.nad-legend-square {width: 20px; height: 20px; background: lightgrey;}
15+
.nad-legend-square {width: 20px; height: 20px; background: var(--nad-vl-color, lightgrey);}
1616
.nad-edge-infos text, .nad-edge-label text {font: 20px serif; dominant-baseline:middle; stroke: #FFFFFFAA; stroke-width: 10; stroke-linejoin:round; paint-order: stroke}

network-area-diagram/src/test/resources/custom_style_provider.svg

Lines changed: 5 additions & 5 deletions
Loading

network-area-diagram/src/test/resources/custom_style_provider_empty.svg

Lines changed: 5 additions & 5 deletions
Loading

0 commit comments

Comments
 (0)