@import "@alifd/next/variables";

.drawer {
  & > div {
    overflow: hidden !important;
  }
  :global {
    .#{$css-prefix}drawer-body {
      padding: 0;
      height: calc(100% - 45px);
    }
  }
}
.layout {
  height: 100%;
  display: flex;
  flex-direction: column;
  & > div:last-child > button:first-child {
    float: left;
    line-height: 24px;
  }
  :global {
    .riil-footer {
      position: unset;
    }
  }
}
.message {
  padding: 16px 24px 0;
}
.content {
  padding: 16px 24px 0;
  flex: auto;
  overflow: hidden;
  & > div:first-child:not(:last-child) {
    box-shadow: 1px 0px 0px 0px #E4E9EE;
    padding-right: $s-4;
  }
  & > div:last-child:not(:first-child) {
    padding-left: $s-4;
  }
  :global {
    .#{$css-prefix}table-header-node.#{$css-prefix}table-selection {
      .#{$css-prefix}checkbox-wrapper {
        display: none;
      }
    }
    .#{$css-prefix}table-cell-wrapper {
      white-space: unset !important;
    }
  }
}
.tree-wrap {
  :global {
    .#{$css-prefix}tree-node-label-wrapper {
      width: 1px;
      .tree-node-label > span {
        display: inline-block;
        width: calc(100% - 24px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
  }
}
.table-wrap {
  height: calc(100% + 1.5px);
}
.tip-content {
  max-height: 250px;
  overflow: auto;
  & > div {
    line-height: 20px;
  }
}
