//表格样式
.tableWrapper {
  .titleWrapper {
    display: flex;
    align-items: center;

    & > span:first-child {
      flex: 1;
      display: inline-block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    & > span.titleIcon {
      margin-left: 4px;
      display: none;

      & > span {
        cursor: pointer;
        color: #5d9cec;
      }

    }
  }

  .contentSpan {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .contentTitle {
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      word-break: keep-all;
    }

    :global {
      span.anticon-lock {
        color: #5d9cec;
      }
    }
  }

  .titleWrapper:hover {
    & > span.titleIcon {
      display: block;
    }
  }

  .optWrapper {
    .mr10 {
      margin-right: 10px;
    }
  }

  .customSpan {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;

    span.title {
      flex: 1;
      margin-right: 4px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    :global {
      .ant-tag {
        margin-right: 0;
      }
    }
  }

  :global {
    .ant-btn-link, .ant-dropdown-trigger {
      font-size: 12px;
      color: #333;
    }

    .ant-btn-link:hover {
      color: #00a9ff;

      span {
        text-decoration: underline;
      }
    }

    .ant-table-tbody > tr.ant-table-row:hover > td {
      background: #e9f7ff;
    }

    .anticon-more {
      font-size: 16px;
      cursor: pointer;
    }

    .ant-spin-container {
      .ant-pagination {
        font-size: 12px;
        align-items: center;
        margin-right: 8px;

        .ant-pagination-item, .ant-pagination-prev, .ant-pagination-next {
          min-width: 28px;
          height: 28px;
          line-height: 28px;
          border-radius: 6px;

          & > button {
            border-radius: 6px;
          }
        }

        .ant-pagination-item-active {
          background: var(--ant-primary-color);
          border: none;

          & > a {
            color: #FFF;
          }
        }

        .ant-pagination-options {
          .ant-select {
            font-size: 12px;

            .ant-select-selector {
              height: 28px;
              border-radius: 6px;

              .ant-select-selection-search-input {
                height: 26px;
                line-height: 26px;
              }

              .ant-select-selection-item {
                line-height: 26px;
              }
            }

            .ant-select-item {
              font-size: 12px;
            }
          }

          .ant-pagination-options-quick-jumper {
            height: 28px;
            line-height: 28px;

            & > input {
              border-radius: 6px;
              height: 28px;
            }
          }
        }
      }
    }

    .ant-table-thead > tr > th {
      background-color: #f7fbfe;
    }

    th, td {
      font-size: 12px
    }
  }
}

.moreIconWrapper {
  :global {
    .ant-btn-link {
      font-size: 12px;
      color: #333;
    }

    .ant-btn-link:hover {
      color: #00a9ff;

      span {
        text-decoration: underline;
      }
    }

    .ant-popover-inner {
      min-width: 106px
    }

    .ant-popover-inner-content {
      padding: 0;

      .ant-menu {
        .ant-menu-item {
          border-right: none;
          height: 30px;
          line-height: 30px;
          text-align: center;
          padding: 0;
          font-size: 12px;
        }
      }
    }
  }
}

:global {
  .rankMapWrapper {
    .ant-table-thead > tr > th {
      background: #ED7D31;
    }
  }

  .bg_1_Cols {
    background: #ED7D31 !important;
  }

  th.bg_1_Cols {
    height: 48px;
    line-height: 48px;
  }

  .bg_2_Cols {
    background: #DEE0E3 !important;
  }
}

