@dialpad/dialtone 6.7.0 → 6.10.0

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.
Files changed (69) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/lib/build/less/components/avatar.less +68 -56
  3. package/lib/build/less/components/badge.less +39 -28
  4. package/lib/build/less/components/banner.less +33 -36
  5. package/lib/build/less/components/breadcrumbs.less +7 -8
  6. package/lib/build/less/components/button.less +74 -58
  7. package/lib/build/less/components/forms.less +24 -28
  8. package/lib/build/less/components/input.less +71 -44
  9. package/lib/build/less/components/link.less +12 -15
  10. package/lib/build/less/components/list-group.less +5 -5
  11. package/lib/build/less/components/modal.less +40 -50
  12. package/lib/build/less/components/notice.less +28 -30
  13. package/lib/build/less/components/radio-checkbox.less +73 -66
  14. package/lib/build/less/components/selects.less +30 -26
  15. package/lib/build/less/components/table.less +15 -18
  16. package/lib/build/less/components/tabs.less +30 -31
  17. package/lib/build/less/components/toast.less +39 -40
  18. package/lib/build/less/components/tooltip.less +21 -22
  19. package/lib/build/less/dialtone-globals.less +11 -3
  20. package/lib/build/less/dialtone-reset.less +11 -11
  21. package/lib/build/less/dialtone-variables.less +8 -8
  22. package/lib/build/less/dialtone.less +36 -52
  23. package/lib/build/less/themes/default.less +9 -9
  24. package/lib/build/less/themes/example.less +4 -4
  25. package/lib/build/less/utilities/backgrounds.less +73 -122
  26. package/lib/build/less/utilities/borders.less +101 -88
  27. package/lib/build/less/utilities/colors.less +40 -220
  28. package/lib/build/less/utilities/effects.less +83 -64
  29. package/lib/build/less/utilities/flex.less +110 -139
  30. package/lib/build/less/utilities/grid.less +146 -163
  31. package/lib/build/less/utilities/interactivity.less +27 -27
  32. package/lib/build/less/utilities/internals.less +244 -170
  33. package/lib/build/less/utilities/layout.less +82 -82
  34. package/lib/build/less/utilities/responsive.less +0 -143
  35. package/lib/build/less/utilities/sizing.less +97 -97
  36. package/lib/build/less/utilities/spacing.less +26 -26
  37. package/lib/build/less/utilities/svg.less +9 -1
  38. package/lib/build/less/utilities/typography.less +126 -115
  39. package/lib/build/less/variables/colors.less +10 -10
  40. package/lib/build/less/variables/layout.less +21 -0
  41. package/lib/build/less/variables/sizes.less +8 -8
  42. package/lib/build/less/variables/spacing.less +1 -1
  43. package/lib/build/less/variables/typography.less +8 -9
  44. package/lib/build/less/variables/visual-styles.less +27 -27
  45. package/lib/build/svg/spot/browser-list-callout.svg +57 -0
  46. package/lib/build/svg/spot/browser-table-graph.svg +111 -0
  47. package/lib/build/svg/system/raise-hand.svg +1 -1
  48. package/lib/build/svg/system/{thumb_down.svg → thumb-down.svg} +0 -0
  49. package/lib/build/svg/system/{thumb_up.svg → thumb-up.svg} +0 -0
  50. package/lib/build/svg/system/windows.svg +6 -0
  51. package/lib/dist/css/dialtone.css +2665 -23334
  52. package/lib/dist/css/dialtone.min.css +1 -1
  53. package/lib/dist/svg/spot/browser-list-callout.svg +1 -0
  54. package/lib/dist/svg/spot/browser-table-graph.svg +1 -0
  55. package/lib/dist/svg/system/raise-hand.svg +1 -1
  56. package/lib/dist/svg/system/thumb-down.svg +1 -0
  57. package/lib/dist/svg/system/thumb-up.svg +1 -0
  58. package/lib/dist/svg/system/windows.svg +1 -0
  59. package/lib/dist/vue/icons/IconRaiseHand.vue +1 -1
  60. package/lib/dist/vue/icons/IconThumbDown.vue +3 -0
  61. package/lib/dist/vue/icons/IconThumbUp.vue +3 -0
  62. package/lib/dist/vue/icons/IconWindows.vue +3 -0
  63. package/lib/dist/vue/spot/SpotBrowserListCallout.vue +3 -0
  64. package/lib/dist/vue/spot/SpotBrowserTableGraph.vue +3 -0
  65. package/package.json +20 -6
  66. package/lib/dist/svg/system/thumb_down.svg +0 -1
  67. package/lib/dist/svg/system/thumb_up.svg +0 -1
  68. package/lib/dist/vue/icons/IconThumb_down.vue +0 -3
  69. package/lib/dist/vue/icons/IconThumb_up.vue +0 -3
