.event-mi-table {
  margin-top: 16px;
  &-loading {
    min-height: 300px;
  }
  &-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    margin-bottom: -1px;
    padding: 0 12px;
    line-height: 50px;
    background: #fafafb;
    border: 1px solid #e6e7ea;
    border-radius: 8px 8px 0 0;
    > :nth-child(2) {
      display: flex;
      > :nth-child(1) {
        margin-right: 16px;
      }
      div {
        height: 32px;
        padding: 0 16px;
        line-height: 32px;
        background: #fff;
        border: 1px solid #f2f3f4;
        border-radius: 4px;
        cursor: pointer;
        .xiazai1 {
          margin-right: 4px;
          font-size: 18px !important;
          vertical-align: -2px;
        }
      }
      div:hover {
        color: #165dff;
        background: #e8efff;
        border: 1px solid #165dff;
      }
      div:active {
        color: #1454e5;
        background: #e8efff;
        border: 1px solid #1454e5;
      }
    }
  }
  .ant-table {
    border-radius: 8px;
  }
  .sourcepanel-table-header {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    .ant-table {
      max-height: none;
    }
  }
  .ant-pagination {
    margin-top: 24px !important;
  }
  .ant-table
    .ant-table-thead
    .ant-table-cell.ant-table-column-has-sorters
    .ant-table-column-sorters {
    justify-content: flex-end !important;
  }
  .ant-table-cell-with-append {
    padding-left: 20px;
    .ant-table-row-expand-icon {
      position: absolute;
      left: 0;
      margin-top: 0;
    }
  }
  .tooltip-name-box {
    display: flex;
    &-market {
      // max-width: calc(100% - 20px);
      margin-right: 8px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      cursor: pointer;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      .shoucang {
        color: #fd9f41;
        font-size: 16px !important;
      }
      .notshoucang {
        opacity: 0;
      }
    }

    .fuzhi1 {
      display: none;
      font-size: 16px !important;
    }
    .fuzhi1:hover {
      color: #165dff;
    }
  }
  .tooltip-name-box:hover {
    .fuzhi1 {
      display: block;
    }
  }

  &-table-empty {
    img {
      width: 50px !important;
      height: auto;
      margin-top: 30px;
      margin-bottom: 10px;
    }
    p {
      color: rgba(0, 0, 0, 0.25);
    }
  }

  &-chart-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    &-tooltip {
      width: 220px;
      margin-bottom: 8px;
      color: #67727f;
      font-size: 12px;
    }
  }
}
.event-table-sql-modal {
  .ant-modal {
    width: 720px !important;
  }
  .ant-modal-header {
    position: relative;
    z-index: 1;
    height: 82px;
    background: transparent;
  }
  .ant-modal-body {
    padding: 0 24px 24px 24px;
  }
  .ant-modal-close-x {
    margin-top: 13px;
    margin-right: 8px;
  }
  img {
    width: 100%;
  }
  .qingchu {
    font-weight: 500;
    font-size: 22px !important;
  }
  .modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
  }
  pre {
    margin-bottom: 0;
  }
  .hljs {
    height: 400px;
    padding: 16px;
    padding-bottom: 0;
    background: #fafafb;
    border-radius: 8px;
  }
  .copy-box {
    position: absolute;
    top: 98px;
    right: 40px;
    padding: 0 8px;
    background: #f2f3f4;
    border-radius: 4px;
    .fuzhi1 {
      margin-right: 8px;
    }
  }
  .copy-box:hover {
    color: #165dff;
    background: #e8efff;
  }
  .copy-box:active {
    color: #1454e5;
    background: #e8efff;
  }
}
