diff --git a/static/js/src/advantage/distributor/components/DistributorShopForm/DistributorShopForm.tsx b/static/js/src/advantage/distributor/components/DistributorShopForm/DistributorShopForm.tsx index 4e1b526ecab..34ad103648d 100644 --- a/static/js/src/advantage/distributor/components/DistributorShopForm/DistributorShopForm.tsx +++ b/static/js/src/advantage/distributor/components/DistributorShopForm/DistributorShopForm.tsx @@ -8,68 +8,86 @@ import AddSubscriptions from "./AddSubscriptions/AddSubscriptions"; const DistributorShopForm = () => { return (
- +
    +
  1. + + + +

    + Verify deal registration information +

    + + + + +
    +
    + +
    +
    +
  2. +
  3. + + + +

    + Fill in technical user‘s contact +

    + + + + +
    +
    +
  4. - -

    Verify deal registration information

    - - - - +
    - - -
    -
    - +
  5. + + + +

    Select your currency

    + + + + +
    +
    +
  6. - -

    Fill in technical user‘s contact

    - - - - +
    -
    - -
    -
    - +
  7. + + + +

    Add subscriptions

    + + + + +
    +
    +
  8. - -

    Select your currency

    - - - - +
    -
    - -
    -
    - - - -

    Add subscriptions

    - - - - -
    -
    - -
    -
    - - - -

    Select the subscription duration

    - - - - -
    -
    +
  9. + + + +

    + Select the subscription duration +

    + + + + +
    +
    +
  10. +
); }; diff --git a/static/js/src/advantage/subscribe/react/components/Form/Feature/Feature.tsx b/static/js/src/advantage/subscribe/react/components/Form/Feature/Feature.tsx index e861c852c50..0821b5b1805 100644 --- a/static/js/src/advantage/subscribe/react/components/Form/Feature/Feature.tsx +++ b/static/js/src/advantage/subscribe/react/components/Form/Feature/Feature.tsx @@ -22,7 +22,9 @@ const Feature = () => { <> -

What security coverage do you need?

+

+ What security coverage do you need? +

{ return (
- - -

Who will be using this subscription?

- - - - -
- {productUser !== ProductUsers.myself ? ( - <> - -
-
+
    +
  1. -

    What are you setting up?

    +

    + Who will be using this subscription? +

    - +
    - {!disabled && ( - <> - -
    -
    +
  2. + {productUser !== ProductUsers.myself ? ( + <> + +
    +
    +
  3. -

    For how many machines?

    +

    + What are you setting up? +

    - +
    - -
    -
    - - - -

    What Ubuntu LTS version are you running?

    -

    - {" "} - Ubuntu Pro is available for Ubuntu 16.04 LTS and higher. -
    {" "} - - Are you using an older version? - -

    - - - - -
    - -
    -
    - - - - -
    -
    - - -

    Do you also need phone and ticket support?

    - - - - -
    - - )} - - ) : null} +
  4. + {!disabled && ( + <> + +
    +
    +
  5. + + +

    + For how many machines? +

    + + + + +
    +
  6. + +
    +
    +
  7. + + +

    + What Ubuntu LTS version are you running? +

    +

    + {" "} + Ubuntu Pro is available for Ubuntu 16.04 LTS and higher. +
    {" "} + + Are you using an older version? + +

    + + + + +
    +
  8. + +
    +
    +
  9. + + + +
  10. + +
    +
    +
  11. + + +

    + Do you also need phone and ticket support? +

    + + + + +
    +
  12. + + )} + + ) : null} +
); }; diff --git a/static/sass/_pattern_distributor.scss b/static/sass/_pattern_distributor.scss index b70070cddb3..aa4381ab212 100644 --- a/static/sass/_pattern_distributor.scss +++ b/static/sass/_pattern_distributor.scss @@ -1,54 +1,51 @@ @mixin ubuntu-p-distributor { .distributor-shop-selector { counter-reset: headings; + .p-stepped-list__title { + margin-bottom: 2rem; + + &::before { + align-items: center; + border: 1px solid #000; + border-radius: 50%; + content: counter(p-stepped-list-counter); + text-align: center; + font-size: 1rem; + } + } } @media screen and (min-width: $breakpoint-large) { .distributor-shop-selector { padding-top: 2rem; - - h2 { + .p-stepped-list__title { + padding-left: 3.7rem; width: $breakpoint-x-small + 100px; + + &::before { + font-size: 1.5rem; + height: 2.5rem; + line-height: 2.5rem; + width: 2.5rem; + } } - > .p-strip { - padding-bottom: 3rem; - padding-top: 3rem; - > .row { - > .col-6:nth-child(2) { - padding-top: 1rem; + .p-stepped-list > .p-stepped-list__item { + padding-bottom: 0; + > .p-strip { + padding-bottom: 3rem; + padding-top: 3rem; + + > .row { + > .col-6:nth-child(2) { + padding-top: 1rem; + } } } } } } - .distributor-shop-selector h2 { - counter-increment: headings; - display: flex; - flex-direction: row; - gap: 1.2rem; - margin-bottom: 2rem; - - &::before { - @extend .p-heading--2; - - align-items: center; - border: 1px solid #000; - border-radius: 50%; - content: counter(headings); - display: inline-flex; - flex-shrink: 0; - font-size: 1.5rem; - height: 2.5rem; - justify-content: center; - margin-top: 2px; - padding-top: 0; - text-align: center; - width: 2.5rem; - } - } - .distributor-shop-selector.p-card--radio--column.is-selected { box-shadow: 0 4px 4px rgb(0 0 0 / 5%), diff --git a/static/sass/_pattern_subscribe.scss b/static/sass/_pattern_subscribe.scss index 808ac9ddbbf..04916cabf68 100644 --- a/static/sass/_pattern_subscribe.scss +++ b/static/sass/_pattern_subscribe.scss @@ -1,46 +1,40 @@ @mixin ubuntu-p-ua-subscribe { .product-selector { counter-reset: headings; + .p-stepped-list__title { + margin-bottom: 2rem; + + &::before { + content: counter(p-stepped-list-counter); + width: 2rem; + } + } } @media screen and (min-width: $breakpoint-large) { .product-selector { padding-top: 6rem; - > .p-strip { - padding-top: 0.5rem; + .p-stepped-list__title { + padding-left: 3.7rem; + } + + > .p-stepped-list > .p-stepped-list__item { + padding-bottom: 0; - > .row { - > .col-6:nth-child(2) { - padding-top: 1rem; + > .p-strip { + padding-top: 0.5rem; + + > .row { + > .col-6:nth-child(2) { + padding-top: 1rem; + } } } } } } - .product-selector h2 { - counter-increment: headings; - display: flex; - flex-direction: row; - gap: 1.2rem; - margin-bottom: 2rem; - - &::before { - @extend .p-heading--2; - - align-items: center; - content: counter(headings); - display: inline-flex; - flex-shrink: 0; - height: 2.5rem; - justify-content: center; - margin-top: 4px; - padding-top: 0; - width: 2.5rem; - } - } - .product-selector .p-card--radio--column.is-selected { box-shadow: 0 4px 4px rgb(0 0 0 / 5%),