@@ -17,7 +17,7 @@
17
17
  @generate-font-face: true;
18
18
 
19
19
  // What's the font-face file path?
20
- @define-font-path: "../fonts/";
20
+ @define-font-path: '../fonts/';
21
21
 
22
22
  }
23
23
 
@@ -26,6 +26,183 @@
26
26
  // Various mixins used to build Dialtone
27
27
  // ----------------------------------------------------------------------------
28
28
  #d-internals() {
29
+ // ========================================================================
30
+ // $ COLOR CLASS GENERATOR
31
+ // Create a mixin to generate all the utility classes required. By doing it
32
+ // this way, we are disabling the ability to use Dialtone utility classes as
33
+ // a mixin. Previously we had allowed for utility classes to be used as
34
+ // mixins, but because our overall CSS bundle size is growing exponentially,
35
+ // Dialtone v6 removed this ability. It is now recommended to use CSS
36
+ // variables (var(--color)). Less variables (@color) are also available,
37
+ // but their use is discouraged.
38
+ //
39
+ // USAGE:
40
+ // #d-internals #color-classes(purple-500);
41
+ //
42
+ // ------------------------------------------------------------------------
43
+ #color-classes(@color-name) {
44
+ // -- FONT STYLES
45
+ .d-fc-@{color-name},
46
+ .h\:d-fc-@{color-name}:hover,
47
+ .f\:d-fc-@{color-name}:focus {
48
+ --fco: 100%;
49
+ color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--fco)) !important;
50
+ }
51
+ .f\:d-fc-@{color-name}:focus-within {
52
+ --fco: 100%;
53
+ color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--fco)) !important;
54
+ }
55
+ #d-internals #dark-mode('.d\:d-fc-@{color-name}', {
56
+ --fco: 100%;
57
+ color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--fco)) !important;
58
+ });
59
+
60
+
61
+ // -- BORDER STYLES
62
+ .d-bc-@{color-name},
63
+ .h\:d-bc-@{color-name}:hover,
64
+ .f\:d-bc-@{color-name}:focus {
65
+ --bco: 100%;
66
+ border-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--bco)) !important;
67
+ }
68
+ .f\:d-bc-@{color-name}:focus-within {
69
+ --bco: 100%;
70
+ border-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--bco)) !important;
71
+ }
72
+ #d-internals #dark-mode('.d\:d-bc-@{color-name}', {
73
+ --bco: 100%;
74
+ border-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--bco)) !important;
75
+ });
76
+
77
+ // -- DIVIDER COLORS
78
+ .d-divide-@{color-name} > * + * {
79
+ --dco: 100%;
80
+ border-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--dco)) !important;
81
+ }
82
+ #d-internals #dark-mode('.d\:d-divide-@{color-name} > * + *', {
83
+ --dco: 100%;
84
+ border-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--dco)) !important;
85
+ });
86
+
87
+ // -- BACKGROUND STYLES
88
+ .d-bgc-@{color-name},
89
+ .h\:d-bgc-@{color-name}:hover,
90
+ .f\:d-bgc-@{color-name}:focus {
91
+ --bgo: 100%;
92
+ background-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--bgo)) !important;
93
+ }
94
+ .f\:d-bgc-@{color-name}:focus-within {
95
+ --bgo: 100%;
96
+ background-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--bgo)) !important;
97
+ }
98
+ #d-internals #dark-mode('.d\:d-bgc-@{color-name}', {
99
+ --bgo: 100%;
100
+ background-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--bgo)) !important;
101
+ });
102
+ }
103
+
104
+ // ========================================================================
105
+ // $ STANDARD WEIGHT LOOP GENERATOR
106
+ // Since most of our colors have similar stops (100 - 600), we'll save
107
+ // ourselves the need to call the mixin for each color and create a
108
+ // loop that will create most of the colors for us.
109
+ //
110
+ // USAGE:
111
+ // #d-internals #standard-stops(purple);
112
+ //
113
+ // ------------------------------------------------------------------------
114
+ #standard-stops(@color) {
115
+ #d-internals #color-classes(~'@{color}-600');
116
+ #d-internals #color-classes(~'@{color}-500');
117
+ #d-internals #color-classes(~'@{color}-400');
118
+ #d-internals #color-classes(~'@{color}-300');
119
+ #d-internals #color-classes(~'@{color}-200');
120
+ #d-internals #color-classes(~'@{color}-100');
121
+ }
122
+
123
+ // ========================================================================
124
+ // $ OPACITY CLASS GENERATOR
125
+ // Creates opacity classes for font, background, and border colors.
126
+ //
127
+ // USAGE:
128
+ // #d-internals #opacity-classes(50);
129
+ //
130
+ // ------------------------------------------------------------------------
131
+ #opacity-classes(@opacity) {
132
+ // -- FONT OPACITY
133
+ .d-fco@{opacity},
134
+ .h\:d-fco@{opacity}:hover,
135
+ .f\:d-fco@{opacity}:focus {
136
+ --fco: ~'@{opacity}%' !important;
137
+ }
138
+ .f\:d-fco@{opacity}:focus-within {
139
+ --fco: ~'@{opacity}%' !important;
140
+ }
141
+ #d-internals #dark-mode('.d\:d-fco@{opacity}', {
142
+ --fco: ~'@{opacity}%' !important;
143
+ });
144
+
145
+
146
+ // -- BORDER OPACITY
147
+ .d-bco@{opacity},
148
+ .h\:d-bco@{opacity}:hover,
149
+ .f\:d-bco@{opacity}:focus {
150
+ --bco: ~'@{opacity}%' !important;
151
+ }
152
+ .f\:d-bco@{opacity}:focus-within {
153
+ --bco: ~'@{opacity}%' !important;
154
+ }
155
+ #d-internals #dark-mode('.d\:d-bco@{opacity}', {
156
+ --bco: ~'@{opacity}%' !important;
157
+ });
158
+
159
+ // -- DIVIDER OPACITY
160
+ .d-dco@{opacity} > * + * {
161
+ --dco: ~'@{opacity}%' !important;
162
+ }
163
+ #d-internals #dark-mode('.d\:d-dco@{opacity} > * + *', {
164
+ --dco: ~'@{opacity}%' !important;
165
+ });
166
+
167
+ // -- BACKGROUND COLOR OPACITY
168
+ .d-bgo@{opacity},
169
+ .h\:d-bgo@{opacity}:hover,
170
+ .f\:d-bgo@{opacity}:focus {
171
+ --bgo: ~'@{opacity}%' !important;
172
+ }
173
+ .f\:d-bgo@{opacity}:focus-within {
174
+ --bgo: ~'@{opacity}%' !important;
175
+ }
176
+ #d-internals #dark-mode('.d\:d-bgo@{opacity}', {
177
+ --bgo: ~'@{opacity}%' !important;
178
+ });
179
+
180
+ // -- BACKGROUND GRADIENT STARTING STOP
181
+ .d-bgg-from-o@{opacity},
182
+ .h\:d-bgg-from-@{opacity}:hover,
183
+ .f\:d-bgg-from-@{opacity}:focus {
184
+ --bgg-from-opacity: ~'@{opacity}%' !important;
185
+ }
186
+ .f\:d-bgg-from-@{opacity}:focus-within {
187
+ --bgg-from-opacity: ~'@{opacity}%' !important;
188
+ }
189
+ #d-internals #dark-mode('.d\:d-bgg-from-@{opacity}', {
190
+ --bgg-from-opacity: ~'@{opacity}%' !important;
191
+ });
192
+
193
+ // -- BACKGROUND GRADIENT ENDING STOP
194
+ .d-bgg-to-o@{opacity},
195
+ .h\:d-bgg-to-@{opacity}:hover,
196
+ .f\:d-bgg-to-@{opacity}:focus {
197
+ --bgg-to-opacity: ~'@{opacity}%' !important;
198
+ }
199
+ .f\:d-bgg-to-@{opacity}:focus-within {
200
+ --bgg-to-opacity: ~'@{opacity}%' !important;
201
+ }
202
+ #d-internals #dark-mode('.d\:d-bgg-to-@{opacity}', {
203
+ --bgg-to-opacity: ~'@{opacity}%' !important;
204
+ });
205
+ }
29
206
  // ========================================================================
