@mrfylke/contact-form 0.1.5 → 0.1.7
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/README.md +17 -0
- package/lib/components/button/button.module.css +151 -139
- package/lib/components/checkbox/checkbox.module.css +40 -37
- package/lib/components/error-message/error-message.module.css +2 -2
- package/lib/components/external-link-page.module.css +15 -15
- package/lib/components/form/fieldset/fieldset.module.css +15 -15
- package/lib/components/form/form-component-label/form-component-label.module.css +4 -4
- package/lib/components/form/form.module.css +324 -308
- package/lib/components/loading/loading.module.css +9 -9
- package/lib/components/section-card/section-card.module.css +10 -10
- package/lib/contact.module.css +37 -36
- package/lib/error-content/error-content.module.css +7 -7
- package/lib/layouts/container.module.css +10 -10
- package/lib/layouts/layout.module.css +46 -45
- package/lib/modules/config/types.d.ts +2 -32
- package/lib/modules/config/types.d.ts.map +1 -1
- package/lib/modules/transport-mode/filter/filter.module.css +51 -49
- package/lib/modules/transport-mode/icon/icon.module.css +14 -14
- package/lib/success-content/success-content.module.css +7 -7
- package/lib/translations/modules/index.d.ts +0 -1
- package/lib/translations/modules/index.d.ts.map +1 -1
- package/lib/translations/modules/index.js +1 -3
- package/package.json +2 -3
- package/lib/layouts/contact-form-footer.d.ts +0 -5
- package/lib/layouts/contact-form-footer.d.ts.map +0 -1
- package/lib/layouts/contact-form-footer.js +0 -75
- package/lib/layouts/contact-form-header.d.ts +0 -9
- package/lib/layouts/contact-form-header.d.ts.map +0 -1
- package/lib/layouts/contact-form-header.js +0 -50
- package/lib/layouts/footer.module.css +0 -109
- package/lib/layouts/header.module.css +0 -39
- package/lib/translations/modules/layout.d.ts +0 -73
- package/lib/translations/modules/layout.d.ts.map +0 -1
- package/lib/translations/modules/layout.js +0 -106
- package/lib/utils/use-localstorage.d.ts +0 -2
- package/lib/utils/use-localstorage.d.ts.map +0 -1
- package/lib/utils/use-localstorage.js +0 -40
- package/lib/utils/user-media-query.d.ts +0 -2
- package/lib/utils/user-media-query.d.ts.map +0 -1
- package/lib/utils/user-media-query.js +0 -36
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @mrfylke/contact-form
|
|
2
|
+
|
|
3
|
+
A configurable contact form package for public transportation organizations.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @mrfylke/contact-form
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
See [INTEGRATION.md](./INTEGRATION.md) for detailed integration instructions.
|
|
14
|
+
|
|
15
|
+
## License
|
|
16
|
+
|
|
17
|
+
EUPL-1.2
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
/* Button */
|
|
2
2
|
.button {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
composes: typo-body__m from '@atb-as/theme/lib/generated/typography.module.css';
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
text-align: left;
|
|
6
|
+
border: 0;
|
|
7
|
+
text-decoration: none;
|
|
8
|
+
align-items: center;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
display: flex;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
flex-wrap: nowrap;
|
|
13
|
+
gap: token('spacing.small');
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
background: transparent;
|
|
16
|
+
color: currentColor;
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
transition: all 100ms ease-in;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.button--display_inline {
|
|
22
|
-
|
|
22
|
+
display: inline-flex;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.button--disabled,
|
|
26
26
|
.button:disabled {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
opacity: 0.6;
|
|
28
|
+
cursor: not-allowed;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.button--state_loading {
|
|
32
|
-
|
|
32
|
+
cursor: not-allowed;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.button__text {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
display: block;
|
|
37
|
+
flex: 1;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.button--transparent,
|
|
@@ -42,358 +42,370 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.button--transparent:hover {
|
|
45
|
-
|
|
45
|
+
color: token('color.foreground.dynamic.secondary');
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.button--transparent:active {
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
background-color: token('color.interactive.0.active.background');
|
|
50
|
+
color: token('color.interactive.0.active.foreground.primary');
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.button--transparent:disabled,
|
|
54
54
|
.button--transparent.button--disabled {
|
|
55
|
-
|
|
55
|
+
opacity: 0.6;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.button--transparent:focus {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
outline: 0;
|
|
60
|
+
box-shadow: inset 0 0 0 token('border.width.medium')
|
|
61
|
+
token('color.interactive.1.outline.background');
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
.button--transparent--underline,
|
|
64
65
|
.button--transparent--underline:visited {
|
|
65
|
-
|
|
66
|
+
text-decoration: underline;
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
.button--transparent--underline:hover {
|
|
69
|
-
|
|
70
|
+
color: token('color.foreground.dynamic.secondary');
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
.button--transparent--underline:active {
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
background-color: token('color.interactive.0.active.background');
|
|
75
|
+
color: token('color.interactive.0.active.foreground.primary');
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
.button--transparent--underline:disabled,
|
|
78
79
|
.button--transparent--underline.button--disabled {
|
|
79
|
-
|
|
80
|
+
opacity: 0.6;
|
|
80
81
|
}
|
|
81
82
|
|
|
82
83
|
.button--transparent--underline:focus {
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
outline: 0;
|
|
85
|
+
box-shadow: inset 0 0 0 token('border.width.medium')
|
|
86
|
+
token('color.interactive.1.outline.background');
|
|
85
87
|
}
|
|
86
88
|
|
|
87
89
|
/* Primary */
|
|
88
90
|
.button--primary,
|
|
89
91
|
.button--primary:visited {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
+
color: token('color.foreground.inverse.primary');
|
|
93
|
+
background-color: token('color.interactive.0.default.background');
|
|
92
94
|
}
|
|
93
95
|
|
|
94
96
|
.button--primary:not(:disabled):hover,
|
|
95
97
|
.button--primary:not(:disabled):active,
|
|
96
98
|
.button--primary.button--state_active {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
+
color: token('color.foreground.dynamic.primary');
|
|
100
|
+
background-color: token('color.interactive.0.active.background');
|
|
99
101
|
}
|
|
100
102
|
|
|
101
103
|
.button--primary:disabled,
|
|
102
104
|
.button--primary.button--disabled {
|
|
103
|
-
|
|
105
|
+
opacity: 0.2;
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
/* Secondary */
|
|
107
109
|
.button--secondary,
|
|
108
110
|
.button--secondary:visited {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
+
color: token('color.foreground.dynamic.primary');
|
|
112
|
+
border: 2px solid token('color.foreground.dynamic.primary');
|
|
111
113
|
}
|
|
112
114
|
|
|
113
115
|
.button--secondary:not(:disabled):hover,
|
|
114
116
|
.button--secondary:not(:disabled):active,
|
|
115
117
|
.button--secondary.button--state_active {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
background-color: token('color.interactive.0.active.background');
|
|
119
|
+
border: 2px solid token('color.interactive.0.outline.background');
|
|
118
120
|
}
|
|
119
121
|
|
|
120
122
|
.button--secondary:disabled,
|
|
121
123
|
.button--secondary.button--disabled {
|
|
122
|
-
|
|
124
|
+
opacity: 0.2;
|
|
123
125
|
}
|
|
124
126
|
|
|
125
127
|
/* Interactive button 0 */
|
|
126
128
|
.button--interactive_0,
|
|
127
129
|
.button--interactive_0:visited {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
background-color: token('color.interactive.0.default.background');
|
|
131
|
+
color: token('color.interactive.0.default.foreground.primary');
|
|
130
132
|
}
|
|
131
133
|
|
|
132
134
|
.button--interactive_0:hover {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
+
background-color: token('color.interactive.0.hover.background');
|
|
136
|
+
color: token('color.interactive.0.hover.foreground.primary');
|
|
135
137
|
}
|
|
136
138
|
|
|
137
139
|
.button--interactive_0:active {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
+
background-color: token('color.interactive.0.active.background');
|
|
141
|
+
color: token('color.interactive.0.active.foreground.primary');
|
|
140
142
|
}
|
|
141
143
|
|
|
142
144
|
.button--interactive_0:disabled,
|
|
143
145
|
.button--interactive_0.button--disabled {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
+
background-color: token('color.interactive.0.disabled.background');
|
|
147
|
+
color: token('color.interactive.0.disabled.foreground.primary');
|
|
146
148
|
}
|
|
147
149
|
|
|
148
150
|
.button--interactive_0:focus {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
+
outline: 0;
|
|
152
|
+
box-shadow: inset 0 0 0 token('border.width.medium')
|
|
153
|
+
token('color.interactive.0.outline.background');
|
|
151
154
|
}
|
|
152
155
|
|
|
153
156
|
/* Interactive button 0 bordered */
|
|
154
157
|
.button--interactive_0--bordered,
|
|
155
158
|
.button--interactive_0--bordered:visited {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
+
background-color: token('color.interactive.0.default.background');
|
|
160
|
+
color: token('color.interactive.0.default.foreground.primary');
|
|
161
|
+
box-shadow: inset 0 0 0 token('border.width.slim')
|
|
162
|
+
token('color.interactive.0.default.foreground.primary');
|
|
159
163
|
}
|
|
160
164
|
|
|
161
165
|
.button--interactive_0--bordered:hover {
|
|
162
|
-
|
|
163
|
-
|
|
166
|
+
background-color: token('color.interactive.0.hover.background');
|
|
167
|
+
color: token('color.interactive.0.hover.foreground.primary');
|
|
164
168
|
}
|
|
165
169
|
|
|
166
170
|
.button--interactive_0--bordered:active {
|
|
167
|
-
|
|
168
|
-
|
|
171
|
+
background-color: token('color.interactive.0.active.background');
|
|
172
|
+
color: token('color.interactive.0.active.foreground.primary');
|
|
169
173
|
}
|
|
170
174
|
|
|
171
175
|
.button--interactive_0--bordered:disabled,
|
|
172
176
|
.button--interactive_0--bordered.button--disabled {
|
|
173
|
-
|
|
174
|
-
|
|
177
|
+
background-color: token('color.interactive.0.disabled.background');
|
|
178
|
+
color: token('color.interactive.0.disabled.foreground.primary');
|
|
175
179
|
}
|
|
176
180
|
|
|
177
181
|
.button--interactive_0--bordered:focus {
|
|
178
|
-
|
|
179
|
-
|
|
182
|
+
outline: 0;
|
|
183
|
+
box-shadow: inset 0 0 0 token('border.width.medium')
|
|
184
|
+
token('color.interactive.0.outline.background');
|
|
180
185
|
}
|
|
181
186
|
|
|
182
187
|
.button--interactive_0--bordered-light-outline,
|
|
183
188
|
.button--interactive_0--bordered-light-outline:visited {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
189
|
+
background-color: token('color.interactive.0.default.background');
|
|
190
|
+
color: token('color.interactive.0.default.foreground.primary');
|
|
191
|
+
box-shadow: inset 0 0 0 token('border.width.slim')
|
|
192
|
+
token('color.interactive.0.default.foreground.primary');
|
|
187
193
|
}
|
|
188
194
|
|
|
189
195
|
.button--interactive_0--bordered-light-outline:hover {
|
|
190
|
-
|
|
191
|
-
|
|
196
|
+
background-color: token('color.interactive.0.hover.background');
|
|
197
|
+
color: token('color.interactive.0.hover.foreground.primary');
|
|
192
198
|
}
|
|
193
199
|
|
|
194
200
|
.button--interactive_0--bordered-light-outline:active {
|
|
195
|
-
|
|
196
|
-
|
|
201
|
+
background-color: token('color.interactive.1.hover.background');
|
|
202
|
+
color: token('color.interactive.1.active.foreground.primary');
|
|
197
203
|
}
|
|
198
204
|
|
|
199
205
|
.button--interactive_0--bordered-light-outline:disabled,
|
|
200
206
|
.button--interactive_0--bordered-light-outline.button--disabled {
|
|
201
|
-
|
|
202
|
-
|
|
207
|
+
background-color: token('color.interactive.0.disabled.background');
|
|
208
|
+
color: token('color.interactive.0.disabled.foreground.primary');
|
|
203
209
|
}
|
|
204
210
|
|
|
205
211
|
.button--interactive_0--bordered-light-outline:focus {
|
|
206
|
-
|
|
207
|
-
|
|
212
|
+
outline: 0;
|
|
213
|
+
box-shadow: inset 0 0 0 token('border.width.medium')
|
|
214
|
+
token('color.interactive.0.active.background');
|
|
208
215
|
}
|
|
209
216
|
|
|
210
217
|
/* Interactive button 1 */
|
|
211
218
|
|
|
212
219
|
.button--interactive_1,
|
|
213
220
|
.button--interactive_1:visited {
|
|
214
|
-
|
|
215
|
-
|
|
221
|
+
background-color: token('color.interactive.1.default.background');
|
|
222
|
+
color: token('color.interactive.1.default.foreground.primary');
|
|
216
223
|
}
|
|
217
224
|
|
|
218
225
|
.button--interactive_1:hover {
|
|
219
|
-
|
|
220
|
-
|
|
226
|
+
background-color: token('color.interactive.1.hover.background');
|
|
227
|
+
color: token('color.interactive.1.hover.foreground.primary');
|
|
221
228
|
}
|
|
222
229
|
|
|
223
230
|
.button--interactive_1:active {
|
|
224
|
-
|
|
225
|
-
|
|
231
|
+
background-color: token('color.interactive.1.active.background');
|
|
232
|
+
color: token('color.interactive.1.active.foreground.primary');
|
|
226
233
|
}
|
|
227
234
|
|
|
228
235
|
.button--interactive_1:disabled,
|
|
229
236
|
.button--interactive_1.button--disabled {
|
|
230
|
-
|
|
231
|
-
|
|
237
|
+
background-color: token('color.interactive.1.disabled.background');
|
|
238
|
+
color: token('color.interactive.1.disabled.foreground.primary');
|
|
232
239
|
}
|
|
233
240
|
|
|
234
241
|
.button--interactive_1:focus {
|
|
235
|
-
|
|
236
|
-
|
|
242
|
+
outline: 0;
|
|
243
|
+
box-shadow: inset 0 0 0 token('border.width.medium')
|
|
244
|
+
token('color.interactive.1.outline.background');
|
|
237
245
|
}
|
|
238
246
|
|
|
239
247
|
/* Interactive button 2 */
|
|
240
248
|
|
|
241
249
|
.button--interactive_2,
|
|
242
250
|
.button--interactive_2:visited {
|
|
243
|
-
|
|
244
|
-
|
|
251
|
+
background-color: token('color.interactive.2.default.background');
|
|
252
|
+
color: token('color.interactive.2.default.foreground.primary');
|
|
245
253
|
}
|
|
246
254
|
|
|
247
255
|
.button--interactive_2:hover {
|
|
248
|
-
|
|
249
|
-
|
|
256
|
+
background-color: token('color.interactive.2.hover.background');
|
|
257
|
+
color: token('color.interactive.2.hover.foreground.primary');
|
|
250
258
|
}
|
|
251
259
|
|
|
252
260
|
.button--interactive_2:active {
|
|
253
|
-
|
|
254
|
-
|
|
261
|
+
background-color: token('color.interactive.2.active.background');
|
|
262
|
+
color: token('color.interactive.2.active.foreground.primary');
|
|
255
263
|
}
|
|
256
264
|
|
|
257
265
|
.button--interactive_2:disabled,
|
|
258
266
|
.button--interactive_2.button--disabled {
|
|
259
|
-
|
|
260
|
-
|
|
267
|
+
background-color: token('color.interactive.2.disabled.background');
|
|
268
|
+
color: token('color.interactive.2.disabled.foreground.primary');
|
|
261
269
|
}
|
|
262
270
|
|
|
263
271
|
.button--interactive_2:focus {
|
|
264
|
-
|
|
265
|
-
|
|
272
|
+
outline: 0;
|
|
273
|
+
box-shadow: inset 0 0 0 token('border.width.medium')
|
|
274
|
+
token('color.interactive.2.outline.background');
|
|
266
275
|
}
|
|
267
276
|
|
|
268
277
|
/* Interactive button 2 alternative */
|
|
269
278
|
|
|
270
279
|
.button--interactive_2--light-outline,
|
|
271
280
|
.button--interactive_2--light-outline:visited {
|
|
272
|
-
|
|
273
|
-
|
|
281
|
+
background-color: token('color.interactive.2.default.background');
|
|
282
|
+
color: token('color.interactive.2.default.foreground.primary');
|
|
274
283
|
}
|
|
275
284
|
|
|
276
285
|
.button--interactive_2--light-outline:hover {
|
|
277
|
-
|
|
278
|
-
|
|
286
|
+
background-color: token('color.interactive.2.hover.background');
|
|
287
|
+
color: token('color.interactive.2.hover.foreground.primary');
|
|
279
288
|
}
|
|
280
289
|
|
|
281
290
|
.button--interactive_2--light-outline:active {
|
|
282
|
-
|
|
283
|
-
|
|
291
|
+
background-color: token('color.interactive.2.active.background');
|
|
292
|
+
color: token('color.interactive.2.active.foreground.primary');
|
|
284
293
|
}
|
|
285
294
|
|
|
286
295
|
.button--interactive_2--light-outline:disabled,
|
|
287
296
|
.button--interactive_2--light-outline.button--disabled {
|
|
288
|
-
|
|
289
|
-
|
|
297
|
+
background-color: token('color.interactive.2.disabled.background');
|
|
298
|
+
color: token('color.interactive.2.disabled.foreground.primary');
|
|
290
299
|
}
|
|
291
300
|
|
|
292
301
|
.button--interactive_2--light-outline:focus {
|
|
293
|
-
|
|
294
|
-
|
|
302
|
+
outline: 0;
|
|
303
|
+
box-shadow: inset 0 0 0 token('border.width.medium')
|
|
304
|
+
token('color.interactive.1.active.background');
|
|
295
305
|
}
|
|
296
306
|
|
|
297
307
|
/* Interactive button 3 */
|
|
298
308
|
|
|
299
309
|
.button--interactive_3,
|
|
300
310
|
.button--interactive_3:visited {
|
|
301
|
-
|
|
302
|
-
|
|
311
|
+
background-color: token('color.interactive.3.default.background');
|
|
312
|
+
color: token('color.interactive.3.default.foreground.primary');
|
|
303
313
|
}
|
|
304
314
|
|
|
305
315
|
.button--interactive_3:hover {
|
|
306
|
-
|
|
307
|
-
|
|
316
|
+
background-color: token('color.interactive.3.hover.background');
|
|
317
|
+
color: token('color.interactive.3.hover.foreground.primary');
|
|
308
318
|
}
|
|
309
319
|
|
|
310
320
|
.button--interactive_3:active {
|
|
311
|
-
|
|
312
|
-
|
|
321
|
+
background-color: token('color.interactive.3.active.background');
|
|
322
|
+
color: token('color.interactive.3.active.foreground.primary');
|
|
313
323
|
}
|
|
314
324
|
|
|
315
325
|
.button--interactive_3:disabled,
|
|
316
326
|
.button--interactive_3.button--disabled {
|
|
317
|
-
|
|
318
|
-
|
|
327
|
+
background-color: token('color.interactive.3.disabled.background');
|
|
328
|
+
color: token('color.interactive.3.disabled.foreground.primary');
|
|
319
329
|
}
|
|
320
330
|
|
|
321
331
|
.button--interactive_3:focus {
|
|
322
|
-
|
|
323
|
-
|
|
332
|
+
outline: 0;
|
|
333
|
+
box-shadow: inset 0 0 0 token('border.width.medium')
|
|
334
|
+
token('color.interactive.3.outline.background');
|
|
324
335
|
}
|
|
325
336
|
|
|
326
337
|
/* Interactive button, destructive */
|
|
327
338
|
|
|
328
339
|
.button--destructive,
|
|
329
340
|
.button--destructive:visited {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
341
|
+
background-color: var(
|
|
342
|
+
--interactive-interactive_destructive-default-background
|
|
343
|
+
);
|
|
344
|
+
color: token('color.interactive.destructive.default.foreground.primary');
|
|
334
345
|
}
|
|
335
346
|
|
|
336
347
|
.button--destructive:hover {
|
|
337
|
-
|
|
338
|
-
|
|
348
|
+
background-color: token('color.interactive.destructive.hover.background');
|
|
349
|
+
color: token('color.interactive.destructive.hover.foreground.primary');
|
|
339
350
|
}
|
|
340
351
|
|
|
341
352
|
.button--destructive:active {
|
|
342
|
-
|
|
343
|
-
|
|
353
|
+
background-color: token('color.interactive.destructive.active.background');
|
|
354
|
+
color: token('color.interactive.destructive.active.foreground.primary');
|
|
344
355
|
}
|
|
345
356
|
|
|
346
357
|
.button--destructive:disabled,
|
|
347
358
|
.button--destructive.button--disabled {
|
|
348
|
-
|
|
349
|
-
|
|
359
|
+
background-color: token('color.interactive.destructive.disabled.background');
|
|
360
|
+
color: token('color.interactive.destructive.disabled.foreground.primary');
|
|
350
361
|
}
|
|
351
362
|
|
|
352
363
|
.button--destructive:focus {
|
|
353
|
-
|
|
354
|
-
|
|
364
|
+
outline: 0;
|
|
365
|
+
box-shadow: inset 0 0 0 token('border.width.medium')
|
|
366
|
+
token('color.interactive.destructive.outline.background');
|
|
355
367
|
}
|
|
356
368
|
|
|
357
369
|
.button--size_medium {
|
|
358
|
-
|
|
370
|
+
padding: token('spacing.xLarge');
|
|
359
371
|
}
|
|
360
372
|
|
|
361
373
|
.button--size_small {
|
|
362
|
-
|
|
374
|
+
padding: token('spacing.medium');
|
|
363
375
|
}
|
|
364
376
|
|
|
365
377
|
.button--size_compact {
|
|
366
|
-
|
|
378
|
+
padding: 0;
|
|
367
379
|
}
|
|
368
380
|
|
|
369
381
|
.button--size_pill {
|
|
370
|
-
|
|
382
|
+
padding: token('spacing.xSmall') token('spacing.medium');
|
|
371
383
|
}
|
|
372
384
|
|
|
373
385
|
.button--radius_top-bottom {
|
|
374
|
-
|
|
386
|
+
border-radius: token('border.radius.regular');
|
|
375
387
|
}
|
|
376
388
|
|
|
377
389
|
.button--radius_top {
|
|
378
|
-
|
|
379
|
-
|
|
390
|
+
border-top-left-radius: token('border.radius.regular');
|
|
391
|
+
border-top-right-radius: token('border.radius.regular');
|
|
380
392
|
}
|
|
381
393
|
|
|
382
394
|
.button--radius_bottom {
|
|
383
|
-
|
|
384
|
-
|
|
395
|
+
border-bottom-left-radius: token('border.radius.regular');
|
|
396
|
+
border-bottom-right-radius: token('border.radius.regular');
|
|
385
397
|
}
|
|
386
398
|
|
|
387
399
|
.button--radius_top-bottom.button--radiusSize_circular {
|
|
388
|
-
|
|
400
|
+
border-radius: token('border.radius.circle');
|
|
389
401
|
}
|
|
390
402
|
|
|
391
403
|
.button--radius_top.button--radiusSize_circular {
|
|
392
|
-
|
|
393
|
-
|
|
404
|
+
border-top-left-radius: token('border.radius.circle');
|
|
405
|
+
border-top-right-radius: token('border.radius.circle');
|
|
394
406
|
}
|
|
395
407
|
|
|
396
408
|
.button--radius_bottom.button--radiusSize_circular {
|
|
397
|
-
|
|
398
|
-
|
|
409
|
+
border-bottom-left-radius: token('border.radius.circle');
|
|
410
|
+
border-bottom-right-radius: token('border.radius.circle');
|
|
399
411
|
}
|