/* echart 特殊处理勿动 */

.mask-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(64, 40, 40, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.fullscreen {
  width: 100%;
  height: 100%;
}

.mask-echart-content {
  padding: 10px;
  background-color: #0f131d;
}

.propagation-box {
  padding: 20px;
}
.propagation-box canvas {
  height: calc(100% - 40px);
}
.propagation-box-fullscreen {
  width: 920px;
  height: 620px;
}
.echart-canvas canvas:hover {
  cursor: default;
}
.echart-box {
  height: 100%;
  width: 100%;
  display: inline-block;
}

.echart-top {
  line-height: 24px;
  padding-right: 20px;
}
.echart-top span {
  color: var(--c-theme-font);
}
.echart-top .btns {
  text-align: right;
  display: inline-block;
}
.echart-top .btns button {
  color: var(--c-theme-icon);
  display: inline-block;
  cursor: pointer;
  margin-left: 10px;
  border: none;
  outline: none;
  background: none;
  padding: 0;
}
.echart-top .btns button i {
  font-size: 18px;
}
.echart-top .btns button i:hover,
.echart-top .btns button i.on {
  color: var(--c-theme);
}

.echart-table-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  display: flex;
  color: var(--c-theme-font);
  font-size: 14px;
  font-weight: bolder;
  background: var(--c-first-media-table-hover);
  text-align: center;
  height: 42px;
  line-height: 42px;
}
.echart-table-header span {
  flex: 1;
  display: inline-block;
  white-space: nowrap;
  word-break: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
}
.echart-table-header span:first-child {
  min-width: 140px;
  flex-shrink: 0;
}

.echart-table-body .tr {
  display: flex;
  cursor: default;
  color: var(--c-theme-font);
  text-align: center;
  height: 42px;
  line-height: 42px;
}
.echart-table-body .tr :hover {
  background-color: var(--c-linear-gradient-1);
}
.echart-table-body .tr .td {
  flex: 1;
  display: block;
  white-space: nowrap;
  word-wrap: break-word;
  text-overflow: ellipsis;
  overflow: hidden;
}
.echart-table-body .tr .td :first-child {
  min-width: 140px;
  flex-shrink: 0;
}

/* echart 特殊处理勿动 */

.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}
