// 暂时先不用css module了
// .scalar_invalid {
//   display: flex;
//   justify-content: center;
//   align-items: center;
//   height: 100%;
//   width: 100%;
//   color: #fff;
//   background-color: #36383f;
// }

.scalar_container {
  pointer-events: all;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;

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

  .scalar_utils {
    position: absolute;
    transform: translate(20px, -1px);
    z-index: 100;
    width: calc(100% - 130px);
    min-width: 76px;
    text-align: right;

    .scalar_title {
      color: #4b4b4b;
      max-width: calc(100% - 110px);
    }
    .scalar_action {
      width: 104px;
    }

    .scalar_tool {
      color: #4b4b4b;
      // opacity: 0.8;
      padding: 0 4px;
      font-size: 16px;
      font-weight: 800;
      i {
        color: currentColor;
        svg {
          width: 16px;
          height: 16px;
        }
      }
      &:hover {
        color: #1664ff;
      }
    }
  }

  .tooltip-table {
    thead {
      tr th {
        padding: 8px 12px;
        text-align: left;
        background-color: #f3f3f3;
        color: #333;
        font-weight: 700;
        border: 1px solid #e3e3e3;
      }
    }
    tbody {
      tr td {
        padding: 8px 12px;
        text-align: left;
        background-color: rgba(255, 255, 255, 1);
        color: #333;
        border: 1px solid #e3e3e3;
      }
    }
  }
}

.scalar_smoothMenu {
  width: max-content;
  min-width: 200px;
  padding: 8px;

  .scalar_smoothDesc {
    color: #4b4b4b;
    font-size: 12px;
    margin-left: 6px;
  }
}

.scalar_echarts-tooltip {
  .ant-tooltip-arrow {
    width: 0px;
    height: 0px;
  }
  .ant-tooltip-inner {
    min-height: 0px;
    padding: 0;
    background: none;
    box-shadow: none;
    color: #1a97c7;
    font-size: 10px;
    margin-top: -16px;
    text-align: right;
    white-space: nowrap;
  }
}

.fullscreen,
.fullscreen-enabled {
  background-color: #fff;
}

.ant-modal-confirm-body .ant-modal-confirm-content {
  width: 100%;
}