// placeholder
@import (optional, reference) '../../style/themes/index';

@mega-button-prefix-cls: ~'@{mega-prefix}-columb-set';

.@{mega-button-prefix-cls} {
}

.s-column {
  height: 50vh;
  display: flex;
  gap: 20px;
  padding-bottom: 30px;

  .s-column-l {
    flex: 1;
  }

  .s-column-r {
    width: 300px;
  }

  .s-column-l-title,
  .s-column-r-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;

    .gary {
      color: #999;
      margin-left: 10px;
      font-size: 14px;
    }
  }

  .s-column-l-content,
  .s-column-r-content {
    border: 1px solid @border-color-base;
    width: 100%;
    height: 100%;
    padding: 20px;
    overflow-y: auto;

    &-title {
      padding: 5px;
      background: #fafafa;
      margin-bottom: 5px;
      position: sticky;
      top: -20px;
    }

    &-row {
      width: 100%;
      padding: 5px;
      border: 1px solid @border-color-base;
      margin-bottom: 5px;
      cursor: move;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0 6px;
      &-name {
        flex: 1;
      }
      &-ico:hover {
        color: @blue-6;
      }
    }
    .ant-checkbox-wrapper {
      display: flex;
      align-items: end;
      span:nth-of-type(2) {
        display: block;
        width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
    .s-column-r-content-row-name {
      display: inline-block;
      width: 140px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
}
