.topoView {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.viewPanel {
  flex: 1;
  overflow: hidden;
  position: relative;

  &.backgroundImg {
    /* 背景图垂直、水平均居中 */
    background-position: center center;
    /* 背景图不平铺 */
    background-repeat: no-repeat;
    /* 当内容高度大于图片高度时，背景图像的位置相对于viewport固定 */
    background-attachment: fixed;
    /* 让背景图基于容器大小伸缩 */
    background-size: cover;
    /* 设置背景颜色，背景图加载过程中会显示背景色 */
    // background-color: #464646;
  }
}

// 解决拓扑图容器绝对定位z-index>0时浮层和右键菜单不显示问题
:global {
  body>.ht-ui-view {
    z-index: 10000;
  }

  body>div[ht="ht-view ht.ui.ContextMenu"] {
    z-index: 1000;
  }
}