github.com/hernad/nomad@v1.6.112/ui/app/styles/charts/topo-viz.scss (about) 1 /** 2 * Copyright (c) HashiCorp, Inc. 3 * SPDX-License-Identifier: MPL-2.0 4 */ 5 6 .topo-viz { 7 .topo-viz-datacenters { 8 display: flex; 9 flex-direction: column; 10 flex-wrap: wrap; 11 align-content: space-between; 12 margin-top: -0.75em; 13 14 .topo-viz-datacenter { 15 margin-top: 0.75em; 16 margin-bottom: 0.75em; 17 width: calc(50% - 0.75em); 18 } 19 } 20 21 &.is-single-column .topo-viz-datacenter { 22 width: 100%; 23 } 24 25 .topo-viz-edges { 26 width: 100%; 27 height: 100%; 28 position: absolute; 29 left: 0; 30 top: 0; 31 pointer-events: none; 32 overflow: visible; 33 34 .edge { 35 stroke-width: 2; 36 stroke: $blue; 37 fill: none; 38 } 39 } 40 }