@financial-times/n-conversion-forms 41.3.1 → 42.0.0
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.
- package/.storybook/preview-body.html +3 -0
- package/.storybook/preview.js +2 -2
- package/.toolkitstate/ci.json +3 -3
- package/.toolkitstate/install.json +1 -1
- package/components/__snapshots__/accept-terms.spec.js.snap +107 -150
- package/components/__snapshots__/b2c-partnership-confirmation.spec.js.snap +36 -72
- package/components/__snapshots__/confirmation.spec.js.snap +71 -127
- package/components/__snapshots__/continue-reading.spec.js.snap +3 -3
- package/components/__snapshots__/customer-care.spec.js.snap +16 -24
- package/components/__snapshots__/debug.spec.js.snap +13 -7
- package/components/__snapshots__/deferred-billing-terms.spec.js.snap +12 -18
- package/components/__snapshots__/error-page.spec.js.snap +12 -18
- package/components/__snapshots__/fieldset.spec.js.snap +1 -1
- package/components/__snapshots__/ft-edit-registration-confirmation.spec.js.snap +5 -5
- package/components/__snapshots__/graduation-date.spec.js.snap +4 -6
- package/components/__snapshots__/industry.spec.js.snap +8 -706
- package/components/__snapshots__/licence-confirmation.spec.js.snap +17 -28
- package/components/__snapshots__/licence-header.spec.js.snap +1 -1
- package/components/__snapshots__/licence-sign-in.spec.js.snap +1 -1
- package/components/__snapshots__/loader.spec.js.snap +1 -1
- package/components/__snapshots__/package-change.spec.js.snap +16 -11
- package/components/__snapshots__/payment-term.spec.js.snap +40 -60
- package/components/__snapshots__/position.spec.js.snap +8 -262
- package/components/__snapshots__/registration-confirmation.spec.js.snap +9 -7
- package/components/__snapshots__/responsibility.spec.js.snap +8 -442
- package/components/__snapshots__/submit.spec.js.snap +6 -6
- package/components/accept-terms-business.jsx +2 -3
- package/components/accept-terms-business.spec.jsx +3 -1
- package/components/accept-terms-privacy-policy.jsx +2 -5
- package/components/accept-terms-privacy-policy.spec.js +1 -1
- package/components/accept-terms-subscription.jsx +7 -12
- package/components/accept-terms-subscription.spec.js +1 -1
- package/components/accept-terms.jsx +12 -20
- package/components/b2c-partnership-confirmation.jsx +3 -5
- package/components/confirmation.jsx +5 -9
- package/components/confirmation.stories.js +4 -6
- package/components/continue-reading.jsx +1 -1
- package/components/customer-care.jsx +4 -4
- package/components/debug.jsx +12 -12
- package/components/deferred-billing-terms.jsx +3 -6
- package/components/error-page.jsx +4 -4
- package/components/fieldset.jsx +1 -1
- package/components/ft-edit-registration-confirmation.jsx +2 -2
- package/components/graduation-date.jsx +2 -4
- package/components/index.js +0 -1
- package/components/industry.jsx +1 -3
- package/components/industry.spec.js +7 -2
- package/components/licence-confirmation.jsx +2 -3
- package/components/licence-confirmation.stories.js +1 -1
- package/components/licence-sign-in.jsx +1 -1
- package/components/loader.jsx +4 -1
- package/components/package-change.jsx +4 -5
- package/components/payment-term.jsx +3 -5
- package/components/position.jsx +1 -2
- package/components/position.spec.js +7 -2
- package/components/proceed-with-payment-link.jsx +8 -2
- package/components/proceed-with-payment-link.stories.js +1 -1
- package/components/registration-confirmation.jsx +5 -3
- package/components/responsibility.jsx +1 -2
- package/components/responsibility.spec.js +7 -2
- package/components/submit.jsx +1 -1
- package/components/subscription-confirmation-with-payment-link.jsx +1 -1
- package/dist/accept-terms-business.jsx +2 -3
- package/dist/accept-terms-business.spec.jsx +1 -1
- package/dist/accept-terms-privacy-policy.jsx +2 -5
- package/dist/accept-terms-subscription.jsx +7 -12
- package/dist/accept-terms.jsx +10 -20
- package/dist/b2c-partnership-confirmation.jsx +5 -7
- package/dist/confirmation.jsx +4 -7
- package/dist/continue-reading.jsx +1 -1
- package/dist/customer-care.jsx +3 -4
- package/dist/debug.jsx +6 -6
- package/dist/deferred-billing-terms.jsx +3 -6
- package/dist/error-page.jsx +3 -4
- package/dist/fieldset.jsx +1 -1
- package/dist/ft-edit-registration-confirmation.jsx +2 -2
- package/dist/graduation-date.jsx +6 -4
- package/dist/index.js +0 -7
- package/dist/industry.jsx +1 -3
- package/dist/licence-confirmation.jsx +3 -4
- package/dist/licence-sign-in.jsx +1 -1
- package/dist/loader.jsx +1 -1
- package/dist/package-change.jsx +5 -4
- package/dist/payment-term.jsx +6 -4
- package/dist/position.jsx +1 -2
- package/dist/proceed-with-payment-link.jsx +2 -2
- package/dist/registration-confirmation.jsx +7 -5
- package/dist/responsibility.jsx +1 -2
- package/dist/submit.jsx +1 -1
- package/dist/subscription-confirmation-with-payment-link.jsx +1 -1
- package/main.scss +132 -167
- package/package.json +3 -6
- package/styles/_shared.scss +125 -100
- package/styles/accept-terms.scss +6 -5
- package/styles/banner.scss +66 -60
- package/styles/confirmation.scss +50 -55
- package/styles/continue-reading.scss +56 -39
- package/styles/error.scss +1 -1
- package/styles/forms-additional-field-information.scss +8 -4
- package/styles/ft-edit-registration-confirmation.scss +228 -224
- package/styles/loader.scss +40 -45
- package/styles/package-change.scss +1 -4
- package/styles/payment-term.scss +108 -89
- package/styles/payment-type.scss +117 -112
- package/styles/proceed-with-payment-link.scss +32 -18
- package/styles/subscription-confirmation-with-payment-link.scss +64 -24
- package/components/__snapshots__/google-sign-in.spec.js.snap +0 -13
- package/components/google-sign-in.jsx +0 -21
- package/components/google-sign-in.spec.js +0 -14
- package/components/google-sign-in.stories.js +0 -13
- package/dist/google-sign-in.jsx +0 -24
- package/helpers/demographics.js +0 -606
- package/styles/google-sign-in.scss +0 -26
package/styles/_shared.scss
CHANGED
|
@@ -1,101 +1,126 @@
|
|
|
1
1
|
@mixin bigRadioButton($className) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
2
|
+
|
|
3
|
+
// Overrides o-forms styling for round radio buttons
|
|
4
|
+
.o-forms-input--radio-round {
|
|
5
|
+
.o-forms-input__label {
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
padding: 14px 20px;
|
|
8
|
+
min-height: 110px;
|
|
9
|
+
border: 2px solid var(--o3-color-palette-teal);
|
|
10
|
+
text-align: left;
|
|
11
|
+
width: 100%;
|
|
12
|
+
position: relative;
|
|
13
|
+
|
|
14
|
+
// radio button styling
|
|
15
|
+
&::before {
|
|
16
|
+
border: 1px solid var(--o3-color-palette-teal);
|
|
17
|
+
left: auto;
|
|
18
|
+
top: 43px;
|
|
19
|
+
right: 14px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&::after {
|
|
23
|
+
left: auto;
|
|
24
|
+
top: 43px;
|
|
25
|
+
right: 14px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ncf__delivery-option__label {
|
|
30
|
+
background-color: var(--o3-color-palette-white);
|
|
31
|
+
color: var(--o3-color-use-case-body-text);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.no-title__delivery-option__box {
|
|
35
|
+
min-height: 80px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.o-forms-input__address-type__label {
|
|
39
|
+
padding: 2px 2px 2px 35px;
|
|
40
|
+
min-height: 0;
|
|
41
|
+
border: 0;
|
|
42
|
+
|
|
43
|
+
// radio button styling
|
|
44
|
+
&::before {
|
|
45
|
+
border: 1px solid var(--o3-color-use-case-body-text);
|
|
46
|
+
left: 0;
|
|
47
|
+
top: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&::after {
|
|
51
|
+
left: 0;
|
|
52
|
+
top: 0;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Overrides o-forms styling for round radio buttons in the checked state.
|
|
58
|
+
/* stylelint-disable */
|
|
59
|
+
/* prettier-ignore */
|
|
60
|
+
.o-forms-input--radio-round input[type=radio]:checked {
|
|
61
|
+
+.o-forms-input__label {
|
|
62
|
+
background-color: var(--o3-color-palette-teal);
|
|
63
|
+
color: var(--o3-color-palette-white);
|
|
64
|
+
|
|
65
|
+
// radio button styling
|
|
66
|
+
&::before {
|
|
67
|
+
border: 1px solid var(--o3-color-palette-white);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&::after {
|
|
71
|
+
background-color: var(--o3-color-palette-white);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
+.o-forms-input__address-type__label {
|
|
76
|
+
background-color: var(--o3-color-palette-white);
|
|
77
|
+
color: var(--o3-color-use-case-body-text);
|
|
78
|
+
|
|
79
|
+
// radio button styling
|
|
80
|
+
&::before {
|
|
81
|
+
border: 1px solid var(--o3-color-palette-teal);
|
|
82
|
+
left: 0;
|
|
83
|
+
top: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&::after {
|
|
87
|
+
background-color: var(--o3-color-palette-teal);
|
|
88
|
+
left: 0;
|
|
89
|
+
top: 0;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* stylelint-enable */
|
|
95
|
+
|
|
96
|
+
.ncf__payment-term__item--discount {
|
|
97
|
+
margin-top: 26px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ncf__payment-term__title {
|
|
101
|
+
font-size: var(--o3-font-size-metric2-2);
|
|
102
|
+
line-height: var(--o3-font-lineheight-metric2-2);
|
|
103
|
+
font-weight: var(--o3-font-weight-semibold);
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.ncf__payment-term__description {
|
|
108
|
+
padding-top: 14px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
.ncf__delivery-option__item--discount {
|
|
113
|
+
margin-top: 26px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.ncf__delivery-option__title {
|
|
117
|
+
font-size: var(--o3-font-size-metric2-2);
|
|
118
|
+
line-height: var(--o3-font-lineheight-metric2-2);
|
|
119
|
+
font-weight: var(--o3-font-weight-semibold);
|
|
120
|
+
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.ncf__delivery-option__description {
|
|
124
|
+
padding-top: 14px;
|
|
125
|
+
}
|
|
126
|
+
}
|
package/styles/accept-terms.scss
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
// Overwrite the native Origami styles to create a list which is more visually consistent with the previous T&Cs paragraphs.
|
|
3
3
|
&__accept-terms-list {
|
|
4
4
|
list-style-type: none;
|
|
5
|
-
|
|
5
|
+
padding-left: 0;
|
|
6
|
+
margin: 0 0 var(--o3-spacing-3xs) 0;
|
|
6
7
|
|
|
7
8
|
& > li {
|
|
8
|
-
margin-bottom:
|
|
9
|
+
margin-bottom: var(--o3-spacing-4xs);
|
|
9
10
|
padding-left: 0;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
@@ -26,11 +27,11 @@
|
|
|
26
27
|
.consent-text {
|
|
27
28
|
&--top {
|
|
28
29
|
order: -1;
|
|
29
|
-
margin-bottom:
|
|
30
|
+
margin-bottom: var(--o3-spacing-2xs);
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
&--bottom {
|
|
33
|
-
margin-top:
|
|
34
|
+
margin-top: var(--o3-spacing-2xs);
|
|
34
35
|
order: 99;
|
|
35
36
|
}
|
|
36
37
|
}
|
|
@@ -38,6 +39,6 @@
|
|
|
38
39
|
.children-container {
|
|
39
40
|
display: flex;
|
|
40
41
|
flex-direction: column;
|
|
41
|
-
margin-top:
|
|
42
|
+
margin-top: var(--o3-spacing-2xs);
|
|
42
43
|
}
|
|
43
44
|
}
|
package/styles/banner.scss
CHANGED
|
@@ -1,73 +1,79 @@
|
|
|
1
1
|
@mixin ncfBanner() {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
line-height: 40px;
|
|
2
|
+
&__trial-banner {
|
|
3
|
+
font-family: var(--o3-type-body-base-font-family);
|
|
4
|
+
font-size: var(--o3-type-body-base-font-size);
|
|
5
|
+
font-weight: var(--o3-type-body-base-font-weight);
|
|
6
|
+
line-height: var(--o3-type-body-base-line-height);
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
background-color: #262a33;
|
|
9
|
+
color: white;
|
|
10
|
+
text-align: center;
|
|
11
|
+
line-height: 40px;
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
13
|
+
&-img {
|
|
14
|
+
vertical-align: middle;
|
|
15
|
+
margin: 0 0 0 30px;
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
@include oGridRespondTo($until: S) {
|
|
18
|
+
display: none;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
&-content {
|
|
23
|
+
margin: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
column-gap: 14px;
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
max-width: 700px;
|
|
35
|
-
align-items: center;
|
|
36
|
-
margin: 0 auto;
|
|
37
|
-
padding: 10px;
|
|
27
|
+
&__app-banner {
|
|
28
|
+
background: var(--o3-color-palette-wheat);
|
|
29
|
+
border-top: 1px solid var(--o3-color-palette-black-10);
|
|
30
|
+
border-bottom: 1px solid var(--o3-color-palette-black-10);
|
|
38
31
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
32
|
+
&-inner {
|
|
33
|
+
display: grid;
|
|
34
|
+
grid-template-columns: 100px 1fr;
|
|
35
|
+
grid-template-rows: 1fr 1fr;
|
|
36
|
+
column-gap: 14px;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
max-width: 700px;
|
|
39
|
+
align-items: center;
|
|
40
|
+
margin: 0 auto;
|
|
41
|
+
padding: 10px;
|
|
44
42
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
@include oGridRespondTo($from: M) {
|
|
44
|
+
grid-template-columns: 100px 1fr 240px;
|
|
45
|
+
grid-template-rows: 140px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
49
48
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
&-image {
|
|
50
|
+
img {
|
|
51
|
+
width: 100px;
|
|
52
|
+
}
|
|
54
53
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
@include oGridRespondTo($until: M) {
|
|
55
|
+
grid-row: span 2;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
margin: 0 0 4px;
|
|
63
|
-
}
|
|
59
|
+
&-strong {
|
|
60
|
+
font-weight: var(--o3-font-weight-semibold);
|
|
61
|
+
}
|
|
64
62
|
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
&-header {
|
|
64
|
+
font-family: var(--o3-type-body-highlight-font-family);
|
|
65
|
+
font-size: var(--o3-type-body-highlight-font-size);
|
|
66
|
+
font-weight: var(--o3-type-body-highlight-font-weight);
|
|
67
|
+
line-height: var(--o3-type-body-highlight-line-height);
|
|
68
|
+
margin: 0 0 4px;
|
|
69
|
+
}
|
|
67
70
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
71
|
+
&-action {
|
|
72
|
+
display: inline-block;
|
|
73
|
+
|
|
74
|
+
a {
|
|
75
|
+
border: 0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
package/styles/confirmation.scss
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@import '@financial-times/o3-foundation/css/core.css';
|
|
1
2
|
@import '@financial-times/o-social-follow/main';
|
|
2
3
|
@import '@financial-times/o-grid/main';
|
|
3
4
|
|
|
@@ -35,17 +36,17 @@
|
|
|
35
36
|
display: flex;
|
|
36
37
|
flex-direction: column;
|
|
37
38
|
align-items: flex-start;
|
|
38
|
-
gap:
|
|
39
|
-
padding:
|
|
40
|
-
padding-left: calc(
|
|
41
|
-
background-color:
|
|
42
|
-
color:
|
|
43
|
-
margin:
|
|
39
|
+
gap: var(--o3-spacing-4xs);
|
|
40
|
+
padding: var(--o3-spacing-s) var(--o3-spacing-2xs);
|
|
41
|
+
padding-left: calc(var(--o3-spacing-xl) + var(--o3-spacing-5xs));
|
|
42
|
+
background-color: var(--o3-color-use-case-page-inverse-background);
|
|
43
|
+
color: var(--o3-color-use-case-body-inverse-text);
|
|
44
|
+
margin: var(--o3-spacing-m) 52px; // Using hardcoded values to allow it align with icon since icon size has changed to 24px and using --o3-spacing-xl breaks the design
|
|
44
45
|
|
|
45
46
|
@include oGridRespondTo($until: M) {
|
|
46
47
|
align-items: stretch;
|
|
47
|
-
padding:
|
|
48
|
-
margin:
|
|
48
|
+
padding: var(--o3-spacing-2xs);
|
|
49
|
+
margin: var(--o3-spacing-m) 0px;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
&-header {
|
|
@@ -53,56 +54,47 @@
|
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
&-title {
|
|
56
|
-
text-indent: calc(-1 * (
|
|
57
|
+
text-indent: calc(-1 * (var(--o3-spacing-xl) + var(--o3-spacing-5xs)));
|
|
57
58
|
margin: 0px;
|
|
58
59
|
|
|
59
|
-
|
|
60
|
-
$scale: 1,
|
|
61
|
-
$weight: 'semibold',
|
|
62
|
-
$include-font-family: false
|
|
63
|
-
);
|
|
60
|
+
|
|
64
61
|
|
|
65
62
|
@include oGridRespondTo($until: M) {
|
|
66
63
|
display: flex;
|
|
67
64
|
align-items: center;
|
|
68
65
|
text-indent: 0px;
|
|
69
|
-
|
|
70
|
-
@include oTypographySans(
|
|
71
|
-
$scale: 0,
|
|
72
|
-
$weight: 'semibold',
|
|
73
|
-
$include-font-family: false
|
|
74
|
-
);
|
|
75
66
|
}
|
|
76
67
|
|
|
77
68
|
&::before {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
69
|
+
display: inline-block;
|
|
70
|
+
width: 26px;
|
|
71
|
+
height: 26px;
|
|
72
|
+
margin: 6px;
|
|
73
|
+
/* Set the icon colour, In this case match the
|
|
74
|
+
current foreground text colour. */
|
|
75
|
+
background-color: var(--o3-color-palette-white);
|
|
76
|
+
/* Mask the square with an Origami icon. */
|
|
77
|
+
mask-image: var(--o3-icon-info);
|
|
78
|
+
mask-repeat: no-repeat;
|
|
79
|
+
mask-size: contain;
|
|
83
80
|
content: '';
|
|
84
|
-
color: oColorsByName('white');
|
|
85
81
|
vertical-align: middle;
|
|
86
|
-
margin-right:
|
|
87
|
-
margin-left:
|
|
82
|
+
margin-right: 10px;
|
|
83
|
+
margin-left: var(--o3-spacing-3xs);
|
|
88
84
|
|
|
89
85
|
@include oGridRespondTo($until: M) {
|
|
90
86
|
flex-shrink: 0;
|
|
91
|
-
margin:
|
|
87
|
+
margin: 0 var(--o3-spacing-5xs) 0 0;
|
|
92
88
|
}
|
|
93
89
|
}
|
|
94
90
|
}
|
|
95
91
|
|
|
96
92
|
&-text {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
$weight: 'regular',
|
|
100
|
-
$include-font-family: false
|
|
101
|
-
);
|
|
102
|
-
margin: oSpacingByName('s2') 0px 0px;
|
|
93
|
+
|
|
94
|
+
margin: var(--o3-spacing-4xs) 0px 0px;
|
|
103
95
|
|
|
104
96
|
&--bold {
|
|
105
|
-
font-weight:
|
|
97
|
+
font-weight: var(--o3-font-weight-semibold);
|
|
106
98
|
}
|
|
107
99
|
}
|
|
108
100
|
|
|
@@ -112,26 +104,29 @@
|
|
|
112
104
|
padding: 0px;
|
|
113
105
|
margin: 0px;
|
|
114
106
|
|
|
115
|
-
|
|
116
|
-
$scale: -1,
|
|
117
|
-
$weight: 'regular',
|
|
118
|
-
$include-font-family: false
|
|
119
|
-
);
|
|
107
|
+
|
|
120
108
|
|
|
121
109
|
&-item {
|
|
122
|
-
margin:
|
|
123
|
-
|
|
110
|
+
margin: var(--o3-spacing-5xs) 0px;
|
|
111
|
+
border-bottom: 1px solid #858b95; // Fallback for browsers that don’t support color-mix()
|
|
112
|
+
border-bottom: 1px solid color-mix(in srgb, var(--o3-color-palette-white-80) 20%, var(--o3-color-palette-slate));
|
|
124
113
|
|
|
125
114
|
&:last-child {
|
|
126
115
|
border-bottom: none;
|
|
127
116
|
}
|
|
128
117
|
|
|
129
118
|
&::before {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
119
|
+
display: inline-block;
|
|
120
|
+
width: 26px;
|
|
121
|
+
height: 26px;
|
|
122
|
+
margin: 0 6px;
|
|
123
|
+
/* Set the icon colour, In this case match the
|
|
124
|
+
current foreground text colour. */
|
|
125
|
+
background-color: var(--o3-color-palette-mint);
|
|
126
|
+
/* Mask the square with an Origami icon. */
|
|
127
|
+
mask-image: var(--o3-icon-tick);
|
|
128
|
+
mask-repeat: no-repeat;
|
|
129
|
+
mask-size: contain;
|
|
135
130
|
content: '';
|
|
136
131
|
vertical-align: middle;
|
|
137
132
|
}
|
|
@@ -142,19 +137,19 @@
|
|
|
142
137
|
&--links {
|
|
143
138
|
display: grid;
|
|
144
139
|
grid-template-rows: 1fr 1fr;
|
|
145
|
-
gap:
|
|
146
|
-
margin-top:
|
|
140
|
+
gap: var(--o3-spacing-2xs);
|
|
141
|
+
margin-top: var(--o3-spacing-s);
|
|
147
142
|
|
|
148
143
|
@include oGridRespondTo(M) {
|
|
149
144
|
grid-template-rows: unset;
|
|
150
145
|
grid-template-columns: 1fr 1fr;
|
|
151
|
-
gap:
|
|
146
|
+
gap: var(--o3-spacing-m);
|
|
152
147
|
}
|
|
153
148
|
}
|
|
154
149
|
|
|
155
150
|
&--socials {
|
|
156
151
|
@include oGridRespondTo(M) {
|
|
157
|
-
padding:
|
|
152
|
+
padding: var(--o3-spacing-s) var(--o3-spacing-2xs);
|
|
158
153
|
}
|
|
159
154
|
}
|
|
160
155
|
|
|
@@ -162,7 +157,7 @@
|
|
|
162
157
|
@include oGridRespondTo($until: M) {
|
|
163
158
|
display: grid;
|
|
164
159
|
grid-template-columns: 1fr 1fr;
|
|
165
|
-
gap:
|
|
160
|
+
gap: var(--o3-spacing-s);
|
|
166
161
|
margin: auto;
|
|
167
162
|
max-width: 256px;
|
|
168
163
|
}
|
|
@@ -180,10 +175,10 @@
|
|
|
180
175
|
display: flex;
|
|
181
176
|
flex-direction: column;
|
|
182
177
|
padding: 24px 20px;
|
|
183
|
-
background-color:
|
|
178
|
+
background-color: var(--o3-color-palette-white-60);
|
|
184
179
|
|
|
185
180
|
a {
|
|
186
|
-
color:
|
|
181
|
+
color: var(--o3-color-palette-black-90);
|
|
187
182
|
border-color: currentColor;
|
|
188
183
|
position: sticky;
|
|
189
184
|
top: 100vh;
|