30
207
  // $ COLOR VARS
31
208
  // #color-vars creates all our HSL CSS color vars for us from a set
@@ -163,182 +340,79 @@
163
340
  }));
164
341
  }
165
342
 
166
-
167
- // ========================================================================
168
- // $ COLOR CLASS GENERATOR
169
- // Create a mixin to generate all the utility classes required. By doing it
170
- // this way, we are disabling the ability to use Dialtone utility classes as
171
- // a mixin. Previously we had allowed for utility classes to be used as
172
- // mixins, but because our overall CSS bundle size is growing exponentially,
173
- // Dialtone v6 removed this ability. It is now recommended to use CSS
174
- // variables (var(--color)). Less variables (@color) are also available,
175
- // but their use is discouraged.
176
- //
177
- // USAGE:
178
- // #d-internals #color-classes(purple-500);
179
- //
180
- // ------------------------------------------------------------------------
181
- #color-classes(@color-name) {
182
- // -- FONT STYLES
183
- .d-fc-@{color-name},
184
- .h\:d-fc-@{color-name}:hover,
185
- .f\:d-fc-@{color-name}:focus {
186
- --fco: 100%;
187
- color: hsla(var(~"--@{color-name}-h") var(~"--@{color-name}-s") var(~"--@{color-name}-l") ~" / " var(--fco)) !important;
188
- }
189
- .f\:d-fc-@{color-name}:focus-within {
190
- --fco: 100%;
191
- color: hsla(var(~"--@{color-name}-h") var(~"--@{color-name}-s") var(~"--@{color-name}-l") ~" / " var(--fco)) !important;
192
- }
193
- #d-internals #dark-mode('.d\:d-fc-@{color-name}', {
194
- --fco: 100%;
195
- color: hsla(var(~"--@{color-name}-h") var(~"--@{color-name}-s") var(~"--@{color-name}-l") ~" / " var(--fco)) !important;
196
- });
197
-
198
-
199
- // -- BORDER STYLES
200
- .d-bc-@{color-name},
201
- .h\:d-bc-@{color-name}:hover,
202
- .f\:d-bc-@{color-name}:focus {
203
- --bco: 100%;
204
- border-color: hsla(var(~"--@{color-name}-h") var(~"--@{color-name}-s") var(~"--@{color-name}-l") ~" / " var(--bco)) !important;
205
- }
206
- .f\:d-bc-@{color-name}:focus-within {
207
- --bco: 100%;
208
- border-color: hsla(var(~"--@{color-name}-h") var(~"--@{color-name}-s") var(~"--@{color-name}-l") ~" / " var(--bco)) !important;
209
- }
210
- #d-internals #dark-mode('.d\:d-bc-@{color-name}', {
211
- --bco: 100%;
212
- border-color: hsla(var(~"--@{color-name}-h") var(~"--@{color-name}-s") var(~"--@{color-name}-l") ~" / " var(--bco)) !important;
213
- });
214
-
215
- // -- DIVIDER COLORS
216
- .d-divide-@{color-name} > * + * {
217
- --dco: 100%;
218
- border-color: hsla(var(~"--@{color-name}-h") var(~"--@{color-name}-s") var(~"--@{color-name}-l") ~" / " var(--dco)) !important;
219
- }
220
- #d-internals #dark-mode('.d\:d-divide-@{color-name} > * + *', {
221
- --dco: 100%;
222
- border-color: hsla(var(~"--@{color-name}-h") var(~"--@{color-name}-s") var(~"--@{color-name}-l") ~" / " var(--dco)) !important;
223
- });
224
-
225
- // -- BACKGROUND STYLES
226
- .d-bgc-@{color-name},
227
- .h\:d-bgc-@{color-name}:hover,
228
- .f\:d-bgc-@{color-name}:focus {
229
- --bgo: 100%;
230
- background-color: hsla(var(~"--@{color-name}-h") var(~"--@{color-name}-s") var(~"--@{color-name}-l") ~" / " var(--bgo)) !important;
231
- }
232
- .f\:d-bgc-@{color-name}:focus-within {
233
- --bgo: 100%;
234
- background-color: hsla(var(~"--@{color-name}-h") var(~"--@{color-name}-s") var(~"--@{color-name}-l") ~" / " var(--bgo)) !important;
235
- }
236
- #d-internals #dark-mode('.d\:d-bgc-@{color-name}', {
237
- --bgo: 100%;
238
- background-color: hsla(var(~"--@{color-name}-h") var(~"--@{color-name}-s") var(~"--@{color-name}-l") ~" / " var(--bgo)) !important;
239
- });
343
+ #gradient-classes(@color) {
344
+ // COLOR STOP 1, STARTING STOP
345
+ .d-bgg-from-@{color},
346
+ .h\:d-bgg-from-@{color}:hover,
347
+ .f\:d-bgg-from-@{color}:focus {
348
+ --bgg-from-opacity: 100%;
349
+ --bgg-from: hsla(var(~"--@{color}-h") var(~"--@{color}-s") var(~"--@{color}-l") ~" / " var(--bgg-from-opacity));
350
+ --bgg-to: hsla(var(~"--@{color}-h") var(~"--@{color}-s") var(~"--@{color}-l") ~" / " 0%);
351
+ }
352
+ .f\:d-bgg-from-@{color}:focus-within {
353
+ --bgg-from-opacity: 100%;
354
+ --bgg-from: hsla(var(~"--@{color}-h") var(~"--@{color}-s") var(~"--@{color}-l") ~" / " var(--bgg-from-opacity));
355
+ --bgg-to: hsla(var(~"--@{color}-h") var(~"--@{color}-s") var(~"--@{color}-l") ~" / " 0%);
356
+ }
357
+ #d-internals #dark-mode('.d\:d-bgg-from-@{color}', {
358
+ --bgg-from-opacity: 100%;
359
+ --bgg-from: hsla(var(~"--@{color}-h") var(~"--@{color}-s") var(~"--@{color}-l") ~" / " var(--bgg-from-opacity));
360
+ --bgg-to: hsla(var(~"--@{color}-h") var(~"--@{color}-s") var(~"--@{color}-l") ~" / " 0%);
361
+ });
362
+
363
+ // COLOR STOP 2, ENDING STOP
364
+ .d-bgg-to-@{color},
365
+ .h\:d-bgg-to-@{color}:hover,
366
+ .f\:d-bgg-to-@{color}:focus {
367
+ --bgg-to-opacity: 100%;
368
+ --bgg-to: hsla(var(~"--@{color}-h") var(~"--@{color}-s") var(~"--@{color}-l") ~" / " var(--bgg-to-opacity)) !important;
369
+ }
370
+ .f\:d-bgg-to-@{color}:focus-within {
371
+ --bgg-to-opacity: 100%;
372
+ --bgg-to: hsla(var(~"--@{color}-h") var(~"--@{color}-s") var(~"--@{color}-l") ~" / " var(--bgg-to-opacity)) !important;
373
+ }
374
+ #d-internals #dark-mode('.d\:d-bgg-to-@{color}', {
375
+ --bgg-to-opacity: 100%;
376
+ --bgg-to: hsla(var(~"--@{color}-h") var(~"--@{color}-s") var(~"--@{color}-l") ~" / " var(--bgg-to-opacity)) !important;
377
+ });
240
378
  }
