/*--  table  --*/
@dashboard-table-prefix-cls: ~"dashboard-table";

.@{dashboard-table-prefix-cls} {

  overflow: visible;
  &-container {
    border: 1px solid rgb(223, 223, 223);
    table {
      table-layout: fixed;
      border-collapse: separate;
      border-spacing: 0;
      // text-align: left;
      font-size: 12px;
      color: #666;
    }
  }
  table {
    min-width: 100%;
  }

  &-thead > tr > th {
    border-color: #e6f1fc;
    border-bottom: 1px solid #d8e3ef;
    background: #fafdff;
    font-weight: normal;
    font-size: 14px;
    text-align: left;
    transition: top .0s ease;
    .column-anchor {
      position: absolute;
      height: 100%;
      width: 10px;
      margin-left: -5px;
      top: 0;
      &:hover {
        cursor: col-resize;
      }
    }
  }

  &-thead > tr > th,
  &-tbody > tr > td {
    word-break: break-all;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 44px;
    max-height: 44px;
  }

  &-tbody > tr:nth-child(odd) {
    background: #FFF;
  }

  &-tbody > tr:nth-child(even) {
    background: #f7f8fa;
  }

  &-tbody > tr:hover {
    background: #eeeef3;
  }

  &-tbody > tr.selected {
    background: #fff6e5;
  }

  &-pagination {
    height: 60px;
    background: #fff;
    width: 100%;
    padding: 10px 40px 10px 10px;
    align-items: center;
    display: flex;
    justify-content: flex-end;
    color: #869cb3;
    user-select: none;
  }

  &-fixed-columns-table {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 17px;
    margin-right: -17px;
  }

  &-scroller-x-wrapper {
    width: 100%;
    height: 10px;
    background-color: transparent;
    user-select: none;
    margin: 2px 0 2px 0;
  }
  &-scroller-x-bar {
    height: 100%;
    position: relative;
    border-radius: 5px;
    background-color: #363d4d;
    user-select: none;
    transition: all .s ease;
    cursor: pointer;
    opacity: .6;
  }

  &-scroller-y-wrapper {
    width: 5px;
    position: absolute;
    top: 104px;
    right: 0px;
    user-select: none;
  }
  &-scroller-y-bar {
    width: 100%;
    position: relative;
    border-radius: 5px;
    background-color: #363d4d;
    user-select: none;
    transition: all .0s ease;
    cursor: pointer;
    opacity: .6;
    display: none;
  }

  &-column-line {
    top: 0px;
    left: 0px;
    position: absolute;
    height: 100%;
    width: 0;
    border: 1px dashed #00aaef;
    z-index:9999;
    display: none;
    &:hover {
      cursor: col-resize;
    }
  }
  &-row {
    .mx-radio-wrapper {
      margin-right: 0;
    }
  }

}
