.elp-popover.more-operation-popover {
  .btn {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    width: 100%;
    &:hover {
      color: var(--elp-color-primary);
      background-color: var(--elp-bg-color-page);
    }
  }
}
// 文字超出省略号
.text-overflow-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: keep-all;
}

// 树型数据样式添加指示线
.template-tree {
  .elp-tree-node {
    position: relative;
    padding-left: 16px;
  }
  .elp-tree-node__children {
    padding-left: 16px;
  }
  .elp-tree-node :last-child:before {
    height: 38px;
  }
  .elp-tree > .elp-tree-node:before {
    border-left: none;
  }
  .elp-tree-node:before {
    content: '';
    left: -4px;
    position: absolute;
    right: auto;
    border-width: 1px;
  }
  .elp-tree-node:after {
    content: '';
    left: -4px;
    position: absolute;
    right: auto;
    border-width: 1px;
  }
  .elp-tree-node:before {
    border-left: 1px dashed #4386c6;
    bottom: 0px;
    height: 100%;
    top: -26px;
    width: 1px;
  }
  .elp-tree-node:after {
    border-top: 1px dashed #4386c6;
    height: 20px;
    top: 12px;
    width: 24px;
  }
  .elp-tree-node__content {
    height: 100%;
  }
}

.tree-container .elp-tree > .elp-tree-node:after {
  border-top: none;
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

// 适配el-button文字下不需要外边距
.elp-button.is-text {
  & + & {
    margin-left: 0;
  }
}