241
379
 
242
- // ========================================================================
243
- // $ STANDARD WEIGHT LOOP GENERATOR
244
- // Since most of our colors have similar stops (100 - 600), we'll save
245
- // ourselves the need to call the mixin for each color and create a
246
- // loop that will create most of the colors for us.
247
- //
248
- // USAGE:
249
- // #d-internals #standard-stops(purple);
250
- //
251
- // ------------------------------------------------------------------------
252
- #standard-stops(@color) {
253
- #d-internals #color-classes(~"@{color}-600");
254
- #d-internals #color-classes(~"@{color}-500");
255
- #d-internals #color-classes(~"@{color}-400");
256
- #d-internals #color-classes(~"@{color}-300");
257
- #d-internals #color-classes(~"@{color}-200");
258
- #d-internals #color-classes(~"@{color}-100");
380
+ #gradient-stops(@color) {
381
+ #d-internals #gradient-classes(~"@{color}-600");
382
+ #d-internals #gradient-classes(~"@{color}-500");
383
+ #d-internals #gradient-classes(~"@{color}-400");
384
+ #d-internals #gradient-classes(~"@{color}-300");
385
+ #d-internals #gradient-classes(~"@{color}-200");
386
+ #d-internals #gradient-classes(~"@{color}-100");
259
387
  }
