richie-education 3.2.2-dev56 → 3.2.2-dev58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -268,7 +268,7 @@ const BatchOrderForm = () => {
268
268
  }
269
269
  }}
270
270
  hidden={activeStep === 0}
271
- color="secondary"
271
+ color="tertiary"
272
272
  >
273
273
  <FormattedMessage {...messages.previousButton} />
274
274
  </Button>
@@ -216,7 +216,9 @@ export const StepContent = ({
216
216
  return (
217
217
  <div className="step-content">
218
218
  <div className="step organization" hidden={activeStep !== 0}>
219
- <FormattedMessage {...messages.stepCompanyTitle} />
219
+ <h4 className="title">
220
+ <FormattedMessage {...messages.stepCompanyTitle} />
221
+ </h4>
220
222
  <Input
221
223
  className="field"
222
224
  label={intl.formatMessage(messages.companyName)}
@@ -294,7 +296,9 @@ export const StepContent = ({
294
296
  </div>
295
297
  {otherBillingAddress && (
296
298
  <div className="step billing" hidden={activeStep !== 0}>
297
- <FormattedMessage {...messages.stepBillingTitle} />
299
+ <h4 className="title">
300
+ <FormattedMessage {...messages.stepBillingTitle} />
301
+ </h4>
298
302
  <Input
299
303
  className="field"
300
304
  {...register('billing_address.contact_name')}
@@ -347,7 +351,9 @@ export const StepContent = ({
347
351
  </div>
348
352
  )}
349
353
  <div className="step admin" hidden={activeStep !== 1}>
350
- <FormattedMessage {...messages.stepAdminTitle} />
354
+ <h4 className="title">
355
+ <FormattedMessage {...messages.stepAdminTitle} />
356
+ </h4>
351
357
  <Input
352
358
  className="field"
353
359
  {...register('administrative_lastname')}
@@ -411,7 +417,9 @@ export const StepContent = ({
411
417
  />
412
418
  </div>
413
419
  <div className="step signatory" hidden={activeStep !== 2}>
414
- <FormattedMessage {...messages.stepSignatoryTitle} />
420
+ <h4 className="title">
421
+ <FormattedMessage {...messages.stepSignatoryTitle} />
422
+ </h4>
415
423
  <Input
416
424
  className="field"
417
425
  {...register('signatory_lastname')}
@@ -467,7 +475,9 @@ export const StepContent = ({
467
475
  />
468
476
  </div>
469
477
  <div className="step seats" hidden={activeStep !== 3}>
470
- <FormattedMessage {...messages.stepParticipantsTitle} />
478
+ <h4 className="title">
479
+ <FormattedMessage {...messages.stepParticipantsTitle} />
480
+ </h4>
471
481
  <Input
472
482
  className="field"
473
483
  type="number"
@@ -479,7 +489,9 @@ export const StepContent = ({
479
489
  />
480
490
  </div>
481
491
  <div className="step financing" hidden={activeStep !== 4}>
482
- <FormattedMessage {...messages.stepFinancingTitle} />
492
+ <h4 className="title">
493
+ <FormattedMessage {...messages.stepFinancingTitle} />
494
+ </h4>
483
495
  <RadioGroup fullWidth={true} className="payment-block">
484
496
  <Radio
485
497
  {...register('payment_method')}
@@ -512,7 +524,10 @@ export const StepContent = ({
512
524
  }
513
525
  />
514
526
  </RadioGroup>
515
- <FormattedMessage {...messages.fundingEntity} />
527
+
528
+ <h4 className="title">
529
+ <FormattedMessage {...messages.fundingEntity} />
530
+ </h4>
516
531
  <div className="organism-block">
517
532
  <Input
518
533
  {...register('funding_entity')}
@@ -524,7 +539,10 @@ export const StepContent = ({
524
539
  label={intl.formatMessage(messages.fundingEntityAmount)}
525
540
  />
526
541
  </div>
527
- <FormattedMessage {...messages.recommandation} />
542
+
543
+ <h4 className="title">
544
+ <FormattedMessage {...messages.recommandation} />
545
+ </h4>
528
546
  <Select
529
547
  label={intl.formatMessage(messages.participatingOrganisations)}
530
548
  clearable
@@ -157,6 +157,13 @@
157
157
  align-items: center;
158
158
  margin: 1rem 0;
159
159
  gap: 0.5rem;
160
+
161
+ .title {
162
+ font-weight: var(--c--theme--font--weights--bold);
163
+ font-size: var(--c--theme--font--sizes--l);
164
+ margin: 0 0 0.5rem;
165
+ }
166
+
160
167
  .field {
161
168
  width: 90%;
162
169
  }
@@ -169,7 +176,7 @@
169
176
  }
170
177
  .payment-block {
171
178
  & > div {
172
- margin: 1rem 0;
179
+ margin: 0 0 1rem;
173
180
  flex-direction: row;
174
181
  }
175
182
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "richie-education",
3
- "version": "3.2.2-dev56",
3
+ "version": "3.2.2-dev58",
4
4
  "description": "A CMS to build learning portals for Open Education",
5
5
  "main": "sandbox/manage.py",
6
6
  "scripts": {