index.less 2.61 KB
.subForm {
  margin-bottom: 10px;
  position: relative;
  .extraAction {
    position: absolute;
    top: -30px;
    right: 0;
    .del {
      background: #fd674a;
      border: 1px solid #fd674a;
      &:hover {
        color: #fff;
        border: 1px solid #fb795f !important;
        background: #fb795f !important;
      }
    }
  }
  .summaryCell {
    color: red;
    font-weight: bold;
    white-space: nowrap; /* 合计不换行 */
    overflow: hidden; /*超出部分隐藏*/
    text-overflow: ellipsis; /*超出部分文字以...显示*/
    display: block;
  }
  .summaryCellTotal {
    color: black;
    font-weight: bold;
  }
}
.disabledProup {
  .iconAdd i:hover:before {
    color: rgba(0, 0, 0, 0.43);
  }
  .editSelect > div:hover {
    border-color: transparent !important;
    background: transparent !important;
  }
  .editSelect > div:hover span {
    color: rgba(0, 0, 0, 0.25);
  }
  .editSelect > div > div > div {
    color: #000 !important;
  }
  .inputNum input:hover {
    border: 2px solid transparent !important;
    background: transparent !important;
  }
  input[disabled]:hover {
    background: none !important;
  }
  .tableDataPicker input:hover {
    border: 1px solid #e6d8d8 !important;
  }
}
.disabledProup,
.proup {
  :global {
    .ant-table-scroll > div:last-child {
      position: relative;
    }
  }
}

:global {
  .react-resizable {
    position: relative;
    background-clip: padding-box;
  }
  .react-resizable-handle {
    position: absolute;
    width: 10px;
    height: 100%;
    bottom: 0;
    right: -5px;
    cursor: col-resize;
    z-index: 1;
  }
  th[bnotresize] .react-resizable-handle {
    cursor: default;
  }
  .tableNoPadding {
    .ant-table-row {
      td {
        padding: 0 !important;
      }
    }
  }
  .vlist-td-display {
    display: none;
  }
  .virtuallist > table > tbody > tr:nth-of-type(2) {
    .vlist-td-display {
      display: table-cell;
    }
  }
}

.tdCell {
  .fastSearchBtn {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff7e6;
    display: none;
    &:hover {
      color: #2f54eb;
      zoom: 1.1;
    }
  }
  &:hover {
    .fastSearchBtn {
      display: block;
    }
  }
}

.colorInfo {
  display: flex;
  flex-wrap: wrap;
  font-size: 10px;
}

.moveLine {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border: 2px dashed #448ef7;
  z-index: 2;
  cursor: ns-resize;
  opacity: 0;

  &:hover {
    opacity: 1;
  }

  &:active {
    border-color: #72c240;
  }
}

:global .xlyCommonTable {
  .ant-table-cell {
    .changeClassName {
      .ant-form-item {
        margin-bottom: 0px !important;
      }
    }
  }
}