@magmonium/one 0.0.3 → 0.0.5
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/package.json +9 -2
- package/sass/_date-picker.sass +147 -0
- package/sass/_index.sass +34 -0
- package/sass/_input-date.sass +25 -0
- package/sass/_m-components.sass +110 -0
- package/sass/_menu.sass +132 -0
- package/sass/_reset.sass +186 -0
- package/sass/animations/_index.sass +13 -0
- package/sass/animations/_registry.sass +51 -0
- package/sass/animations/background/_energy.sass +91 -0
- package/sass/animations/background/_gradient.sass +104 -0
- package/sass/animations/background/_index.sass +9 -0
- package/sass/animations/background/_nature.sass +110 -0
- package/sass/animations/background/_new-effects.sass +292 -0
- package/sass/animations/background/_particle.sass +122 -0
- package/sass/animations/background/_tech.sass +124 -0
- package/sass/functions/_functions.sass +107 -0
- package/sass/mixins/_backdrops.sass +230 -0
- package/sass/mixins/_backgrounds.sass +214 -0
- package/sass/mixins/_borders.sass +93 -0
- package/sass/mixins/_breakpoints.sass +68 -0
- package/sass/mixins/_button.sass +46 -0
- package/sass/mixins/_checkbox.sass +128 -0
- package/sass/mixins/_colors.sass +121 -0
- package/sass/mixins/_control.sass +13 -0
- package/sass/mixins/_device.sass +22 -0
- package/sass/mixins/_display.sass +210 -0
- package/sass/mixins/_flex.sass +104 -0
- package/sass/mixins/_form.sass +68 -0
- package/sass/mixins/_grid.sass +273 -0
- package/sass/mixins/_header.sass +71 -0
- package/sass/mixins/_index.sass +29 -0
- package/sass/mixins/_input.sass +132 -0
- package/sass/mixins/_interactive.sass +19 -0
- package/sass/mixins/_label.sass +25 -0
- package/sass/mixins/_layout.sass +251 -0
- package/sass/mixins/_links.sass +85 -0
- package/sass/mixins/_lists.sass +377 -0
- package/sass/mixins/_overflow.sass +121 -0
- package/sass/mixins/_position.sass +181 -0
- package/sass/mixins/_radio.sass +205 -0
- package/sass/mixins/_sizing.sass +181 -0
- package/sass/mixins/_spacing.sass +59 -0
- package/sass/mixins/_text.sass +159 -0
- package/sass/mixins/_toggle.sass +240 -0
- package/sass/mixins/_typography.sass +6 -0
- package/sass/mixins/_utilities.sass +70 -0
- package/sass/utilities/_backdrops.sass +228 -0
- package/sass/utilities/_backgrounds.sass +285 -0
- package/sass/utilities/_borders.sass +138 -0
- package/sass/utilities/_colors.sass +166 -0
- package/sass/utilities/_display.sass +308 -0
- package/sass/utilities/_flex.sass +91 -0
- package/sass/utilities/_grid.sass +502 -0
- package/sass/utilities/_index.sass +17 -0
- package/sass/utilities/_input.sass +14 -0
- package/sass/utilities/_links.sass +136 -0
- package/sass/utilities/_lists.sass +4 -0
- package/sass/utilities/_popup.sass +73 -0
- package/sass/utilities/_position.sass +88 -0
- package/sass/utilities/_sizing.sass +277 -0
- package/sass/utilities/_spacing.sass +121 -0
- package/sass/utilities/_text.sass +207 -0
- package/sass/variables/_animations.sass +5 -0
- package/sass/variables/_borders.sass +25 -0
- package/sass/variables/_colors.sass +93 -0
- package/sass/variables/_index.sass +6 -0
- package/sass/variables/_number.sass +1 -0
- package/sass/variables/_spacing.sass +28 -0
- package/sass/variables/_typography.sass +40 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// Popup / tooltip positioning utility
|
|
2
|
+
// Use [mPosition] directive on the trigger and .m-pos-popup on the content element.
|
|
3
|
+
// The directive auto-detects the direction with the most available viewport space
|
|
4
|
+
// and adds one of: .m-pos--below, .m-pos--above, .m-pos--right, .m-pos--left
|
|
5
|
+
|
|
6
|
+
.m-pos-popup
|
|
7
|
+
position: absolute
|
|
8
|
+
pointer-events: none
|
|
9
|
+
z-index: 1001
|
|
10
|
+
|
|
11
|
+
.m-pos--below > .m-pos-popup
|
|
12
|
+
top: calc(100% + 8px)
|
|
13
|
+
bottom: unset
|
|
14
|
+
left: 50%
|
|
15
|
+
right: unset
|
|
16
|
+
transform: translateX(-50%)
|
|
17
|
+
animation: pos-below 0.15s ease forwards
|
|
18
|
+
|
|
19
|
+
.m-pos--above > .m-pos-popup
|
|
20
|
+
bottom: calc(100% + 8px)
|
|
21
|
+
top: unset
|
|
22
|
+
left: 50%
|
|
23
|
+
right: unset
|
|
24
|
+
transform: translateX(-50%)
|
|
25
|
+
animation: pos-above 0.15s ease forwards
|
|
26
|
+
|
|
27
|
+
.m-pos--right > .m-pos-popup
|
|
28
|
+
left: calc(100% + 8px)
|
|
29
|
+
right: unset
|
|
30
|
+
top: 50%
|
|
31
|
+
bottom: unset
|
|
32
|
+
transform: translateY(-50%)
|
|
33
|
+
animation: pos-right 0.15s ease forwards
|
|
34
|
+
|
|
35
|
+
.m-pos--left > .m-pos-popup
|
|
36
|
+
right: calc(100% + 8px)
|
|
37
|
+
left: unset
|
|
38
|
+
top: 50%
|
|
39
|
+
bottom: unset
|
|
40
|
+
transform: translateY(-50%)
|
|
41
|
+
animation: pos-left 0.15s ease forwards
|
|
42
|
+
|
|
43
|
+
@keyframes pos-below
|
|
44
|
+
from
|
|
45
|
+
opacity: 0
|
|
46
|
+
transform: translateX(-50%) translateY(-4px)
|
|
47
|
+
to
|
|
48
|
+
opacity: 1
|
|
49
|
+
transform: translateX(-50%) translateY(0)
|
|
50
|
+
|
|
51
|
+
@keyframes pos-above
|
|
52
|
+
from
|
|
53
|
+
opacity: 0
|
|
54
|
+
transform: translateX(-50%) translateY(4px)
|
|
55
|
+
to
|
|
56
|
+
opacity: 1
|
|
57
|
+
transform: translateX(-50%) translateY(0)
|
|
58
|
+
|
|
59
|
+
@keyframes pos-right
|
|
60
|
+
from
|
|
61
|
+
opacity: 0
|
|
62
|
+
transform: translateY(-50%) translateX(-4px)
|
|
63
|
+
to
|
|
64
|
+
opacity: 1
|
|
65
|
+
transform: translateY(-50%) translateX(0)
|
|
66
|
+
|
|
67
|
+
@keyframes pos-left
|
|
68
|
+
from
|
|
69
|
+
opacity: 0
|
|
70
|
+
transform: translateY(-50%) translateX(4px)
|
|
71
|
+
to
|
|
72
|
+
opacity: 1
|
|
73
|
+
transform: translateY(-50%) translateX(0)
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// Position utility classes derived from mixins
|
|
2
|
+
@use '../mixins/position' as position
|
|
3
|
+
|
|
4
|
+
// Position type classes
|
|
5
|
+
.position-static
|
|
6
|
+
@include position.position-static
|
|
7
|
+
|
|
8
|
+
.position-relative
|
|
9
|
+
@include position.position-relative
|
|
10
|
+
|
|
11
|
+
.position-absolute
|
|
12
|
+
@include position.position-absolute
|
|
13
|
+
|
|
14
|
+
.position-fixed
|
|
15
|
+
@include position.position-fixed
|
|
16
|
+
|
|
17
|
+
.position-sticky
|
|
18
|
+
@include position.position-sticky
|
|
19
|
+
|
|
20
|
+
// Common positioning pattern classes
|
|
21
|
+
.absolute-center
|
|
22
|
+
@include position.absolute-center
|
|
23
|
+
|
|
24
|
+
.absolute-center-x
|
|
25
|
+
@include position.absolute-center-x
|
|
26
|
+
|
|
27
|
+
.absolute-center-y
|
|
28
|
+
@include position.absolute-center-y
|
|
29
|
+
|
|
30
|
+
.absolute-fill
|
|
31
|
+
@include position.absolute-fill
|
|
32
|
+
|
|
33
|
+
.fixed-fill
|
|
34
|
+
@include position.fixed-fill
|
|
35
|
+
|
|
36
|
+
// Corner positioning classes
|
|
37
|
+
.absolute-top-left
|
|
38
|
+
@include position.absolute-top-left
|
|
39
|
+
|
|
40
|
+
.absolute-top-right
|
|
41
|
+
@include position.absolute-top-right
|
|
42
|
+
|
|
43
|
+
.absolute-bottom-left
|
|
44
|
+
@include position.absolute-bottom-left
|
|
45
|
+
|
|
46
|
+
.absolute-bottom-right
|
|
47
|
+
@include position.absolute-bottom-right
|
|
48
|
+
|
|
49
|
+
// Z-index utility classes
|
|
50
|
+
.z-behind
|
|
51
|
+
@include position.z-behind
|
|
52
|
+
|
|
53
|
+
.z-normal
|
|
54
|
+
@include position.z-normal
|
|
55
|
+
|
|
56
|
+
.z-dropdown
|
|
57
|
+
@include position.z-dropdown
|
|
58
|
+
|
|
59
|
+
.z-sticky
|
|
60
|
+
@include position.z-sticky
|
|
61
|
+
|
|
62
|
+
.z-fixed
|
|
63
|
+
@include position.z-fixed
|
|
64
|
+
|
|
65
|
+
.z-modal
|
|
66
|
+
@include position.z-modal
|
|
67
|
+
|
|
68
|
+
.z-popover
|
|
69
|
+
@include position.z-popover
|
|
70
|
+
|
|
71
|
+
.z-tooltip
|
|
72
|
+
@include position.z-tooltip
|
|
73
|
+
|
|
74
|
+
.z-top
|
|
75
|
+
@include position.z-top
|
|
76
|
+
|
|
77
|
+
// Utility combinations
|
|
78
|
+
.overlay
|
|
79
|
+
@include position.fixed-fill
|
|
80
|
+
@include position.z-modal
|
|
81
|
+
|
|
82
|
+
.backdrop
|
|
83
|
+
@include position.fixed-fill
|
|
84
|
+
@include position.z-behind
|
|
85
|
+
|
|
86
|
+
.floating-action
|
|
87
|
+
@include position.position-fixed
|
|
88
|
+
@include position.z-dropdown
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
// Sizing utility classes derived from mixins
|
|
2
|
+
@use '../mixins/sizing' as sizing
|
|
3
|
+
|
|
4
|
+
// Width percentage classes
|
|
5
|
+
.w-full
|
|
6
|
+
@include sizing.width-full
|
|
7
|
+
|
|
8
|
+
.w-half
|
|
9
|
+
@include sizing.width-half
|
|
10
|
+
|
|
11
|
+
.w-quarter
|
|
12
|
+
@include sizing.width-quarter
|
|
13
|
+
|
|
14
|
+
.w-three-quarters
|
|
15
|
+
@include sizing.width-three-quarters
|
|
16
|
+
|
|
17
|
+
.w-auto
|
|
18
|
+
@include sizing.width-auto
|
|
19
|
+
|
|
20
|
+
.w-fit
|
|
21
|
+
@include sizing.width-fit
|
|
22
|
+
|
|
23
|
+
.w-min
|
|
24
|
+
@include sizing.width-min
|
|
25
|
+
|
|
26
|
+
.w-max
|
|
27
|
+
@include sizing.width-max
|
|
28
|
+
|
|
29
|
+
// Width viewport classes
|
|
30
|
+
.w-100vw
|
|
31
|
+
@include sizing.width-100vw
|
|
32
|
+
|
|
33
|
+
.w-75vw
|
|
34
|
+
@include sizing.width-75vw
|
|
35
|
+
|
|
36
|
+
.w-66vw
|
|
37
|
+
@include sizing.width-66vw
|
|
38
|
+
|
|
39
|
+
.w-50vw
|
|
40
|
+
@include sizing.width-50vw
|
|
41
|
+
|
|
42
|
+
.w-33vw
|
|
43
|
+
@include sizing.width-33vw
|
|
44
|
+
|
|
45
|
+
.w-25vw
|
|
46
|
+
@include sizing.width-25vw
|
|
47
|
+
|
|
48
|
+
// Height percentage classes
|
|
49
|
+
.h-full
|
|
50
|
+
@include sizing.height-full
|
|
51
|
+
|
|
52
|
+
.h-half
|
|
53
|
+
@include sizing.height-half
|
|
54
|
+
|
|
55
|
+
.h-quarter
|
|
56
|
+
@include sizing.height-quarter
|
|
57
|
+
|
|
58
|
+
.h-three-quarters
|
|
59
|
+
@include sizing.height-three-quarters
|
|
60
|
+
|
|
61
|
+
.h-auto
|
|
62
|
+
@include sizing.height-auto
|
|
63
|
+
|
|
64
|
+
.h-fit
|
|
65
|
+
@include sizing.height-fit
|
|
66
|
+
|
|
67
|
+
.h-min
|
|
68
|
+
@include sizing.height-min
|
|
69
|
+
|
|
70
|
+
.h-max
|
|
71
|
+
@include sizing.height-max
|
|
72
|
+
|
|
73
|
+
// Height viewport classes
|
|
74
|
+
.h-100vh
|
|
75
|
+
@include sizing.height-100vh
|
|
76
|
+
|
|
77
|
+
.h-75vh
|
|
78
|
+
@include sizing.height-75vh
|
|
79
|
+
|
|
80
|
+
.h-66vh
|
|
81
|
+
@include sizing.height-66vh
|
|
82
|
+
|
|
83
|
+
.h-50vh
|
|
84
|
+
@include sizing.height-50vh
|
|
85
|
+
|
|
86
|
+
.h-33vh
|
|
87
|
+
@include sizing.height-33vh
|
|
88
|
+
|
|
89
|
+
.h-25vh
|
|
90
|
+
@include sizing.height-25vh
|
|
91
|
+
|
|
92
|
+
// Dynamic viewport height classes
|
|
93
|
+
.h-100dvh
|
|
94
|
+
@include sizing.height-100dvh
|
|
95
|
+
|
|
96
|
+
.h-100lvh
|
|
97
|
+
@include sizing.height-100lvh
|
|
98
|
+
|
|
99
|
+
.h-100svh
|
|
100
|
+
@include sizing.height-100svh
|
|
101
|
+
|
|
102
|
+
// Combined size classes
|
|
103
|
+
.size-full
|
|
104
|
+
@include sizing.size-full
|
|
105
|
+
|
|
106
|
+
.size-viewport
|
|
107
|
+
@include sizing.size-viewport
|
|
108
|
+
|
|
109
|
+
.full-screen
|
|
110
|
+
@include sizing.full-screen
|
|
111
|
+
|
|
112
|
+
.full-container
|
|
113
|
+
@include sizing.full-container
|
|
114
|
+
|
|
115
|
+
// Note: Aspect ratio classes are available from layout utilities
|
|
116
|
+
|
|
117
|
+
// Container query classes
|
|
118
|
+
.w-100cqw
|
|
119
|
+
@include sizing.width-100cqw
|
|
120
|
+
|
|
121
|
+
.h-100cqh
|
|
122
|
+
@include sizing.height-100cqh
|
|
123
|
+
|
|
124
|
+
// Common specific sizes (pixels)
|
|
125
|
+
.w-10
|
|
126
|
+
width: 10px
|
|
127
|
+
|
|
128
|
+
.w-20
|
|
129
|
+
width: 20px
|
|
130
|
+
|
|
131
|
+
.w-40
|
|
132
|
+
width: 40px
|
|
133
|
+
|
|
134
|
+
.w-60
|
|
135
|
+
width: 60px
|
|
136
|
+
|
|
137
|
+
.w-80
|
|
138
|
+
width: 80px
|
|
139
|
+
|
|
140
|
+
.w-100
|
|
141
|
+
width: 100px
|
|
142
|
+
|
|
143
|
+
.w-120
|
|
144
|
+
width: 120px
|
|
145
|
+
|
|
146
|
+
.w-140
|
|
147
|
+
width: 140px
|
|
148
|
+
|
|
149
|
+
.w-160
|
|
150
|
+
width: 160px
|
|
151
|
+
|
|
152
|
+
.w-200
|
|
153
|
+
width: 200px
|
|
154
|
+
|
|
155
|
+
.w-240
|
|
156
|
+
width: 240px
|
|
157
|
+
|
|
158
|
+
.w-280
|
|
159
|
+
width: 280px
|
|
160
|
+
|
|
161
|
+
.w-320
|
|
162
|
+
width: 320px
|
|
163
|
+
|
|
164
|
+
.w-400
|
|
165
|
+
width: 400px
|
|
166
|
+
|
|
167
|
+
.w-480
|
|
168
|
+
width: 480px
|
|
169
|
+
|
|
170
|
+
.w-560
|
|
171
|
+
width: 560px
|
|
172
|
+
|
|
173
|
+
.w-640
|
|
174
|
+
width: 640px
|
|
175
|
+
|
|
176
|
+
.h-10
|
|
177
|
+
height: 10px
|
|
178
|
+
|
|
179
|
+
.h-20
|
|
180
|
+
height: 20px
|
|
181
|
+
|
|
182
|
+
.h-40
|
|
183
|
+
height: 40px
|
|
184
|
+
|
|
185
|
+
.h-60
|
|
186
|
+
height: 60px
|
|
187
|
+
|
|
188
|
+
.h-80
|
|
189
|
+
height: 80px
|
|
190
|
+
|
|
191
|
+
.h-100
|
|
192
|
+
height: 100px
|
|
193
|
+
|
|
194
|
+
.h-120
|
|
195
|
+
height: 120px
|
|
196
|
+
|
|
197
|
+
.h-140
|
|
198
|
+
height: 140px
|
|
199
|
+
|
|
200
|
+
.h-160
|
|
201
|
+
height: 160px
|
|
202
|
+
|
|
203
|
+
.h-200
|
|
204
|
+
height: 200px
|
|
205
|
+
|
|
206
|
+
.h-240
|
|
207
|
+
height: 240px
|
|
208
|
+
|
|
209
|
+
.h-280
|
|
210
|
+
height: 280px
|
|
211
|
+
|
|
212
|
+
.h-320
|
|
213
|
+
height: 320px
|
|
214
|
+
|
|
215
|
+
.h-400
|
|
216
|
+
height: 400px
|
|
217
|
+
|
|
218
|
+
.h-480
|
|
219
|
+
height: 480px
|
|
220
|
+
|
|
221
|
+
.h-560
|
|
222
|
+
height: 560px
|
|
223
|
+
|
|
224
|
+
.h-640
|
|
225
|
+
height: 640px
|
|
226
|
+
|
|
227
|
+
// Responsive sizing classes
|
|
228
|
+
@media (max-width: 768px)
|
|
229
|
+
.w-full-mobile
|
|
230
|
+
@include sizing.width-full
|
|
231
|
+
|
|
232
|
+
.h-auto-mobile
|
|
233
|
+
@include sizing.height-auto
|
|
234
|
+
|
|
235
|
+
.h-50vh-mobile
|
|
236
|
+
@include sizing.height-50vh
|
|
237
|
+
|
|
238
|
+
@media (min-width: 769px)
|
|
239
|
+
.w-auto-desktop
|
|
240
|
+
@include sizing.width-auto
|
|
241
|
+
|
|
242
|
+
.h-full-desktop
|
|
243
|
+
@include sizing.height-full
|
|
244
|
+
|
|
245
|
+
.size-viewport-desktop
|
|
246
|
+
@include sizing.size-viewport
|
|
247
|
+
|
|
248
|
+
// Min and max width/height utilities
|
|
249
|
+
.min-w-0
|
|
250
|
+
min-width: 0
|
|
251
|
+
|
|
252
|
+
.min-w-full
|
|
253
|
+
min-width: 100%
|
|
254
|
+
|
|
255
|
+
.max-w-none
|
|
256
|
+
max-width: none
|
|
257
|
+
|
|
258
|
+
.max-w-full
|
|
259
|
+
max-width: 100%
|
|
260
|
+
|
|
261
|
+
.max-w-screen
|
|
262
|
+
max-width: 100vw
|
|
263
|
+
|
|
264
|
+
.min-h-0
|
|
265
|
+
min-height: 0
|
|
266
|
+
|
|
267
|
+
.min-h-full
|
|
268
|
+
min-height: 100%
|
|
269
|
+
|
|
270
|
+
.min-h-screen
|
|
271
|
+
min-height: 100vh
|
|
272
|
+
|
|
273
|
+
.max-h-full
|
|
274
|
+
max-height: 100%
|
|
275
|
+
|
|
276
|
+
.max-h-screen
|
|
277
|
+
max-height: 100vh
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// Spacing Utility Classes
|
|
2
|
+
@use '../mixins/spacing' as *
|
|
3
|
+
@use '../variables/spacing' as *
|
|
4
|
+
|
|
5
|
+
// Generate utility classes for all spacer sizes
|
|
6
|
+
@each $key, $value in $spacers
|
|
7
|
+
// Padding utilities
|
|
8
|
+
.pad-#{$key}
|
|
9
|
+
@include padding-all($key)
|
|
10
|
+
|
|
11
|
+
.pad-x-#{$key}
|
|
12
|
+
@include padding-x($key)
|
|
13
|
+
|
|
14
|
+
.pad-y-#{$key}
|
|
15
|
+
@include padding-y($key)
|
|
16
|
+
|
|
17
|
+
.pad-t-#{$key}
|
|
18
|
+
@include spacing(padding-top, $key)
|
|
19
|
+
|
|
20
|
+
.pad-r-#{$key}
|
|
21
|
+
@include spacing(padding-right, $key)
|
|
22
|
+
|
|
23
|
+
.pad-b-#{$key}
|
|
24
|
+
@include spacing(padding-bottom, $key)
|
|
25
|
+
|
|
26
|
+
.pad-l-#{$key}
|
|
27
|
+
@include spacing(padding-left, $key)
|
|
28
|
+
|
|
29
|
+
// Margin utilities
|
|
30
|
+
.mar-#{$key}
|
|
31
|
+
@include margin-all($key)
|
|
32
|
+
|
|
33
|
+
.mar-x-#{$key}
|
|
34
|
+
@include margin-x($key)
|
|
35
|
+
|
|
36
|
+
.mar-y-#{$key}
|
|
37
|
+
@include margin-y($key)
|
|
38
|
+
|
|
39
|
+
.mar-t-#{$key}
|
|
40
|
+
@include spacing(margin-top, $key)
|
|
41
|
+
|
|
42
|
+
.mar-r-#{$key}
|
|
43
|
+
@include spacing(margin-right, $key)
|
|
44
|
+
|
|
45
|
+
.mar-b-#{$key}
|
|
46
|
+
@include spacing(margin-bottom, $key)
|
|
47
|
+
|
|
48
|
+
.mar-l-#{$key}
|
|
49
|
+
@include spacing(margin-left, $key)
|
|
50
|
+
|
|
51
|
+
// Size aliases for better readability
|
|
52
|
+
@each $key, $value in $spacers
|
|
53
|
+
// xs = 0, sm = 1, md = 2, lg = 3, xl = 4, xxl = 5
|
|
54
|
+
$size-name: null
|
|
55
|
+
@if $key == 0
|
|
56
|
+
$size-name: 'xs'
|
|
57
|
+
@else if $key == 1
|
|
58
|
+
$size-name: 'sm'
|
|
59
|
+
@else if $key == 2
|
|
60
|
+
$size-name: 'md'
|
|
61
|
+
@else if $key == 3
|
|
62
|
+
$size-name: 'lg'
|
|
63
|
+
@else if $key == 4
|
|
64
|
+
$size-name: 'xl'
|
|
65
|
+
@else if $key == 5
|
|
66
|
+
$size-name: 'xxl'
|
|
67
|
+
|
|
68
|
+
@if $size-name
|
|
69
|
+
// Padding aliases
|
|
70
|
+
.pad-#{$size-name}
|
|
71
|
+
@include padding-all($key)
|
|
72
|
+
|
|
73
|
+
.pad-x-#{$size-name}
|
|
74
|
+
@include padding-x($key)
|
|
75
|
+
|
|
76
|
+
.pad-y-#{$size-name}
|
|
77
|
+
@include padding-y($key)
|
|
78
|
+
|
|
79
|
+
.pad-t-#{$size-name}
|
|
80
|
+
@include spacing(padding-top, $key)
|
|
81
|
+
|
|
82
|
+
.pad-r-#{$size-name}
|
|
83
|
+
@include spacing(padding-right, $key)
|
|
84
|
+
|
|
85
|
+
.pad-b-#{$size-name}
|
|
86
|
+
@include spacing(padding-bottom, $key)
|
|
87
|
+
|
|
88
|
+
.pad-l-#{$size-name}
|
|
89
|
+
@include spacing(padding-left, $key)
|
|
90
|
+
|
|
91
|
+
// Margin aliases
|
|
92
|
+
.mar-#{$size-name}
|
|
93
|
+
@include margin-all($key)
|
|
94
|
+
|
|
95
|
+
.mar-x-#{$size-name}
|
|
96
|
+
@include margin-x($key)
|
|
97
|
+
|
|
98
|
+
.mar-y-#{$size-name}
|
|
99
|
+
@include margin-y($key)
|
|
100
|
+
|
|
101
|
+
.mar-t-#{$size-name}
|
|
102
|
+
@include spacing(margin-top, $key)
|
|
103
|
+
|
|
104
|
+
.mar-r-#{$size-name}
|
|
105
|
+
@include spacing(margin-right, $key)
|
|
106
|
+
|
|
107
|
+
.mar-b-#{$size-name}
|
|
108
|
+
@include spacing(margin-bottom, $key)
|
|
109
|
+
|
|
110
|
+
.mar-l-#{$size-name}
|
|
111
|
+
@include spacing(margin-left, $key)
|
|
112
|
+
|
|
113
|
+
// Special utility classes
|
|
114
|
+
.mar-auto
|
|
115
|
+
@include margin-auto
|
|
116
|
+
|
|
117
|
+
.no-spacing
|
|
118
|
+
@include no-spacing
|
|
119
|
+
|
|
120
|
+
.spacing-reset
|
|
121
|
+
@include spacing-reset
|