|
7 | 7 |
|
8 | 8 | from power_grid_model_ds._core.visualizer.layout.colors import CYTO_COLORS |
9 | 9 |
|
| 10 | +_BOOTSTRAP_ARROW_ICON_CLASS = "fas fa-arrow-right-long" |
10 | 11 | _MARGIN = "0 10px" |
11 | 12 |
|
12 | 13 | LEGENDA_STYLE = {"margin": _MARGIN, "text-shadow": "0 0 5px #000", "justify-content": "center"} |
|
24 | 25 | dbc.Tooltip("Node", target="node-icon", placement="bottom"), |
25 | 26 | html.I(className="fas fa-diamond", id="substation-icon", style=_SUBSTATION_ICON_STYLE), |
26 | 27 | dbc.Tooltip("Substation", target="substation-icon", placement="bottom"), |
27 | | - html.I(className="fas fa-arrow-right-long", id="line-icon", style=_LINE_ICON_STYLE), |
| 28 | + html.I(className=_BOOTSTRAP_ARROW_ICON_CLASS, id="line-icon", style=_LINE_ICON_STYLE), |
28 | 29 | dbc.Tooltip("Line", target="line-icon", placement="bottom"), |
29 | | - html.I(className="fas fa-arrow-right-long", id="transformer-icon", style=_TRANSFORMER_ICON_STYLE), |
| 30 | + html.I(className=_BOOTSTRAP_ARROW_ICON_CLASS, id="transformer-icon", style=_TRANSFORMER_ICON_STYLE), |
30 | 31 | dbc.Tooltip("Transformer", target="transformer-icon", placement="bottom"), |
31 | | - html.I(className="fas fa-arrow-right-long", id="link-icon", style=_LINK_ICON_STYLE), |
| 32 | + html.I(className=_BOOTSTRAP_ARROW_ICON_CLASS, id="link-icon", style=_LINK_ICON_STYLE), |
32 | 33 | dbc.Tooltip("Link", target="link-icon", placement="bottom"), |
33 | 34 | html.I(className="fas fa-ellipsis", id="open-branch-icon", style=_OPEN_BRANCH_ICON_STYLE), |
34 | 35 | dbc.Tooltip("Open Branch", target="open-branch-icon", placement="bottom"), |
|
0 commit comments