index.less 2.37 KB
@import '~@/variable.less';
.fastFilter {
  position: relative;
  background: #fff;
  margin: 0 10px;
  padding: 8px 8px 3px 8px;
  z-index: 20;
  .clear_both();
  .solutionList{
    width: 180px;
    min-height: 50px;
    float: left;
    :global {
      .ant-select-selector {
        height: 40px !important;
        padding: 0 11px !important; /* 可选:调整内边距使文字垂直居中 */
        line-height: 40px !important; /* 让单行文本垂直居中 */
      }
      .ant-select-selection-item{
         height: 40px !important;
        line-height: 40px !important; /* 让单行文本垂直居中 */
        font-size: 18px;
      }
    }
    .clear_both();
    
  }
  .advRow {
    float: left;
    width: 600px;
    min-height: 50px;
    // overflow: hidden;
    position: relative;
    :global {
      .ant-select-selector {
        height: 40px !important;
        padding: 0 11px !important; /* 可选:调整内边距使文字垂直居中 */
        line-height: 40px !important; /* 让单行文本垂直居中 */
      }
      .ant-select-selection-item{
         height: 40px !important;
        line-height: 40px !important; /* 让单行文本垂直居中 */
        font-size: 18px;
      }
    }
    .clear_both();
    .filterList{
      padding-left: 8px;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 10;
      width: 100%;
      background: #fff;
      .filterBtn{
        display: none;
        width: 100%;
      }
    }
  }
  .advRowActive {
    overflow: unset;
   .filterList{
     padding-top: 8px;
     background: #eef1f6;
      box-shadow: 0 0 1px 1px @active_color;
     .filterBtn{
       display: block;
     }
   }
  }
  .toggleBtn{
    width: 32px;
    margin-left: 8px;
    float: left;
  }
  .advCol {
    float: left;
    margin-left: 16px;
  }
}
.addFilterBox {
  display: block;
  overflow: hidden;
  position: relative;
  z-index: 9;
  margin-bottom: 0px;
  padding-right: 36px;
  :global{
    .ant-input-affix-wrapper{
      height: 40px !important;
      line-height: 40px !important;
    }
  }
  &:first-child{
    .removeBtn{
      display: none;
    }
  }
  .removeBtn{
    position: absolute;
    top: 9px;
    right: 11px;
    z-index: 5;
  }
}
.minuseIcon {
  position: absolute;
  right: 1px;
  top: -5px;
  z-index: 10
}

.advButton {
  position: relative;
  margin-right: 7px;
  margin-bottom: 7px;
}

.advButton button {
  width: 100%;
}