/* 公共样式 */

// loading 效果
.wea-demo-loading {
  position: relative;
  height: 100%;
  text-align: center;

  > div {
    position: absolute;
    top: 50%;
    margin-top: -10px;
  }
}


// 表单
.formItem {
  margin-bottom: 10px;
}


.formRow {
  line-height: 40px;
}

.formTitle {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}


.ant-checkbox-wrapper + .ant-checkbox-wrapper {
  margin-left: 0 !important;
}

//公共彈框表单样式
.form-dialog-layout {
  background: #f6f6f6;

  .wea-form-item-wrapper {
    display: block !important;
  }

  .wea-form-item .wea-form-item-wrapper .wea-field-readonly {
    line-height: 28px;
  }

  .wea-search-group {
    padding: 16px;
  }

  .wea-select, .ant-select-selection, .ant-select {
    width: 100%;
  }

  .wea-select {
    display: inline-block;
    position: relative;
  }

  .ant-select-selection {
    height: 30px;
    border-radius: 0;
  }

  .wea-content {
    padding: 0;

    .wea-form-cell-wrapper {
      background: #FFF;
      border: 1px solid #e5e5e5;
      border-bottom: none;

      .wea-form-cell {
        border-bottom: 1px solid #e5e5e5;
      }
    }
  }

  .multiple_select {
    .wea-select-input .arrow {
      position: absolute;
      right: 4px;
      top: 8px;
      color: #666;
    }

    .wdb {
      word-break: break-all !important;
      word-wrap: break-word !important;
    }

    .wea-select-input {
      height: 30px;
      white-space: nowrap;
      min-width: 100px;
      max-width: 345px;
      width: 100%;
      display: inline-block;
      padding: 4px 17px 4px 4px;
      position: relative;
      min-height: 30px;
      border: 1px solid #d9d9d9;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      -o-text-overflow: ellipsis;
      text-overflow: ellipsis;
      overflow: hidden;
    }
  }
}

//公式编辑框样式
.excel-codeBox {
  .cm-variable {
  }

  .cm-string-2 {
    color: inherit !important;
  }

}

//公共slide框标题样式
.zIndex0-weaslide-title {
  .wea-new-top-req {
    z-index: 0 !important;
  }
}

//公共表格操作按钮间距
.space_div {
  a:not(:last-child) {
    margin-right: 8px;
  }
}

//自定义下拉Dropdown按钮样式
.cust-dropdown-btn {
  border-bottom-right-radius: 0 !important;
  border-top-right-radius: 0 !important;
  padding-right: 8px !important;
}

.cust-dropdown-btnIcon {
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
  padding-left: 8px !important;
  padding-right: 7px !important;
}


