@import '~@zgfe/business-lib/es/assets/styles/inner.less';
.expression-box {
  display: flex;
  flex: 1;
  &-title {
    margin-bottom: 16px;
    color: #021429;
    font-weight: 500;
  }
  > :nth-child(1) {
    width: 150px;
    padding: 0 8px;
    > :nth-child(1) {
      padding: 0 16px;
    }
    > :nth-child(2) {
      div {
        padding: 3px 16px;
        cursor: pointer;
      }
      div:hover {
        color: #165dff;
        background: #d0dfff;
        border-radius: 30px;
        cursor: pointer;
      }
    }
  }
  > :nth-child(2) {
    width: 308px;
    padding: 0 8px;
    border-right: 1px solid #e8efff;
    border-left: 1px solid #e8efff;
    .ant-input {
      padding-left: 12px;
    }
    > :nth-child(1) {
      padding: 0 16px;
    }
    > :nth-child(2) {
      margin-bottom: 8px;
      padding: 0 14px;
    }
    > :nth-child(3) {
      div {
        padding: 3px 16px;
      }
      div:hover {
        color: #165dff;
        background: #d0dfff;
        border-radius: 30px;
        cursor: pointer;
      }
    }
  }
  > :nth-child(3) {
    position: relative;
    flex: 1;
    padding: 0 24px;
  }
  &-errmsg {
    position: absolute;
    top: 22px;
    left: 0;
    display: flex;
    width: 100%;
    height: 22px;
    padding-left: 16px;
    color: #fb5547;
    background: #fff1f0;
    .bsicon {
      margin-right: 8px;
      font-size: 16px !important;
    }
  }
  &-editor-box {
    height: 90%;
    margin-top: 18px;
    .cm-editor {
      width: 99%;
      height: 100%;
      outline: none;
    }
    .cm-tooltip {
      display: none !important;
    }
  }
}
