2020-10-10 19:33:48 +00:00
|
|
|
.topo-viz-node {
|
2020-09-04 07:43:27 +00:00
|
|
|
display: block;
|
|
|
|
|
2020-10-10 19:20:41 +00:00
|
|
|
.label {
|
|
|
|
font-weight: $weight-normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chart {
|
2020-09-04 07:43:27 +00:00
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
overflow: visible;
|
|
|
|
|
|
|
|
.node-background {
|
|
|
|
fill: $white-ter;
|
|
|
|
stroke-width: 1;
|
|
|
|
stroke: $grey-lighter;
|
2020-09-29 23:46:56 +00:00
|
|
|
|
|
|
|
&.is-interactive:hover {
|
|
|
|
fill: $white;
|
|
|
|
stroke: $grey-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-selected,
|
|
|
|
&.is-selected:hover {
|
|
|
|
fill: $white;
|
|
|
|
stroke: $grey;
|
|
|
|
}
|
2020-09-04 07:43:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.dimension-background {
|
|
|
|
fill: lighten($grey-lighter, 5%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dimensions.is-active {
|
|
|
|
.bar {
|
|
|
|
opacity: 0.2;
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-11 02:29:25 +00:00
|
|
|
|
2020-09-11 04:17:09 +00:00
|
|
|
.bar {
|
|
|
|
cursor: pointer;
|
|
|
|
|
2020-10-22 17:51:45 +00:00
|
|
|
&.is-selected,
|
|
|
|
&.is-selected .layer-0 {
|
2020-09-11 04:17:09 +00:00
|
|
|
stroke-width: 1px;
|
|
|
|
stroke: $blue;
|
|
|
|
fill: $blue-light;
|
|
|
|
}
|
2020-09-11 02:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.label {
|
|
|
|
text-anchor: middle;
|
2021-01-26 16:56:52 +00:00
|
|
|
dominant-baseline: central;
|
2020-09-11 02:29:25 +00:00
|
|
|
font-weight: $weight-normal;
|
|
|
|
fill: $grey;
|
2020-09-29 23:46:56 +00:00
|
|
|
pointer-events: none;
|
2020-09-11 02:29:25 +00:00
|
|
|
}
|
2020-09-04 07:43:27 +00:00
|
|
|
}
|
|
|
|
|
2020-10-10 19:20:41 +00:00
|
|
|
.empty-text {
|
|
|
|
fill: $red;
|
|
|
|
transform: translate(50%, 50%);
|
2020-10-15 18:03:26 +00:00
|
|
|
|
|
|
|
text {
|
|
|
|
text-anchor: middle;
|
2021-01-26 16:56:52 +00:00
|
|
|
dominant-baseline: central;
|
2020-10-15 18:03:26 +00:00
|
|
|
}
|
2020-10-10 19:20:41 +00:00
|
|
|
}
|
|
|
|
|
2020-09-04 07:43:27 +00:00
|
|
|
& + .topo-viz-node {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-empty {
|
|
|
|
.node-background {
|
|
|
|
stroke: $red;
|
|
|
|
stroke-width: 2;
|
|
|
|
fill: $white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dimension-background {
|
|
|
|
fill: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-11 07:56:14 +00:00
|
|
|
|
2020-10-10 19:33:48 +00:00
|
|
|
.flex-masonry-columns-2 > .flex-masonry-item > .topo-viz-node .chart,
|
|
|
|
.flex-masonry-columns-2 > .flex-masonry-item > .topo-viz-node .label {
|
2020-09-29 21:23:58 +00:00
|
|
|
width: calc(100% - 0.75em);
|
|
|
|
}
|