@import '../../style/themes/index.less';

@form-prefix-cls: ~'@{pxx-prefix}-form';

.@{form-prefix-cls} {
  width: 100%;

  .@{ant-prefix}-form-item {
    flex-direction: column;

    .@{ant-prefix}-form-item-label {
      text-align: left;
    }
  }

  .@{form-prefix-cls}-drawer-footer {
    margin: 24px;
    padding: 24px;
    text-align: center;
    background-color: #ffffff;
    border-radius: @border-radius-base * 3;
  }

  .@{form-prefix-cls}-card {
    margin: 24px;
    padding: 24px 8px 0 8px;
    background-color: #ffffff;
    border-radius: @border-radius-base * 3;

    .@{ant-prefix}-form-item {
      display: inline-block;
      margin-right: 16px;
      margin-left: 16px;

      .@{ant-prefix}-form-item-no-colon {
        margin-right: 0 !important;
      }
    }

    .@{ant-prefix}-form-item-hidden {
      display: none;
    }

    .@{ant-prefix}-input-group-wrapper {
      .@{ant-prefix}-input {
        width: 139px;
      }
    }

    .@{ant-prefix}-input,
    .@{ant-prefix}-input-number,
    .@{ant-prefix}-input-group-wrapper,
    .@{ant-prefix}-cascader-picker,
    .@{ant-prefix}-select,
    .@{ant-prefix}-picker {
      width: 176px;
    }
  }
}
