index.less 2.88 KB
@import '~@qx/ui/src/style/variable.less';

// 条件配置标题样式
.qx-conditions__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 24px;
  margin-bottom: 8px;

  .header-title-box {
    font-size: 14px;
    color: @N9;
  }

  .header-title {
    font-weight: 600;
  }

  .header-title__tip.anticon {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: @N6;
    vertical-align: -0.175em;

    &:hover {
      color: @N8;
    }

    .ant-tooltip-inner {
      line-height: 22px;
    }
  }
}

// 序号
.qx-filter-cont-left {
  .qx-query-text {
    flex-shrink: 1;
    padding-right: 16px;
    overflow: hidden;
    vertical-align: bottom;
    color: @N9;

    .anticon {
      font-size: 16px;
      color: @N8;
    }
  }

  .queryTexts {
    display: inline-block;
    min-width: 140px;
    max-width: 180px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: bottom;
  }

  .qx-query-text-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 4px;
  }

  .qx-query-text-content {
    display: flex;
    flex-shrink: 1;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 24px);
    height: 24px;
  }

  .qx-query-text-opt {
    flex-shrink: 0;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 24px;
    padding: 0 8px;
    color: @N9;

    .query-text-opt-btn {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      width: 14px;
      height: 14px;
      color: @N7;
      font-size: 14px;
      margin-top: 0.1em;
    }
  }
}

.filterContRight {
  margin-top: 40px;
  margin-left: 0.8em;
}

.qx-conditions {
  position: relative;
  color: @N9;
}

.qx-cond-index {
  display: block;
  font-size: 14px;
  line-height: 58px;
}

.qx-cond-ctrl {
  //position: sticky;
  //right: 0;
  //bottom: 0;
  //left: 0;
  //z-index: 20;
  //margin-top: 4px;
  padding: 6px 0;
  font-size: 14px;
  color: @N9;
  background: #fff;
  border-top: 1px solid @N4;
}

.qx-conditions-input {
  margin-top: 5px;
}

.qx-ctrl-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  height: 24px;
  margin-left: 8px;
  visibility: hidden;
}

.qx-condition-item {
  margin-top: 8px;
  padding: 4px 0;
  border-radius: 4px;

  &:hover {
    .qx-ctrl-btn {
      visibility: visible;
    }

    .qx-condition-delete {
      width: 16px;
      height: 16px;
      color: @N7;
      font-size: 16px;
      line-height: 1;
      cursor: pointer;

      &:hover {
        color: @E3;
      }
    }
  }
}

.sqlType {
  width: 322px;
  margin-left: 8px !important;
  line-height: 44px !important;
}

.qx-rule-setting-filter {
  padding: 10px;
  background-color: @N1;
}