mp-design-system 1.2.38 → 1.2.40
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
appearance: none;
|
6
6
|
border-radius: 0;
|
7
7
|
font: inherit;
|
8
|
-
@include padding('
|
8
|
+
@include padding('2xs');
|
9
9
|
color: inherit;
|
10
10
|
font-size: 1rem;
|
11
11
|
display: block;
|
@@ -62,14 +62,10 @@
|
|
62
62
|
&> field {
|
63
63
|
&::after {
|
64
64
|
content: '';
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
bottom: 0;
|
69
|
-
@include margin('auto', 0, 'auto', 'xs');
|
70
|
-
@include padding('xs');
|
65
|
+
height: 2rem;
|
66
|
+
width: 2rem;
|
67
|
+
@include margin('auto', 0);
|
71
68
|
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><circle cx="12" cy="12" r="12" fill="%23CE0058"/><path stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16.666 7.333l-9.333 9.334M7.333 7.333l9.333 9.334"/></svg>') no-repeat center;
|
72
|
-
background-size: 100% 100%;
|
73
69
|
}
|
74
70
|
}
|
75
71
|
}
|
@@ -122,38 +118,3 @@
|
|
122
118
|
display: block;
|
123
119
|
}
|
124
120
|
}
|
125
|
-
|
126
|
-
.c-label {
|
127
|
-
font-weight: weight('bold');
|
128
|
-
@include margin-bottom('2xs');
|
129
|
-
display: block;
|
130
|
-
align-self: center;
|
131
|
-
}
|
132
|
-
|
133
|
-
.c-fieldset {
|
134
|
-
border: 0;
|
135
|
-
padding: 0.01em 0 0 0;
|
136
|
-
margin: 0;
|
137
|
-
min-width: 0;
|
138
|
-
|
139
|
-
legend {
|
140
|
-
@extend .c-h--step-3;
|
141
|
-
font-weight: weight('bold');
|
142
|
-
letter-spacing: ls('-3%');
|
143
|
-
display: table;
|
144
|
-
float: left;
|
145
|
-
@include margin('xs', 0, 'l');
|
146
|
-
padding: 0;
|
147
|
-
width: 100%;
|
148
|
-
|
149
|
-
+ * {
|
150
|
-
clear: both;
|
151
|
-
}
|
152
|
-
}
|
153
|
-
|
154
|
-
& + & {
|
155
|
-
border-top: 1px solid color('petrol', 'step-2');
|
156
|
-
@include margin-top('l-xl');
|
157
|
-
@include padding-top('l');
|
158
|
-
}
|
159
|
-
}
|
@@ -1,43 +1,29 @@
|
|
1
1
|
.mp-dynamicform {
|
2
2
|
.c-form {
|
3
|
-
&
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
&__header {
|
4
|
+
@extend .o-prose;
|
5
|
+
@include flow('s');
|
6
|
+
@include padding-bottom('m');
|
7
7
|
}
|
8
8
|
|
9
|
-
&
|
10
|
-
|
11
|
-
}
|
12
|
-
|
13
|
-
&__section-title {
|
9
|
+
&__title {
|
10
|
+
font-size: var(--step-4) !important;
|
14
11
|
letter-spacing: -.02em;
|
15
|
-
font-size: var(--step-3);
|
16
12
|
}
|
17
|
-
|
18
|
-
|
19
|
-
content: "*";
|
20
|
-
color: color('red');
|
21
|
-
padding: 0 2px;
|
22
|
-
position: relative;
|
23
|
-
top: -2px;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
.c-input {
|
28
|
-
&__wrap {
|
13
|
+
|
14
|
+
&__input-wrap {
|
29
15
|
align-items: flex-start;
|
30
16
|
gap: var(--space-s);
|
31
17
|
flex-wrap: wrap;
|
32
18
|
display: flex;
|
33
19
|
|
34
20
|
.c-label {
|
35
|
-
flex-basis:
|
21
|
+
flex-basis: 115px;
|
36
22
|
margin-bottom: 0;
|
37
23
|
|
38
24
|
&+ * {
|
39
|
-
|
40
|
-
|
25
|
+
flex: 1 0 148px;
|
26
|
+
}
|
41
27
|
}
|
42
28
|
}
|
43
29
|
|
@@ -53,6 +39,20 @@
|
|
53
39
|
}
|
54
40
|
}
|
55
41
|
|
42
|
+
& > .c-fieldset {
|
43
|
+
& > * + * {
|
44
|
+
@include padding-top('s');
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
.c-label--required:after {
|
49
|
+
content: "*";
|
50
|
+
color: color('red');
|
51
|
+
padding: 0 2px;
|
52
|
+
position: relative;
|
53
|
+
top: -2px;
|
54
|
+
}
|
55
|
+
|
56
56
|
.c-input__spacer {
|
57
57
|
height: 0;
|
58
58
|
flex-basis: 148px;
|
@@ -66,4 +66,39 @@
|
|
66
66
|
.c-radio + label {
|
67
67
|
display: inline-block;
|
68
68
|
}
|
69
|
+
}
|
70
|
+
|
71
|
+
.c-fieldset {
|
72
|
+
border: 0;
|
73
|
+
padding: 0.01em 0 0 0;
|
74
|
+
margin: 0;
|
75
|
+
min-width: 0;
|
76
|
+
|
77
|
+
legend {
|
78
|
+
@extend .c-h--step-1;
|
79
|
+
font-weight: weight('bold');
|
80
|
+
letter-spacing: ls('-3%');
|
81
|
+
display: table;
|
82
|
+
float: left;
|
83
|
+
padding: 0;
|
84
|
+
width: 100%;
|
85
|
+
|
86
|
+
+ * {
|
87
|
+
clear: both;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
& + & {
|
92
|
+
@include margin('s', 0, 0);
|
93
|
+
@include padding('s', 0);
|
94
|
+
border-top: 1px solid color('petrol', 'step-2');
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
.c-label {
|
99
|
+
@include margin-bottom('2xs');
|
100
|
+
display: block;
|
101
|
+
align-self: center;
|
102
|
+
font-size: var(--step--1);
|
103
|
+
font-weight: weight('bold');
|
69
104
|
}
|
package/src/brand/resources.njk
CHANGED
@@ -5,6 +5,7 @@ sidebar: brand
|
|
5
5
|
status: 'Ready'
|
6
6
|
tags: brand
|
7
7
|
---
|
8
|
+
|
8
9
|
{% from "components/prose/macro.njk" import markdown %}
|
9
10
|
{% from "components/card/macro.njk" import card %}
|
10
11
|
{% from "components/twi/macro.njk" import twi %}
|
@@ -28,7 +29,7 @@ tags: brand
|
|
28
29
|
}) }}
|
29
30
|
|
30
31
|
{{ twi({
|
31
|
-
link: "/static/adobe/MP%20Franklin%20colour%20swatches.ai"
|
32
|
+
link: "/static/adobe/MP%20Franklin%20colour%20swatches.ai",
|
32
33
|
label: "Adobe colour swatches",
|
33
34
|
classes: "u-link u-border u-pad-s",
|
34
35
|
icon: "file"
|