@import '../../tree/style/index.less';
.je-func-data{
  &-select,
  & &-center {
    & >.je-panel-body >.je-panel-splitter-left{
      border-right:1px solid #F0F2F5;
      &.is--collapsed{
        border:0;
      }
    }
  }
  &-select{
    border:1px solid transparent;
    border-color: @border-color-split;

  }
  &,
  &-select{
    .je-pager{
      border-bottom-width: 0;
    }
  }
}

.je-grid-func{
  padding:0 12px;
  & &-search-keyword{
    width:180px;
  }
  & &-tbar{
    height:56px;
    padding-right:0;
    padding-left:0;
    .strategy-button{
      .select-flag{
        display: none;
        padding:3px;
        border-radius: 100%;
        background-color: @red-5;
        margin-right: 4px;
      }
      & &-select{
        .select-flag{
          display: inline-block;
        }
      }
    }
    .grid-insert-button{
      background-color: #ECEDF0;
      border-color:#ECEDF0;
      color: @text-color;
      padding: 4px 10px;
      &:hover{
        opacity: .8;
      }
    }
    .multiple-num{
      .context{
        margin:0 10px 0 18px;
        .num{
          color: @primary-color;
        }
      }
      .icon{
        cursor: pointer;
      }
    }
  }
}

.je-func-strategy-dropdown-menu{
  padding:0;
}

.je-func-group-query{
  padding: 5px 5px 16px 5px;
  border-color: @border-color-split;
  border-style: solid;
  border-width: 0 1px 1px 1px;
  height:100%;
  overflow: auto;
  .query-buttons{
    padding:7px 10px;
    .ant-btn{
      margin:0 5px;
      height: 30px;
      padding:2px 15px;
    }
  }
  .query-col-item{
    padding: 5px 10px;
    .ant-form-item-label{
      white-space: normal;
      overflow: inherit;
    }
  }
  
  &.grid-layout{
    .query-buttons{
      text-align: center;
    }
  }
} 


.je-grid-func-select-result{
  .title{
    height:56px;
    line-height: 56px;
    border-left: 1px solid #ddd;
    padding: 0 8px;
    .red{
      color:#e34f47;
    }
    .icon{
      position: absolute;
      right: 8px;
      top: 50%;
      margin-top: -7px;
      padding: 0 10px;
      cursor: pointer;
    }
  }
}