@nuvoui/core 1.2.5 → 1.2.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 +2 -2
- package/dist/nuvoui.css +22277 -22831
- package/dist/nuvoui.css.map +1 -1
- package/dist/nuvoui.min.css +1 -1
- package/dist/nuvoui.min.css.map +1 -1
- package/package.json +2 -2
- package/src/styles/abstracts/_config.scss +124 -56
- package/src/styles/abstracts/_functions.scss +21 -61
- package/src/styles/base/_base.scss +67 -59
- package/src/styles/base/_reset.scss +11 -8
- package/src/styles/index.scss +28 -10
- package/src/styles/layouts/_container.scss +1 -2
- package/src/styles/layouts/_flex.scss +442 -154
- package/src/styles/layouts/_grid.scss +145 -75
- package/src/styles/mixins-map.json +482 -0
- package/src/styles/mixins-map.scss +1 -1
- package/src/styles/themes/_theme.scss +114 -94
- package/src/styles/utilities/_alignment.scss +40 -13
- package/src/styles/utilities/_animations.scss +165 -105
- package/src/styles/utilities/_backdrop-filters.scss +156 -107
- package/src/styles/utilities/_borders.scss +329 -143
- package/src/styles/utilities/_colors.scss +24 -25
- package/src/styles/utilities/_container-queries.scss +7 -7
- package/src/styles/utilities/_cursor.scss +10 -17
- package/src/styles/utilities/_display.scss +234 -85
- package/src/styles/utilities/_helpers.scss +5 -5
- package/src/styles/utilities/_media-queries.scss +24 -27
- package/src/styles/utilities/_opacity.scss +15 -31
- package/src/styles/utilities/_position.scss +129 -66
- package/src/styles/utilities/_shadows.scss +25 -31
- package/src/styles/utilities/_sizing.scss +269 -108
- package/src/styles/utilities/_spacing.scss +254 -156
- package/src/styles/utilities/_tooltips.scss +35 -31
- package/src/styles/utilities/_transforms.scss +179 -156
- package/src/styles/utilities/_transitions.scss +134 -68
- package/src/styles/utilities/_typography.scss +341 -127
- package/src/styles/utilities/_z-index.scss +79 -49
- package/src/styles/abstracts/_index.scss +0 -1
- package/src/styles/base/_index.scss +0 -2
- package/src/styles/layouts/_index.scss +0 -3
- package/src/styles/themes/_index.scss +0 -1
- package/src/styles/utilities/_index.scss +0 -23
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
3
|
-
@use
|
|
4
|
-
@use
|
|
5
|
-
@use
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
@use "sass:string";
|
|
3
|
+
@use "sass:meta";
|
|
4
|
+
@use "../abstracts/config" as VAR;
|
|
5
|
+
@use "../abstracts/functions" as FN;
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
/**
|
|
9
8
|
* @component Spacing
|
|
10
9
|
* @description Controls element margins, padding, gaps, and spacing between children
|
|
@@ -74,7 +73,6 @@
|
|
|
74
73
|
* @see flex, grid, display
|
|
75
74
|
*/
|
|
76
75
|
|
|
77
|
-
|
|
78
76
|
// -----------------------------------------------
|
|
79
77
|
// PADDING MIXINS
|
|
80
78
|
// -----------------------------------------------
|
|
@@ -84,17 +82,17 @@
|
|
|
84
82
|
* @description Sets padding on all sides
|
|
85
83
|
* @param {Number|String} $val - Padding value
|
|
86
84
|
*/
|
|
87
|
-
@mixin p($val) {
|
|
85
|
+
@mixin p($val) {
|
|
86
|
+
padding: FN.fix-units($val);
|
|
87
|
+
}
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* @mixin px
|
|
91
91
|
* @description Sets horizontal padding (left and right)
|
|
92
92
|
* @param {Number|String} $val - Padding value
|
|
93
93
|
*/
|
|
94
|
-
@mixin px($val) {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
padding-inline: $val;
|
|
94
|
+
@mixin px($val) {
|
|
95
|
+
padding-inline: FN.fix-units($val);
|
|
98
96
|
}
|
|
99
97
|
|
|
100
98
|
/**
|
|
@@ -102,21 +100,17 @@
|
|
|
102
100
|
* @description Sets vertical padding (top and bottom)
|
|
103
101
|
* @param {Number|String} $val - Padding value
|
|
104
102
|
*/
|
|
105
|
-
@mixin py($val) {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
padding-block: $val;
|
|
103
|
+
@mixin py($val) {
|
|
104
|
+
padding-block: FN.fix-units($val);
|
|
109
105
|
}
|
|
110
|
-
|
|
106
|
+
|
|
111
107
|
/**
|
|
112
108
|
* @mixin pt
|
|
113
109
|
* @description Sets padding-top
|
|
114
110
|
* @param {Number|String} $val - Padding value
|
|
115
111
|
*/
|
|
116
|
-
@mixin pt($val) {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
padding-top: $val;
|
|
112
|
+
@mixin pt($val) {
|
|
113
|
+
padding-top: FN.fix-units($val);
|
|
120
114
|
}
|
|
121
115
|
|
|
122
116
|
/**
|
|
@@ -124,10 +118,8 @@
|
|
|
124
118
|
* @description Sets padding-right
|
|
125
119
|
* @param {Number|String} $val - Padding value
|
|
126
120
|
*/
|
|
127
|
-
@mixin pr($val) {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
padding-right: $val;
|
|
121
|
+
@mixin pr($val) {
|
|
122
|
+
padding-right: FN.fix-units($val);
|
|
131
123
|
}
|
|
132
124
|
|
|
133
125
|
/**
|
|
@@ -135,10 +127,8 @@
|
|
|
135
127
|
* @description Sets padding-bottom
|
|
136
128
|
* @param {Number|String} $val - Padding value
|
|
137
129
|
*/
|
|
138
|
-
@mixin pb($val) {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
padding-bottom: $val;
|
|
130
|
+
@mixin pb($val) {
|
|
131
|
+
padding-bottom: FN.fix-units($val);
|
|
142
132
|
}
|
|
143
133
|
|
|
144
134
|
/**
|
|
@@ -146,10 +136,8 @@
|
|
|
146
136
|
* @description Sets padding-left
|
|
147
137
|
* @param {Number|String} $val - Padding value
|
|
148
138
|
*/
|
|
149
|
-
@mixin pl($val) {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
padding-left: $val;
|
|
139
|
+
@mixin pl($val) {
|
|
140
|
+
padding-left: FN.fix-units($val);
|
|
153
141
|
}
|
|
154
142
|
|
|
155
143
|
// -----------------------------------------------
|
|
@@ -161,10 +149,8 @@
|
|
|
161
149
|
* @description Sets margin on all sides
|
|
162
150
|
* @param {Number|String} $val - Margin value
|
|
163
151
|
*/
|
|
164
|
-
@mixin m($val) {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
margin: $val;
|
|
152
|
+
@mixin m($val) {
|
|
153
|
+
margin: FN.fix-units($val);
|
|
168
154
|
}
|
|
169
155
|
|
|
170
156
|
/**
|
|
@@ -172,10 +158,8 @@
|
|
|
172
158
|
* @description Sets horizontal margin (left and right)
|
|
173
159
|
* @param {Number|String} $val - Margin value
|
|
174
160
|
*/
|
|
175
|
-
@mixin mx($val) {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
margin-inline: $val;
|
|
161
|
+
@mixin mx($val) {
|
|
162
|
+
margin-inline: FN.fix-units($val);
|
|
179
163
|
}
|
|
180
164
|
|
|
181
165
|
/**
|
|
@@ -183,10 +167,10 @@
|
|
|
183
167
|
* @description Sets vertical margin (top and bottom)
|
|
184
168
|
* @param {Number|String} $val - Margin value
|
|
185
169
|
*/
|
|
186
|
-
@mixin my($val) {
|
|
170
|
+
@mixin my($val) {
|
|
187
171
|
$val: FN.fix-units($val);
|
|
188
172
|
|
|
189
|
-
margin-block: $val;
|
|
173
|
+
margin-block: FN.fix-units($val);
|
|
190
174
|
}
|
|
191
175
|
|
|
192
176
|
/**
|
|
@@ -194,21 +178,17 @@
|
|
|
194
178
|
* @description Sets margin-top
|
|
195
179
|
* @param {Number|String} $val - Margin value
|
|
196
180
|
*/
|
|
197
|
-
@mixin mt($val) {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
margin-top: $val;
|
|
181
|
+
@mixin mt($val) {
|
|
182
|
+
margin-top: FN.fix-units($val, VAR.$default-unit);
|
|
201
183
|
}
|
|
202
184
|
|
|
203
185
|
/**
|
|
204
186
|
* @mixin mr
|
|
205
|
-
* @description Sets margin-right
|
|
187
|
+
* @description Sets margin-right
|
|
206
188
|
* @param {Number|String} $val - Margin value
|
|
207
189
|
*/
|
|
208
|
-
@mixin mr($val) {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
margin-right: $val;
|
|
190
|
+
@mixin mr($val) {
|
|
191
|
+
margin-right: FN.fix-units($val);
|
|
212
192
|
}
|
|
213
193
|
|
|
214
194
|
/**
|
|
@@ -216,10 +196,8 @@
|
|
|
216
196
|
* @description Sets margin-bottom
|
|
217
197
|
* @param {Number|String} $val - Margin value
|
|
218
198
|
*/
|
|
219
|
-
@mixin mb($val) {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
margin-bottom: $val;
|
|
199
|
+
@mixin mb($val) {
|
|
200
|
+
margin-bottom: FN.fix-units($val);
|
|
223
201
|
}
|
|
224
202
|
|
|
225
203
|
/**
|
|
@@ -227,30 +205,34 @@
|
|
|
227
205
|
* @description Sets margin-left
|
|
228
206
|
* @param {Number|String} $val - Margin value
|
|
229
207
|
*/
|
|
230
|
-
@mixin ml($val) {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
margin-left: $val;
|
|
208
|
+
@mixin ml($val) {
|
|
209
|
+
margin-left: FN.fix-units($val);
|
|
234
210
|
}
|
|
235
211
|
|
|
236
212
|
/**
|
|
237
213
|
* @mixin ml-auto
|
|
238
214
|
* @description Sets margin-left to auto
|
|
239
215
|
*/
|
|
240
|
-
@mixin ml-auto {
|
|
216
|
+
@mixin ml-auto {
|
|
217
|
+
margin-left: auto;
|
|
218
|
+
}
|
|
241
219
|
|
|
242
220
|
/**
|
|
243
221
|
* @mixin mr-auto
|
|
244
222
|
* @description Sets margin-right to auto
|
|
245
223
|
*/
|
|
246
|
-
@mixin mr-auto {
|
|
224
|
+
@mixin mr-auto {
|
|
225
|
+
margin-right: auto;
|
|
226
|
+
}
|
|
247
227
|
|
|
248
228
|
/**
|
|
249
229
|
* @mixin mx-auto
|
|
250
230
|
* @description Centers element horizontally using auto margins
|
|
251
231
|
*/
|
|
252
|
-
@mixin mx-auto {
|
|
253
|
-
|
|
232
|
+
@mixin mx-auto {
|
|
233
|
+
@include ml-auto;
|
|
234
|
+
@include mr-auto;
|
|
235
|
+
}
|
|
254
236
|
|
|
255
237
|
// -----------------------------------------------
|
|
256
238
|
// INSET MIXINS
|
|
@@ -261,10 +243,10 @@
|
|
|
261
243
|
* @description Sets all inset properties (top, right, bottom, left)
|
|
262
244
|
* @param {Number|String} $val - Inset value
|
|
263
245
|
*/
|
|
264
|
-
|
|
246
|
+
@mixin inset($val) {
|
|
265
247
|
$val: FN.fix-units($val);
|
|
266
|
-
|
|
267
|
-
inset: $val;
|
|
248
|
+
|
|
249
|
+
inset: FN.fix-units($val);
|
|
268
250
|
}
|
|
269
251
|
|
|
270
252
|
/**
|
|
@@ -328,22 +310,18 @@
|
|
|
328
310
|
*/
|
|
329
311
|
@mixin space-y($i) {
|
|
330
312
|
& > * + * {
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
margin-top: $i;
|
|
313
|
+
margin-top: FN.fix-units($i);
|
|
334
314
|
}
|
|
335
315
|
}
|
|
336
316
|
|
|
337
|
-
|
|
317
|
+
/**
|
|
338
318
|
* @mixin space-x
|
|
339
319
|
* @description Adds horizontal spacing between direct children
|
|
340
320
|
* @param {Number|String} $i - Space amount
|
|
341
321
|
*/
|
|
342
322
|
@mixin space-x($i) {
|
|
343
323
|
& > * + * {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
margin-left: $i;
|
|
324
|
+
margin-left: FN.fix-units($i);
|
|
347
325
|
}
|
|
348
326
|
}
|
|
349
327
|
|
|
@@ -356,126 +334,246 @@
|
|
|
356
334
|
* @description Sets gap between grid/flex children
|
|
357
335
|
* @param {Number|String} $val - Gap value
|
|
358
336
|
*/
|
|
359
|
-
|
|
337
|
+
@mixin gap($val) {
|
|
338
|
+
gap: FN.fix-units($val);
|
|
339
|
+
}
|
|
360
340
|
|
|
361
|
-
|
|
341
|
+
/**
|
|
362
342
|
* @mixin gap-x
|
|
363
343
|
* @description Sets horizontal gap between grid/flex children
|
|
364
344
|
* @param {Number|String} $val - Gap value
|
|
365
345
|
*/
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
346
|
+
@mixin gap-x($val) {
|
|
347
|
+
column-gap: FN.fix-units($val);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/**
|
|
369
351
|
* @mixin gap-y
|
|
370
352
|
* @description Sets vertical gap between grid/flex children
|
|
371
353
|
* @param {Number|String} $val - Gap value
|
|
372
354
|
*/
|
|
373
|
-
|
|
355
|
+
@mixin gap-y($val) {
|
|
356
|
+
row-gap: FN.fix-units($val);
|
|
357
|
+
}
|
|
374
358
|
|
|
375
|
-
@if
|
|
359
|
+
@if VAR.$generate-utility-classes {
|
|
376
360
|
// -----------------------------------------------
|
|
377
361
|
// AUTO MARGIN UTILITY CLASSES
|
|
378
362
|
// -----------------------------------------------
|
|
379
363
|
|
|
380
|
-
.mx-auto {
|
|
381
|
-
|
|
382
|
-
|
|
364
|
+
#{VAR.$parent-selector} .mx-auto {
|
|
365
|
+
@include mx-auto;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
#{VAR.$parent-selector} .ml-auto {
|
|
369
|
+
@include ml-auto;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
#{VAR.$parent-selector} .mr-auto {
|
|
373
|
+
@include mr-auto;
|
|
374
|
+
}
|
|
383
375
|
|
|
384
376
|
// -----------------------------------------------
|
|
385
377
|
// GAP AUTO CLASS
|
|
386
378
|
// -----------------------------------------------
|
|
387
379
|
|
|
388
|
-
.gap-auto {
|
|
380
|
+
#{VAR.$parent-selector} .gap-auto {
|
|
381
|
+
gap: auto;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
// Auto inset utility classes
|
|
385
|
+
#{VAR.$parent-selector} .inset-auto {
|
|
386
|
+
@include inset-auto;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
#{VAR.$parent-selector} .inset-x-auto {
|
|
390
|
+
@include inset-x-auto;
|
|
391
|
+
}
|
|
389
392
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
.inset-y-auto { @include inset-y-auto; }
|
|
393
|
+
#{VAR.$parent-selector} .inset-y-auto {
|
|
394
|
+
@include inset-y-auto;
|
|
395
|
+
}
|
|
394
396
|
|
|
395
|
-
|
|
396
397
|
// -----------------------------------------------
|
|
397
398
|
// SPACING CLASSES
|
|
398
399
|
// -----------------------------------------------
|
|
399
400
|
|
|
400
|
-
@each $key, $value in
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
// Space classes
|
|
425
|
-
.space-x-#{$key} { @include space-x($value); }
|
|
426
|
-
.space-y-#{$key} { @include space-y($value); }
|
|
427
|
-
|
|
428
|
-
.inset-#{$key} { @include inset($value); }
|
|
429
|
-
.inset-x-#{$key} { @include inset-x($value); }
|
|
430
|
-
.inset-y-#{$key} { @include inset-y($value); }
|
|
431
|
-
|
|
432
|
-
}
|
|
401
|
+
@each $key, $value in VAR.$spacings {
|
|
402
|
+
// Padding classes
|
|
403
|
+
#{VAR.$parent-selector} .p-#{$key} {
|
|
404
|
+
@include p($value);
|
|
405
|
+
}
|
|
406
|
+
#{VAR.$parent-selector} .px-#{$key} {
|
|
407
|
+
@include px($value);
|
|
408
|
+
}
|
|
409
|
+
#{VAR.$parent-selector} .py-#{$key} {
|
|
410
|
+
@include py($value);
|
|
411
|
+
}
|
|
412
|
+
#{VAR.$parent-selector} .pt-#{$key} {
|
|
413
|
+
@include pt($value);
|
|
414
|
+
}
|
|
415
|
+
#{VAR.$parent-selector} .pr-#{$key} {
|
|
416
|
+
@include pr($value);
|
|
417
|
+
}
|
|
418
|
+
#{VAR.$parent-selector} .pb-#{$key} {
|
|
419
|
+
@include pb($value);
|
|
420
|
+
}
|
|
421
|
+
#{VAR.$parent-selector} .pl-#{$key} {
|
|
422
|
+
@include pl($value);
|
|
423
|
+
}
|
|
433
424
|
|
|
425
|
+
// Margin classes
|
|
426
|
+
#{VAR.$parent-selector} .m-#{$key} {
|
|
427
|
+
@include m($value);
|
|
428
|
+
}
|
|
429
|
+
#{VAR.$parent-selector} .mx-#{$key} {
|
|
430
|
+
@include mx($value);
|
|
431
|
+
}
|
|
432
|
+
#{VAR.$parent-selector} .my-#{$key} {
|
|
433
|
+
@include my($value);
|
|
434
|
+
}
|
|
435
|
+
#{VAR.$parent-selector} .mt-#{$key} {
|
|
436
|
+
@include mt($value);
|
|
437
|
+
}
|
|
438
|
+
#{VAR.$parent-selector} .mr-#{$key} {
|
|
439
|
+
@include mr($value);
|
|
440
|
+
}
|
|
441
|
+
#{VAR.$parent-selector} .mb-#{$key} {
|
|
442
|
+
@include mb($value);
|
|
443
|
+
}
|
|
444
|
+
#{VAR.$parent-selector} .ml-#{$key} {
|
|
445
|
+
@include ml($value);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
// Gap classes
|
|
449
|
+
#{VAR.$parent-selector} .gap-#{$key} {
|
|
450
|
+
@include gap($value);
|
|
451
|
+
}
|
|
452
|
+
#{VAR.$parent-selector} .gap-x-#{$key} {
|
|
453
|
+
@include gap-x($value);
|
|
454
|
+
}
|
|
455
|
+
#{VAR.$parent-selector} .gap-y-#{$key} {
|
|
456
|
+
@include gap-y($value);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
// Space classes
|
|
460
|
+
#{VAR.$parent-selector} .space-x-#{$key} {
|
|
461
|
+
@include space-x($value);
|
|
462
|
+
}
|
|
463
|
+
#{VAR.$parent-selector} .space-y-#{$key} {
|
|
464
|
+
@include space-y($value);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
#{VAR.$parent-selector} .inset-#{$key} {
|
|
468
|
+
@include inset($value);
|
|
469
|
+
}
|
|
470
|
+
#{VAR.$parent-selector} .inset-x-#{$key} {
|
|
471
|
+
@include inset-x($value);
|
|
472
|
+
}
|
|
473
|
+
#{VAR.$parent-selector} .inset-y-#{$key} {
|
|
474
|
+
@include inset-y($value);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
434
477
|
|
|
435
478
|
// -----------------------------------------------
|
|
436
479
|
// RESPONSIVE SPACING CLASSES
|
|
437
480
|
// -----------------------------------------------
|
|
438
481
|
|
|
439
|
-
@each $breakpoint, $width in
|
|
482
|
+
@each $breakpoint, $width in VAR.$breakpoints {
|
|
440
483
|
@media (min-width: #{$width}) {
|
|
441
|
-
.mx-auto\@#{$breakpoint} {
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
.
|
|
445
|
-
|
|
446
|
-
|
|
484
|
+
#{VAR.$parent-selector} .mx-auto\@#{$breakpoint} {
|
|
485
|
+
@include mx-auto;
|
|
486
|
+
}
|
|
487
|
+
#{VAR.$parent-selector} .ml-auto\@#{$breakpoint} {
|
|
488
|
+
@include ml-auto;
|
|
489
|
+
}
|
|
490
|
+
#{VAR.$parent-selector} .mr-auto\@#{$breakpoint} {
|
|
491
|
+
@include mr-auto;
|
|
492
|
+
}
|
|
493
|
+
#{VAR.$parent-selector} .inset-auto\@#{$breakpoint} {
|
|
494
|
+
@include inset-auto;
|
|
495
|
+
}
|
|
496
|
+
#{VAR.$parent-selector} .inset-x-auto\@#{$breakpoint} {
|
|
497
|
+
@include inset-x-auto;
|
|
498
|
+
}
|
|
499
|
+
#{VAR.$parent-selector} .inset-y-auto\@#{$breakpoint} {
|
|
500
|
+
@include inset-y-auto;
|
|
501
|
+
}
|
|
447
502
|
|
|
448
503
|
// Generate utilities from spacing map
|
|
449
|
-
@each $key, $value in
|
|
504
|
+
@each $key, $value in VAR.$spacings {
|
|
450
505
|
// Padding classes
|
|
451
|
-
.p-#{$key}\@#{$breakpoint} {
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
.
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
.
|
|
506
|
+
#{VAR.$parent-selector} .p-#{$key}\@#{$breakpoint} {
|
|
507
|
+
@include p($value);
|
|
508
|
+
}
|
|
509
|
+
#{VAR.$parent-selector} .px-#{$key}\@#{$breakpoint} {
|
|
510
|
+
@include px($value);
|
|
511
|
+
}
|
|
512
|
+
#{VAR.$parent-selector} .py-#{$key}\@#{$breakpoint} {
|
|
513
|
+
@include py($value);
|
|
514
|
+
}
|
|
515
|
+
#{VAR.$parent-selector} .pt-#{$key}\@#{$breakpoint} {
|
|
516
|
+
@include pt($value);
|
|
517
|
+
}
|
|
518
|
+
#{VAR.$parent-selector} .pr-#{$key}\@#{$breakpoint} {
|
|
519
|
+
@include pr($value);
|
|
520
|
+
}
|
|
521
|
+
#{VAR.$parent-selector} .pb-#{$key}\@#{$breakpoint} {
|
|
522
|
+
@include pb($value);
|
|
523
|
+
}
|
|
524
|
+
#{VAR.$parent-selector} .pl-#{$key}\@#{$breakpoint} {
|
|
525
|
+
@include pl($value);
|
|
526
|
+
}
|
|
458
527
|
|
|
459
528
|
// Margin classes
|
|
460
|
-
.m-#{$key}\@#{$breakpoint} {
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
.
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
.
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
.
|
|
470
|
-
|
|
471
|
-
|
|
529
|
+
#{VAR.$parent-selector} .m-#{$key}\@#{$breakpoint} {
|
|
530
|
+
@include m($value);
|
|
531
|
+
}
|
|
532
|
+
#{VAR.$parent-selector} .mx-#{$key}\@#{$breakpoint} {
|
|
533
|
+
@include mx($value);
|
|
534
|
+
}
|
|
535
|
+
#{VAR.$parent-selector} .my-#{$key}\@#{$breakpoint} {
|
|
536
|
+
@include my($value);
|
|
537
|
+
}
|
|
538
|
+
#{VAR.$parent-selector} .mt-#{$key}\@#{$breakpoint} {
|
|
539
|
+
@include mt($value);
|
|
540
|
+
}
|
|
541
|
+
#{VAR.$parent-selector} .mr-#{$key}\@#{$breakpoint} {
|
|
542
|
+
@include mr($value);
|
|
543
|
+
}
|
|
544
|
+
#{VAR.$parent-selector} .mb-#{$key}\@#{$breakpoint} {
|
|
545
|
+
@include mb($value);
|
|
546
|
+
}
|
|
547
|
+
#{VAR.$parent-selector} .ml-#{$key}\@#{$breakpoint} {
|
|
548
|
+
@include ml($value);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
#{VAR.$parent-selector} .gap-#{$key}\@#{$breakpoint} {
|
|
552
|
+
gap: $value;
|
|
553
|
+
}
|
|
554
|
+
#{VAR.$parent-selector} .gap-x-#{$key}\@#{$breakpoint} {
|
|
555
|
+
column-gap: $value;
|
|
556
|
+
}
|
|
557
|
+
#{VAR.$parent-selector} .gap-y-#{$key}\@#{$breakpoint} {
|
|
558
|
+
row-gap: $value;
|
|
559
|
+
}
|
|
560
|
+
|
|
472
561
|
// Space classes
|
|
473
|
-
.space-x-#{$key}\@#{$breakpoint} {
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
.
|
|
477
|
-
|
|
478
|
-
|
|
562
|
+
#{VAR.$parent-selector} .space-x-#{$key}\@#{$breakpoint} {
|
|
563
|
+
@include space-x($value);
|
|
564
|
+
}
|
|
565
|
+
#{VAR.$parent-selector} .space-y-#{$key}\@#{$breakpoint} {
|
|
566
|
+
@include space-y($value);
|
|
567
|
+
}
|
|
568
|
+
#{VAR.$parent-selector} .inset-#{$key}\@#{$breakpoint} {
|
|
569
|
+
@include inset($value);
|
|
570
|
+
}
|
|
571
|
+
#{VAR.$parent-selector} .inset-x-#{$key}\@#{$breakpoint} {
|
|
572
|
+
@include inset-x($value);
|
|
573
|
+
}
|
|
574
|
+
#{VAR.$parent-selector} .inset-y-#{$key}\@#{$breakpoint} {
|
|
575
|
+
@include inset-y($value);
|
|
576
|
+
}
|
|
479
577
|
}
|
|
480
578
|
}
|
|
481
579
|
}
|