260
388
 
261
- // ========================================================================
262
- // $ OPACITY CLASS GENERATOR
263
- // Creates opacity classes for font, background, and border colors.
264
- //
265
- // USAGE:
266
- // #d-internals #opacity-classes(50);
267
- //
268
- // ------------------------------------------------------------------------
269
- #opacity-classes(@opacity) {
270
- // -- FONT OPACITY
271
- .d-fco@{opacity},
272
- .h\:d-fco@{opacity}:hover,
273
- .f\:d-fco@{opacity}:focus {
274
- --fco: ~"@{opacity}%" !important;
275
- }
276
- .f\:d-fco@{opacity}:focus-within {
277
- --fco: ~"@{opacity}%" !important;
278
- }
279
- #d-internals #dark-mode('.d\:d-fco@{opacity}', {
280
- --fco: ~"@{opacity}%" !important;
281
- });
389
+ #build-flex-columns(@num, @count: 1) when (@count =< @num) {
390
+ .d-fl-col@{count} {
391
+ display: flex;
282
392
 
393
+ // Automatically make all direct child to obey the parent class
394
+ > * {
395
+ --fl-gap: 0;
396
+ --fl-basis: calc(100% / @count);
283
397
 
284
- // -- BORDER OPACITY
285
- .d-bco@{opacity},
286
- .h\:d-bco@{opacity}:hover,
287
- .f\:d-bco@{opacity}:focus {
288
- --bco: ~"@{opacity}%" !important;
289
- }
290
- .f\:d-bco@{opacity}:focus-within {
291
- --bco: ~"@{opacity}%" !important;
292
- }
293
- #d-internals #dark-mode('.d\:d-bco@{opacity}', {
294
- --bco: ~"@{opacity}%" !important;
295
- });
398
+ display: inline-flex;
399
+ margin: var(--fl-gap);
400
+ flex: 1 calc(var(--fl-basis) - ((var(--fl-gap) * 2)));
296
401
 
