@import './common/var.scss';
.es-flow-group {
  height: 100%;
  display: flex;
  border: $--border-base;
  background-color: #fff;
  .es-flow-group-main {
    flex: 1;
    height: 100%;
    position: relative;
  }
  .es-flow-tabs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: none;
    border: 0;
    .el-tabs__content {
      position: absolute;
      top: 45px;
      left: 0;
      right: 0;
      bottom: 0;
      overflow: hidden;
      padding: 0;
      .el-tab-pane {
        height: 100%;
        overflow: hidden;
        padding: 12px;
        .es-tab-pane-list {
          flex: 1;
          position: relative;
          & + .es-tab-pane-list {
            margin-top: 20px;
          }
          .es-tab-pane-main {
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
          }
        }
        .es-form-search-nobtn {
          .el-input__inner {
            border: $--border-base;
            border-radius: $--input-border-radius;
          }
        }
        .el-form-item__content,
        .es-flow-list {
          .es-toolbar {
            border: $--border-base;
            border-bottom: 0;
          }
        }
        .es-flow-list {
          .es-toolbar {
            background-color: $--table-header-background-color;
          }
          .es-data-table-content {
            padding: 0;
          }
        }
        .es-attachment {
          border: $--border-base;
          .el-upload--handle {
            padding: 6px;
            width: 100%;
            border-bottom: $--border-base;
            text-align: right;
            background-color: $--table-header-background-color;
          }
        }
        .es-flow-group-data-table {
          .es-toolbar {
            border: 0;
          }
          .es-data-table-content {
            padding: 0;
          }
        }
      }
    }
  }
  .es-group-flow {
    &:not(.es-flow-narrow) {
      border-left: $--border-base;
    }
    &.es-flow-narrow {
      background-color: #fafafa;
      .es-flow-title {
        padding: 0;
      }
    }
    .es-flow-title {
      padding: 0 8px;
      height: 44px;
      background-color: #fafafa;
      border-bottom: $--border-base;
    }
  }
  &.is-hide-flow {
    .es-flow-tabs {
      border: 0;
    }
  }
}
