bootstrap 4.6.2.1 → 5.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +0 -4
- data/README.md +1 -7
- data/Rakefile +4 -16
- data/assets/javascripts/bootstrap/alert.js +148 -73
- data/assets/javascripts/bootstrap/button.js +71 -154
- data/assets/javascripts/bootstrap/carousel.js +315 -209
- data/assets/javascripts/bootstrap/collapse.js +307 -153
- data/assets/javascripts/bootstrap/dom/data.js +81 -0
- data/assets/javascripts/bootstrap/dom/event-handler.js +311 -0
- data/assets/javascripts/bootstrap/dom/manipulator.js +100 -0
- data/assets/javascripts/bootstrap/dom/polyfill.js +110 -0
- data/assets/javascripts/bootstrap/dom/selector-engine.js +98 -0
- data/assets/javascripts/bootstrap/dropdown.js +257 -205
- data/assets/javascripts/bootstrap/modal.js +354 -250
- data/assets/javascripts/bootstrap/popover.js +85 -94
- data/assets/javascripts/bootstrap/scrollspy.js +179 -107
- data/assets/javascripts/bootstrap/tab.js +170 -99
- data/assets/javascripts/bootstrap/toast.js +181 -110
- data/assets/javascripts/bootstrap/tooltip.js +375 -226
- data/assets/javascripts/bootstrap-sprockets.js +5 -1
- data/assets/javascripts/bootstrap.js +2260 -1550
- data/assets/javascripts/bootstrap.min.js +3 -3
- data/assets/stylesheets/_bootstrap-grid.scss +53 -18
- data/assets/stylesheets/_bootstrap-reboot.scss +6 -3
- data/assets/stylesheets/_bootstrap.scss +16 -10
- data/assets/stylesheets/bootstrap/_alert.scss +3 -4
- data/assets/stylesheets/bootstrap/_badge.scss +2 -27
- data/assets/stylesheets/bootstrap/_breadcrumb.scss +5 -17
- data/assets/stylesheets/bootstrap/_button-group.scss +16 -38
- data/assets/stylesheets/bootstrap/_buttons.scss +27 -45
- data/assets/stylesheets/bootstrap/_card.scss +22 -68
- data/assets/stylesheets/bootstrap/_carousel.scss +15 -20
- data/assets/stylesheets/bootstrap/_close.scss +9 -13
- data/assets/stylesheets/bootstrap/_containers.scss +41 -0
- data/assets/stylesheets/bootstrap/_dropdown.scss +12 -9
- data/assets/stylesheets/bootstrap/_forms.scss +9 -347
- data/assets/stylesheets/bootstrap/_functions.scss +82 -69
- data/assets/stylesheets/bootstrap/_grid.scss +3 -54
- data/assets/stylesheets/bootstrap/_helpers.scss +7 -0
- data/assets/stylesheets/bootstrap/_images.scss +1 -1
- data/assets/stylesheets/bootstrap/_list-group.scss +7 -4
- data/assets/stylesheets/bootstrap/_mixins.scss +6 -12
- data/assets/stylesheets/bootstrap/_modal.scss +36 -41
- data/assets/stylesheets/bootstrap/_nav.scss +7 -9
- data/assets/stylesheets/bootstrap/_navbar.scss +42 -82
- data/assets/stylesheets/bootstrap/_pagination.scss +7 -20
- data/assets/stylesheets/bootstrap/_popover.scss +14 -14
- data/assets/stylesheets/bootstrap/_progress.scss +3 -5
- data/assets/stylesheets/bootstrap/_reboot.scss +304 -172
- data/assets/stylesheets/bootstrap/_root.scss +5 -8
- data/assets/stylesheets/bootstrap/_spinners.scss +8 -17
- data/assets/stylesheets/bootstrap/_tables.scss +80 -114
- data/assets/stylesheets/bootstrap/_toasts.scss +2 -4
- data/assets/stylesheets/bootstrap/_tooltip.scss +9 -9
- data/assets/stylesheets/bootstrap/_transitions.scss +0 -7
- data/assets/stylesheets/bootstrap/_type.scss +38 -59
- data/assets/stylesheets/bootstrap/_utilities.scss +503 -18
- data/assets/stylesheets/bootstrap/_variables.scss +548 -437
- data/assets/stylesheets/bootstrap/bootstrap-utilities.scss +18 -0
- data/assets/stylesheets/bootstrap/forms/_form-check.scss +142 -0
- data/assets/stylesheets/bootstrap/forms/_form-control.scss +116 -0
- data/assets/stylesheets/bootstrap/forms/_form-file.scss +91 -0
- data/assets/stylesheets/bootstrap/forms/_form-range.scss +136 -0
- data/assets/stylesheets/bootstrap/forms/_form-select.scss +82 -0
- data/assets/stylesheets/bootstrap/forms/_form-text.scss +11 -0
- data/assets/stylesheets/bootstrap/forms/_input-group.scss +140 -0
- data/assets/stylesheets/bootstrap/forms/_labels.scss +36 -0
- data/assets/stylesheets/bootstrap/forms/_validation.scss +12 -0
- data/assets/stylesheets/bootstrap/helpers/_colored-links.scss +12 -0
- data/assets/stylesheets/bootstrap/helpers/_embed.scss +31 -0
- data/assets/stylesheets/bootstrap/helpers/_position.scss +30 -0
- data/assets/stylesheets/bootstrap/helpers/_screenreaders.scss +8 -0
- data/assets/stylesheets/bootstrap/helpers/_stretched-link.scss +15 -0
- data/assets/stylesheets/bootstrap/helpers/_text-truncation.scss +7 -0
- data/assets/stylesheets/bootstrap/mixins/_alert.scss +0 -4
- data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +11 -8
- data/assets/stylesheets/bootstrap/mixins/_buttons.scss +62 -47
- data/assets/stylesheets/bootstrap/mixins/_caret.scss +4 -4
- data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +2 -0
- data/assets/stylesheets/bootstrap/mixins/_container.scss +9 -0
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +23 -85
- data/assets/stylesheets/bootstrap/mixins/_gradients.scss +9 -11
- data/assets/stylesheets/bootstrap/mixins/_grid.scss +86 -34
- data/assets/stylesheets/bootstrap/mixins/_image.scss +1 -21
- data/assets/stylesheets/bootstrap/mixins/_list-group.scss +2 -1
- data/assets/stylesheets/bootstrap/mixins/_lists.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_pagination.scss +15 -8
- data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +3 -3
- data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +18 -24
- data/assets/stylesheets/bootstrap/mixins/_table-variants.scss +21 -0
- data/assets/stylesheets/bootstrap/mixins/_transition.scss +2 -2
- data/assets/stylesheets/bootstrap/mixins/_utilities.scss +49 -0
- data/assets/stylesheets/bootstrap/utilities/_api.scss +47 -0
- data/assets/stylesheets/bootstrap/vendor/_rfs.scss +214 -130
- data/bootstrap.gemspec +3 -1
- data/lib/bootstrap/engine.rb +1 -17
- data/lib/bootstrap/version.rb +2 -2
- data/tasks/updater/js.rb +6 -18
- data/tasks/updater/network.rb +1 -7
- metadata +49 -47
- data/assets/javascripts/bootstrap/util.js +0 -189
- data/assets/stylesheets/bootstrap/_code.scss +0 -48
- data/assets/stylesheets/bootstrap/_custom-forms.scss +0 -526
- data/assets/stylesheets/bootstrap/_input-group.scss +0 -211
- data/assets/stylesheets/bootstrap/_jumbotron.scss +0 -17
- data/assets/stylesheets/bootstrap/_media.scss +0 -8
- data/assets/stylesheets/bootstrap/_print.scss +0 -132
- data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +0 -23
- data/assets/stylesheets/bootstrap/mixins/_badge.scss +0 -17
- data/assets/stylesheets/bootstrap/mixins/_float.scss +0 -14
- data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +0 -80
- data/assets/stylesheets/bootstrap/mixins/_hover.scss +0 -37
- data/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -11
- data/assets/stylesheets/bootstrap/mixins/_size.scss +0 -7
- data/assets/stylesheets/bootstrap/mixins/_table-row.scss +0 -39
- data/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +0 -17
- data/assets/stylesheets/bootstrap/mixins/_text-hide.scss +0 -11
- data/assets/stylesheets/bootstrap/mixins/_visibility.scss +0 -8
- data/assets/stylesheets/bootstrap/utilities/_align.scss +0 -8
- data/assets/stylesheets/bootstrap/utilities/_background.scss +0 -19
- data/assets/stylesheets/bootstrap/utilities/_borders.scss +0 -75
- data/assets/stylesheets/bootstrap/utilities/_display.scss +0 -26
- data/assets/stylesheets/bootstrap/utilities/_embed.scss +0 -39
- data/assets/stylesheets/bootstrap/utilities/_flex.scss +0 -51
- data/assets/stylesheets/bootstrap/utilities/_float.scss +0 -11
- data/assets/stylesheets/bootstrap/utilities/_interactions.scss +0 -5
- data/assets/stylesheets/bootstrap/utilities/_overflow.scss +0 -5
- data/assets/stylesheets/bootstrap/utilities/_position.scss +0 -32
- data/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +0 -11
- data/assets/stylesheets/bootstrap/utilities/_shadows.scss +0 -6
- data/assets/stylesheets/bootstrap/utilities/_sizing.scss +0 -20
- data/assets/stylesheets/bootstrap/utilities/_spacing.scss +0 -73
- data/assets/stylesheets/bootstrap/utilities/_stretched-link.scss +0 -19
- data/assets/stylesheets/bootstrap/utilities/_text.scss +0 -72
- data/assets/stylesheets/bootstrap/utilities/_visibility.scss +0 -13
- data/test/gemfiles/rails_7_0_dartsass.gemfile +0 -8
- data/test/gemfiles/rails_7_0_sassc.gemfile +0 -8
- /data/assets/stylesheets/bootstrap/{utilities → helpers}/_clearfix.scss +0 -0
@@ -1,18 +1,503 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
1
|
+
// Utilities
|
2
|
+
|
3
|
+
$utilities: () !default;
|
4
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
5
|
+
$utilities: map-merge(
|
6
|
+
(
|
7
|
+
"align": (
|
8
|
+
property: vertical-align,
|
9
|
+
class: align,
|
10
|
+
values: baseline top middle bottom text-bottom text-top
|
11
|
+
),
|
12
|
+
"float": (
|
13
|
+
responsive: true,
|
14
|
+
property: float,
|
15
|
+
values: left right none
|
16
|
+
),
|
17
|
+
"overflow": (
|
18
|
+
property: overflow,
|
19
|
+
values: auto hidden,
|
20
|
+
),
|
21
|
+
"display": (
|
22
|
+
responsive: true,
|
23
|
+
print: true,
|
24
|
+
property: display,
|
25
|
+
class: d,
|
26
|
+
values: none inline inline-block block table table-row table-cell flex inline-flex
|
27
|
+
),
|
28
|
+
"shadow": (
|
29
|
+
property: box-shadow,
|
30
|
+
class: shadow,
|
31
|
+
values: (
|
32
|
+
null: $box-shadow,
|
33
|
+
sm: $box-shadow-sm,
|
34
|
+
lg: $box-shadow-lg,
|
35
|
+
none: none,
|
36
|
+
)
|
37
|
+
),
|
38
|
+
"position": (
|
39
|
+
property: position,
|
40
|
+
values: static relative absolute fixed sticky
|
41
|
+
),
|
42
|
+
"border": (
|
43
|
+
property: border,
|
44
|
+
values: (
|
45
|
+
null: $border-width solid $border-color,
|
46
|
+
0: 0,
|
47
|
+
)
|
48
|
+
),
|
49
|
+
"border-top": (
|
50
|
+
property: border-top,
|
51
|
+
values: (
|
52
|
+
null: $border-width solid $border-color,
|
53
|
+
0: 0,
|
54
|
+
)
|
55
|
+
),
|
56
|
+
"border-right": (
|
57
|
+
property: border-right,
|
58
|
+
values: (
|
59
|
+
null: $border-width solid $border-color,
|
60
|
+
0: 0,
|
61
|
+
)
|
62
|
+
),
|
63
|
+
"border-bottom": (
|
64
|
+
property: border-bottom,
|
65
|
+
values: (
|
66
|
+
null: $border-width solid $border-color,
|
67
|
+
0: 0,
|
68
|
+
)
|
69
|
+
),
|
70
|
+
"border-left": (
|
71
|
+
property: border-left,
|
72
|
+
values: (
|
73
|
+
null: $border-width solid $border-color,
|
74
|
+
0: 0,
|
75
|
+
)
|
76
|
+
),
|
77
|
+
"border-color": (
|
78
|
+
property: border-color,
|
79
|
+
class: border,
|
80
|
+
values: map-merge($theme-colors, ("white": $white))
|
81
|
+
),
|
82
|
+
// Sizing utilities
|
83
|
+
"width": (
|
84
|
+
property: width,
|
85
|
+
class: w,
|
86
|
+
values: (
|
87
|
+
25: 25%,
|
88
|
+
50: 50%,
|
89
|
+
75: 75%,
|
90
|
+
100: 100%,
|
91
|
+
auto: auto
|
92
|
+
)
|
93
|
+
),
|
94
|
+
"max-width": (
|
95
|
+
property: max-width,
|
96
|
+
class: mw,
|
97
|
+
values: (100: 100%)
|
98
|
+
),
|
99
|
+
"viewport-width": (
|
100
|
+
property: width,
|
101
|
+
class: vw,
|
102
|
+
values: (100: 100vw)
|
103
|
+
),
|
104
|
+
"min-viewport-width": (
|
105
|
+
property: min-width,
|
106
|
+
class: min-vw,
|
107
|
+
values: (100: 100vw)
|
108
|
+
),
|
109
|
+
"height": (
|
110
|
+
property: height,
|
111
|
+
class: h,
|
112
|
+
values: (
|
113
|
+
25: 25%,
|
114
|
+
50: 50%,
|
115
|
+
75: 75%,
|
116
|
+
100: 100%,
|
117
|
+
auto: auto
|
118
|
+
)
|
119
|
+
),
|
120
|
+
"max-height": (
|
121
|
+
property: max-height,
|
122
|
+
class: mh,
|
123
|
+
values: (100: 100%)
|
124
|
+
),
|
125
|
+
"viewport-height": (
|
126
|
+
property: height,
|
127
|
+
class: vh,
|
128
|
+
values: (100: 100vh)
|
129
|
+
),
|
130
|
+
"min-viewport-height": (
|
131
|
+
property: min-height,
|
132
|
+
class: min-vh,
|
133
|
+
values: (100: 100vh)
|
134
|
+
),
|
135
|
+
// Flex utilities
|
136
|
+
"flex": (
|
137
|
+
responsive: true,
|
138
|
+
property: flex,
|
139
|
+
values: (fill: 1 1 auto)
|
140
|
+
),
|
141
|
+
"flex-direction": (
|
142
|
+
responsive: true,
|
143
|
+
property: flex-direction,
|
144
|
+
class: flex,
|
145
|
+
values: row column row-reverse column-reverse
|
146
|
+
),
|
147
|
+
"flex-grow": (
|
148
|
+
responsive: true,
|
149
|
+
property: flex-grow,
|
150
|
+
class: flex,
|
151
|
+
values: (
|
152
|
+
grow-0: 0,
|
153
|
+
grow-1: 1,
|
154
|
+
)
|
155
|
+
),
|
156
|
+
"flex-shrink": (
|
157
|
+
responsive: true,
|
158
|
+
property: flex-shrink,
|
159
|
+
class: flex,
|
160
|
+
values: (
|
161
|
+
shrink-0: 0,
|
162
|
+
shrink-1: 1,
|
163
|
+
)
|
164
|
+
),
|
165
|
+
"flex-wrap": (
|
166
|
+
responsive: true,
|
167
|
+
property: flex-wrap,
|
168
|
+
class: flex,
|
169
|
+
values: wrap nowrap wrap-reverse
|
170
|
+
),
|
171
|
+
"justify-content": (
|
172
|
+
responsive: true,
|
173
|
+
property: justify-content,
|
174
|
+
values: (
|
175
|
+
start: flex-start,
|
176
|
+
end: flex-end,
|
177
|
+
center: center,
|
178
|
+
between: space-between,
|
179
|
+
around: space-around,
|
180
|
+
evenly: space-evenly,
|
181
|
+
)
|
182
|
+
),
|
183
|
+
"align-items": (
|
184
|
+
responsive: true,
|
185
|
+
property: align-items,
|
186
|
+
values: (
|
187
|
+
start: flex-start,
|
188
|
+
end: flex-end,
|
189
|
+
center: center,
|
190
|
+
baseline: baseline,
|
191
|
+
stretch: stretch,
|
192
|
+
)
|
193
|
+
),
|
194
|
+
"align-content": (
|
195
|
+
responsive: true,
|
196
|
+
property: align-content,
|
197
|
+
values: (
|
198
|
+
start: flex-start,
|
199
|
+
end: flex-end,
|
200
|
+
center: center,
|
201
|
+
between: space-between,
|
202
|
+
around: space-around,
|
203
|
+
stretch: stretch,
|
204
|
+
)
|
205
|
+
),
|
206
|
+
"align-self": (
|
207
|
+
responsive: true,
|
208
|
+
property: align-self,
|
209
|
+
values: (
|
210
|
+
auto: auto,
|
211
|
+
start: flex-start,
|
212
|
+
end: flex-end,
|
213
|
+
center: center,
|
214
|
+
baseline: baseline,
|
215
|
+
stretch: stretch,
|
216
|
+
)
|
217
|
+
),
|
218
|
+
"order": (
|
219
|
+
responsive: true,
|
220
|
+
property: order,
|
221
|
+
values: (
|
222
|
+
first: -1,
|
223
|
+
0: 0,
|
224
|
+
1: 1,
|
225
|
+
2: 2,
|
226
|
+
3: 3,
|
227
|
+
4: 4,
|
228
|
+
5: 5,
|
229
|
+
last: 6,
|
230
|
+
),
|
231
|
+
),
|
232
|
+
// Margin utilities
|
233
|
+
"margin": (
|
234
|
+
responsive: true,
|
235
|
+
property: margin,
|
236
|
+
class: m,
|
237
|
+
values: map-merge($spacers, (auto: auto))
|
238
|
+
),
|
239
|
+
"margin-x": (
|
240
|
+
responsive: true,
|
241
|
+
property: margin-right margin-left,
|
242
|
+
class: mx,
|
243
|
+
values: map-merge($spacers, (auto: auto))
|
244
|
+
),
|
245
|
+
"margin-y": (
|
246
|
+
responsive: true,
|
247
|
+
property: margin-top margin-bottom,
|
248
|
+
class: my,
|
249
|
+
values: map-merge($spacers, (auto: auto))
|
250
|
+
),
|
251
|
+
"margin-top": (
|
252
|
+
responsive: true,
|
253
|
+
property: margin-top,
|
254
|
+
class: mt,
|
255
|
+
values: map-merge($spacers, (auto: auto))
|
256
|
+
),
|
257
|
+
"margin-right": (
|
258
|
+
responsive: true,
|
259
|
+
property: margin-right,
|
260
|
+
class: mr,
|
261
|
+
values: map-merge($spacers, (auto: auto))
|
262
|
+
),
|
263
|
+
"margin-bottom": (
|
264
|
+
responsive: true,
|
265
|
+
property: margin-bottom,
|
266
|
+
class: mb,
|
267
|
+
values: map-merge($spacers, (auto: auto))
|
268
|
+
),
|
269
|
+
"margin-left": (
|
270
|
+
responsive: true,
|
271
|
+
property: margin-left,
|
272
|
+
class: ml,
|
273
|
+
values: map-merge($spacers, (auto: auto))
|
274
|
+
),
|
275
|
+
// Negative margin utilities
|
276
|
+
"negative-margin": (
|
277
|
+
responsive: true,
|
278
|
+
property: margin,
|
279
|
+
class: m,
|
280
|
+
values: $negative-spacers
|
281
|
+
),
|
282
|
+
"negative-margin-x": (
|
283
|
+
responsive: true,
|
284
|
+
property: margin-right margin-left,
|
285
|
+
class: mx,
|
286
|
+
values: $negative-spacers
|
287
|
+
),
|
288
|
+
"negative-margin-y": (
|
289
|
+
responsive: true,
|
290
|
+
property: margin-top margin-bottom,
|
291
|
+
class: my,
|
292
|
+
values: $negative-spacers
|
293
|
+
),
|
294
|
+
"negative-margin-top": (
|
295
|
+
responsive: true,
|
296
|
+
property: margin-top,
|
297
|
+
class: mt,
|
298
|
+
values: $negative-spacers
|
299
|
+
),
|
300
|
+
"negative-margin-right": (
|
301
|
+
responsive: true,
|
302
|
+
property: margin-right,
|
303
|
+
class: mr,
|
304
|
+
values: $negative-spacers
|
305
|
+
),
|
306
|
+
"negative-margin-bottom": (
|
307
|
+
responsive: true,
|
308
|
+
property: margin-bottom,
|
309
|
+
class: mb,
|
310
|
+
values: $negative-spacers
|
311
|
+
),
|
312
|
+
"negative-margin-left": (
|
313
|
+
responsive: true,
|
314
|
+
property: margin-left,
|
315
|
+
class: ml,
|
316
|
+
values: $negative-spacers
|
317
|
+
),
|
318
|
+
// Padding utilities
|
319
|
+
"padding": (
|
320
|
+
responsive: true,
|
321
|
+
property: padding,
|
322
|
+
class: p,
|
323
|
+
values: $spacers
|
324
|
+
),
|
325
|
+
"padding-x": (
|
326
|
+
responsive: true,
|
327
|
+
property: padding-right padding-left,
|
328
|
+
class: px,
|
329
|
+
values: $spacers
|
330
|
+
),
|
331
|
+
"padding-y": (
|
332
|
+
responsive: true,
|
333
|
+
property: padding-top padding-bottom,
|
334
|
+
class: py,
|
335
|
+
values: $spacers
|
336
|
+
),
|
337
|
+
"padding-top": (
|
338
|
+
responsive: true,
|
339
|
+
property: padding-top,
|
340
|
+
class: pt,
|
341
|
+
values: $spacers
|
342
|
+
),
|
343
|
+
"padding-right": (
|
344
|
+
responsive: true,
|
345
|
+
property: padding-right,
|
346
|
+
class: pr,
|
347
|
+
values: $spacers
|
348
|
+
),
|
349
|
+
"padding-bottom": (
|
350
|
+
responsive: true,
|
351
|
+
property: padding-bottom,
|
352
|
+
class: pb,
|
353
|
+
values: $spacers
|
354
|
+
),
|
355
|
+
"padding-left": (
|
356
|
+
responsive: true,
|
357
|
+
property: padding-left,
|
358
|
+
class: pl,
|
359
|
+
values: $spacers
|
360
|
+
),
|
361
|
+
// Text
|
362
|
+
"font-weight": (
|
363
|
+
property: font-weight,
|
364
|
+
values: (
|
365
|
+
light: $font-weight-light,
|
366
|
+
lighter: $font-weight-lighter,
|
367
|
+
normal: $font-weight-normal,
|
368
|
+
bold: $font-weight-bold,
|
369
|
+
bolder: $font-weight-bolder
|
370
|
+
)
|
371
|
+
),
|
372
|
+
"text-transform": (
|
373
|
+
property: text-transform,
|
374
|
+
class: text,
|
375
|
+
values: lowercase uppercase capitalize
|
376
|
+
),
|
377
|
+
"text-align": (
|
378
|
+
responsive: true,
|
379
|
+
property: text-align,
|
380
|
+
class: text,
|
381
|
+
values: left right center
|
382
|
+
),
|
383
|
+
"color": (
|
384
|
+
property: color,
|
385
|
+
class: text,
|
386
|
+
values: map-merge(
|
387
|
+
$theme-colors,
|
388
|
+
(
|
389
|
+
"white": $white,
|
390
|
+
"body": $body-color,
|
391
|
+
"muted": $text-muted,
|
392
|
+
"black-50": rgba($black, .5),
|
393
|
+
"white-50": rgba($white, .5),
|
394
|
+
"reset": inherit,
|
395
|
+
)
|
396
|
+
)
|
397
|
+
),
|
398
|
+
"line-height": (
|
399
|
+
property: line-height,
|
400
|
+
class: lh,
|
401
|
+
values: (
|
402
|
+
1: 1,
|
403
|
+
sm: $line-height-sm,
|
404
|
+
base: $line-height-base,
|
405
|
+
lg: $line-height-lg,
|
406
|
+
)
|
407
|
+
),
|
408
|
+
"background-color": (
|
409
|
+
property: background-color,
|
410
|
+
class: bg,
|
411
|
+
values: map-merge(
|
412
|
+
$theme-colors,
|
413
|
+
(
|
414
|
+
"body": $body-bg,
|
415
|
+
"white": $white,
|
416
|
+
"transparent": transparent
|
417
|
+
)
|
418
|
+
)
|
419
|
+
),
|
420
|
+
"gradient": (
|
421
|
+
property: background-image,
|
422
|
+
class: bg,
|
423
|
+
values: (gradient: var(--bs-gradient))
|
424
|
+
),
|
425
|
+
"white-space": (
|
426
|
+
property: white-space,
|
427
|
+
class: text,
|
428
|
+
values: (
|
429
|
+
wrap: normal,
|
430
|
+
nowrap: nowrap,
|
431
|
+
)
|
432
|
+
),
|
433
|
+
"text-decoration": (
|
434
|
+
property: text-decoration,
|
435
|
+
values: none underline line-through
|
436
|
+
),
|
437
|
+
"font-style": (
|
438
|
+
property: font-style,
|
439
|
+
class: font,
|
440
|
+
values: italic normal
|
441
|
+
),
|
442
|
+
"word-wrap": (
|
443
|
+
property: word-wrap word-break,
|
444
|
+
class: text,
|
445
|
+
values: (break: break-word)
|
446
|
+
),
|
447
|
+
"font-family": (
|
448
|
+
property: font-family,
|
449
|
+
class: font,
|
450
|
+
values: (monospace: var(--bs-font-monospace))
|
451
|
+
),
|
452
|
+
"user-select": (
|
453
|
+
property: user-select,
|
454
|
+
values: all auto none
|
455
|
+
),
|
456
|
+
"pointer-events": (
|
457
|
+
property: pointer-events,
|
458
|
+
class: pe,
|
459
|
+
values: none auto,
|
460
|
+
),
|
461
|
+
"rounded": (
|
462
|
+
property: border-radius,
|
463
|
+
class: rounded,
|
464
|
+
values: (
|
465
|
+
null: $border-radius,
|
466
|
+
sm: $border-radius-sm,
|
467
|
+
lg: $border-radius-lg,
|
468
|
+
circle: 50%,
|
469
|
+
pill: $rounded-pill,
|
470
|
+
0: 0,
|
471
|
+
)
|
472
|
+
),
|
473
|
+
"rounded-top": (
|
474
|
+
property: border-top-left-radius border-top-right-radius,
|
475
|
+
class: rounded-top,
|
476
|
+
values: (null: $border-radius)
|
477
|
+
),
|
478
|
+
"rounded-right": (
|
479
|
+
property: border-top-right-radius border-bottom-right-radius,
|
480
|
+
class: rounded-right,
|
481
|
+
values: (null: $border-radius)
|
482
|
+
),
|
483
|
+
"rounded-bottom": (
|
484
|
+
property: border-bottom-right-radius border-bottom-left-radius,
|
485
|
+
class: rounded-bottom,
|
486
|
+
values: (null: $border-radius)
|
487
|
+
),
|
488
|
+
"rounded-left": (
|
489
|
+
property: border-bottom-left-radius border-top-left-radius,
|
490
|
+
class: rounded-left,
|
491
|
+
values: (null: $border-radius)
|
492
|
+
),
|
493
|
+
"visibility": (
|
494
|
+
property: visibility,
|
495
|
+
class: null,
|
496
|
+
values: (
|
497
|
+
visible: visible,
|
498
|
+
invisible: hidden,
|
499
|
+
)
|
500
|
+
)
|
501
|
+
),
|
502
|
+
$utilities
|
503
|
+
);
|