.bigdata-data-setting {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  .el-form-item--mini {
    margin-bottom: 5px !important;
  }
  .group-wrapper {
    .group-title {
      height: 20px;
      display: flex;
      font-size: 12px;
      align-items: center;
      cursor: pointer;
      .name {
        flex: 1;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
    .group-item {
      padding-left: 10px;
      height: 0;
      overflow: hidden;
      &.active {
        height: unset;
      }
    }
  }
  .form-wrapper {
    display: flex;
    align-items: center;
    padding-top: 10px;
    .el-form {
      flex: 1;
      .el-form-item {
        margin-bottom: 10px;
        margin-left: 10px;
        .el-form-item__label {
          font-size: 12px;
          padding-right: 5px;
        }
      }
    }
    .btns {
      margin-left: 5px;
      height: 100%;
      width: 70px;
      .el-button {
        display: block;
        margin-left: 0;
        padding: 7px 10px;
        &:first-of-type {
          margin-bottom: 10px;
        }
      }
    }
  }
  .right-center-panel {
    flex: 1;
    display: flex;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding-left: 10px;
    overflow-y: auto;
    height: 88%;
    .chart-fields {
      flex: 1;
      box-sizing: border-box;
      overflow-y: auto;
      position: relative;
      .group {
        padding-right: 10px;
        display: flex;
        align-items: center;
        height: 40px;
        margin-top: 10px;
        font-size: 14px;
        .name {
          flex: 1;
          font-weight: 600;
          text-indent: 20px;
        }
        .btn {
          color: #999;
          padding: 5px;
          cursor: pointer;
          &.active {
            color: #409eff;
          }
        }
      }
      .item-box {
        min-height: 30px;
        box-sizing: border-box;
        border: 1px dashed #ccc;
        margin-right: 10px;
        padding-right: 0;
        position: relative;
        z-index: 1;
        &.active {
          margin-right: 0;
          padding-right: 10px;
          border: 1px solid #ccc;
          border-right-color: #fff;
        }
        &.zuan {
          padding-left: 25px;
        }
        .el-icon-sort-down {
          position: absolute;
          left: 5px;
          top: 10px;
          font-size: 24px;
          color: #999;
        }
      }
      .item {
        display: flex;
        align-items: center;
        font-size: 14px;
        margin: 8px;
        padding: 0 5px 0 10px;
        line-height: 26px;
        height: 26px;
        &.WEIDU {
          border: 1px solid #1d54d5;
        }
        &.ZHIBIAO {
          border: 1px solid #00b375;
        }
        .name {
          flex: 1;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          margin-right: 5px;
        }
        .el-icon-close {
          cursor: pointer;
        }
        .el-icon-caret-bottom,
        .el-icon-connection {
          cursor: pointer;
          margin-right: 5px;
          color: #ccc;
          &.active {
            color: #1d54d5;
          }
        }
      }
      .line {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: #ccc;
        width: 1px;
      }
      .params-form .el-form-item {
        margin-left: 0;
        .el-form-item__content > * {
          width: 200px;
        }
      }
    }
    .cube-fields {
      flex: 0 0 210px;
      box-sizing: border-box;
      overflow-y: hidden;
      padding: 10px;
      display: flex;
      flex-direction: column;
      .btns {
        margin: 10px 0;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex: 0 0 22px;
        height: 22px;
        .btn {
          font-size: 14px;
          cursor: pointer;
          color: #777;
          &:hover {
            color: #333;
          }
        }
      }
      .items {
        flex: 1;
        overflow-y: auto;
      }
      .item {
        display: flex;
        align-items: center;
        font-size: 12px;
        margin: 5px 0;
        padding: 0 5px;
        line-height: 24px;
        height: 24px;
        flex: 0 0 24px;
        &.WEIDU {
          border: 1px solid #1d54d5;
        }
        &.ZHIBIAO {
          border: 1px solid #00b375;
        }
        &.unuse {
          border: 1px solid #ccc;
          .name {
            color: #999;
          }
        }
        .type {
          &.WEIDU {
            color: #1d54d5;
          }
          &.ZHIBIAO {
            color: #00b375;
          }
          &.unuse {
            color: #999;
          }
        }
        .name {
          flex: 1;
          margin: 0 5px;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
        .add {
          opacity: 0;
        }
        &:hover {
          cursor: pointer;
          &.WEIDU {
            background-color: #e4eafa;
          }
          &.ZHIBIAO {
            background-color: #d4f2e8;
          }
          &.unuse {
            background-color: #fff;
            cursor: default;
          }
          .add {
            opacity: 1;
          }
        }
      }
    }
  }
  .bottom-panel {
    box-sizing: border-box;
    padding: 10px;
    height: 220px;
    .el-form {
      width: 200px;
      margin: 20px auto 0;
      .el-form-item {
        margin-left: 0;
      }
    }
    .btns {
      width: 200px;
      margin: 30px auto 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}
.bigdata-data-selector {
  .el-scrollbar__view {
    width: 200px;
  }
  .el-cascader-node {
    height: unset;
    padding: 8px 30px 8px 20px;
    line-height: 20px;
    .el-cascader-node__label {
      white-space: unset;
      overflow: unset;
      text-overflow: unset;
    }
  }
  .el-cascader__suggestion-item {
    height: unset;
    padding: 8px 30px 8px 20px;
    line-height: 20px;
  }
}
.newbi-link-dialog {
  .btns {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    margin-bottom: 10px;
  }
  .el-input.is-disabled .el-input__inner {
    background-color: white;
    border-color: #e4e7ed;
    color: #666;
    cursor: unset;
  }
}