297
- // -- DIVIDER OPACITY
298
- .d-dco@{opacity} > * + * {
299
- --dco: ~"@{opacity}%" !important;
300
- }
301
- #d-internals #dark-mode('.d\:d-dco@{opacity} > * + *', {
302
- --dco: ~"@{opacity}%" !important;
303
- });
304
-
305
- // -- BACKGROUND COLOR OPACITY
306
- .d-bgo@{opacity},
307
- .h\:d-bgo@{opacity}:hover,
308
- .f\:d-bgo@{opacity}:focus {
309
- --bgo: ~"@{opacity}%" !important;
310
- }
311
- .f\:d-bgo@{opacity}:focus-within {
312
- --bgo: ~"@{opacity}%" !important;
313
- }
314
- #d-internals #dark-mode('.d\:d-bgo@{opacity}', {
315
- --bgo: ~"@{opacity}%" !important;
316
- });
317
-
318
- // -- BACKGROUND GRADIENT STARTING STOP
319
- .d-bgg-from-o@{opacity},
320
- .h\:d-bgg-from-@{opacity}:hover,
321
- .f\:d-bgg-from-@{opacity}:focus {
322
- --bgg-from-opacity: ~"@{opacity}%" !important;
402
+ // Add in a gap to items after the first row
403
+ &:nth-child(-n + @{count}) {
404
+ margin-top: 0;
323
405
  }
324
- .f\:d-bgg-from-@{opacity}:focus-within {
325
- --bgg-from-opacity: ~"@{opacity}%" !important;
326
- }
327
- #d-internals #dark-mode('.d\:d-bgg-from-@{opacity}', {
328
- --bgg-from-opacity: ~"@{opacity}%" !important;
329
- });
330
-
331
- // -- BACKGROUND GRADIENT ENDING STOP
332
- .d-bgg-to-o@{opacity},
333
- .h\:d-bgg-to-@{opacity}:hover,
334
- .f\:d-bgg-to-@{opacity}:focus {
335
- --bgg-to-opacity: ~"@{opacity}%" !important;
336
- }
337
- .f\:d-bgg-to-@{opacity}:focus-within {
338
- --bgg-to-opacity: ~"@{opacity}%" !important;
339
- }
340
- #d-internals #dark-mode('.d\:d-bgg-to-@{opacity}', {
341
- --bgg-to-opacity: ~"@{opacity}%" !important;
342
- });
406
+ }
407
+
408
+ // If flex column is in a column direction (and became rows),
409
+ // change the margin direction.
410
+ &.d-fd-column > * {
411
+ margin: var(--fl-gap) 0;
412
+ }
343
413
  }
414
+
415
+ // Iterate our loop until we hit our grid column total
416
+ #d-internals #build-flex-columns(@num, @count + 1);
417
+ }
344
418
  }