2025-03-18 15:28:33 +00:00
|
|
|
@use '../../../styles/typography';
|
|
|
|
|
|
2025-02-11 15:10:28 +00:00
|
|
|
:host {
|
|
|
|
|
display: block;
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
|
|
svg {
|
2025-03-18 15:28:33 +00:00
|
|
|
@extend %body-medium-01;
|
2025-02-27 13:04:49 +00:00
|
|
|
cursor: grab;
|
|
|
|
|
|
|
|
|
|
&.panning {
|
|
|
|
|
cursor: grabbing;
|
|
|
|
|
}
|
2025-02-11 15:10:28 +00:00
|
|
|
|
|
|
|
|
::ng-deep {
|
|
|
|
|
.node-hidden,
|
|
|
|
|
.link-hidden {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-28 14:16:46 +00:00
|
|
|
.legend {
|
|
|
|
|
background: var(--primary-contrast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.arrow {
|
|
|
|
|
fill: var(--full-contrast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.legend-router-tree {
|
|
|
|
|
fill: var(--full-contrast) !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-11 15:10:28 +00:00
|
|
|
.link {
|
2025-02-28 14:16:46 +00:00
|
|
|
stroke: var(--quaternary-contrast);
|
2025-02-11 15:10:28 +00:00
|
|
|
stroke-width: 3px;
|
|
|
|
|
fill: none;
|
|
|
|
|
|
|
|
|
|
&.highlighted {
|
2025-02-28 14:16:46 +00:00
|
|
|
stroke: var(--blue-02);
|
2025-02-11 15:10:28 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.node {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
2025-02-28 14:16:46 +00:00
|
|
|
.node-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
color: black;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
border-style: solid;
|
|
|
|
|
border-width: 2px;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-11 15:10:28 +00:00
|
|
|
&.highlighted {
|
|
|
|
|
.node-container,
|
|
|
|
|
.node-container:hover {
|
2025-02-28 14:16:46 +00:00
|
|
|
background: var(--blue-02);
|
2025-02-11 15:10:28 +00:00
|
|
|
border-color: white;
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
|
.node-container,
|
|
|
|
|
.node-container:hover {
|
2025-02-28 14:16:46 +00:00
|
|
|
color: var(--blue-02);
|
2025-02-11 15:10:28 +00:00
|
|
|
background: white;
|
|
|
|
|
border-width: 3px;
|
2025-02-28 14:16:46 +00:00
|
|
|
border-color: var(--blue-02);
|
2025-03-18 15:28:33 +00:00
|
|
|
font-weight: 600;
|
2025-02-11 15:10:28 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.node-search {
|
|
|
|
|
border-width: 4px !important;
|
|
|
|
|
border-style: groove !important;
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.node-environment {
|
2025-02-28 14:16:46 +00:00
|
|
|
border: 1px solid var(--red-05);
|
|
|
|
|
background: var(--red-06);
|
2025-02-11 15:10:28 +00:00
|
|
|
|
|
|
|
|
&:hover {
|
2025-02-28 14:16:46 +00:00
|
|
|
background: var(--red-05);
|
2025-02-11 15:10:28 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.node-imported-module {
|
2025-02-28 14:16:46 +00:00
|
|
|
border-color: var(--purple-02);
|
|
|
|
|
background: var(--purple-03);
|
2025-02-11 15:10:28 +00:00
|
|
|
|
|
|
|
|
&:hover {
|
2025-02-28 14:16:46 +00:00
|
|
|
background: var(--purple-02);
|
2025-02-11 15:10:28 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.node-lazy {
|
2025-02-28 14:16:46 +00:00
|
|
|
border-color: var(--blue-02);
|
|
|
|
|
background: var(--blue-03);
|
2025-02-11 15:10:28 +00:00
|
|
|
|
|
|
|
|
&:hover {
|
2025-02-28 14:16:46 +00:00
|
|
|
background: var(--blue-02);
|
2025-02-11 15:10:28 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.node-element {
|
2025-02-28 14:16:46 +00:00
|
|
|
border-color: var(--green-02);
|
|
|
|
|
background: var(--green-03);
|
2025-02-11 15:10:28 +00:00
|
|
|
|
|
|
|
|
&:hover {
|
2025-02-28 14:16:46 +00:00
|
|
|
background: var(--green-02);
|
2025-02-11 15:10:28 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.node-null {
|
2025-02-28 14:16:46 +00:00
|
|
|
border: 1px solid var(--quaternary-contrast);
|
2025-02-11 15:10:28 +00:00
|
|
|
background: white;
|
2025-02-28 14:16:46 +00:00
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
color: black;
|
|
|
|
|
}
|
2025-02-11 15:10:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.node-label {
|
|
|
|
|
color: black;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|