@dialpad/dialtone 6.8.1 → 6.12.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.
- package/CHANGELOG.md +45 -0
- package/lib/build/less/components/banner.less +1 -1
- package/lib/build/less/components/button.less +31 -13
- package/lib/build/less/components/forms.less +1 -1
- package/lib/build/less/components/input.less +2 -2
- package/lib/build/less/components/link.less +6 -6
- package/lib/build/less/components/modal.less +1 -1
- package/lib/build/less/components/notice.less +1 -1
- package/lib/build/less/components/radio-checkbox.less +25 -25
- package/lib/build/less/components/selects.less +9 -9
- package/lib/build/less/components/skeleton.less +43 -0
- package/lib/build/less/components/table.less +1 -1
- package/lib/build/less/components/tabs.less +1 -1
- package/lib/build/less/components/toast.less +2 -2
- package/lib/build/less/components/tooltip.less +2 -2
- package/lib/build/less/dialtone-globals.less +10 -0
- package/lib/build/less/dialtone.less +4 -21
- package/lib/build/less/themes/default.less +9 -9
- package/lib/build/less/utilities/backgrounds.less +4 -54
- package/lib/build/less/utilities/borders.less +3 -4
- package/lib/build/less/utilities/colors.less +33 -209
- package/lib/build/less/utilities/effects.less +8 -2
- package/lib/build/less/utilities/flex.less +3 -32
- package/lib/build/less/utilities/grid.less +2 -19
- package/lib/build/less/utilities/internals.less +316 -180
- package/lib/build/less/utilities/layout.less +18 -19
- package/lib/build/less/utilities/responsive.less +0 -143
- package/lib/build/less/utilities/sizing.less +2 -2
- package/lib/build/less/utilities/spacing.less +2 -2
- package/lib/build/less/utilities/svg.less +1 -1
- package/lib/build/less/utilities/typography.less +4 -4
- package/lib/build/less/variables/colors.less +3 -3
- package/lib/build/less/variables/layout.less +21 -0
- package/lib/build/svg/spot/file-upload.svg +56 -0
- package/lib/build/svg/system/windows.svg +6 -0
- package/lib/dist/css/dialtone.css +12603 -25650
- package/lib/dist/css/dialtone.min.css +1 -1
- package/lib/dist/svg/spot/file-upload.svg +1 -0
- package/lib/dist/svg/system/windows.svg +1 -0
- package/lib/dist/vue/icons/IconWindows.vue +3 -0
- package/lib/dist/vue/spot/SpotFileUpload.vue +3 -0
- package/package.json +11 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
//@import (reference) '../utilities/internals.less';
|
|
2
2
|
|
|
3
3
|
//
|
|
4
4
|
// DIALTONE
|
|
@@ -9,199 +9,8 @@
|
|
|
9
9
|
// documentation pages at https://dialpad.design
|
|
10
10
|
//
|
|
11
11
|
// TABLE OF CONTENTS
|
|
12
|
-
// • MIXINS
|
|
13
12
|
// • UTILITY CLASSES
|
|
14
13
|
//
|
|
15
|
-
// ============================================================================
|
|
16
|
-
// $ MIXINS
|
|
17
|
-
// ----------------------------------------------------------------------------
|
|
18
|
-
#d-internals() {
|
|
19
|
-
// ========================================================================
|
|
20
|
-
// $ COLOR CLASS GENERATOR
|
|
21
|
-
// Create a mixin to generate all the utility classes required. By doing it
|
|
22
|
-
// this way, we are disabling the ability to use Dialtone utility classes as
|
|
23
|
-
// a mixin. Previously we had allowed for utility classes to be used as
|
|
24
|
-
// mixins, but because our overall CSS bundle size is growing exponentially,
|
|
25
|
-
// Dialtone v6 removed this ability. It is now recommended to use CSS
|
|
26
|
-
// variables (var(--color)). Less variables (@color) are also available,
|
|
27
|
-
// but their use is discouraged.
|
|
28
|
-
//
|
|
29
|
-
// USAGE:
|
|
30
|
-
// #d-internals #color-classes(purple-500);
|
|
31
|
-
//
|
|
32
|
-
// ------------------------------------------------------------------------
|
|
33
|
-
#color-classes(@color-name) {
|
|
34
|
-
// -- FONT STYLES
|
|
35
|
-
.d-fc-@{color-name},
|
|
36
|
-
.h\:d-fc-@{color-name}:hover,
|
|
37
|
-
.f\:d-fc-@{color-name}:focus {
|
|
38
|
-
--fco: 100%;
|
|
39
|
-
|
|
40
|
-
color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--fco)) !important;
|
|
41
|
-
}
|
|
42
|
-
.f\:d-fc-@{color-name}:focus-within {
|
|
43
|
-
--fco: 100%;
|
|
44
|
-
|
|
45
|
-
color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--fco)) !important;
|
|
46
|
-
}
|
|
47
|
-
#d-internals #dark-mode('.d\:d-fc-@{color-name}', {
|
|
48
|
-
--fco: 100%;
|
|
49
|
-
color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--fco)) !important;
|
|
50
|
-
});;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
// -- BORDER STYLES
|
|
54
|
-
.d-bc-@{color-name},
|
|
55
|
-
.h\:d-bc-@{color-name}:hover,
|
|
56
|
-
.f\:d-bc-@{color-name}:focus {
|
|
57
|
-
--bco: 100%;
|
|
58
|
-
|
|
59
|
-
border-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--bco)) !important;
|
|
60
|
-
}
|
|
61
|
-
.f\:d-bc-@{color-name}:focus-within {
|
|
62
|
-
--bco: 100%;
|
|
63
|
-
|
|
64
|
-
border-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--bco)) !important;
|
|
65
|
-
}
|
|
66
|
-
#d-internals #dark-mode('.d\:d-bc-@{color-name}', {
|
|
67
|
-
--bco: 100%;
|
|
68
|
-
border-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--bco)) !important;
|
|
69
|
-
});;
|
|
70
|
-
|
|
71
|
-
// -- DIVIDER COLORS
|
|
72
|
-
.d-divide-@{color-name} > * + * {
|
|
73
|
-
--dco: 100%;
|
|
74
|
-
|
|
75
|
-
border-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--dco)) !important;
|
|
76
|
-
}
|
|
77
|
-
#d-internals #dark-mode('.d\:d-divide-@{color-name} > * + *', {
|
|
78
|
-
--dco: 100%;
|
|
79
|
-
border-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--dco)) !important;
|
|
80
|
-
});;
|
|
81
|
-
|
|
82
|
-
// -- BACKGROUND STYLES
|
|
83
|
-
.d-bgc-@{color-name},
|
|
84
|
-
.h\:d-bgc-@{color-name}:hover,
|
|
85
|
-
.f\:d-bgc-@{color-name}:focus {
|
|
86
|
-
--bgo: 100%;
|
|
87
|
-
|
|
88
|
-
background-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--bgo)) !important;
|
|
89
|
-
}
|
|
90
|
-
.f\:d-bgc-@{color-name}:focus-within {
|
|
91
|
-
--bgo: 100%;
|
|
92
|
-
|
|
93
|
-
background-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--bgo)) !important;
|
|
94
|
-
}
|
|
95
|
-
#d-internals #dark-mode('.d\:d-bgc-@{color-name}', {
|
|
96
|
-
--bgo: 100%;
|
|
97
|
-
background-color: hsla(var(~'--@{color-name}-h') var(~'--@{color-name}-s') var(~'--@{color-name}-l') ~' / ' var(--bgo)) !important;
|
|
98
|
-
});;;;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// ========================================================================
|
|
102
|
-
// $ STANDARD WEIGHT LOOP GENERATOR
|
|
103
|
-
// Since most of our colors have similar stops (100 - 600), we'll save
|
|
104
|
-
// ourselves the need to call the mixin for each color and create a
|
|
105
|
-
// loop that will create most of the colors for us.
|
|
106
|
-
//
|
|
107
|
-
// USAGE:
|
|
108
|
-
// #d-internals #standard-stops(purple);
|
|
109
|
-
//
|
|
110
|
-
// ------------------------------------------------------------------------
|
|
111
|
-
#standard-stops(@color) {
|
|
112
|
-
#d-internals #color-classes(~'@{color}-600');;;;
|
|
113
|
-
#d-internals #color-classes(~'@{color}-500');;;;
|
|
114
|
-
#d-internals #color-classes(~'@{color}-400');;;;
|
|
115
|
-
#d-internals #color-classes(~'@{color}-300');;;;
|
|
116
|
-
#d-internals #color-classes(~'@{color}-200');;;;
|
|
117
|
-
#d-internals #color-classes(~'@{color}-100');;;;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// ========================================================================
|
|
121
|
-
// $ OPACITY CLASS GENERATOR
|
|
122
|
-
// Creates opacity classes for font, background, and border colors.
|
|
123
|
-
//
|
|
124
|
-
// USAGE:
|
|
125
|
-
// #d-internals #opacity-classes(50);
|
|
126
|
-
//
|
|
127
|
-
// ------------------------------------------------------------------------
|
|
128
|
-
#opacity-classes(@opacity) {
|
|
129
|
-
// -- FONT OPACITY
|
|
130
|
-
.d-fco@{opacity},
|
|
131
|
-
.h\:d-fco@{opacity}:hover,
|
|
132
|
-
.f\:d-fco@{opacity}:focus {
|
|
133
|
-
--fco: ~'@{opacity}%' !important;
|
|
134
|
-
}
|
|
135
|
-
.f\:d-fco@{opacity}:focus-within {
|
|
136
|
-
--fco: ~'@{opacity}%' !important;
|
|
137
|
-
}
|
|
138
|
-
#d-internals #dark-mode('.d\:d-fco@{opacity}', {
|
|
139
|
-
--fco: ~'@{opacity}%' !important;
|
|
140
|
-
});;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
// -- BORDER OPACITY
|
|
144
|
-
.d-bco@{opacity},
|
|
145
|
-
.h\:d-bco@{opacity}:hover,
|
|
146
|
-
.f\:d-bco@{opacity}:focus {
|
|
147
|
-
--bco: ~'@{opacity}%' !important;
|
|
148
|
-
}
|
|
149
|
-
.f\:d-bco@{opacity}:focus-within {
|
|
150
|
-
--bco: ~'@{opacity}%' !important;
|
|
151
|
-
}
|
|
152
|
-
#d-internals #dark-mode('.d\:d-bco@{opacity}', {
|
|
153
|
-
--bco: ~'@{opacity}%' !important;
|
|
154
|
-
});;
|
|
155
|
-
|
|
156
|
-
// -- DIVIDER OPACITY
|
|
157
|
-
.d-dco@{opacity} > * + * {
|
|
158
|
-
--dco: ~'@{opacity}%' !important;
|
|
159
|
-
}
|
|
160
|
-
#d-internals #dark-mode('.d\:d-dco@{opacity} > * + *', {
|
|
161
|
-
--dco: ~'@{opacity}%' !important;
|
|
162
|
-
});;
|
|
163
|
-
|
|
164
|
-
// -- BACKGROUND COLOR OPACITY
|
|
165
|
-
.d-bgo@{opacity},
|
|
166
|
-
.h\:d-bgo@{opacity}:hover,
|
|
167
|
-
.f\:d-bgo@{opacity}:focus {
|
|
168
|
-
--bgo: ~'@{opacity}%' !important;
|
|
169
|
-
}
|
|
170
|
-
.f\:d-bgo@{opacity}:focus-within {
|
|
171
|
-
--bgo: ~'@{opacity}%' !important;
|
|
172
|
-
}
|
|
173
|
-
#d-internals #dark-mode('.d\:d-bgo@{opacity}', {
|
|
174
|
-
--bgo: ~'@{opacity}%' !important;
|
|
175
|
-
});;
|
|
176
|
-
|
|
177
|
-
// -- BACKGROUND GRADIENT STARTING STOP
|
|
178
|
-
.d-bgg-from-o@{opacity},
|
|
179
|
-
.h\:d-bgg-from-@{opacity}:hover,
|
|
180
|
-
.f\:d-bgg-from-@{opacity}:focus {
|
|
181
|
-
--bgg-from-opacity: ~'@{opacity}%' !important;
|
|
182
|
-
}
|
|
183
|
-
.f\:d-bgg-from-@{opacity}:focus-within {
|
|
184
|
-
--bgg-from-opacity: ~'@{opacity}%' !important;
|
|
185
|
-
}
|
|
186
|
-
#d-internals #dark-mode('.d\:d-bgg-from-@{opacity}', {
|
|
187
|
-
--bgg-from-opacity: ~'@{opacity}%' !important;
|
|
188
|
-
});;
|
|
189
|
-
|
|
190
|
-
// -- BACKGROUND GRADIENT ENDING STOP
|
|
191
|
-
.d-bgg-to-o@{opacity},
|
|
192
|
-
.h\:d-bgg-to-@{opacity}:hover,
|
|
193
|
-
.f\:d-bgg-to-@{opacity}:focus {
|
|
194
|
-
--bgg-to-opacity: ~'@{opacity}%' !important;
|
|
195
|
-
}
|
|
196
|
-
.f\:d-bgg-to-@{opacity}:focus-within {
|
|
197
|
-
--bgg-to-opacity: ~'@{opacity}%' !important;
|
|
198
|
-
}
|
|
199
|
-
#d-internals #dark-mode('.d\:d-bgg-to-@{opacity}', {
|
|
200
|
-
--bgg-to-opacity: ~'@{opacity}%' !important;
|
|
201
|
-
});;;;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
14
|
// ============================================================================
|
|
206
15
|
// $ UTILITY CLASSES
|
|
207
16
|
// ----------------------------------------------------------------------------
|
|
@@ -229,70 +38,85 @@
|
|
|
229
38
|
#d-internals #color-classes(green-700);
|
|
230
39
|
#d-internals #color-classes(red-700);
|
|
231
40
|
|
|
232
|
-
|
|
233
|
-
.d-fc-primary,
|
|
234
|
-
.h\:d-fc-primary:hover,
|
|
235
|
-
.f\:d-fc-primary:focus {
|
|
41
|
+
.d-fc-primary {
|
|
236
42
|
color: hsla(var(--primary-color-h) var(--primary-color-s) var(--primary-color-l) ~' / ' var(--fco)) !important;
|
|
237
43
|
}
|
|
238
|
-
|
|
239
|
-
.f\:d-fc-primary:focus-within {
|
|
240
|
-
color: hsla(var(--primary-color-h) var(--primary-color-s) var(--primary-color-l) ~' / ' var(--fco)) !important;
|
|
241
|
-
}
|
|
44
|
+
#d-internals #generate-hover-focus(d-fc-primary, {.d-fc-primary();});
|
|
242
45
|
|
|
243
46
|
// $$ TEXT COLORS
|
|
244
47
|
// ----------------------------------------------------------------------------
|
|
245
48
|
.d-fc-dark { &:extend(.d-fc-black-900); }
|
|
246
|
-
|
|
247
|
-
.f\:d-fc-dark:focus { &:extend(.f\:d-fc-black-900:focus); }
|
|
248
|
-
.f\:d-fc-dark:focus-within { &:extend(.f\:d-fc-black-900:focus-within); }
|
|
49
|
+
#d-internals #generate-hover-focus(d-fc-dark, {.d-fc-dark();});
|
|
249
50
|
|
|
250
51
|
.d-fc-medium { &:extend(.d-fc-black-800); }
|
|
251
|
-
|
|
252
|
-
.f\:d-fc-medium:focus { &:extend(.f\:d-fc-black-800:focus); }
|
|
253
|
-
.f\:d-fc-medium:focus-within { &:extend(.f\:d-fc-black-800:focus-within); }
|
|
52
|
+
#d-internals #generate-hover-focus(d-fc-medium, {.d-fc-medium();});
|
|
254
53
|
|
|
255
54
|
.d-fc-light { &:extend(.d-fc-black-700); }
|
|
256
|
-
|
|
257
|
-
.f\:d-fc-light:focus { &:extend(.f\:d-fc-black-700:focus); }
|
|
258
|
-
.f\:d-fc-light:focus-within { &:extend(.f\:d-fc-black-700:focus-within); }
|
|
55
|
+
#d-internals #generate-hover-focus(d-fc-light, {.d-fc-light();});
|
|
259
56
|
|
|
260
57
|
.d-fc-lighter { &:extend(.d-fc-black-600); }
|
|
58
|
+
#d-internals #generate-hover-focus(d-fc-lighter, {.d-fc-lighter();});
|
|
59
|
+
|
|
261
60
|
.d-fc-purple { &:extend(.d-fc-purple-500); }
|
|
61
|
+
#d-internals #generate-hover-focus(d-fc-purple, {.d-fc-purple();});
|
|
62
|
+
|
|
262
63
|
.d-fc-orange { &:extend(.d-fc-orange-600); }
|
|
64
|
+
#d-internals #generate-hover-focus(d-fc-orange, {.d-fc-orange();});
|
|
65
|
+
|
|
263
66
|
.d-fc-pink { &:extend(.d-fc-pink-600); }
|
|
67
|
+
#d-internals #generate-hover-focus(d-fc-pink, {.d-fc-pink();});
|
|
264
68
|
|
|
265
69
|
.d-fc-green,
|
|
266
70
|
.d-fc-success { &:extend(.d-fc-green-600); }
|
|
71
|
+
#d-internals #generate-hover-focus(d-fc-green, {.d-fc-green();});
|
|
72
|
+
#d-internals #generate-hover-focus(d-fc-success, {.d-fc-success();});
|
|
267
73
|
|
|
268
74
|
.d-fc-yellow,
|
|
269
75
|
.d-fc-warning { &:extend(.d-fc-yellow-600); }
|
|
76
|
+
#d-internals #generate-hover-focus(d-fc-yellow, {.d-fc-yellow();});
|
|
77
|
+
#d-internals #generate-hover-focus(d-fc-warning, {.d-fc-warning();});
|
|
270
78
|
|
|
271
79
|
.d-fc-red,
|
|
272
80
|
.d-fc-error,
|
|
273
81
|
.d-fc-danger { &:extend(.d-fc-red-600); }
|
|
82
|
+
#d-internals #generate-hover-focus(d-fc-red, {.d-fc-red();});
|
|
83
|
+
#d-internals #generate-hover-focus(d-fc-error, {.d-fc-error();});
|
|
84
|
+
#d-internals #generate-hover-focus(d-fc-danger, {.d-fc-danger();});
|
|
274
85
|
|
|
275
86
|
.d-fc-current { color: currentColor !important; }
|
|
87
|
+
#d-internals #generate-hover-focus(d-fc-current, {.d-fc-current();});
|
|
276
88
|
.d-fc-transparent { color: transparent !important; }
|
|
89
|
+
#d-internals #generate-hover-focus(d-fc-transparent, {.d-fc-transparent();});
|
|
277
90
|
.d-fc-unset { color: unset !important; }
|
|
91
|
+
#d-internals #generate-hover-focus(d-fc-unset, {.d-fc-unset();});
|
|
278
92
|
|
|
279
93
|
|
|
280
94
|
// $$ BACKGROUND COLORS
|
|
281
95
|
// ----------------------------------------------------------------------------
|
|
282
96
|
.d-bgc-success { &:extend(.d-bgc-green-500); }
|
|
97
|
+
#d-internals #generate-hover-focus(d-bgc-success, {.d-bgc-success();});
|
|
283
98
|
.d-bgc-warning { &:extend(.d-bgc-yellow-500); }
|
|
99
|
+
#d-internals #generate-hover-focus(d-bgc-warning, {.d-bgc-warning();});
|
|
284
100
|
|
|
285
101
|
.d-bgc-error,
|
|
286
102
|
.d-bgc-danger { &:extend(.d-bgc-red-500); }
|
|
103
|
+
#d-internals #generate-hover-focus(d-bgc-error, {.d-bgc-error();});
|
|
104
|
+
#d-internals #generate-hover-focus(d-bgc-danger, {.d-bgc-danger();});
|
|
105
|
+
|
|
287
106
|
.d-bgc-transparent { background-color: transparent !important; background-image: none !important; }
|
|
107
|
+
#d-internals #generate-hover-focus(d-bgc-transparent, {.d-bgc-transparent();});
|
|
288
108
|
.d-bgc-unset { background-color: unset !important; background-image: unset !important; }
|
|
109
|
+
#d-internals #generate-hover-focus(d-bgc-unset, {.d-bgc-unset();});
|
|
289
110
|
|
|
290
111
|
|
|
291
112
|
// $$ BORDER COLORS
|
|
292
113
|
// ----------------------------------------------------------------------------
|
|
293
114
|
.d-bc-transparent { border-color: transparent !important; }
|
|
115
|
+
#d-internals #generate-hover-focus(d-bc-transparent, {.d-bc-transparent();});
|
|
294
116
|
.d-bc-current { border-color: currentColor !important; }
|
|
117
|
+
#d-internals #generate-hover-focus(d-bc-current , {.d-bc-current();});
|
|
295
118
|
.d-bc-unset { border-color: unset !important; }
|
|
119
|
+
#d-internals #generate-hover-focus(d-bc-unset, {.d-bc-unset();});
|
|
296
120
|
|
|
297
121
|
|
|
298
122
|
// $ OPACITY CLASSES
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
//@import (reference) '../variables/spacing.less';
|
|
2
2
|
|
|
3
3
|
//
|
|
4
4
|
// DIALTONE
|
|
@@ -138,17 +138,23 @@
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
|
|
142
141
|
// ============================================================================
|
|
143
142
|
// $ BOX SHADOW
|
|
144
143
|
// ----------------------------------------------------------------------------
|
|
145
144
|
.d-bs-sm { box-shadow: var(--bs-sm) !important; }
|
|
145
|
+
#d-internals #generate-hover-focus(d-bs-sm, {.d-bs-sm();});
|
|
146
146
|
.d-bs-md { box-shadow: var(--bs-md) !important; }
|
|
147
|
+
#d-internals #generate-hover-focus(d-bs-md, {.d-bs-md ();});
|
|
147
148
|
.d-bs-lg { box-shadow: var(--bs-lg) !important; }
|
|
149
|
+
#d-internals #generate-hover-focus(d-bs-lg, {.d-bs-lg();});
|
|
148
150
|
.d-bs-xl { box-shadow: var(--bs-xl) !important; }
|
|
151
|
+
#d-internals #generate-hover-focus(d-bs-xl, {.d-bs-xl();});
|
|
149
152
|
.d-bs-card { box-shadow: var(--bs-card) !important; }
|
|
153
|
+
#d-internals #generate-hover-focus(d-bs-card, {.d-bs-card();});
|
|
150
154
|
.d-bs-none { box-shadow: none !important; }
|
|
155
|
+
#d-internals #generate-hover-focus(d-bs-none, {.d-bs-none();});
|
|
151
156
|
.d-bs-unset { box-shadow: unset !important; }
|
|
157
|
+
#d-internals #generate-hover-focus(d-bs-unset, {.d-bs-unset();});
|
|
152
158
|
|
|
153
159
|
|
|
154
160
|
// ============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
//@import (reference) '../utilities/internals.less';
|
|
2
|
+
|
|
1
3
|
//
|
|
2
4
|
// DIALTONE
|
|
3
5
|
// UTILITIES: FLEXBOX
|
|
@@ -69,38 +71,6 @@
|
|
|
69
71
|
// ----------------------------------------------------------------------------
|
|
70
72
|
// $$ FLEX COLUMNS
|
|
71
73
|
// ----------------------------------------------------------------------------
|
|
72
|
-
#d-internals() {
|
|
73
|
-
#build-flex-columns(@num, @count: 1) when (@count =< @num) {
|
|
74
|
-
.d-fl-col@{count} {
|
|
75
|
-
display: flex;
|
|
76
|
-
|
|
77
|
-
// Automatically make all direct child to obey the parent class
|
|
78
|
-
> * {
|
|
79
|
-
--fl-gap: 0;
|
|
80
|
-
--fl-basis: calc(100% / @count);
|
|
81
|
-
|
|
82
|
-
display: inline-flex;
|
|
83
|
-
flex: 1 calc(var(--fl-basis) - ((var(--fl-gap) * 2)));
|
|
84
|
-
margin: var(--fl-gap);
|
|
85
|
-
|
|
86
|
-
// Add in a gap to items after the first row
|
|
87
|
-
&:nth-child(-n + @{count}) {
|
|
88
|
-
margin-top: 0;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// If flex column is in a column direction (and became rows),
|
|
93
|
-
// change the margin direction.
|
|
94
|
-
&.d-fd-column > * {
|
|
95
|
-
margin: var(--fl-gap) 0;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Iterate our loop until we hit our grid column total
|
|
100
|
-
#d-internals #build-flex-columns(@num, @count + 1);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
@flex-columns: 12;
|
|
104
74
|
|
|
105
75
|
// Now let's generate the columns
|
|
106
76
|
#d-internals #build-flex-columns(@flex-columns);
|
|
@@ -263,3 +233,4 @@
|
|
|
263
233
|
.d-order12 { order: 12 !important; }
|
|
264
234
|
.d-order-first { order: -9999 !important; }
|
|
265
235
|
.d-order-last { order: 9999 !important; }
|
|
236
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
//@import (reference) '../utilities/spacing.less';
|
|
2
2
|
|
|
3
3
|
//
|
|
4
4
|
// DIALTONE
|
|
@@ -21,23 +21,6 @@
|
|
|
21
21
|
// • PLACE SELF
|
|
22
22
|
// • ROWS
|
|
23
23
|
//
|
|
24
|
-
// ============================================================================
|
|
25
|
-
// $ GRID VARIABLES
|
|
26
|
-
// ----------------------------------------------------------------------------
|
|
27
|
-
@grid-vars: {
|
|
28
|
-
// Grid Layout Variables
|
|
29
|
-
sidebar-width: minmax(20rem, 30rem);
|
|
30
|
-
content-width: minmax(32rem, 90ch);
|
|
31
|
-
header-height: minmax(6.4rem, min-content);
|
|
32
|
-
content-height: minmax(64rem, max-content);
|
|
33
|
-
|
|
34
|
-
// Grid Columns
|
|
35
|
-
grid-columns: 12;
|
|
36
|
-
grid-column-width: minmax(min-content, 24rem);
|
|
37
|
-
grid-column-auto: 1fr;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
24
|
// ============================================================================
|
|
42
25
|
// $ COLUMNS
|
|
43
26
|
// ----------------------------------------------------------------------------
|
|
@@ -325,7 +308,7 @@
|
|
|
325
308
|
'.d-gr',
|
|
326
309
|
{ .template(@value) { grid-row: span @value ~' / ' span @value !important; } },
|
|
327
310
|
1 2 3 4 5 6 7 8 9 10 11 12
|
|
328
|
-
)
|
|
311
|
+
);
|
|
329
312
|
|
|
330
313
|
.d-gr-full { grid-row: 1 ~' / ' -1 !important; }
|
|
331
314
|
|