@progress/kendo-theme-utils 5.12.1-dev.0 → 5.12.1-dev.1
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/dist/all.css +4038 -774
- package/dist/all.scss +1458 -217
- package/package.json +6 -3
- package/scss/_functions.scss +1 -37
- package/scss/_mixins.scss +7 -7
- package/scss/_variables.scss +35 -20
- package/scss/accessibility/_screen-readers.scss +2 -2
- package/scss/border/_border-color.scss +1 -1
- package/scss/border/_border-radius.scss +1 -1
- package/scss/border/_border-style.scss +1 -1
- package/scss/border/_border-width.scss +1 -1
- package/scss/border/_outline-color.scss +1 -1
- package/scss/border/_outline-offset.scss +1 -1
- package/scss/border/_outline-style.scss +1 -1
- package/scss/border/_outline-width.scss +1 -1
- package/scss/flex-grid/_align-content.scss +1 -1
- package/scss/flex-grid/_align-items.scss +1 -1
- package/scss/flex-grid/_align-self.scss +1 -1
- package/scss/flex-grid/_flex-basis.scss +6 -5
- package/scss/flex-grid/_flex-direction.scss +10 -5
- package/scss/flex-grid/_flex-grow.scss +6 -3
- package/scss/flex-grid/_flex-shrink.scss +6 -3
- package/scss/flex-grid/_flex-wrap.scss +8 -4
- package/scss/flex-grid/_flex.scss +10 -5
- package/scss/flex-grid/_gap.scss +1 -1
- package/scss/flex-grid/_grid-auto-columns.scss +1 -1
- package/scss/flex-grid/_grid-auto-flow.scss +1 -1
- package/scss/flex-grid/_grid-auto-rows.scss +1 -1
- package/scss/flex-grid/_grid-column-start-end.scss +3 -3
- package/scss/flex-grid/_grid-row-start-end.scss +4 -3
- package/scss/flex-grid/_grid-template-columns.scss +1 -1
- package/scss/flex-grid/_grid-template-rows.scss +1 -1
- package/scss/flex-grid/_justify-content.scss +1 -1
- package/scss/flex-grid/_justify-items.scss +1 -1
- package/scss/flex-grid/_justify-self.scss +1 -1
- package/scss/flex-grid/_order.scss +20 -2
- package/scss/flex-grid/_place-content.scss +1 -1
- package/scss/flex-grid/_place-items.scss +1 -1
- package/scss/flex-grid/_place-self.scss +1 -1
- package/scss/interactivity/_accent-color.scss +1 -1
- package/scss/interactivity/_appearance.scss +6 -3
- package/scss/interactivity/_caret-color.scss +1 -1
- package/scss/interactivity/_cursor.scss +1 -1
- package/scss/interactivity/_pointer-events.scss +6 -3
- package/scss/interactivity/_resize.scss +10 -5
- package/scss/interactivity/_scroll.scss +6 -6
- package/scss/interactivity/_touch-action.scss +6 -3
- package/scss/interactivity/_user-select.scss +16 -8
- package/scss/interactivity/_will-change.scss +1 -1
- package/scss/layout/_aspect-ratio.scss +22 -2
- package/scss/layout/_clear.scss +22 -2
- package/scss/layout/_display.scss +27 -12
- package/scss/layout/_float.scss +17 -2
- package/scss/layout/_overflow.scss +32 -16
- package/scss/layout/_position.scss +49 -4
- package/scss/layout/_visibility.scss +1 -1
- package/scss/layout/_zindex.scss +1 -1
- package/scss/sizing/_height.scss +3 -3
- package/scss/sizing/_width.scss +3 -3
- package/scss/spacing/_margin.scss +1 -1
- package/scss/spacing/_padding.scss +1 -1
- package/scss/table/_border-collapse.scss +1 -1
- package/scss/table/_table-layout.scss +8 -3
- package/scss/transform/_flip.scss +6 -3
- package/scss/transform/_origin.scss +1 -1
- package/scss/transform/_rotate.scss +40 -2
- package/scss/transform/_scale.scss +18 -5
- package/scss/transform/_skew.scss +1 -1
- package/scss/transform/_translate.scss +60 -2
- package/scss/typography/_font-size.scss +1 -1
- package/scss/typography/_font-style.scss +1 -1
- package/scss/typography/_font-weight.scss +1 -1
- package/scss/typography/_text-align.scss +10 -5
- package/scss/typography/_text-transform.scss +8 -4
- package/scss/typography/_white-space.scss +14 -7
package/dist/all.scss
CHANGED
|
@@ -3,76 +3,988 @@
|
|
|
3
3
|
|
|
4
4
|
// #region @import "./index.import.scss"; -> packages/utils/scss/index.import.scss
|
|
5
5
|
// #region @import "./_functions.scss"; -> packages/utils/scss/_functions.scss
|
|
6
|
-
//
|
|
7
|
-
//
|
|
6
|
+
// #region @import "@progress/kendo-theme-core/scss/functions/index.import.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/functions/index.import.scss
|
|
7
|
+
// #region @import "../_variables.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/_variables.scss
|
|
8
|
+
// Equilateral triangle variables
|
|
9
|
+
$equilateral-index: 1.7320508076 !default;
|
|
10
|
+
$equilateral-height: .8660254038 !default;
|
|
11
|
+
|
|
12
|
+
// #endregion
|
|
13
|
+
|
|
14
|
+
// #region @import "./_color.import.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/functions/_color.import.scss
|
|
15
|
+
@function k-color-alpha( $color ) {
|
|
16
|
+
@return alpha( $color );
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@function k-color-red( $color ) {
|
|
20
|
+
@return red( $color );
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@function k-color-green( $color ) {
|
|
24
|
+
@return green( $color );
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@function k-color-blue( $color ) {
|
|
28
|
+
@return blue( $color );
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@function k-color-hue( $color ) {
|
|
32
|
+
@return hue( $color );
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@function k-color-saturation( $color ) {
|
|
36
|
+
@return saturation( $color );
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@function k-color-lightness( $color ) {
|
|
40
|
+
@return lightness( $color );
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@function k-color-mix( $color1, $color2, $weight: 50% ) {
|
|
44
|
+
@return mix( $color1, $color2, $weight );
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@function k-color-darken( $color, $amount) {
|
|
48
|
+
@return darken( $color, $amount );
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@function k-color-lighten( $color, $amount) {
|
|
52
|
+
@return lighten( $color, $amount );
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@function k-color-adjust-hue( $color, $degrees ) {
|
|
56
|
+
@return adjust-hue( $color, $degrees );
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@function k-color-saturate( $color, $amount ) {
|
|
60
|
+
@return saturate( $color, $amount );
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@function k-color-desaturate( $color, $amount ) {
|
|
64
|
+
@return desaturate( $color, $amount );
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@function k-color-grayscale( $color ) {
|
|
68
|
+
@return grayscale( $color );
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@function k-color-complement( $color ) {
|
|
72
|
+
@return complement( $color );
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@function k-color-invert( $color ) {
|
|
76
|
+
@return invert( $color );
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// #endregion
|
|
80
|
+
// #region @import "./_color-contrast.import.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/functions/_color-contrast.import.scss
|
|
81
|
+
// Adapted from https://gist.github.com/sgomes/ccc72f71137fe29039c92c0a9fe9b657
|
|
82
|
+
// Adapted from https://github.com/twbs/bootstrap/commit/03908ea37a55eaa44c12ce5694dddc1630c980b3
|
|
83
|
+
|
|
84
|
+
// Precomputed linear color channel values, for use in contrast calculations.
|
|
85
|
+
// See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
8
86
|
//
|
|
9
|
-
//
|
|
10
|
-
//
|
|
11
|
-
//
|
|
12
|
-
//
|
|
13
|
-
//
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
87
|
+
// Algorithm, for c in 0 to 255:
|
|
88
|
+
// f(c) {
|
|
89
|
+
// c = c / 255;
|
|
90
|
+
// return c < 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);
|
|
91
|
+
// }
|
|
92
|
+
//
|
|
93
|
+
// This lookup table is needed since there is no `pow` in SASS.
|
|
94
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
|
95
|
+
$linear-channel-values: (
|
|
96
|
+
0
|
|
97
|
+
.0003035269835488375
|
|
98
|
+
.000607053967097675
|
|
99
|
+
.0009105809506465125
|
|
100
|
+
.00121410793419535
|
|
101
|
+
.0015176349177441874
|
|
102
|
+
.001821161901293025
|
|
103
|
+
.0021246888848418626
|
|
104
|
+
.0024282158683907
|
|
105
|
+
.0027317428519395373
|
|
106
|
+
.003035269835488375
|
|
107
|
+
.003346535763899161
|
|
108
|
+
.003676507324047436
|
|
109
|
+
.004024717018496307
|
|
110
|
+
.004391442037410293
|
|
111
|
+
.004776953480693729
|
|
112
|
+
.005181516702338386
|
|
113
|
+
.005605391624202723
|
|
114
|
+
.006048833022857054
|
|
115
|
+
.006512090792594475
|
|
116
|
+
.006995410187265387
|
|
117
|
+
.007499032043226175
|
|
118
|
+
.008023192985384994
|
|
119
|
+
.008568125618069307
|
|
120
|
+
.009134058702220787
|
|
121
|
+
.00972121732023785
|
|
122
|
+
.010329823029626936
|
|
123
|
+
.010960094006488246
|
|
124
|
+
.011612245179743885
|
|
125
|
+
.012286488356915872
|
|
126
|
+
.012983032342173012
|
|
127
|
+
.013702083047289686
|
|
128
|
+
.014443843596092545
|
|
129
|
+
.01520851442291271
|
|
130
|
+
.01599629336550963
|
|
131
|
+
.016807375752887384
|
|
132
|
+
.017641954488384078
|
|
133
|
+
.018500220128379697
|
|
134
|
+
.019382360956935723
|
|
135
|
+
.0202885630566524
|
|
136
|
+
.021219010376003555
|
|
137
|
+
.022173884793387385
|
|
138
|
+
.02315336617811041
|
|
139
|
+
.024157632448504756
|
|
140
|
+
.02518685962736163
|
|
141
|
+
.026241221894849898
|
|
142
|
+
.027320891639074894
|
|
143
|
+
.028426039504420793
|
|
144
|
+
.0295568344378088
|
|
145
|
+
.030713443732993635
|
|
146
|
+
.03189603307301153
|
|
147
|
+
.033104766570885055
|
|
148
|
+
.03433980680868217
|
|
149
|
+
.03560131487502034
|
|
150
|
+
.03688945040110004
|
|
151
|
+
.0382043715953465
|
|
152
|
+
.03954623527673284
|
|
153
|
+
.04091519690685319
|
|
154
|
+
.042311410620809675
|
|
155
|
+
.043735029256973465
|
|
156
|
+
.04518620438567554
|
|
157
|
+
.046665086336880095
|
|
158
|
+
.04817182422688942
|
|
159
|
+
.04970656598412723
|
|
160
|
+
.05126945837404324
|
|
161
|
+
.052860647023180246
|
|
162
|
+
.05448027644244237
|
|
163
|
+
.05612849004960009
|
|
164
|
+
.05780543019106723
|
|
165
|
+
.0595112381629812
|
|
166
|
+
.06124605423161761
|
|
167
|
+
.06301001765316767
|
|
168
|
+
.06480326669290577
|
|
169
|
+
.06662593864377289
|
|
170
|
+
.06847816984440017
|
|
171
|
+
.07036009569659588
|
|
172
|
+
.07227185068231748
|
|
173
|
+
.07421356838014963
|
|
174
|
+
.07618538148130785
|
|
175
|
+
.07818742180518633
|
|
176
|
+
.08021982031446832
|
|
177
|
+
.0822827071298148
|
|
178
|
+
.08437621154414882
|
|
179
|
+
.08650046203654976
|
|
180
|
+
.08865558628577294
|
|
181
|
+
.09084171118340768
|
|
182
|
+
.09305896284668745
|
|
183
|
+
.0953074666309647
|
|
184
|
+
.09758734714186246
|
|
185
|
+
.09989872824711389
|
|
186
|
+
.10224173308810132
|
|
187
|
+
.10461648409110419
|
|
188
|
+
.10702310297826761
|
|
189
|
+
.10946171077829933
|
|
190
|
+
.1119324278369056
|
|
191
|
+
.11443537382697373
|
|
192
|
+
.11697066775851084
|
|
193
|
+
.11953842798834562
|
|
194
|
+
.12213877222960187
|
|
195
|
+
.12477181756095049
|
|
196
|
+
.12743768043564743
|
|
197
|
+
.1301364766903643
|
|
198
|
+
.13286832155381798
|
|
199
|
+
.13563332965520566
|
|
200
|
+
.13843161503245183
|
|
201
|
+
.14126329114027164
|
|
202
|
+
.14412847085805777
|
|
203
|
+
.14702726649759498
|
|
204
|
+
.14995978981060856
|
|
205
|
+
.15292615199615017
|
|
206
|
+
.1559264637078274
|
|
207
|
+
.1589608350608804
|
|
208
|
+
.162029375639111
|
|
209
|
+
.1651321945016676
|
|
210
|
+
.16826940018969075
|
|
211
|
+
.1714411007328226
|
|
212
|
+
.17464740365558504
|
|
213
|
+
.17788841598362912
|
|
214
|
+
.18116424424986022
|
|
215
|
+
.184474994500441
|
|
216
|
+
.18782077230067787
|
|
217
|
+
.19120168274079138
|
|
218
|
+
.1946178304415758
|
|
219
|
+
.19806931955994886
|
|
220
|
+
.20155625379439707
|
|
221
|
+
.20507873639031693
|
|
222
|
+
.20863687014525575
|
|
223
|
+
.21223075741405523
|
|
224
|
+
.21586050011389926
|
|
225
|
+
.2195261997292692
|
|
226
|
+
.2232279573168085
|
|
227
|
+
.22696587351009836
|
|
228
|
+
.23074004852434915
|
|
229
|
+
.23455058216100522
|
|
230
|
+
.238397573812271
|
|
231
|
+
.24228112246555486
|
|
232
|
+
.24620132670783548
|
|
233
|
+
.25015828472995344
|
|
234
|
+
.25415209433082675
|
|
235
|
+
.2581828529215958
|
|
236
|
+
.26225065752969623
|
|
237
|
+
.26635560480286247
|
|
238
|
+
.2704977910130658
|
|
239
|
+
.27467731206038465
|
|
240
|
+
.2788942634768104
|
|
241
|
+
.2831487404299921
|
|
242
|
+
.2874408377269175
|
|
243
|
+
.29177064981753587
|
|
244
|
+
.2961382707983211
|
|
245
|
+
.3005437944157765
|
|
246
|
+
.3049873140698863
|
|
247
|
+
.30946892281750854
|
|
248
|
+
.31398871337571754
|
|
249
|
+
.31854677812509186
|
|
250
|
+
.32314320911295075
|
|
251
|
+
.3277780980565422
|
|
252
|
+
.33245153634617935
|
|
253
|
+
.33716361504833037
|
|
254
|
+
.3419144249086609
|
|
255
|
+
.3467040563550296
|
|
256
|
+
.35153259950043936
|
|
257
|
+
.3564001441459435
|
|
258
|
+
.3613067797835095
|
|
259
|
+
.3662525955988395
|
|
260
|
+
.3712376804741491
|
|
261
|
+
.3762621229909065
|
|
262
|
+
.38132601143253014
|
|
263
|
+
.386429433787049
|
|
264
|
+
.39157247774972326
|
|
265
|
+
.39675523072562685
|
|
266
|
+
.4019777798321958
|
|
267
|
+
.4072402119017367
|
|
268
|
+
.41254261348390375
|
|
269
|
+
.4178850708481375
|
|
270
|
+
.4232676699860717
|
|
271
|
+
.4286904966139066
|
|
272
|
+
.43415363617474895
|
|
273
|
+
.4396571738409188
|
|
274
|
+
.44520119451622786
|
|
275
|
+
.45078578283822346
|
|
276
|
+
.45641102318040466
|
|
277
|
+
.4620769996544071
|
|
278
|
+
.467783796112159
|
|
279
|
+
.47353149614800955
|
|
280
|
+
.4793201831008268
|
|
281
|
+
.4851499400560704
|
|
282
|
+
.4910208498478356
|
|
283
|
+
.4969329950608704
|
|
284
|
+
.5028864580325687
|
|
285
|
+
.5088813208549338
|
|
286
|
+
.5149176653765214
|
|
287
|
+
.5209955732043543
|
|
288
|
+
.5271151257058131
|
|
289
|
+
.5332764040105052
|
|
290
|
+
.5394794890121072
|
|
291
|
+
.5457244613701866
|
|
292
|
+
.5520114015120001
|
|
293
|
+
.5583403896342679
|
|
294
|
+
.5647115057049292
|
|
295
|
+
.5711248294648731
|
|
296
|
+
.5775804404296506
|
|
297
|
+
.5840784178911641
|
|
298
|
+
.5906188409193369
|
|
299
|
+
.5972017883637634
|
|
300
|
+
.6038273388553378
|
|
301
|
+
.6104955708078648
|
|
302
|
+
.6172065624196511
|
|
303
|
+
.6239603916750761
|
|
304
|
+
.6307571363461468
|
|
305
|
+
.6375968739940326
|
|
306
|
+
.6444796819705821
|
|
307
|
+
.6514056374198242
|
|
308
|
+
.6583748172794485
|
|
309
|
+
.665387298282272
|
|
310
|
+
.6724431569576875
|
|
311
|
+
.6795424696330938
|
|
312
|
+
.6866853124353135
|
|
313
|
+
.6938717612919899
|
|
314
|
+
.7011018919329731
|
|
315
|
+
.7083757798916868
|
|
316
|
+
.7156935005064807
|
|
317
|
+
.7230551289219693
|
|
318
|
+
.7304607400903537
|
|
319
|
+
.7379104087727308
|
|
320
|
+
.7454042095403874
|
|
321
|
+
.7529422167760779
|
|
322
|
+
.7605245046752924
|
|
323
|
+
.768151147247507
|
|
324
|
+
.7758222183174236
|
|
325
|
+
.7835377915261935
|
|
326
|
+
.7912979403326302
|
|
327
|
+
.799102738014409
|
|
328
|
+
.8069522576692516
|
|
329
|
+
.8148465722161012
|
|
330
|
+
.8227857543962835
|
|
331
|
+
.8307698767746546
|
|
332
|
+
.83879901174074
|
|
333
|
+
.846873231509858
|
|
334
|
+
.8549926081242338
|
|
335
|
+
.8631572134541023
|
|
336
|
+
.8713671191987972
|
|
337
|
+
.8796223968878317
|
|
338
|
+
.8879231178819663
|
|
339
|
+
.8962693533742664
|
|
340
|
+
.9046611743911496
|
|
341
|
+
.9130986517934192
|
|
342
|
+
.9215818562772946
|
|
343
|
+
.9301108583754237
|
|
344
|
+
.938685728457888
|
|
345
|
+
.9473065367331999
|
|
346
|
+
.9559733532492861
|
|
347
|
+
.9646862478944651
|
|
348
|
+
.9734452903984125
|
|
349
|
+
.9822505503331171
|
|
350
|
+
.9911020971138298
|
|
351
|
+
1
|
|
352
|
+
);
|
|
353
|
+
|
|
354
|
+
// The contrast ratio to reach against white, to determine if color changes from "light" to "dark".
|
|
355
|
+
// Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
|
|
356
|
+
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
|
|
357
|
+
// See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
358
|
+
$wcag-min-contrast-ratio: 7 !default;
|
|
359
|
+
$wcag-dark: black !default;
|
|
360
|
+
$wcag-light: white !default;
|
|
361
|
+
|
|
362
|
+
// Calculate the luminance for a color.
|
|
363
|
+
// See https://www.w3.org/TR/WCAG/#dfn-relative-luminance
|
|
364
|
+
// See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
365
|
+
@function k-color-luminance( $color ) {
|
|
366
|
+
$red: k-list-nth( $linear-channel-values, k-color-red( $color ) + 1 );
|
|
367
|
+
$green: k-list-nth( $linear-channel-values, k-color-green( $color ) + 1 );
|
|
368
|
+
$blue: k-list-nth( $linear-channel-values, k-color-blue( $color ) + 1 );
|
|
369
|
+
|
|
370
|
+
@return .2126 * $red + .7152 * $green + .0722 * $blue;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
// Calculate the luminance for a color.
|
|
374
|
+
// See https://www.w3.org/TR/WCAG/#dfn-contrast-ratio
|
|
375
|
+
// See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
376
|
+
@function k-color-contrast-ratio( $background, $foreground ) {
|
|
377
|
+
// sass-lint:disable-block variable-name-format
|
|
378
|
+
$backLum: k-color-luminance( $background ) + .05;
|
|
379
|
+
$foreLum: k-color-luminance( $foreground ) + .05;
|
|
380
|
+
|
|
381
|
+
@return k-math-div( k-math-max( $backLum, $foreLum ), k-math-min( $backLum, $foreLum ) );
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
@function k-is-dark( $color ) {
|
|
385
|
+
@return if( k-color-luminance( $color ) < .5, true, false );
|
|
386
|
+
}
|
|
387
|
+
@function k-is-light( $color ) {
|
|
388
|
+
@return if( k-color-luminance( $color ) < .5, false, true );
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
// Contrast functions
|
|
393
|
+
@function k-contrast-color( $background, $dark: $wcag-dark, $light: $wcag-light, $min-ratio: $wcag-min-contrast-ratio ) {
|
|
394
|
+
$foregrounds: $light, $dark, #ffffff, #000000;
|
|
395
|
+
$max-ratio: 0;
|
|
396
|
+
$max-ratio-color: null;
|
|
397
|
+
|
|
398
|
+
@each $color in $foregrounds {
|
|
399
|
+
$contrast-ratio: k-color-contrast-ratio( $background, $color );
|
|
400
|
+
|
|
401
|
+
@if ( $contrast-ratio > $min-ratio ) {
|
|
402
|
+
@return $color;
|
|
403
|
+
} @else if ( $contrast-ratio > $max-ratio ) {
|
|
404
|
+
$max-ratio: $contrast-ratio;
|
|
405
|
+
$max-ratio-color: $color;
|
|
406
|
+
}
|
|
17
407
|
}
|
|
18
408
|
|
|
19
|
-
|
|
409
|
+
// sass-lint:disable-block no-warn
|
|
410
|
+
@warn "Found no color leading to #{$min-ratio}:1 contrast ratio against #{$background}...";
|
|
20
411
|
|
|
21
|
-
@
|
|
22
|
-
|
|
412
|
+
@return $max-ratio-color;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
// Legacy functions
|
|
417
|
+
@function k-yiq-luma-information($color) {
|
|
418
|
+
$r: k-color-red($color);
|
|
419
|
+
$g: k-color-green($color);
|
|
420
|
+
$b: k-color-blue($color);
|
|
421
|
+
|
|
422
|
+
$yiq: k-math-div( (($r * 299) + ($g * 587) + ($b * 114)), 1000 );
|
|
423
|
+
|
|
424
|
+
@return $yiq;
|
|
425
|
+
}
|
|
426
|
+
@function k-contrast-yiq($color, $dark: $yiq-dark, $light: $yiq-light) {
|
|
427
|
+
$yiq: k-yiq-luma-information($color);
|
|
428
|
+
$out: if($yiq >= $yiq-threshold, $dark, $light);
|
|
429
|
+
// @debug yiq;
|
|
430
|
+
@return $out;
|
|
431
|
+
}
|
|
432
|
+
@function k-contrast-legacy($color, $dark: $wcag-dark, $light: $wcag-light) {
|
|
433
|
+
$luma: k-color-luminance($color);
|
|
434
|
+
$out: if($luma < .5, $light, $dark);
|
|
435
|
+
// @debug $luma;
|
|
436
|
+
@return $out;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
// #endregion
|
|
440
|
+
// #region @import "./_color-manipulation.import.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/functions/_color-manipulation.import.scss
|
|
441
|
+
/// Set a specific jump point for requesting color jumps
|
|
442
|
+
/// @group color-system
|
|
443
|
+
/// @access private
|
|
444
|
+
$kendo-color-level-step: 8% !default;
|
|
445
|
+
|
|
446
|
+
@function k-color-level( $color, $level: 0 ) {
|
|
447
|
+
|
|
448
|
+
@if ( $level == 0 ) or ( $level == 0% ) {
|
|
449
|
+
@return $color;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
$base: if( $level < 0, #ffffff, #000000 );
|
|
453
|
+
$level: k-math-abs( $level );
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
@if ( k-math-unit($level) == "%" ) {
|
|
457
|
+
@return k-color-mix( $base, $color, $level );
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
@return k-color-mix( $base, $color, $level * $kendo-color-level-step );
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
@function k-color-tint( $color, $level: 1 ) {
|
|
464
|
+
@return k-color-level( $color, -$level );
|
|
465
|
+
}
|
|
466
|
+
@function k-color-shade( $color, $level: 1 ) {
|
|
467
|
+
@return k-color-level( $color, $level );
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
@function k-try-shade( $color, $level: 1 ) {
|
|
471
|
+
$_dark-theme: if( k-meta-variable-exists( dark-theme ), $dark-theme, false );
|
|
472
|
+
|
|
473
|
+
@if $_dark-theme {
|
|
474
|
+
@return k-color-tint( $color, $level );
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
@return k-color-shade( $color, $level );
|
|
478
|
+
}
|
|
479
|
+
@function k-try-tint( $color, $level: 1 ) {
|
|
480
|
+
$_dark-theme: if( k-meta-variable-exists( dark-theme ), $dark-theme, false );
|
|
481
|
+
|
|
482
|
+
@if $_dark-theme {
|
|
483
|
+
@return k-color-shade( $color, $level );
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
@return k-color-tint( $color, $level );
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
@function k-try-darken( $color, $amount ) {
|
|
491
|
+
$_dark-theme: if( k-meta-variable-exists( dark-theme ), $dark-theme, false );
|
|
492
|
+
|
|
493
|
+
@if $_dark-theme {
|
|
494
|
+
@return k-color-lighten( $color, $amount );
|
|
495
|
+
}
|
|
496
|
+
@return k-color-darken( $color, $amount );
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
@function k-try-lighten( $color, $amount ) {
|
|
500
|
+
$_dark-theme: if( k-meta-variable-exists( dark-theme ), $dark-theme, false );
|
|
501
|
+
|
|
502
|
+
@if $_dark-theme {
|
|
503
|
+
@return k-color-darken( $color, $amount );
|
|
504
|
+
}
|
|
505
|
+
@return k-color-lighten( $color, $amount );
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
@function k-rgba-to-mix( $color, $bg ) {
|
|
509
|
+
$percent: k-color-alpha( $color ) * 100%;
|
|
510
|
+
|
|
511
|
+
@return k-color-mix( rgba( $color, 1 ), $bg, $percent );
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
// TODO: Remove this function or rethink the logic
|
|
515
|
+
@function k-true-mix( $color1, $color2, $weight: 50% ) {
|
|
516
|
+
@return k-color-mix( rgba( $color1, 1 ), rgba( $color2, 1 ), $weight );
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
// #endregion
|
|
520
|
+
// #region @import "./_custom-properties.import.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/functions/_custom-properties.import.scss
|
|
521
|
+
@function k-var( $prefix: kendo-, $var: null, $fallback: null ) {
|
|
522
|
+
$_prefix: $prefix;
|
|
523
|
+
$_var: $var;
|
|
524
|
+
$_fallback: $fallback;
|
|
525
|
+
|
|
526
|
+
@if ( k-string-index( $prefix, "--" ) == 1 ) {
|
|
527
|
+
$_prefix: "";
|
|
528
|
+
$_var: k-string-slice( $prefix, 3 );
|
|
529
|
+
$_fallback: $var;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
@if not $_var {
|
|
533
|
+
@return null;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
@if $_prefix == null {
|
|
537
|
+
$_prefix: "";
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
@if ($_fallback != null and $_fallback != "") {
|
|
541
|
+
@return var( --#{$_prefix}#{$_var}, #{$_fallback} );
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
@return var( --#{$_prefix}#{$_var} );
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
@function k-vars( $prefix: kendo-, $vars... ) {
|
|
548
|
+
$vars: k-list-reverse( $vars );
|
|
549
|
+
$result: null;
|
|
550
|
+
|
|
551
|
+
// @debug $prefix;
|
|
552
|
+
@each $var in $vars {
|
|
553
|
+
$result: k-var( $prefix, $var, $result );
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
@return $result;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
// #endregion
|
|
560
|
+
// #region @import "./_escape-string.import.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/functions/_escape-string.import.scss
|
|
561
|
+
$_kendo-svg-escaped-characters: (
|
|
562
|
+
("%", "%25"),
|
|
563
|
+
("<", "%3c"),
|
|
564
|
+
(">", "%3e"),
|
|
565
|
+
("#", "%23"),
|
|
566
|
+
("(", "%28"),
|
|
567
|
+
(")", "%29")
|
|
568
|
+
) !default;
|
|
569
|
+
|
|
570
|
+
// See https://codepen.io/kevinweber/pen/dXWoRw
|
|
571
|
+
@function k-escape-svg($string) {
|
|
572
|
+
@if k-string-index($string, "data:image/svg+xml") {
|
|
573
|
+
@each $char, $encoded in $_kendo-svg-escaped-characters {
|
|
574
|
+
// Do not escape the url brackets
|
|
575
|
+
@if k-string-index($string, "url(") == 1 {
|
|
576
|
+
$string: url("#{k-string-replace(k-string-slice($string, 6, -3), $char, $encoded)}");
|
|
577
|
+
} @else {
|
|
578
|
+
$string: k-string-replace($string, $char, $encoded);
|
|
579
|
+
}
|
|
580
|
+
}
|
|
23
581
|
}
|
|
24
582
|
|
|
25
583
|
@return $string;
|
|
26
584
|
}
|
|
27
585
|
|
|
28
586
|
|
|
587
|
+
|
|
29
588
|
$_kendo-escape-class-name: (
|
|
30
589
|
".": "\\.",
|
|
31
590
|
"/": "\\/"
|
|
32
591
|
);
|
|
33
592
|
|
|
34
|
-
@function escape-class-name( $text ) {
|
|
593
|
+
@function k-escape-class-name( $text ) {
|
|
35
594
|
$_text: $text;
|
|
36
595
|
|
|
37
596
|
@each $char, $rep in $_kendo-escape-class-name {
|
|
38
|
-
$_text:
|
|
597
|
+
$_text: k-string-replace( $_text, k-string-unquote( $char ), k-string-unquote( $rep ) );
|
|
39
598
|
}
|
|
40
599
|
|
|
41
600
|
@return $_text;
|
|
42
601
|
}
|
|
43
602
|
|
|
603
|
+
// #endregion
|
|
604
|
+
// #region @import "./_lang.import.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/functions/_lang.import.scss
|
|
605
|
+
@function k-if-var( $var, $fallback ) {
|
|
606
|
+
@return if( $var != null, $var, $fallback );
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
// #endregion
|
|
610
|
+
// #region @import "./_list.import.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/functions/_list.import.scss
|
|
611
|
+
@function k-list-append( $list, $val, $separator: auto ) {
|
|
612
|
+
@return append( $list, $val, $separator );
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
@function k-list-includes( $list, $value ) {
|
|
616
|
+
@return k-list-index( $list, $value ) != null;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
@function k-list-index( $list, $value ) {
|
|
620
|
+
@return index( $list, $value );
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
@function k-list-is-bracketed( $list ) {
|
|
624
|
+
@return is-bracketed( $list );
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
@function k-list-join( $list1, $list2, $separator: auto, $bracketed: auto ) {
|
|
628
|
+
@return join( $list1, $list2, $separator, $bracketed );
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
@function k-list-length( $list ) {
|
|
632
|
+
@return length( $list );
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
@function k-list-nth( $list, $n ) {
|
|
636
|
+
@return nth( $list, $n );
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
@function k-list-reverse( $list: null ) {
|
|
640
|
+
$result: ();
|
|
641
|
+
|
|
642
|
+
@if ($list) {
|
|
643
|
+
$len: k-list-length( $list );
|
|
644
|
+
|
|
645
|
+
@for $i from $len through 1 {
|
|
646
|
+
$result: k-list-append( $result, k-list-nth( $list, $i ) );
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
@return $result;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
// sass-lint:disable-block no-warn
|
|
653
|
+
@warn "No list passed.";
|
|
654
|
+
@return $result;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
@function k-list-separator( $list ) {
|
|
658
|
+
@return list-separator( $list );
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
@function k-list-set-nth( $list, $n, $value ) {
|
|
662
|
+
@return set-nth( $list, $n, $value );
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
@function k-list-zip( $lists... ) {
|
|
666
|
+
@return zip( $lists... );
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
// #endregion
|
|
670
|
+
// #region @import "./_math.import.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/functions/_math.import.scss
|
|
671
|
+
@function k-math-abs( $number ) {
|
|
672
|
+
@return abs( $number );
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
@function k-math-ceil( $number ) {
|
|
676
|
+
@return ceil( $number );
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
@function k-math-clamp( $value, $min, $max ) {
|
|
680
|
+
@return k-math-max( $min, k-math-min( $max, $value ) );
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
@function k-math-compatible( $a, $b ) {
|
|
684
|
+
@return comparable( $a, $b );
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
@function k-math-div( $a, $b ) {
|
|
688
|
+
@return ( $a / $b );
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
@function k-math-is-unitless( $number ) {
|
|
692
|
+
@return unitless( $number );
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
@function k-math-max( $a, $b ) {
|
|
696
|
+
@return max( $a, $b );
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
@function k-math-min( $a, $b ) {
|
|
700
|
+
@return min( $a, $b );
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
@function k-math-mod( $a, $b ) {
|
|
704
|
+
@return ( $a % $b );
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
@function k-math-mul( $a, $b ) {
|
|
708
|
+
@return ( $a * $b );
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
@function k-math-percentage( $number ) {
|
|
712
|
+
@return ( $number * 100% );
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
@function k-math-pow( $x, $n ) {
|
|
716
|
+
$ret: 1;
|
|
717
|
+
|
|
718
|
+
@if ( $n == 0 ) {
|
|
719
|
+
@return $ret;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
@if ( $n > 0 ) {
|
|
723
|
+
@for $i from 1 through $n {
|
|
724
|
+
$ret: $ret * $x;
|
|
725
|
+
}
|
|
726
|
+
@return $ret;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
@for $i from $n to 0 {
|
|
730
|
+
$ret: k-math-div( $ret, $x );
|
|
731
|
+
}
|
|
732
|
+
@return $ret;
|
|
733
|
+
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
@function k-math-percentage( $number ) {
|
|
737
|
+
@return percentage( $number );
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
@function k-math-random( $limit: null ) {
|
|
741
|
+
@if ( $limit == null ) {
|
|
742
|
+
@return random();
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
@return random( $limit );
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
@function k-math-round( $number, $precision: 0 ) {
|
|
749
|
+
|
|
750
|
+
@if ( $precision == 0 ) {
|
|
751
|
+
@return round( $number );
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
$pow: k-math-pow( 10, $precision );
|
|
755
|
+
|
|
756
|
+
@return k-math-div( round( $number * $pow ), $pow );
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
@function k-math-unit( $number ) {
|
|
760
|
+
@return unit( $number );
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
@function k-math-strip-unit($number) {
|
|
764
|
+
@if ( k-meta-type-of( $number ) == "number" ) and not k-math-is-unitless( $number ) {
|
|
765
|
+
@return k-math-div( $number, 1 * k-math-unit( $number) );
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
@return $number;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
// #endregion
|
|
772
|
+
// #region @import "./_map.import.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/functions/_map.import.scss
|
|
773
|
+
@function k-map-get( $map, $keys... ) {
|
|
774
|
+
@each $key in $keys {
|
|
775
|
+
$map: map-get( $map, $key );
|
|
776
|
+
}
|
|
777
|
+
@return $map;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
@function k-map-has-key( $map, $key ) {
|
|
781
|
+
@return map-has-key( $map, $key );
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
@function k-map-keys( $map ) {
|
|
785
|
+
@return map-keys( $map );
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
@function k-map-merge( $map, $args... ) {
|
|
789
|
+
@each $arg in $args {
|
|
790
|
+
$map: map-merge( $map, $arg );
|
|
791
|
+
}
|
|
792
|
+
@return $map;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
@function k-map-remove( $map, $keys... ) {
|
|
796
|
+
@return map-remove( $map, $keys... );
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
@function k-map-set( $map, $key, $value ) {
|
|
800
|
+
@return k-map-merge( $map, ( $key: $value ) );
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
@function k-map-values( $map ) {
|
|
804
|
+
@return map-values( $map );
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
// #endregion
|
|
808
|
+
// #region @import "./_meta.import.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/functions/_meta.import.scss
|
|
809
|
+
// Adapted from https://css-tricks.com/snippets/sass/advanced-type-checking/
|
|
810
|
+
|
|
811
|
+
@function k-meta-call( $function, $args... ) {
|
|
812
|
+
@return call( $function, $args... );
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
@function k-meta-function-exists( $name ) {
|
|
816
|
+
@return function-exists( $name );
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
@function k-meta-get-function( $name, $args... ) {
|
|
820
|
+
@return get-function( $name, $args... );
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
@function k-meta-inspect( $value ) {
|
|
824
|
+
@return inspect( $value );
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
@function k-meta-keywords( $args ) {
|
|
828
|
+
@return keywords( $args );
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
@function k-meta-type-of( $value ) {
|
|
832
|
+
@return type-of( $value );
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
@function k-meta-variable-exists( $name ) {
|
|
836
|
+
@return variable-exists( $name );
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
@function k-meta-is-number( $value ) {
|
|
840
|
+
@return k-meta-type-of( $value ) == "number";
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
@function k-meta-is-integer( $value ) {
|
|
844
|
+
@return k-meta-is-number( $value ) and k-math-round( $value ) == $value;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
@function k-meta-is-time( $value ) {
|
|
848
|
+
@return k-meta-is-number( $value ) and k-string-index( "ms" "s", k-math-unit( $value ) ) != null;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
@function k-meta-is-duration( $value ) {
|
|
852
|
+
@return k-meta-is-time( $value );
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
@function k-meta-is-angle( $value ) {
|
|
856
|
+
@return k-meta-is-number( $value ) and k-string-index( "deg" "rad" "grad" "turn", k-math-unit( $value ) ) != null;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
@function k-meta-is-frequency( $value ) {
|
|
860
|
+
@return k-meta-is-number( $value ) and k-string-index( "Hz" "kHz", k-math-unit( $value ) ) != null;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
@function k-meta-is-relative-length( $value ) {
|
|
864
|
+
@return k-meta-is-number( $value ) and k-string-index( "em" "ex" "ch" "rem" "vw" "vh" "vmin" "vmax", k-math-unit( $value ) ) != null;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
@function k-meta-is-absolute-length( $value ) {
|
|
868
|
+
@return k-meta-is-number( $value ) and k-string-index( "cm" "mm" "in" "px" "pt" "pc", k-math-unit( $value ) ) != null;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
@function k-meta-is-percentage( $value ) {
|
|
872
|
+
@return k-meta-is-number( $value ) and k-math-unit( $value ) == "%";
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
@function k-meta-is-length( $value ) {
|
|
876
|
+
@return k-meta-is-relative-length( $value ) or k-meta-is-absolute-length( $value );
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
@function k-meta-is-resolution( $value ) {
|
|
880
|
+
@return k-meta-is-number( $value ) and k-string-index( "dpi" "dpcm" "dppx", k-math-unit( $value ) ) != null;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
@function k-meta-is-position( $value ) {
|
|
884
|
+
@return k-meta-is-length( $value ) or k-meta-is-percentage( $value ) or k-string-index( "top" "right" "bottom" "left" "center", $value ) != null;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
// #endregion
|
|
888
|
+
// #region @import "./_string.import.scss"; -> packages/utils/node_modules/@progress/kendo-theme-core/scss/functions/_string.import.scss
|
|
889
|
+
@function k-string-index( $string, $substring ) {
|
|
890
|
+
@return str-index( $string, $substring );
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
@function k-string-insert( $string, $insert, $index ) {
|
|
894
|
+
@return str-insert( $string, $insert, $index );
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
@function k-string-length( $string ) {
|
|
898
|
+
@return str-length( $string );
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
@function k-string-quote( $string ) {
|
|
902
|
+
@return quote( $string );
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
// See https://www.sassmeister.com/gist/1b4f2da5527830088e4d
|
|
906
|
+
@function k-string-replace( $string, $search, $replace: "" ) {
|
|
907
|
+
@if k-meta-type-of( $string ) == number {
|
|
908
|
+
$string: $string + "";
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
$index: k-string-index( $string, $search );
|
|
912
|
+
|
|
913
|
+
@if $index {
|
|
914
|
+
@return k-string-slice( $string, 1, $index - 1 ) + $replace + k-string-replace( k-string-slice( $string, $index + k-string-length( $search ) ), $search, $replace );
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
@return $string;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
@function k-string-slice( $string, $start-at, $end-at: -1 ) {
|
|
921
|
+
@return str-slice( $string, $start-at, $end-at );
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
@function k-string-to-lower-case( $string ) {
|
|
925
|
+
@return to-lower-case( $string );
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
@function k-string-to-upper-case( $string ) {
|
|
929
|
+
@return to-upper-case( $string );
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
@function k-string-unique-id() {
|
|
933
|
+
@return unique-id();
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
@function k-string-unquote( $string ) {
|
|
937
|
+
@return unquote( $string );
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
// #endregion
|
|
941
|
+
|
|
942
|
+
// #endregion
|
|
943
|
+
|
|
44
944
|
// #endregion
|
|
45
945
|
// #region @import "./_variables.scss"; -> packages/utils/scss/_variables.scss
|
|
46
946
|
$kendo-prefix: k- !default;
|
|
47
947
|
$kendo-important: true !default;
|
|
48
948
|
$kendo-colors: () !default;
|
|
49
949
|
$kendo-spacing: (
|
|
950
|
+
// sass-lint:disable-block leading-zero
|
|
50
951
|
0: 0,
|
|
51
|
-
|
|
952
|
+
1px: 1px,
|
|
953
|
+
0.5: .125rem,
|
|
52
954
|
1: .25rem,
|
|
53
955
|
1.5: .375rem,
|
|
54
956
|
2: .5rem,
|
|
55
|
-
2.5:
|
|
957
|
+
2.5: .625rem,
|
|
56
958
|
3: .75rem,
|
|
57
959
|
3.5: .875rem,
|
|
58
960
|
4: 1rem,
|
|
961
|
+
4.5: 1.125rem,
|
|
59
962
|
5: 1.25rem,
|
|
963
|
+
5.5: 1.375rem,
|
|
60
964
|
6: 1.5rem,
|
|
965
|
+
6.5: 1.625rem,
|
|
61
966
|
7: 1.75rem,
|
|
967
|
+
7.5: 1.875rem,
|
|
62
968
|
8: 2rem,
|
|
63
969
|
9: 2.25rem,
|
|
64
970
|
10: 2.5rem,
|
|
65
971
|
11: 2.75rem,
|
|
66
972
|
12: 3rem,
|
|
973
|
+
13: 3.25rem,
|
|
67
974
|
14: 3.5rem,
|
|
975
|
+
15: 3.75rem,
|
|
68
976
|
16: 4rem,
|
|
977
|
+
17: 4.25rem,
|
|
978
|
+
18: 4.5rem,
|
|
979
|
+
19: 4.75rem,
|
|
69
980
|
20: 5rem,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
981
|
+
21: 5.25rem,
|
|
982
|
+
22: 5.5rem,
|
|
983
|
+
23: 5.75rem,
|
|
984
|
+
24: 6rem
|
|
74
985
|
) !default;
|
|
75
|
-
|
|
986
|
+
|
|
987
|
+
$kendo-sizing: k-map-merge( $kendo-spacing, (
|
|
76
988
|
// sass-lint:disable-block indentation
|
|
77
989
|
"auto": auto,
|
|
78
990
|
"1/2": 50%,
|
|
@@ -117,8 +1029,9 @@ $kendo-utils: (
|
|
|
117
1029
|
// Layout
|
|
118
1030
|
"aspect-ratio": (
|
|
119
1031
|
auto: auto,
|
|
120
|
-
|
|
121
|
-
|
|
1032
|
+
1: 1,
|
|
1033
|
+
square: k-string-unquote("1 / 1"),
|
|
1034
|
+
video: k-string-unquote("16 / 9")
|
|
122
1035
|
),
|
|
123
1036
|
"container": (),
|
|
124
1037
|
"columns": (),
|
|
@@ -317,7 +1230,7 @@ $kendo-utils: (
|
|
|
317
1230
|
10: span 10 / span 10,
|
|
318
1231
|
11: span 11 / span 11,
|
|
319
1232
|
12: span 12 / span 12,
|
|
320
|
-
full: unquote("1 / -1"),
|
|
1233
|
+
full: k-string-unquote("1 / -1"),
|
|
321
1234
|
auto: auto
|
|
322
1235
|
),
|
|
323
1236
|
"grid-row-start": (
|
|
@@ -469,7 +1382,7 @@ $kendo-utils: (
|
|
|
469
1382
|
"space-between": (),
|
|
470
1383
|
|
|
471
1384
|
// Sizing
|
|
472
|
-
"width": map-merge( $kendo-sizing, (
|
|
1385
|
+
"width": k-map-merge( $kendo-sizing, (
|
|
473
1386
|
// sass-lint:disable-block indentation
|
|
474
1387
|
screen: 100vw
|
|
475
1388
|
)),
|
|
@@ -490,7 +1403,7 @@ $kendo-utils: (
|
|
|
490
1403
|
max: max-content,
|
|
491
1404
|
fit: fit-content
|
|
492
1405
|
),
|
|
493
|
-
"height": map-merge( $kendo-sizing, (
|
|
1406
|
+
"height": k-map-merge( $kendo-sizing, (
|
|
494
1407
|
// sass-lint:disable-block indentation
|
|
495
1408
|
screen: 100vh
|
|
496
1409
|
)),
|
|
@@ -641,13 +1554,15 @@ $kendo-utils: (
|
|
|
641
1554
|
// Transform
|
|
642
1555
|
"flip": true,
|
|
643
1556
|
"scale": (
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
1557
|
+
// sass-lint:disable-block leading-zero
|
|
1558
|
+
0: 0,
|
|
1559
|
+
0.25: .25,
|
|
1560
|
+
0.5: .5,
|
|
1561
|
+
0.75: .75,
|
|
1562
|
+
1: 1,
|
|
1563
|
+
1.25: 1.25,
|
|
1564
|
+
1.5: 1.5,
|
|
1565
|
+
2: 2
|
|
651
1566
|
),
|
|
652
1567
|
"rotate": (
|
|
653
1568
|
0: 0deg,
|
|
@@ -659,7 +1574,7 @@ $kendo-utils: (
|
|
|
659
1574
|
270: 270deg,
|
|
660
1575
|
315: 315deg
|
|
661
1576
|
),
|
|
662
|
-
"translate": map-remove( $kendo-sizing, "auto", "min", "max", "fit" ),
|
|
1577
|
+
"translate": k-map-remove( $kendo-sizing, "auto", "min", "max", "fit" ),
|
|
663
1578
|
"skew": (
|
|
664
1579
|
0: 0deg,
|
|
665
1580
|
1: 1deg,
|
|
@@ -796,26 +1711,26 @@ $kendo-utils: (
|
|
|
796
1711
|
// #region @import "./_mixins.scss"; -> packages/utils/scss/_mixins.scss
|
|
797
1712
|
@mixin generate-utils( $name, $props, $values, $function: "", $important: $kendo-important ) {
|
|
798
1713
|
@if $values {
|
|
799
|
-
$_props: if( type-of($props) == list, $props, ( $props ) );
|
|
800
|
-
$_fn: if( function-exists( $function ), get-function( $function ), null );
|
|
1714
|
+
$_props: if( k-meta-type-of($props) == list, $props, ( $props ) );
|
|
1715
|
+
$_fn: if( k-meta-function-exists( $function ), k-meta-get-function( $function ), null );
|
|
801
1716
|
|
|
802
1717
|
@each $key, $val in $values {
|
|
803
|
-
$_key: escape-class-name( $key );
|
|
804
|
-
$_val: if( type-of($values) == list, $key, $val );
|
|
805
|
-
$_name: escape-class-name( $name );
|
|
1718
|
+
$_key: k-escape-class-name( $key );
|
|
1719
|
+
$_val: if( k-meta-type-of($values) == list, $key, $val );
|
|
1720
|
+
$_name: k-escape-class-name( $name );
|
|
806
1721
|
$_selector: if( $_key == DEFAULT, #{$kendo-prefix}#{$_name}, #{$kendo-prefix}#{$_name}-#{$_key});
|
|
807
1722
|
|
|
808
1723
|
@if $important != only {
|
|
809
1724
|
.#{$_selector} {
|
|
810
1725
|
@each $prop in $_props {
|
|
811
|
-
#{$prop}: if( $_fn, call($_fn, $_val), $_val );
|
|
1726
|
+
#{$prop}: if( $_fn, k-meta-call($_fn, $_val), $_val );
|
|
812
1727
|
}
|
|
813
1728
|
}
|
|
814
1729
|
}
|
|
815
1730
|
@if $important {
|
|
816
1731
|
.\!#{$_selector} {
|
|
817
1732
|
@each $prop in $_props {
|
|
818
|
-
#{$prop}: if( $_fn, call($_fn, $_val), $_val ) !important; // sass-lint:disable-line no-important
|
|
1733
|
+
#{$prop}: if( $_fn, k-meta-call($_fn, $_val), $_val ) !important; // sass-lint:disable-line no-important
|
|
819
1734
|
}
|
|
820
1735
|
}
|
|
821
1736
|
}
|
|
@@ -827,11 +1742,11 @@ $kendo-utils: (
|
|
|
827
1742
|
|
|
828
1743
|
// #region @import "./accessibility/index.import.scss"; -> packages/utils/scss/accessibility/index.import.scss
|
|
829
1744
|
// #region @import "./_screen-readers.scss"; -> packages/utils/scss/accessibility/_screen-readers.scss
|
|
830
|
-
$kendo-utils-accessibility: map-get( $kendo-utils, "accessibility" ) !default;
|
|
1745
|
+
$kendo-utils-accessibility: k-map-get( $kendo-utils, "accessibility" ) !default;
|
|
831
1746
|
|
|
832
1747
|
@if $kendo-utils-accessibility {
|
|
1748
|
+
/// This class could be assigned to elements which should be visually hidden, but remain accessible for screen readers.
|
|
833
1749
|
/// @name .k-sr-only
|
|
834
|
-
/// @description This class could be assigned to elements which should be visually hidden, but remain accessible for screen readers.
|
|
835
1750
|
/// @group accessibility
|
|
836
1751
|
.#{$kendo-prefix}sr-only {
|
|
837
1752
|
margin: -1px;
|
|
@@ -861,149 +1776,260 @@ $kendo-utils-accessibility: map-get( $kendo-utils, "accessibility" ) !default;
|
|
|
861
1776
|
// #endregion
|
|
862
1777
|
// #region @import "./layout/index.import.scss"; -> packages/utils/scss/layout/index.import.scss
|
|
863
1778
|
// #region @import "./_aspect-ratio.scss"; -> packages/utils/scss/layout/_aspect-ratio.scss
|
|
864
|
-
//
|
|
1779
|
+
// Aspect-ratio documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio.
|
|
1780
|
+
|
|
1781
|
+
/// This is equivalent to `aspect-ratio: auto;`. Replaced elements with an intrinsic aspect ratio use that aspect ratio, otherwise the box has no preferred aspect ratio. Size calculations involving intrinsic aspect ratio always work with the content box dimensions.
|
|
1782
|
+
/// @name .k-aspect-ratio-auto
|
|
1783
|
+
/// @group aspect-ratio
|
|
1784
|
+
/// @contextType css
|
|
865
1785
|
|
|
866
|
-
|
|
1786
|
+
/// This is equivalent to `aspect-ratio: 1;`. The box's preferred aspect ratio is the specified ratio of 1. Size calculations involving preferred aspect ratio work with the dimensions of the box specified by box-sizing.
|
|
1787
|
+
/// @name .k-aspect-ratio-1
|
|
1788
|
+
/// @group aspect-ratio
|
|
1789
|
+
/// @contextType css
|
|
1790
|
+
|
|
1791
|
+
/// This is equivalent to `aspect-ratio: 1 / 1;`. The box's preferred aspect ratio is the specified ratio of 1. Size calculations involving preferred aspect ratio work with the dimensions of the box specified by box-sizing.
|
|
1792
|
+
/// @name .k-aspect-ratio-square
|
|
1793
|
+
/// @group aspect-ratio
|
|
1794
|
+
/// @contextType css
|
|
1795
|
+
|
|
1796
|
+
/// This is equivalent to `aspect-ratio: 16 / 9;`. The box's preferred aspect ratio is the specified ratio of 16 : 9. Size calculations involving preferred aspect ratio work with the dimensions of the box specified by box-sizing.
|
|
1797
|
+
/// @name .k-aspect-ratio-video
|
|
1798
|
+
/// @group aspect-ratio
|
|
1799
|
+
/// @contextType css
|
|
1800
|
+
|
|
1801
|
+
$kendo-utils-aspect-ratio: k-map-get( $kendo-utils, "aspect-ratio" ) !default;
|
|
867
1802
|
|
|
868
1803
|
@include generate-utils( ratio, aspect-ratio, $kendo-utils-aspect-ratio );
|
|
869
1804
|
|
|
870
1805
|
// #endregion
|
|
871
1806
|
// #region @import "./_display.scss"; -> packages/utils/scss/layout/_display.scss
|
|
1807
|
+
/// This is equivalent to `display: none;`. Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.
|
|
872
1808
|
/// @name .k-d-none
|
|
873
|
-
/// @description This is equivalent to `display: none;`. Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.
|
|
874
1809
|
/// @group display
|
|
1810
|
+
/// @contextType css
|
|
875
1811
|
|
|
1812
|
+
/// This is equivalent to `display: block;`. The element generates a block element box, generating line breaks both before and after the element when in the normal flow.
|
|
876
1813
|
/// @name .k-d-block
|
|
877
|
-
/// @description This is equivalent to `display: block;`. The element generates a block element box, generating line breaks both before and after the element when in the normal flow.
|
|
878
1814
|
/// @group display
|
|
1815
|
+
/// @contextType css
|
|
879
1816
|
|
|
1817
|
+
/// This is equivalent to `display: inline;`. The element generates one or more inline element boxes that do not generate line breaks before or after themselves. In normal flow, the next element will be on the same line if there is space.
|
|
880
1818
|
/// @name .k-d-inline
|
|
881
|
-
/// @description This is equivalent to `display: inline;`. The element generates one or more inline element boxes that do not generate line breaks before or after themselves. In normal flow, the next element will be on the same line if there is space.
|
|
882
1819
|
/// @group display
|
|
1820
|
+
/// @contextType css
|
|
883
1821
|
|
|
1822
|
+
/// This is equivalent to `display: inline-block;`. The element generates a block element box that will be flowed with surrounding content as if it were a single inline box (behaving much like a replaced element would).
|
|
884
1823
|
/// @name .k-d-inline-block
|
|
885
|
-
/// @description This is equivalent to `display: inline-block;`. The element generates a block element box that will be flowed with surrounding content as if it were a single inline box (behaving much like a replaced element would).
|
|
886
1824
|
/// @group display
|
|
1825
|
+
/// @contextType css
|
|
887
1826
|
|
|
1827
|
+
/// This is equivalent to `display: flex;`. The element behaves like a block element and lays out its content according to the flexbox model.
|
|
888
1828
|
/// @name .k-d-flex
|
|
889
|
-
/// @description This is equivalent to `display: flex;`. The element behaves like a block element and lays out its content according to the flexbox model.
|
|
890
1829
|
/// @group display
|
|
1830
|
+
/// @contextType css
|
|
891
1831
|
|
|
1832
|
+
/// This is equivalent to `display: inline-flex;`. The element behaves like an inline element and lays out its content according to the flexbox model.
|
|
892
1833
|
/// @name .k-d-inline-flex
|
|
893
|
-
/// @description This is equivalent to `display: inline-flex;`. The element behaves like an inline element and lays out its content according to the flexbox model.
|
|
894
1834
|
/// @group display
|
|
1835
|
+
/// @contextType css
|
|
895
1836
|
|
|
1837
|
+
/// This is equivalent to `display: grid`. It defines the element as a grid container and establishes a new grid formatting context for its contents.
|
|
896
1838
|
/// @name .k-d-grid
|
|
897
|
-
/// @description This is equivalent to `display: grid`. It defines the element as a grid container and establishes a new grid formatting context for its contents.
|
|
898
1839
|
/// @group display
|
|
1840
|
+
/// @contextType css
|
|
899
1841
|
|
|
1842
|
+
/// This is equivalent to `display: inline-grid`. It defines the element as a grid container and establishes a new grid formatting context for its contents.
|
|
900
1843
|
/// @name .k-d-inline-grid
|
|
901
|
-
/// @description This is equivalent to `display: inline-grid`. It defines the element as a grid container and establishes a new grid formatting context for its contents.
|
|
902
1844
|
/// @group display
|
|
1845
|
+
/// @contextType css
|
|
903
1846
|
|
|
1847
|
+
/// This is equivalent to `display: table;`. These elements behave like HTML `<table>` elements. It defines a block-level box.
|
|
904
1848
|
/// @name .k-d-table
|
|
905
|
-
/// @description This is equivalent to `display: table;`. These elements behave like HTML `<table>` elements. It defines a block-level box.
|
|
906
1849
|
/// @group display
|
|
1850
|
+
/// @contextType css
|
|
907
1851
|
|
|
1852
|
+
/// This is equivalent to `display: inline-table;`. The inline-table value does not have a direct mapping in HTML. It behaves like an HTML `<table>` element, but as an inline box, rather than a block-level box. Inside the table box is a block-level context.
|
|
908
1853
|
/// @name .k-d-inline-table
|
|
909
|
-
/// @description This is equivalent to `display: inline-table;`. The inline-table value does not have a direct mapping in HTML. It behaves like an HTML `<table>` element, but as an inline box, rather than a block-level box. Inside the table box is a block-level context.
|
|
910
1854
|
/// @group display
|
|
1855
|
+
/// @contextType css
|
|
911
1856
|
|
|
1857
|
+
/// This is equivalent to `display: list-item;`. These elements behave like HTML `<LI>` elements. It defines a block-level box.
|
|
912
1858
|
/// @name .k-d-list-item
|
|
913
|
-
/// @description This is equivalent to `display: list-item;`. These elements behave like HTML `<LI>` elements. It defines a block-level box.
|
|
914
1859
|
/// @group display
|
|
1860
|
+
/// @contextType css
|
|
915
1861
|
|
|
916
|
-
|
|
1862
|
+
// Display utility classes
|
|
1863
|
+
$kendo-utils-display: k-map-get( $kendo-utils, "display" ) !default;
|
|
917
1864
|
|
|
918
1865
|
@include generate-utils( d, display, $kendo-utils-display );
|
|
919
1866
|
|
|
1867
|
+
// Legacy alias
|
|
1868
|
+
@include generate-utils( display, display, $kendo-utils-display );
|
|
1869
|
+
|
|
920
1870
|
// #endregion
|
|
921
1871
|
// #region @import "./_float.scss"; -> packages/utils/scss/layout/_float.scss
|
|
922
|
-
//
|
|
1872
|
+
// Float documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/float.
|
|
1873
|
+
|
|
1874
|
+
/// This is equivalent to `float: left;`. The element must float on the left side of its containing block.
|
|
1875
|
+
/// @name .k-float-left
|
|
1876
|
+
/// @group float
|
|
1877
|
+
/// @contextType css
|
|
923
1878
|
|
|
924
|
-
|
|
1879
|
+
/// This is equivalent to `float: right;`. The element must float on the right side of its containing block.
|
|
1880
|
+
/// @name .k-float-right
|
|
1881
|
+
/// @group float
|
|
1882
|
+
/// @contextType css
|
|
1883
|
+
|
|
1884
|
+
/// This is equivalent to `float: none;`. The element must not float.
|
|
1885
|
+
/// @name .k-float-none
|
|
1886
|
+
/// @group float
|
|
1887
|
+
/// @contextType css
|
|
1888
|
+
|
|
1889
|
+
$kendo-utils-float: k-map-get( $kendo-utils, "float" ) !default;
|
|
925
1890
|
|
|
926
1891
|
@include generate-utils( float, float, $kendo-utils-float );
|
|
927
1892
|
|
|
928
1893
|
// #endregion
|
|
929
1894
|
// #region @import "./_clear.scss"; -> packages/utils/scss/layout/_clear.scss
|
|
930
|
-
//
|
|
1895
|
+
// Clear documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/clear.
|
|
1896
|
+
|
|
1897
|
+
/// This is equivalent to `clear: left;`. Is a keyword indicating that the element is moved down to clear past left floats.
|
|
1898
|
+
/// @name .k-clear-left
|
|
1899
|
+
/// @group float
|
|
1900
|
+
/// @contextType css
|
|
1901
|
+
|
|
1902
|
+
/// This is equivalent to `clear: right;`. Is a keyword indicating that the element is moved down to clear past right floats.
|
|
1903
|
+
/// @name .k-clear-right
|
|
1904
|
+
/// @group float
|
|
1905
|
+
/// @contextType css
|
|
1906
|
+
|
|
1907
|
+
/// This is equivalent to `clear: both;`. Is a keyword indicating that the element is moved down to clear past both left and right floats.
|
|
1908
|
+
/// @name .k-clear-both
|
|
1909
|
+
/// @group float
|
|
1910
|
+
/// @contextType css
|
|
931
1911
|
|
|
932
|
-
|
|
1912
|
+
/// This is equivalent to `clear: none;`. Is a keyword indicating that the element is not moved down to clear past floating elements.
|
|
1913
|
+
/// @name .k-clear-none
|
|
1914
|
+
/// @group float
|
|
1915
|
+
/// @contextType css
|
|
1916
|
+
|
|
1917
|
+
$kendo-utils-clear: k-map-get( $kendo-utils, "clear" ) !default;
|
|
933
1918
|
|
|
934
1919
|
@include generate-utils( clear, clear, $kendo-utils-clear );
|
|
935
1920
|
|
|
936
1921
|
// #endregion
|
|
937
1922
|
// #region @import "./_overflow.scss"; -> packages/utils/scss/layout/_overflow.scss
|
|
1923
|
+
/// This is equivalent to `overflow: auto;`. Depends on the user agent. If content fits inside the padding box, it looks the same as visible, but still establishes a new block formatting context. Desktop browsers provide scrollbar if content overflows.
|
|
938
1924
|
/// @name .k-overflow-auto
|
|
939
|
-
/// @description This is equivalent to `overflow: auto;`. Depends on the user agent. If content fits inside the padding box, it looks the same as visible, but still establishes a new block formatting context. Desktop browsers provide scrollbar if content overflows.
|
|
940
1925
|
/// @group overflow
|
|
1926
|
+
/// @contextType css
|
|
941
1927
|
|
|
1928
|
+
/// This is equivalent to `overflow: hidden;`. Content is clipped if necessary to fit the padding box. No scrollbar is provided, and no support for allowing the user to scroll (such as by dragging or using a scroll wheel) is allowed. The content can be scrolled programmatically (for example, by setting the value of a property such as offsetLeft), so the element is still a scroll container.
|
|
942
1929
|
/// @name .k-overflow-hidden
|
|
943
|
-
/// @description This is equivalent to `overflow: hidden;`. Content is clipped if necessary to fit the padding box. No scrollbar is provided, and no support for allowing the user to scroll (such as by dragging or using a scroll wheel) is allowed. The content can be scrolled programmatically (for example, by setting the value of a property such as offsetLeft), so the element is still a scroll container.
|
|
944
1930
|
/// @group overflow
|
|
1931
|
+
/// @contextType css
|
|
945
1932
|
|
|
1933
|
+
/// This is equivalent to `overflow: visible;`. Content is not clipped and may be rendered outside the padding box.
|
|
946
1934
|
/// @name .k-overflow-visible
|
|
947
|
-
/// @description This is equivalent to `overflow: visible;`. Content is not clipped and may be rendered outside the padding box.
|
|
948
1935
|
/// @group overflow
|
|
1936
|
+
/// @contextType css
|
|
949
1937
|
|
|
1938
|
+
/// This is equivalent to `overflow: scroll;`. Content is clipped if necessary to fit the padding box. Browsers always display scrollbar whether or not any content is actually clipped, preventing scrollbar from appearing or disappearing as content changes. Printers may still print overflowing content.
|
|
950
1939
|
/// @name .k-overflow-scroll
|
|
951
|
-
/// @description This is equivalent to `overflow: scroll;`. Content is clipped if necessary to fit the padding box. Browsers always display scrollbar whether or not any content is actually clipped, preventing scrollbar from appearing or disappearing as content changes. Printers may still print overflowing content.
|
|
952
1940
|
/// @group overflow
|
|
1941
|
+
/// @contextType css
|
|
953
1942
|
|
|
1943
|
+
/// This is equivalent to `overflow: clip;`. Like for hidden, the content is clipped to the element's padding box. The difference between clip and hidden is that the clip keyword also forbids all scrolling, including programmatic scrolling.
|
|
954
1944
|
/// @name .k-overflow-clip
|
|
955
|
-
/// @description This is equivalent to `overflow: clip;`. Like for hidden, the content is clipped to the element's padding box. The difference between clip and hidden is that the clip keyword also forbids all scrolling, including programmatic scrolling.
|
|
956
1945
|
/// @group overflow
|
|
1946
|
+
/// @contextType css
|
|
957
1947
|
|
|
1948
|
+
/// This is equivalent to `overflow-x: auto;`.
|
|
958
1949
|
/// @name .k-overflow-x-auto
|
|
959
|
-
/// @description This is equivalent to `overflow-x: auto;`.
|
|
960
1950
|
/// @group overflow
|
|
1951
|
+
/// @contextType css
|
|
961
1952
|
|
|
1953
|
+
/// This is equivalent to `overflow-x: hidden;`.
|
|
962
1954
|
/// @name .k-overflow-x-hidden
|
|
963
|
-
/// @description This is equivalent to `overflow-x: hidden;`.
|
|
964
1955
|
/// @group overflow
|
|
1956
|
+
/// @contextType css
|
|
965
1957
|
|
|
1958
|
+
/// This is equivalent to `overflow-x: visible;`.
|
|
966
1959
|
/// @name .k-overflow-x-visible
|
|
967
|
-
/// @description This is equivalent to `overflow-x: visible;`.
|
|
968
1960
|
/// @group overflow
|
|
1961
|
+
/// @contextType css
|
|
969
1962
|
|
|
1963
|
+
/// This is equivalent to `overflow-x: scroll;`.
|
|
970
1964
|
/// @name .k-overflow-x-scroll
|
|
971
|
-
/// @description This is equivalent to `overflow-x: scroll;`.
|
|
972
1965
|
/// @group overflow
|
|
1966
|
+
/// @contextType css
|
|
973
1967
|
|
|
1968
|
+
/// This is equivalent to `overflow-x: clip;`.
|
|
974
1969
|
/// @name .k-overflow-x-clip
|
|
975
|
-
/// @description This is equivalent to `overflow-x: clip;`.
|
|
976
1970
|
/// @group overflow
|
|
1971
|
+
/// @contextType css
|
|
977
1972
|
|
|
1973
|
+
/// This is equivalent to `overflow-y: auto;`.
|
|
978
1974
|
/// @name .k-overflow-y-auto
|
|
979
|
-
/// @description This is equivalent to `overflow-y: auto;`.
|
|
980
1975
|
/// @group overflow
|
|
1976
|
+
/// @contextType css
|
|
981
1977
|
|
|
1978
|
+
/// This is equivalent to `overflow-y: hidden;`.
|
|
982
1979
|
/// @name .k-overflow-y-hidden
|
|
983
|
-
/// @description This is equivalent to `overflow-y: hidden;`.
|
|
984
1980
|
/// @group overflow
|
|
1981
|
+
/// @contextType css
|
|
985
1982
|
|
|
1983
|
+
/// This is equivalent to `overflow-y: visible;`.
|
|
986
1984
|
/// @name .k-overflow-y-visible
|
|
987
|
-
/// @description This is equivalent to `overflow-y: visible;`.
|
|
988
1985
|
/// @group overflow
|
|
1986
|
+
/// @contextType css
|
|
989
1987
|
|
|
1988
|
+
/// This is equivalent to `overflow-y: scroll;`.
|
|
990
1989
|
/// @name .k-overflow-y-scroll
|
|
991
|
-
/// @description This is equivalent to `overflow-y: scroll;`.
|
|
992
1990
|
/// @group overflow
|
|
1991
|
+
/// @contextType css
|
|
993
1992
|
|
|
1993
|
+
/// This is equivalent to `overflow-y: clip;`.
|
|
994
1994
|
/// @name .k-overflow-y-clip
|
|
995
|
-
/// @description This is equivalent to `overflow-y: clip;`.
|
|
996
1995
|
/// @group overflow
|
|
1996
|
+
/// @contextType css
|
|
997
1997
|
|
|
998
|
-
|
|
1998
|
+
// Overflow utility classes
|
|
1999
|
+
$kendo-utils-overflow: k-map-get( $kendo-utils, "overflow" ) !default;
|
|
999
2000
|
|
|
1000
2001
|
@include generate-utils( overflow, overflow, $kendo-utils-overflow );
|
|
1001
2002
|
|
|
1002
2003
|
// #endregion
|
|
1003
2004
|
// #region @import "./_position.scss"; -> packages/utils/scss/layout/_position.scss
|
|
1004
|
-
//
|
|
2005
|
+
// Position documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/position.
|
|
2006
|
+
|
|
2007
|
+
/// This is equivalent to `position: static;`. The element is positioned according to the normal flow of the document. The top, right, bottom, left, and z-index properties have no effect. This is the default value.
|
|
2008
|
+
/// @name .k-pos-static
|
|
2009
|
+
/// @group position
|
|
2010
|
+
/// @contextType css
|
|
2011
|
+
|
|
2012
|
+
/// This is equivalent to `position: relative;`. The element is positioned according to the normal flow of the document, and then offset relative to itself based on the values of top, right, bottom, and left. The offset does not affect the position of any other elements; thus, the space given for the element in the page layout is the same as if position were static.
|
|
2013
|
+
/// @name .k-pos-relative
|
|
2014
|
+
/// @group position
|
|
2015
|
+
/// @contextType css
|
|
2016
|
+
|
|
2017
|
+
/// This is equivalent to `position: absolute;`. The element is removed from the normal document flow, and no space is created for the element in the page layout. It is positioned relative to its closest positioned ancestor, if any; otherwise, it is placed relative to the initial containing block. Its final position is determined by the values of top, right, bottom, and left.
|
|
2018
|
+
/// @name .k-pos-absolute
|
|
2019
|
+
/// @group position
|
|
2020
|
+
/// @contextType css
|
|
2021
|
+
|
|
2022
|
+
/// This is equivalent to `position: fixed;`. The element is removed from the normal document flow, and no space is created for the element in the page layout. It is positioned relative to the initial containing block established by the viewport, except when one of its ancestors has a transform, perspective, or filter property set to something other than none (see the CSS Transforms Spec), in which case that ancestor behaves as the containing block. (Note that there are browser inconsistencies with perspective and filter contributing to containing block formation.) Its final position is determined by the values of top, right, bottom, and left.
|
|
2023
|
+
/// @name .k-pos-fixed
|
|
2024
|
+
/// @group position
|
|
2025
|
+
/// @contextType css
|
|
1005
2026
|
|
|
1006
|
-
|
|
2027
|
+
/// This is equivalent to `position: sticky;`. The element is positioned according to the normal flow of the document, and then offset relative to its nearest scrolling ancestor and containing block (nearest block-level ancestor), including table-related elements, based on the values of top, right, bottom, and left. The offset does not affect the position of any other elements.
|
|
2028
|
+
/// @name .k-pos-sticky
|
|
2029
|
+
/// @group position
|
|
2030
|
+
/// @contextType css
|
|
2031
|
+
|
|
2032
|
+
$kendo-utils-position: k-map-get( $kendo-utils, "position" ) !default;
|
|
1007
2033
|
|
|
1008
2034
|
@include generate-utils( pos, position, $kendo-utils-position );
|
|
1009
2035
|
|
|
@@ -1022,7 +2048,7 @@ $kendo-utils-position: map-get( $kendo-utils, "position" ) !default;
|
|
|
1022
2048
|
|
|
1023
2049
|
// TODO DOCS
|
|
1024
2050
|
|
|
1025
|
-
$kendo-utils-inset: map-get( $kendo-utils, "inset" ) !default;
|
|
2051
|
+
$kendo-utils-inset: k-map-get( $kendo-utils, "inset" ) !default;
|
|
1026
2052
|
|
|
1027
2053
|
@include generate-utils( inset, inset, $kendo-utils-inset );
|
|
1028
2054
|
@include generate-utils( inset-x, inset-inline, $kendo-utils-inset );
|
|
@@ -1034,7 +2060,7 @@ $kendo-utils-inset: map-get( $kendo-utils, "inset" ) !default;
|
|
|
1034
2060
|
@include generate-utils( top-left, ( top, left ), $kendo-utils-inset );
|
|
1035
2061
|
@include generate-utils( top-right, ( top, right ), $kendo-utils-inset );
|
|
1036
2062
|
@include generate-utils( bottom-left, ( bottom, left ), $kendo-utils-inset );
|
|
1037
|
-
@include generate-utils( bottom-right, ( bottom, right), $kendo-utils-inset );
|
|
2063
|
+
@include generate-utils( bottom-right, ( bottom, right ), $kendo-utils-inset );
|
|
1038
2064
|
|
|
1039
2065
|
.#{$kendo-prefix}top-start,
|
|
1040
2066
|
.#{$kendo-prefix}pos-top-start {
|
|
@@ -1093,6 +2119,26 @@ $kendo-utils-inset: map-get( $kendo-utils, "inset" ) !default;
|
|
|
1093
2119
|
}
|
|
1094
2120
|
|
|
1095
2121
|
|
|
2122
|
+
/// This is equivalent to `top: 0;`.
|
|
2123
|
+
/// @name .k-pos-top
|
|
2124
|
+
/// @group position
|
|
2125
|
+
/// @contextType css
|
|
2126
|
+
|
|
2127
|
+
/// This is equivalent to `right: 0;`.
|
|
2128
|
+
/// @name .k-pos-right
|
|
2129
|
+
/// @group position
|
|
2130
|
+
/// @contextType css
|
|
2131
|
+
|
|
2132
|
+
/// This is equivalent to `bottom: 0;`.
|
|
2133
|
+
/// @name .k-pos-bottom
|
|
2134
|
+
/// @group position
|
|
2135
|
+
/// @contextType css
|
|
2136
|
+
|
|
2137
|
+
/// This is equivalent to `left: 0;`.
|
|
2138
|
+
/// @name .k-pos-left
|
|
2139
|
+
/// @group position
|
|
2140
|
+
/// @contextType css
|
|
2141
|
+
|
|
1096
2142
|
@each $side in (top, right, bottom, left) {
|
|
1097
2143
|
.#{$kendo-prefix}#{$side},
|
|
1098
2144
|
.#{$kendo-prefix}pos-#{$side} { #{$side}: 0; } // sass-lint:disable-line brace-style
|
|
@@ -1102,7 +2148,7 @@ $kendo-utils-inset: map-get( $kendo-utils, "inset" ) !default;
|
|
|
1102
2148
|
// #region @import "./_visibility.scss"; -> packages/utils/scss/layout/_visibility.scss
|
|
1103
2149
|
// TODO DOCS
|
|
1104
2150
|
|
|
1105
|
-
$kendo-utils-visibility: map-get( $kendo-utils, "visibility" ) !default;
|
|
2151
|
+
$kendo-utils-visibility: k-map-get( $kendo-utils, "visibility" ) !default;
|
|
1106
2152
|
|
|
1107
2153
|
@include generate-utils( visibility, visibility, $kendo-utils-visibility );
|
|
1108
2154
|
|
|
@@ -1116,7 +2162,7 @@ $kendo-utils-visibility: map-get( $kendo-utils, "visibility" ) !default;
|
|
|
1116
2162
|
// #region @import "./_zindex.scss"; -> packages/utils/scss/layout/_zindex.scss
|
|
1117
2163
|
// TODO DOCS
|
|
1118
2164
|
|
|
1119
|
-
$kendo-utils-zindex: map-get( $kendo-utils, "zindex" ) !default;
|
|
2165
|
+
$kendo-utils-zindex: k-map-get( $kendo-utils, "zindex" ) !default;
|
|
1120
2166
|
|
|
1121
2167
|
@include generate-utils( z, z-index, $kendo-utils-zindex );
|
|
1122
2168
|
|
|
@@ -1125,118 +2171,157 @@ $kendo-utils-zindex: map-get( $kendo-utils, "zindex" ) !default;
|
|
|
1125
2171
|
// #endregion
|
|
1126
2172
|
// #region @import "./flex-grid/index.import.scss"; -> packages/utils/scss/flex-grid/index.import.scss
|
|
1127
2173
|
// #region @import "./_flex-direction.scss"; -> packages/utils/scss/flex-grid/_flex-direction.scss
|
|
2174
|
+
/// This is equivalent to `flex-direction: row`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: left to right in `ltr`; right to left in `rtl`.
|
|
1128
2175
|
/// @name .k-flex-row
|
|
1129
|
-
/// @description This is equivalent to `flex-direction: row`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: left to right in `ltr`; right to left in `rtl`.
|
|
1130
2176
|
/// @group flex-direction
|
|
2177
|
+
/// @contextType css
|
|
1131
2178
|
|
|
2179
|
+
/// This is equivalent to `flex-direction: row-reverse`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: right to left in `ltr`; left to right in `rtl`.
|
|
1132
2180
|
/// @name .k-flex-row-reverse
|
|
1133
|
-
/// @description This is equivalent to `flex-direction: row-reverse`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: right to left in `ltr`; left to right in `rtl`.
|
|
1134
2181
|
/// @group flex-direction
|
|
2182
|
+
/// @contextType css
|
|
1135
2183
|
|
|
2184
|
+
/// This is equivalent to `flex-direction: column`. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: top to bottom.
|
|
1136
2185
|
/// @name .k-flex-col
|
|
1137
|
-
/// @description This is equivalent to `flex-direction: column`. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: top to bottom.
|
|
1138
2186
|
/// @group flex-direction
|
|
2187
|
+
/// @contextType css
|
|
1139
2188
|
|
|
2189
|
+
/// This is equivalent to `flex-direction: column-reverse`. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: bottom to top.
|
|
1140
2190
|
/// @name .k-flex-col-reverse
|
|
1141
|
-
/// @description This is equivalent to `flex-direction: column-reverse`. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: bottom to top.
|
|
1142
2191
|
/// @group flex-direction
|
|
2192
|
+
/// @contextType css
|
|
1143
2193
|
|
|
1144
|
-
|
|
2194
|
+
// Flex direction utility classes
|
|
2195
|
+
$kendo-utils-flex-direction: k-map-get( $kendo-utils, "flex-direction" ) !default;
|
|
1145
2196
|
|
|
1146
2197
|
@include generate-utils( flex, flex-direction, $kendo-utils-flex-direction );
|
|
1147
2198
|
|
|
1148
2199
|
// #endregion
|
|
1149
2200
|
// #region @import "./_flex-wrap.scss"; -> packages/utils/scss/flex-grid/_flex-wrap.scss
|
|
2201
|
+
/// This is equivalent to `flex-wrap: wrap`. It allows flex items to wrap as needed onto multiple lines, from top to bottom.
|
|
1150
2202
|
/// @name .k-flex-wrap
|
|
1151
|
-
/// @description This is equivalent to `flex-wrap: wrap`. It allows flex items to wrap as needed onto multiple lines, from top to bottom.
|
|
1152
2203
|
/// @group flex-wrap
|
|
2204
|
+
/// @contextType css
|
|
1153
2205
|
|
|
2206
|
+
/// This is equivalent to `flex-wrap: nowrap`. All flex items will be on one line.
|
|
1154
2207
|
/// @name .k-flex-nowrap
|
|
1155
|
-
/// @description This is equivalent to `flex-wrap: nowrap`. All flex items will be on one line.
|
|
1156
2208
|
/// @group flex-wrap
|
|
2209
|
+
/// @contextType css
|
|
1157
2210
|
|
|
2211
|
+
/// This is equivalent to `flex-wrap: wrap-reverse`. It allows flex items to wrap as needed onto multiple lines, from bottom to top.
|
|
1158
2212
|
/// @name .k-flex-wrap-reverse
|
|
1159
|
-
/// @description This is equivalent to `flex-wrap: wrap-reverse`. It allows flex items to wrap as needed onto multiple lines, from bottom to top.
|
|
1160
2213
|
/// @group flex-wrap
|
|
2214
|
+
/// @contextType css
|
|
1161
2215
|
|
|
1162
|
-
|
|
2216
|
+
// Flex wrap utility classes
|
|
2217
|
+
$kendo-utils-flex-wrap: k-map-get( $kendo-utils, "flex-wrap" ) !default;
|
|
1163
2218
|
|
|
1164
2219
|
@include generate-utils( flex, flex-wrap, $kendo-utils-flex-wrap );
|
|
1165
2220
|
|
|
1166
2221
|
// #endregion
|
|
1167
2222
|
// #region @import "./_flex.scss"; -> packages/utils/scss/flex-grid/_flex.scss
|
|
2223
|
+
/// This is equivalent to `flex: 1 1 0%`. It sizes the item not based on its `width`/`height` properties, but based on the available space. This is similar to `flex: 1 1 auto` except it is allowed to shrink beyond its initial size.
|
|
1168
2224
|
/// @name .k-flex-1
|
|
1169
|
-
/// @description This is equivalent to `flex: 1 1 0%`. It sizes the item not based on its `width`/`height` properties, but based on the available space. This is similar to `flex: 1 1 auto` except it is allowed to shrink beyond its initial size.
|
|
1170
2225
|
/// @group flex
|
|
2226
|
+
/// @contextType css
|
|
1171
2227
|
|
|
2228
|
+
/// This is equivalent to `flex: 1 1 auto`. Beware, this is not the default value. It sizes the item based on its `width`/`height` properties, but makes it fully flexible so that they absorb any extra space along the main axis. If all items are either `flex: auto`, `flex: initial`, or `flex: none`, any remaining space after the items have been sized will be distributed evenly to the items with `flex: auto`.
|
|
1172
2229
|
/// @name .k-flex-auto
|
|
1173
|
-
/// @description This is equivalent to `flex: 1 1 auto`. Beware, this is not the default value. It sizes the item based on its `width`/`height` properties, but makes it fully flexible so that they absorb any extra space along the main axis. If all items are either `flex: auto`, `flex: initial`, or `flex: none`, any remaining space after the items have been sized will be distributed evenly to the items with `flex: auto`.
|
|
1174
2230
|
/// @group flex
|
|
2231
|
+
/// @contextType css
|
|
1175
2232
|
|
|
2233
|
+
/// This is the same as `flex: initial;` and the shorthand for the default value: `flex: 0 1 auto`. It sizes the item based on its `width`/`height` properties (or its content if not set). It makes the flex item inflexible when there is some free space left, but allows it to shrink to its minimum when there is not enough space. The alignment abilities or `auto` margins can be used to align flex items along the main axis.
|
|
1176
2234
|
/// @name .k-flex-initial
|
|
1177
|
-
/// @description This is the same as `flex: initial;` and the shorthand for the default value: `flex: 0 1 auto`. It sizes the item based on its `width`/`height` properties (or its content if not set). It makes the flex item inflexible when there is some free space left, but allows it to shrink to its minimum when there is not enough space. The alignment abilities or `auto` margins can be used to align flex items along the main axis.
|
|
1178
2235
|
/// @group flex
|
|
2236
|
+
/// @contextType css
|
|
1179
2237
|
|
|
2238
|
+
/// This is equivalent to `flex: 0 0 auto`. It sizes the item according to its `width`/`height` properties, but makes it fully inflexible. This is similar to `flex: initial` except it is not allowed to shrink, even in an overflow situation.
|
|
1180
2239
|
/// @name .k-flex-none
|
|
1181
|
-
/// @description This is equivalent to `flex: 0 0 auto`. It sizes the item according to its `width`/`height` properties, but makes it fully inflexible. This is similar to `flex: initial` except it is not allowed to shrink, even in an overflow situation.
|
|
1182
2240
|
/// @group flex
|
|
2241
|
+
/// @contextType css
|
|
1183
2242
|
|
|
1184
|
-
|
|
2243
|
+
// Flex utility classes
|
|
2244
|
+
$kendo-utils-flex: k-map-get( $kendo-utils, "flex" ) !default;
|
|
1185
2245
|
|
|
1186
2246
|
@include generate-utils( flex, flex, $kendo-utils-flex );
|
|
1187
2247
|
|
|
1188
2248
|
// #endregion
|
|
1189
2249
|
// #region @import "./_flex-grow.scss"; -> packages/utils/scss/flex-grid/_flex-grow.scss
|
|
2250
|
+
/// This is equivalent to `flex-grow: 1`. It defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion. It dictates what amount of the available space inside the flex container the item should take up.
|
|
1190
2251
|
/// @name .k-flex-grow
|
|
1191
|
-
/// @description This is equivalent to `flex-grow: 1`. It defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion. It dictates what amount of the available space inside the flex container the item should take up.
|
|
1192
2252
|
/// @group flex-grow
|
|
2253
|
+
/// @contextType css
|
|
1193
2254
|
|
|
2255
|
+
/// This is equivalent to `flex-grow: 0`. The item will not grow.
|
|
1194
2256
|
/// @name .k-flex-grow-0
|
|
1195
|
-
/// @description This is equivalent to `flex-grow: 0`. The item will not grow.
|
|
1196
2257
|
/// @group flex-grow
|
|
2258
|
+
/// @contextType css
|
|
1197
2259
|
|
|
1198
|
-
|
|
2260
|
+
// Flex grow utility classes
|
|
2261
|
+
$kendo-utils-flex-grow: k-map-get( $kendo-utils, "flex-grow" ) !default;
|
|
1199
2262
|
|
|
1200
2263
|
@include generate-utils( grow, flex-grow, $kendo-utils-flex-grow );
|
|
1201
2264
|
@include generate-utils( flex-grow, flex-grow, $kendo-utils-flex-grow );
|
|
1202
2265
|
|
|
1203
2266
|
// #endregion
|
|
1204
2267
|
// #region @import "./_flex-shrink.scss"; -> packages/utils/scss/flex-grid/_flex-shrink.scss
|
|
2268
|
+
/// This is equivalent to `flex-shrink: 1`. It determines how much the flex item will shrink relative to the rest of the flex items in the flex container when there isn't enough space on the row.
|
|
1205
2269
|
/// @name .k-flex-shrink
|
|
1206
|
-
/// @description This is equivalent to `flex-shrink: 1`. It determines how much the flex item will shrink relative to the rest of the flex items in the flex container when there isn't enough space on the row.
|
|
1207
2270
|
/// @group flex-shrink
|
|
2271
|
+
/// @contextType css
|
|
1208
2272
|
|
|
2273
|
+
/// This is equivalent to `flex-shrink: 0`. The item will not shrink.
|
|
1209
2274
|
/// @name .k-flex-shrink-0
|
|
1210
|
-
/// @description This is equivalent to `flex-shrink: 0`. The item will not shrink.
|
|
1211
2275
|
/// @group flex-shrink
|
|
2276
|
+
/// @contextType css
|
|
1212
2277
|
|
|
1213
|
-
|
|
2278
|
+
// Flex shrink utility classes
|
|
2279
|
+
$kendo-utils-flex-shrink: k-map-get( $kendo-utils, "flex-shrink" ) !default;
|
|
1214
2280
|
|
|
1215
2281
|
@include generate-utils( shrink, flex-shrink, $kendo-utils-flex-shrink );
|
|
1216
2282
|
@include generate-utils( flex-shrink, flex-shrink, $kendo-utils-flex-shrink );
|
|
1217
2283
|
|
|
1218
2284
|
// #endregion
|
|
1219
2285
|
// #region @import "./_flex-basis.scss"; -> packages/utils/scss/flex-grid/_flex-basis.scss
|
|
2286
|
+
/// This is equivalent to `flex-basis: auto`. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. It sizes the element according to its size property.
|
|
1220
2287
|
/// @name .k-flex-basis-auto
|
|
1221
|
-
/// @description This is equivalent to `flex-basis: auto`. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. It sizes the element according to its size property.
|
|
1222
2288
|
/// @group flex-basis
|
|
2289
|
+
/// @contextType css
|
|
1223
2290
|
|
|
1224
|
-
|
|
1225
|
-
|
|
2291
|
+
/// This is equivalent to `flex-basis: 0`. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. It disregards the element' size property.
|
|
1226
2292
|
/// @name .k-flex-basis-0
|
|
1227
|
-
/// @description This is equivalent to `flex-basis: 0`. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. It disregards the element' size property.
|
|
1228
2293
|
/// @group flex-basis
|
|
2294
|
+
/// @contextType css
|
|
1229
2295
|
|
|
1230
|
-
|
|
2296
|
+
// Flex basis utility classes
|
|
2297
|
+
$kendo-utils-flex-basis: k-map-get( $kendo-utils, "flex-basis" ) !default;
|
|
1231
2298
|
|
|
1232
2299
|
@include generate-utils( basis, flex-basis, $kendo-utils-flex-basis );
|
|
1233
2300
|
@include generate-utils( flex-basis, flex-basis, $kendo-utils-flex-basis );
|
|
1234
2301
|
|
|
1235
2302
|
// #endregion
|
|
1236
2303
|
// #region @import "./_order.scss"; -> packages/utils/scss/flex-grid/_order.scss
|
|
1237
|
-
|
|
2304
|
+
/// This is equivalent to `order: -9999;`.
|
|
2305
|
+
/// @name .k-order-first
|
|
2306
|
+
/// @group order
|
|
2307
|
+
/// @contextType css
|
|
2308
|
+
|
|
2309
|
+
/// This is equivalent to `order: 9999;`.
|
|
2310
|
+
/// @name .k-order-last
|
|
2311
|
+
/// @group order
|
|
2312
|
+
/// @contextType css
|
|
2313
|
+
|
|
2314
|
+
/// This is equivalent to `order: 0;`.
|
|
2315
|
+
/// @name .k-order-none
|
|
2316
|
+
/// @group order
|
|
2317
|
+
/// @contextType css
|
|
2318
|
+
|
|
2319
|
+
/// This is equivalent to `order: 1;`, `order: 2;`, `order: 12;`, etc.
|
|
2320
|
+
/// @name .from k-order-1 to k-order-12
|
|
2321
|
+
/// @group order
|
|
2322
|
+
/// @contextType css
|
|
1238
2323
|
|
|
1239
|
-
$kendo-utils-order: map-get( $kendo-utils, "order" ) !default;
|
|
2324
|
+
$kendo-utils-order: k-map-get( $kendo-utils, "order" ) !default;
|
|
1240
2325
|
|
|
1241
2326
|
@include generate-utils( order, order, $kendo-utils-order );
|
|
1242
2327
|
|
|
@@ -1244,7 +2329,7 @@ $kendo-utils-order: map-get( $kendo-utils, "order" ) !default;
|
|
|
1244
2329
|
// #region @import "./_grid-template-columns.scss"; -> packages/utils/scss/flex-grid/_grid-template-columns.scss
|
|
1245
2330
|
// TODO DOCS
|
|
1246
2331
|
|
|
1247
|
-
$kendo-utils-grid-template-columns: map-get( $kendo-utils, "grid-template-columns" ) !default;
|
|
2332
|
+
$kendo-utils-grid-template-columns: k-map-get( $kendo-utils, "grid-template-columns" ) !default;
|
|
1248
2333
|
|
|
1249
2334
|
@include generate-utils( grid-cols, grid-template-columns, $kendo-utils-grid-template-columns );
|
|
1250
2335
|
|
|
@@ -1252,7 +2337,7 @@ $kendo-utils-grid-template-columns: map-get( $kendo-utils, "grid-template-column
|
|
|
1252
2337
|
// #region @import "./_grid-template-rows.scss"; -> packages/utils/scss/flex-grid/_grid-template-rows.scss
|
|
1253
2338
|
// TODO DOCS
|
|
1254
2339
|
|
|
1255
|
-
$kendo-utils-grid-template-rows: map-get( $kendo-utils, "grid-template-rows" ) !default;
|
|
2340
|
+
$kendo-utils-grid-template-rows: k-map-get( $kendo-utils, "grid-template-rows" ) !default;
|
|
1256
2341
|
|
|
1257
2342
|
@include generate-utils( grid-rows, grid-template-rows, $kendo-utils-grid-template-rows );
|
|
1258
2343
|
|
|
@@ -1260,17 +2345,17 @@ $kendo-utils-grid-template-rows: map-get( $kendo-utils, "grid-template-rows" ) !
|
|
|
1260
2345
|
// #region @import "./_grid-column-start-end.scss"; -> packages/utils/scss/flex-grid/_grid-column-start-end.scss
|
|
1261
2346
|
// TODO DOCS
|
|
1262
2347
|
|
|
1263
|
-
$kendo-utils-grid-column-start: map-get( $kendo-utils, "grid-column-start" ) !default;
|
|
2348
|
+
$kendo-utils-grid-column-start: k-map-get( $kendo-utils, "grid-column-start" ) !default;
|
|
1264
2349
|
|
|
1265
2350
|
@include generate-utils( col-start, grid-column-start, $kendo-utils-grid-column-start );
|
|
1266
2351
|
|
|
1267
2352
|
|
|
1268
|
-
$kendo-utils-grid-column-end: map-get( $kendo-utils, "grid-column-end" ) !default;
|
|
2353
|
+
$kendo-utils-grid-column-end: k-map-get( $kendo-utils, "grid-column-end" ) !default;
|
|
1269
2354
|
|
|
1270
2355
|
@include generate-utils( col-end, grid-column-end, $kendo-utils-grid-column-end );
|
|
1271
2356
|
|
|
1272
2357
|
|
|
1273
|
-
$kendo-utils-grid-column-span: map-get( $kendo-utils, "grid-column-span" ) !default;
|
|
2358
|
+
$kendo-utils-grid-column-span: k-map-get( $kendo-utils, "grid-column-span" ) !default;
|
|
1274
2359
|
|
|
1275
2360
|
@include generate-utils( col-span, grid-column, $kendo-utils-grid-column-span );
|
|
1276
2361
|
@include generate-utils( colspan, grid-column, $kendo-utils-grid-column-span );
|
|
@@ -1279,25 +2364,26 @@ $kendo-utils-grid-column-span: map-get( $kendo-utils, "grid-column-span" ) !defa
|
|
|
1279
2364
|
// #region @import "./_grid-row-start-end.scss"; -> packages/utils/scss/flex-grid/_grid-row-start-end.scss
|
|
1280
2365
|
// TODO DOCS
|
|
1281
2366
|
|
|
1282
|
-
$kendo-utils-grid-row-start: map-get( $kendo-utils, "grid-row-start" ) !default;
|
|
2367
|
+
$kendo-utils-grid-row-start: k-map-get( $kendo-utils, "grid-row-start" ) !default;
|
|
1283
2368
|
|
|
1284
2369
|
@include generate-utils( row-start, grid-row-start, $kendo-utils-grid-row-start );
|
|
1285
2370
|
|
|
1286
2371
|
|
|
1287
|
-
$kendo-utils-grid-row-end: map-get( $kendo-utils, "grid-row-end" ) !default;
|
|
2372
|
+
$kendo-utils-grid-row-end: k-map-get( $kendo-utils, "grid-row-end" ) !default;
|
|
1288
2373
|
|
|
1289
2374
|
@include generate-utils( row-end, grid-row-end, $kendo-utils-grid-row-end );
|
|
1290
2375
|
|
|
1291
2376
|
|
|
1292
|
-
$kendo-utils-grid-row-span: map-get( $kendo-utils, "grid-row-span" ) !default;
|
|
2377
|
+
$kendo-utils-grid-row-span: k-map-get( $kendo-utils, "grid-row-span" ) !default;
|
|
1293
2378
|
|
|
1294
2379
|
@include generate-utils( row-span, grid-row, $kendo-utils-grid-row-span );
|
|
2380
|
+
@include generate-utils( rowspan, grid-row, $kendo-utils-grid-row-span );
|
|
1295
2381
|
|
|
1296
2382
|
// #endregion
|
|
1297
2383
|
// #region @import "./_grid-auto-flow.scss"; -> packages/utils/scss/flex-grid/_grid-auto-flow.scss
|
|
1298
2384
|
// TODO DOCS
|
|
1299
2385
|
|
|
1300
|
-
$kendo-utils-grid-auto-flow: map-get( $kendo-utils, "grid-auto-flow" ) !default;
|
|
2386
|
+
$kendo-utils-grid-auto-flow: k-map-get( $kendo-utils, "grid-auto-flow" ) !default;
|
|
1301
2387
|
|
|
1302
2388
|
@include generate-utils( grid-flow, grid-auto-flow, $kendo-utils-grid-auto-flow );
|
|
1303
2389
|
|
|
@@ -1305,7 +2391,7 @@ $kendo-utils-grid-auto-flow: map-get( $kendo-utils, "grid-auto-flow" ) !default;
|
|
|
1305
2391
|
// #region @import "./_grid-auto-columns.scss"; -> packages/utils/scss/flex-grid/_grid-auto-columns.scss
|
|
1306
2392
|
// TODO DOCS
|
|
1307
2393
|
|
|
1308
|
-
$kendo-utils-grid-auto-columns: map-get( $kendo-utils, "grid-auto-columns" ) !default;
|
|
2394
|
+
$kendo-utils-grid-auto-columns: k-map-get( $kendo-utils, "grid-auto-columns" ) !default;
|
|
1309
2395
|
|
|
1310
2396
|
@include generate-utils( grid-auto-cols, grid-auto-columns, $kendo-utils-grid-auto-columns );
|
|
1311
2397
|
|
|
@@ -1313,7 +2399,7 @@ $kendo-utils-grid-auto-columns: map-get( $kendo-utils, "grid-auto-columns" ) !de
|
|
|
1313
2399
|
// #region @import "./_grid-auto-rows.scss"; -> packages/utils/scss/flex-grid/_grid-auto-rows.scss
|
|
1314
2400
|
// TODO DOCS
|
|
1315
2401
|
|
|
1316
|
-
$kendo-utils-grid-auto-rows: map-get( $kendo-utils, "grid-auto-rows" ) !default;
|
|
2402
|
+
$kendo-utils-grid-auto-rows: k-map-get( $kendo-utils, "grid-auto-rows" ) !default;
|
|
1317
2403
|
|
|
1318
2404
|
@include generate-utils( grid-auto-rows, grid-auto-rows, $kendo-utils-grid-auto-rows );
|
|
1319
2405
|
|
|
@@ -1321,7 +2407,7 @@ $kendo-utils-grid-auto-rows: map-get( $kendo-utils, "grid-auto-rows" ) !default;
|
|
|
1321
2407
|
// #region @import "./_gap.scss"; -> packages/utils/scss/flex-grid/_gap.scss
|
|
1322
2408
|
// TODO DOCS
|
|
1323
2409
|
|
|
1324
|
-
$kendo-utils-gap: map-get( $kendo-utils, "gap" ) !default;
|
|
2410
|
+
$kendo-utils-gap: k-map-get( $kendo-utils, "gap" ) !default;
|
|
1325
2411
|
|
|
1326
2412
|
@include generate-utils( gap, gap, $kendo-utils-gap );
|
|
1327
2413
|
@include generate-utils( gap-x, column-gap, $kendo-utils-gap );
|
|
@@ -1331,7 +2417,7 @@ $kendo-utils-gap: map-get( $kendo-utils, "gap" ) !default;
|
|
|
1331
2417
|
// #region @import "./_align-content.scss"; -> packages/utils/scss/flex-grid/_align-content.scss
|
|
1332
2418
|
// TODO DOCS
|
|
1333
2419
|
|
|
1334
|
-
$kendo-utils-align-content: map-get( $kendo-utils, "align-content" ) !default;
|
|
2420
|
+
$kendo-utils-align-content: k-map-get( $kendo-utils, "align-content" ) !default;
|
|
1335
2421
|
|
|
1336
2422
|
@include generate-utils( align-content, align-content, $kendo-utils-align-content );
|
|
1337
2423
|
|
|
@@ -1339,7 +2425,7 @@ $kendo-utils-align-content: map-get( $kendo-utils, "align-content" ) !default;
|
|
|
1339
2425
|
// #region @import "./_align-items.scss"; -> packages/utils/scss/flex-grid/_align-items.scss
|
|
1340
2426
|
// TODO DOCS
|
|
1341
2427
|
|
|
1342
|
-
$kendo-utils-align-items: map-get( $kendo-utils, "align-items" ) !default;
|
|
2428
|
+
$kendo-utils-align-items: k-map-get( $kendo-utils, "align-items" ) !default;
|
|
1343
2429
|
|
|
1344
2430
|
@include generate-utils( align-items, align-items, $kendo-utils-align-items );
|
|
1345
2431
|
|
|
@@ -1347,7 +2433,7 @@ $kendo-utils-align-items: map-get( $kendo-utils, "align-items" ) !default;
|
|
|
1347
2433
|
// #region @import "./_align-self.scss"; -> packages/utils/scss/flex-grid/_align-self.scss
|
|
1348
2434
|
// TODO DOCS
|
|
1349
2435
|
|
|
1350
|
-
$kendo-utils-align-self: map-get( $kendo-utils, "align-self" ) !default;
|
|
2436
|
+
$kendo-utils-align-self: k-map-get( $kendo-utils, "align-self" ) !default;
|
|
1351
2437
|
|
|
1352
2438
|
@include generate-utils( align-self, align-self, $kendo-utils-align-self );
|
|
1353
2439
|
|
|
@@ -1355,7 +2441,7 @@ $kendo-utils-align-self: map-get( $kendo-utils, "align-self" ) !default;
|
|
|
1355
2441
|
// #region @import "./_justify-content.scss"; -> packages/utils/scss/flex-grid/_justify-content.scss
|
|
1356
2442
|
// TODO DOCS
|
|
1357
2443
|
|
|
1358
|
-
$kendo-utils-justify-content: map-get( $kendo-utils, "justify-content" ) !default;
|
|
2444
|
+
$kendo-utils-justify-content: k-map-get( $kendo-utils, "justify-content" ) !default;
|
|
1359
2445
|
|
|
1360
2446
|
@include generate-utils( justify-content, justify-content, $kendo-utils-justify-content );
|
|
1361
2447
|
|
|
@@ -1366,7 +2452,7 @@ $kendo-utils-justify-content: map-get( $kendo-utils, "justify-content" ) !defaul
|
|
|
1366
2452
|
// #region @import "./_justify-items.scss"; -> packages/utils/scss/flex-grid/_justify-items.scss
|
|
1367
2453
|
// TODO DOCS
|
|
1368
2454
|
|
|
1369
|
-
$kendo-utils-justify-items: map-get( $kendo-utils, "justify-items" ) !default;
|
|
2455
|
+
$kendo-utils-justify-items: k-map-get( $kendo-utils, "justify-items" ) !default;
|
|
1370
2456
|
|
|
1371
2457
|
@include generate-utils( justify-items, justify-items, $kendo-utils-justify-items );
|
|
1372
2458
|
|
|
@@ -1374,7 +2460,7 @@ $kendo-utils-justify-items: map-get( $kendo-utils, "justify-items" ) !default;
|
|
|
1374
2460
|
// #region @import "./_justify-self.scss"; -> packages/utils/scss/flex-grid/_justify-self.scss
|
|
1375
2461
|
// TODO DOCS
|
|
1376
2462
|
|
|
1377
|
-
$kendo-utils-justify-self: map-get( $kendo-utils, "justify-self" ) !default;
|
|
2463
|
+
$kendo-utils-justify-self: k-map-get( $kendo-utils, "justify-self" ) !default;
|
|
1378
2464
|
|
|
1379
2465
|
@include generate-utils( justify-self, justify-self, $kendo-utils-justify-self );
|
|
1380
2466
|
|
|
@@ -1382,7 +2468,7 @@ $kendo-utils-justify-self: map-get( $kendo-utils, "justify-self" ) !default;
|
|
|
1382
2468
|
// #region @import "./_place-content.scss"; -> packages/utils/scss/flex-grid/_place-content.scss
|
|
1383
2469
|
// TODO DOCS
|
|
1384
2470
|
|
|
1385
|
-
$kendo-utils-place-content: map-get( $kendo-utils, "place-content" ) !default;
|
|
2471
|
+
$kendo-utils-place-content: k-map-get( $kendo-utils, "place-content" ) !default;
|
|
1386
2472
|
|
|
1387
2473
|
@include generate-utils( place-content, place-content, $kendo-utils-place-content );
|
|
1388
2474
|
|
|
@@ -1390,7 +2476,7 @@ $kendo-utils-place-content: map-get( $kendo-utils, "place-content" ) !default;
|
|
|
1390
2476
|
// #region @import "./_place-items.scss"; -> packages/utils/scss/flex-grid/_place-items.scss
|
|
1391
2477
|
// TODO DOCS
|
|
1392
2478
|
|
|
1393
|
-
$kendo-utils-place-items: map-get( $kendo-utils, "place-items" ) !default;
|
|
2479
|
+
$kendo-utils-place-items: k-map-get( $kendo-utils, "place-items" ) !default;
|
|
1394
2480
|
|
|
1395
2481
|
@include generate-utils( place-items, place-items, $kendo-utils-place-items );
|
|
1396
2482
|
|
|
@@ -1398,7 +2484,7 @@ $kendo-utils-place-items: map-get( $kendo-utils, "place-items" ) !default;
|
|
|
1398
2484
|
// #region @import "./_place-self.scss"; -> packages/utils/scss/flex-grid/_place-self.scss
|
|
1399
2485
|
// TODO DOCS
|
|
1400
2486
|
|
|
1401
|
-
$kendo-utils-place-self: map-get( $kendo-utils, "place-self" ) !default;
|
|
2487
|
+
$kendo-utils-place-self: k-map-get( $kendo-utils, "place-self" ) !default;
|
|
1402
2488
|
|
|
1403
2489
|
@include generate-utils( place-self, place-self, $kendo-utils-place-self );
|
|
1404
2490
|
|
|
@@ -1409,7 +2495,7 @@ $kendo-utils-place-self: map-get( $kendo-utils, "place-self" ) !default;
|
|
|
1409
2495
|
// #region @import "./_margin.scss"; -> packages/utils/scss/spacing/_margin.scss
|
|
1410
2496
|
// TODO DOCS
|
|
1411
2497
|
|
|
1412
|
-
$kendo-utils-margin: map-get( $kendo-utils, "margin" ) !default;
|
|
2498
|
+
$kendo-utils-margin: k-map-get( $kendo-utils, "margin" ) !default;
|
|
1413
2499
|
|
|
1414
2500
|
@include generate-utils( m, margin, $kendo-utils-margin );
|
|
1415
2501
|
@include generate-utils( mt, margin-top, $kendo-utils-margin );
|
|
@@ -1423,7 +2509,7 @@ $kendo-utils-margin: map-get( $kendo-utils, "margin" ) !default;
|
|
|
1423
2509
|
// #region @import "./_padding.scss"; -> packages/utils/scss/spacing/_padding.scss
|
|
1424
2510
|
// TODO DOCS
|
|
1425
2511
|
|
|
1426
|
-
$kendo-utils-padding: map-get( $kendo-utils, "padding" ) !default;
|
|
2512
|
+
$kendo-utils-padding: k-map-get( $kendo-utils, "padding" ) !default;
|
|
1427
2513
|
|
|
1428
2514
|
@include generate-utils( p, padding, $kendo-utils-padding );
|
|
1429
2515
|
@include generate-utils( pt, padding-top, $kendo-utils-padding );
|
|
@@ -1443,17 +2529,17 @@ $kendo-utils-padding: map-get( $kendo-utils, "padding" ) !default;
|
|
|
1443
2529
|
// #region @import "./_width.scss"; -> packages/utils/scss/sizing/_width.scss
|
|
1444
2530
|
// TODO DOCS
|
|
1445
2531
|
|
|
1446
|
-
$kendo-utils-width: map-get( $kendo-utils, "width" ) !default;
|
|
2532
|
+
$kendo-utils-width: k-map-get( $kendo-utils, "width" ) !default;
|
|
1447
2533
|
|
|
1448
2534
|
@include generate-utils( w, width, $kendo-utils-width );
|
|
1449
2535
|
|
|
1450
2536
|
|
|
1451
|
-
$kendo-utils-min-width: map-get( $kendo-utils, "min-width" ) !default;
|
|
2537
|
+
$kendo-utils-min-width: k-map-get( $kendo-utils, "min-width" ) !default;
|
|
1452
2538
|
|
|
1453
2539
|
@include generate-utils( min-w, min-width, $kendo-utils-min-width );
|
|
1454
2540
|
|
|
1455
2541
|
|
|
1456
|
-
$kendo-utils-max-width: map-get( $kendo-utils, "max-width" ) !default;
|
|
2542
|
+
$kendo-utils-max-width: k-map-get( $kendo-utils, "max-width" ) !default;
|
|
1457
2543
|
|
|
1458
2544
|
@include generate-utils( max-w, max-width, $kendo-utils-max-width );
|
|
1459
2545
|
|
|
@@ -1461,17 +2547,17 @@ $kendo-utils-max-width: map-get( $kendo-utils, "max-width" ) !default;
|
|
|
1461
2547
|
// #region @import "./_height.scss"; -> packages/utils/scss/sizing/_height.scss
|
|
1462
2548
|
// TODO DOCS
|
|
1463
2549
|
|
|
1464
|
-
$kendo-utils-height: map-get( $kendo-utils, "height" ) !default;
|
|
2550
|
+
$kendo-utils-height: k-map-get( $kendo-utils, "height" ) !default;
|
|
1465
2551
|
|
|
1466
2552
|
@include generate-utils( h, height, $kendo-utils-height );
|
|
1467
2553
|
|
|
1468
2554
|
|
|
1469
|
-
$kendo-utils-min-height: map-get( $kendo-utils, "min-height" ) !default;
|
|
2555
|
+
$kendo-utils-min-height: k-map-get( $kendo-utils, "min-height" ) !default;
|
|
1470
2556
|
|
|
1471
2557
|
@include generate-utils( min-h, min-height, $kendo-utils-min-height );
|
|
1472
2558
|
|
|
1473
2559
|
|
|
1474
|
-
$kendo-utils-max-height: map-get( $kendo-utils, "max-height" ) !default;
|
|
2560
|
+
$kendo-utils-max-height: k-map-get( $kendo-utils, "max-height" ) !default;
|
|
1475
2561
|
|
|
1476
2562
|
@include generate-utils( max-h, max-height, $kendo-utils-max-height );
|
|
1477
2563
|
|
|
@@ -1483,7 +2569,7 @@ $kendo-utils-max-height: map-get( $kendo-utils, "max-height" ) !default;
|
|
|
1483
2569
|
// #region @import "./_font-size.scss"; -> packages/utils/scss/typography/_font-size.scss
|
|
1484
2570
|
// TODO DOCS
|
|
1485
2571
|
|
|
1486
|
-
$kendo-utils-font-size: map-get( $kendo-utils, "font-size" ) !default;
|
|
2572
|
+
$kendo-utils-font-size: k-map-get( $kendo-utils, "font-size" ) !default;
|
|
1487
2573
|
|
|
1488
2574
|
@include generate-utils( font-size, font-size, $kendo-utils-font-size );
|
|
1489
2575
|
|
|
@@ -1492,7 +2578,7 @@ $kendo-utils-font-size: map-get( $kendo-utils, "font-size" ) !default;
|
|
|
1492
2578
|
// #region @import "./_font-style.scss"; -> packages/utils/scss/typography/_font-style.scss
|
|
1493
2579
|
// TODO DOCS
|
|
1494
2580
|
|
|
1495
|
-
$kendo-utils-font-style: map-get( $kendo-utils, "font-style" ) !default;
|
|
2581
|
+
$kendo-utils-font-style: k-map-get( $kendo-utils, "font-style" ) !default;
|
|
1496
2582
|
|
|
1497
2583
|
@include generate-utils( font, font-style, $kendo-utils-font-style );
|
|
1498
2584
|
|
|
@@ -1500,7 +2586,7 @@ $kendo-utils-font-style: map-get( $kendo-utils, "font-style" ) !default;
|
|
|
1500
2586
|
// #region @import "./_font-weight.scss"; -> packages/utils/scss/typography/_font-weight.scss
|
|
1501
2587
|
// TODO DOCS
|
|
1502
2588
|
|
|
1503
|
-
$kendo-utils-font-weight: map-get( $kendo-utils, "font-weight" ) !default;
|
|
2589
|
+
$kendo-utils-font-weight: k-map-get( $kendo-utils, "font-weight" ) !default;
|
|
1504
2590
|
|
|
1505
2591
|
@include generate-utils( font, font-weight, $kendo-utils-font-weight );
|
|
1506
2592
|
|
|
@@ -1510,23 +2596,28 @@ $kendo-utils-font-weight: map-get( $kendo-utils, "font-weight" ) !default;
|
|
|
1510
2596
|
// line height
|
|
1511
2597
|
// list style
|
|
1512
2598
|
// #region @import "./_text-align.scss"; -> packages/utils/scss/typography/_text-align.scss
|
|
2599
|
+
/// This is equivalent to `text-align: left;`. The inline contents are aligned to the left edge of the line box.
|
|
1513
2600
|
/// @name .k-text-left
|
|
1514
|
-
/// @description This is equivalent to `text-align: left;`. The inline contents are aligned to the left edge of the line box.
|
|
1515
2601
|
/// @group text-align
|
|
2602
|
+
/// @contextType css
|
|
1516
2603
|
|
|
2604
|
+
/// This is equivalent to `text-align: right;`. The inline contents are aligned to the right edge of the line box.
|
|
1517
2605
|
/// @name .k-text-right
|
|
1518
|
-
/// @description This is equivalent to `text-align: right;`. The inline contents are aligned to the right edge of the line box.
|
|
1519
2606
|
/// @group text-align
|
|
2607
|
+
/// @contextType css
|
|
1520
2608
|
|
|
2609
|
+
/// This is equivalent to `text-align: center;`. The inline contents are centered within the line box.
|
|
1521
2610
|
/// @name .k-text-center
|
|
1522
|
-
/// @description This is equivalent to `text-align: center;`. The inline contents are centered within the line box.
|
|
1523
2611
|
/// @group text-align
|
|
2612
|
+
/// @contextType css
|
|
1524
2613
|
|
|
2614
|
+
/// This is equivalent to `text-align: justify;`. The inline contents are justified. Text should be spaced to line up its left and right edges to the left and right edges of the line box, except for the last line.
|
|
1525
2615
|
/// @name .k-text-justify
|
|
1526
|
-
/// @description This is equivalent to `text-align: justify;`. The inline contents are justified. Text should be spaced to line up its left and right edges to the left and right edges of the line box, except for the last line.
|
|
1527
2616
|
/// @group text-align
|
|
2617
|
+
/// @contextType css
|
|
1528
2618
|
|
|
1529
|
-
|
|
2619
|
+
// Text align utility classes
|
|
2620
|
+
$kendo-utils-text-align: k-map-get( $kendo-utils, "text-align" ) !default;
|
|
1530
2621
|
|
|
1531
2622
|
@include generate-utils( text, text-align, $kendo-utils-text-align );
|
|
1532
2623
|
|
|
@@ -1536,19 +2627,23 @@ $kendo-utils-text-align: map-get( $kendo-utils, "text-align" ) !default;
|
|
|
1536
2627
|
// #region @import "./_text-transform.scss"; -> packages/utils/scss/typography/_text-transform.scss
|
|
1537
2628
|
// TODO DOCS
|
|
1538
2629
|
|
|
2630
|
+
/// This is equivalent to `text-transform: lowercase;`. Is a keyword that converts all characters to lowercase.
|
|
1539
2631
|
/// @name k-text-lowercase
|
|
1540
|
-
/// @description This is equivalent to `text-transform: lowercase;`. Is a keyword that converts all characters to lowercase.
|
|
1541
2632
|
/// @group text-transform
|
|
2633
|
+
/// @contextType css
|
|
1542
2634
|
|
|
2635
|
+
/// This is equivalent to `text-transform: uppercase;`. Is a keyword that converts all characters to uppercase.
|
|
1543
2636
|
/// @name k-text-uppercase
|
|
1544
|
-
/// @description This is equivalent to `text-transform: uppercase;`. Is a keyword that converts all characters to uppercase.
|
|
1545
2637
|
/// @group text-transform
|
|
2638
|
+
/// @contextType css
|
|
1546
2639
|
|
|
2640
|
+
/// This is equivalent to `text-transform: capitalize;`. Is a keyword that converts the first letter of each word to uppercase. Other characters remain unchanged (they retain their original case as written in the element's text).
|
|
1547
2641
|
/// @name k-text-capitalize
|
|
1548
|
-
/// @description This is equivalent to `text-transform: capitalize;`. Is a keyword that converts the first letter of each word to uppercase. Other characters remain unchanged (they retain their original case as written in the element's text).
|
|
1549
2642
|
/// @group text-transform
|
|
2643
|
+
/// @contextType css
|
|
1550
2644
|
|
|
1551
|
-
|
|
2645
|
+
// Text transform utility classes
|
|
2646
|
+
$kendo-utils-text-transform: k-map-get( $kendo-utils, "text-transform" ) !default;
|
|
1552
2647
|
|
|
1553
2648
|
@include generate-utils( text, text-transform, $kendo-utils-text-transform );
|
|
1554
2649
|
|
|
@@ -1557,31 +2652,38 @@ $kendo-utils-text-transform: map-get( $kendo-utils, "text-transform" ) !default;
|
|
|
1557
2652
|
// text indent
|
|
1558
2653
|
// vertical align
|
|
1559
2654
|
// #region @import "./_white-space.scss"; -> packages/utils/scss/typography/_white-space.scss
|
|
2655
|
+
/// This is equivalent to `white-space: normal;`. Sequences of white space are collapsed. Newline characters in the source are handled the same as other white space. Lines are broken as necessary to fill line boxes.
|
|
1560
2656
|
/// @name .k-white-space-normal
|
|
1561
|
-
/// @description This is equivalent to `white-space: normal;`. Sequences of white space are collapsed. Newline characters in the source are handled the same as other white space. Lines are broken as necessary to fill line boxes.
|
|
1562
2657
|
/// @group white-space
|
|
2658
|
+
/// @contextType css
|
|
1563
2659
|
|
|
2660
|
+
/// This is equivalent to `white-space: nowrap;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
|
|
1564
2661
|
/// @name .k-white-space-nowrap
|
|
1565
|
-
/// @description This is equivalent to `white-space: nowrap;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
|
|
1566
2662
|
/// @group white-space
|
|
2663
|
+
/// @contextType css
|
|
1567
2664
|
|
|
2665
|
+
/// This is equivalent to `white-space: pre;`. Sequences of white space are preserved. Lines are only broken at newline characters in the source and at <br> elements.
|
|
1568
2666
|
/// @name .k-white-space-pre
|
|
1569
|
-
/// @description This is equivalent to `white-space: pre;`. Sequences of white space are preserved. Lines are only broken at newline characters in the source and at <br> elements.
|
|
1570
2667
|
/// @group white-space
|
|
2668
|
+
/// @contextType css
|
|
1571
2669
|
|
|
2670
|
+
/// This is equivalent to `white-space: pre-wrap;`. Sequences of white space are preserved. Lines are broken at newline characters, at <br>, and as necessary to fill line boxes.
|
|
1572
2671
|
/// @name .k-white-space-pre-wrap
|
|
1573
|
-
/// @description This is equivalent to `white-space: pre-wrap;`. Sequences of white space are preserved. Lines are broken at newline characters, at <br>, and as necessary to fill line boxes.
|
|
1574
2672
|
/// @group white-space
|
|
2673
|
+
/// @contextType css
|
|
1575
2674
|
|
|
2675
|
+
/// This is equivalent to `white-space: pre-line;`. Sequences of white space are collapsed. Lines are broken at newline characters, at <br>, and as necessary to fill line boxes.
|
|
1576
2676
|
/// @name .k-white-space-pre-line
|
|
1577
|
-
/// @description This is equivalent to `white-space: pre-line;`. Sequences of white space are collapsed. Lines are broken at newline characters, at <br>, and as necessary to fill line boxes.
|
|
1578
2677
|
/// @group white-space
|
|
2678
|
+
/// @contextType css
|
|
1579
2679
|
|
|
2680
|
+
/// This is equivalent to `white-space: break-spaces;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
|
|
1580
2681
|
/// @name .k-white-space-break-spaces
|
|
1581
|
-
/// @description This is equivalent to `white-space: break-spaces;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
|
|
1582
2682
|
/// @group white-space
|
|
2683
|
+
/// @contextType css
|
|
1583
2684
|
|
|
1584
|
-
|
|
2685
|
+
// White space utility classes
|
|
2686
|
+
$kendo-utils-white-space: k-map-get( $kendo-utils, "white-space" ) !default;
|
|
1585
2687
|
|
|
1586
2688
|
@include generate-utils( white-space, white-space, $kendo-utils-white-space );
|
|
1587
2689
|
|
|
@@ -1593,7 +2695,7 @@ $kendo-utils-white-space: map-get( $kendo-utils, "white-space" ) !default;
|
|
|
1593
2695
|
// #region @import "./_border-width.scss"; -> packages/utils/scss/border/_border-width.scss
|
|
1594
2696
|
// TODO DOCS
|
|
1595
2697
|
|
|
1596
|
-
$kendo-utils-border-width: map-get( $kendo-utils, "border-width" ) !default;
|
|
2698
|
+
$kendo-utils-border-width: k-map-get( $kendo-utils, "border-width" ) !default;
|
|
1597
2699
|
|
|
1598
2700
|
@include generate-utils( border, border-width, $kendo-utils-border-width );
|
|
1599
2701
|
@include generate-utils( border-t, border-top-width, $kendo-utils-border-width );
|
|
@@ -1607,7 +2709,7 @@ $kendo-utils-border-width: map-get( $kendo-utils, "border-width" ) !default;
|
|
|
1607
2709
|
// #region @import "./_border-style.scss"; -> packages/utils/scss/border/_border-style.scss
|
|
1608
2710
|
// TODO DOCS
|
|
1609
2711
|
|
|
1610
|
-
$kendo-utils-border-style: map-get( $kendo-utils, "border-style" ) !default;
|
|
2712
|
+
$kendo-utils-border-style: k-map-get( $kendo-utils, "border-style" ) !default;
|
|
1611
2713
|
|
|
1612
2714
|
@include generate-utils( border, border-style, $kendo-utils-border-style );
|
|
1613
2715
|
@include generate-utils( border-t, border-top-style, $kendo-utils-border-style );
|
|
@@ -1621,7 +2723,7 @@ $kendo-utils-border-style: map-get( $kendo-utils, "border-style" ) !default;
|
|
|
1621
2723
|
// #region @import "./_border-color.scss"; -> packages/utils/scss/border/_border-color.scss
|
|
1622
2724
|
// TODO DOCS
|
|
1623
2725
|
|
|
1624
|
-
$kendo-utils-border-color: map-get( $kendo-utils, "border-color" ) !default;
|
|
2726
|
+
$kendo-utils-border-color: k-map-get( $kendo-utils, "border-color" ) !default;
|
|
1625
2727
|
|
|
1626
2728
|
@include generate-utils( border, border-color, $kendo-utils-border-color );
|
|
1627
2729
|
@include generate-utils( border-t, border-top-color, $kendo-utils-border-color );
|
|
@@ -1635,7 +2737,7 @@ $kendo-utils-border-color: map-get( $kendo-utils, "border-color" ) !default;
|
|
|
1635
2737
|
// #region @import "./_border-radius.scss"; -> packages/utils/scss/border/_border-radius.scss
|
|
1636
2738
|
// TODO DOCS
|
|
1637
2739
|
|
|
1638
|
-
$kendo-utils-border-radius: map-get( $kendo-utils, "border-radius" ) !default;
|
|
2740
|
+
$kendo-utils-border-radius: k-map-get( $kendo-utils, "border-radius" ) !default;
|
|
1639
2741
|
|
|
1640
2742
|
@include generate-utils( rounded, border-radius, $kendo-utils-border-radius );
|
|
1641
2743
|
@include generate-utils( rounded-tl, border-top-left-radius, $kendo-utils-border-radius );
|
|
@@ -1651,7 +2753,7 @@ $kendo-utils-border-radius: map-get( $kendo-utils, "border-radius" ) !default;
|
|
|
1651
2753
|
// #region @import "./_outline-width.scss"; -> packages/utils/scss/border/_outline-width.scss
|
|
1652
2754
|
// TODO DOCS
|
|
1653
2755
|
|
|
1654
|
-
$kendo-utils-outline-width: map-get( $kendo-utils, "outline-width" ) !default;
|
|
2756
|
+
$kendo-utils-outline-width: k-map-get( $kendo-utils, "outline-width" ) !default;
|
|
1655
2757
|
|
|
1656
2758
|
@include generate-utils( outline, outline-width, $kendo-utils-outline-width );
|
|
1657
2759
|
|
|
@@ -1659,7 +2761,7 @@ $kendo-utils-outline-width: map-get( $kendo-utils, "outline-width" ) !default;
|
|
|
1659
2761
|
// #region @import "./_outline-style.scss"; -> packages/utils/scss/border/_outline-style.scss
|
|
1660
2762
|
// TODO DOCS
|
|
1661
2763
|
|
|
1662
|
-
$kendo-utils-outline-style: map-get( $kendo-utils, "outline-style" ) !default;
|
|
2764
|
+
$kendo-utils-outline-style: k-map-get( $kendo-utils, "outline-style" ) !default;
|
|
1663
2765
|
|
|
1664
2766
|
@include generate-utils( outline, outline-style, $kendo-utils-outline-style );
|
|
1665
2767
|
|
|
@@ -1667,7 +2769,7 @@ $kendo-utils-outline-style: map-get( $kendo-utils, "outline-style" ) !default;
|
|
|
1667
2769
|
// #region @import "./_outline-color.scss"; -> packages/utils/scss/border/_outline-color.scss
|
|
1668
2770
|
// TODO DOCS
|
|
1669
2771
|
|
|
1670
|
-
$kendo-utils-outline-color: map-get( $kendo-utils, "outline-color" ) !default;
|
|
2772
|
+
$kendo-utils-outline-color: k-map-get( $kendo-utils, "outline-color" ) !default;
|
|
1671
2773
|
|
|
1672
2774
|
@include generate-utils( outline, outline-color, $kendo-utils-outline-color );
|
|
1673
2775
|
|
|
@@ -1675,7 +2777,7 @@ $kendo-utils-outline-color: map-get( $kendo-utils, "outline-color" ) !default;
|
|
|
1675
2777
|
// #region @import "./_outline-offset.scss"; -> packages/utils/scss/border/_outline-offset.scss
|
|
1676
2778
|
// TODO DOCS
|
|
1677
2779
|
|
|
1678
|
-
$kendo-utils-outline-offset: map-get( $kendo-utils, "outline-offset" ) !default;
|
|
2780
|
+
$kendo-utils-outline-offset: k-map-get( $kendo-utils, "outline-offset" ) !default;
|
|
1679
2781
|
|
|
1680
2782
|
@include generate-utils( outline-offset, outline-offset, $kendo-utils-outline-offset );
|
|
1681
2783
|
|
|
@@ -1688,21 +2790,26 @@ $kendo-utils-outline-offset: map-get( $kendo-utils, "outline-offset" ) !default;
|
|
|
1688
2790
|
// #region @import "./_border-collapse.scss"; -> packages/utils/scss/table/_border-collapse.scss
|
|
1689
2791
|
// TODO DOCS
|
|
1690
2792
|
|
|
1691
|
-
$kendo-utils-border-collapse: map-get( $kendo-utils, "border-collapse" ) !default;
|
|
2793
|
+
$kendo-utils-border-collapse: k-map-get( $kendo-utils, "border-collapse" ) !default;
|
|
1692
2794
|
|
|
1693
2795
|
@include generate-utils( border, border-collapse, $kendo-utils-border-collapse );
|
|
1694
2796
|
|
|
1695
2797
|
// #endregion
|
|
1696
2798
|
// #region @import "./_table-layout.scss"; -> packages/utils/scss/table/_table-layout.scss
|
|
2799
|
+
// Table-layout documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout.
|
|
2800
|
+
|
|
2801
|
+
/// This is equivalent to `table-layout: auto;`. By default, most browsers use an automatic table layout algorithm. The widths of the table and its cells are adjusted to fit the content.
|
|
1697
2802
|
/// @name .k-table-layout-auto
|
|
1698
|
-
/// @description This is equivalent to `table-layout: auto;`. By default, most browsers use an automatic table layout algorithm. The widths of the table and its cells are adjusted to fit the content.
|
|
1699
2803
|
/// @group table-layout
|
|
2804
|
+
/// @contextType css
|
|
1700
2805
|
|
|
2806
|
+
/// This is equivalent to `table-layout: fixed;`. Table and column widths are set by the widths of table and col elements or by the width of the first row of cells. Cells in subsequent rows do not affect column widths.
|
|
1701
2807
|
/// @name .k-table-layout-fixed
|
|
1702
|
-
/// @description This is equivalent to `table-layout: fixed;`. Table and column widths are set by the widths of table and col elements or by the width of the first row of cells. Cells in subsequent rows do not affect column widths.
|
|
1703
2808
|
/// @group table-layout
|
|
2809
|
+
/// @contextType css
|
|
1704
2810
|
|
|
1705
|
-
|
|
2811
|
+
// Table layout utility classes
|
|
2812
|
+
$kendo-utils-table-layout: k-map-get( $kendo-utils, "table-layout" ) !default;
|
|
1706
2813
|
|
|
1707
2814
|
@include generate-utils( table, table-layout, $kendo-utils-table-layout );
|
|
1708
2815
|
@include generate-utils( table-layout, table-layout, $kendo-utils-table-layout );
|
|
@@ -1713,15 +2820,18 @@ $kendo-utils-table-layout: map-get( $kendo-utils, "table-layout" ) !default;
|
|
|
1713
2820
|
// transition
|
|
1714
2821
|
// #region @import "./transform/index.import.scss"; -> packages/utils/scss/transform/index.import.scss
|
|
1715
2822
|
// #region @import "./_flip.scss"; -> packages/utils/scss/transform/_flip.scss
|
|
2823
|
+
/// This is equivalent to `transform: scaleX( -1 );`. Flips the element horizontally.
|
|
1716
2824
|
/// @name .k-flip-h
|
|
1717
|
-
/// @description This is equivalent to `transform: scaleX( -1 );`. Flips the element horizontally.
|
|
1718
2825
|
/// @group transform
|
|
2826
|
+
/// @contextType css
|
|
1719
2827
|
|
|
2828
|
+
/// This is equivalent to `transform: scaleY( -1 );`. Flips the element vertically.
|
|
1720
2829
|
/// @name .k-flip-v
|
|
1721
|
-
/// @description This is equivalent to `transform: scaleY( -1 );`. Flips the element vertically.
|
|
1722
2830
|
/// @group transform
|
|
2831
|
+
/// @contextType css
|
|
1723
2832
|
|
|
1724
|
-
|
|
2833
|
+
// Flip utility classes
|
|
2834
|
+
$kendo-utils-flip: k-map-get( $kendo-utils, "flip" ) !default;
|
|
1725
2835
|
|
|
1726
2836
|
@if $kendo-utils-flip {
|
|
1727
2837
|
.#{$kendo-prefix}flip-h { transform: scaleX( -1 ); }
|
|
@@ -1740,19 +2850,32 @@ $kendo-utils-flip: map-get( $kendo-utils, "flip" ) !default;
|
|
|
1740
2850
|
|
|
1741
2851
|
// #endregion
|
|
1742
2852
|
// #region @import "./_scale.scss"; -> packages/utils/scss/transform/_scale.scss
|
|
1743
|
-
|
|
2853
|
+
/// This is equivalent to `transform: scale( 0, 0 );`. The element is shrunk and no longer visible.
|
|
2854
|
+
/// @name .k-scale-0
|
|
2855
|
+
/// @group transform
|
|
2856
|
+
/// @contextType css
|
|
2857
|
+
|
|
2858
|
+
/// This is equivalent to `transform: scale( 1, 1 );`. The element has its default scale.
|
|
2859
|
+
/// @name .k-scale-1
|
|
2860
|
+
/// @group transform
|
|
2861
|
+
/// @contextType css
|
|
2862
|
+
|
|
2863
|
+
/// This is equivalent to `transform: scale( 2, 2 );`. The element is scaling two times in both directions.
|
|
2864
|
+
/// @name .k-scale-2
|
|
2865
|
+
/// @group transform
|
|
2866
|
+
/// @contextType css
|
|
1744
2867
|
|
|
1745
|
-
$kendo-utils-scale: map-get( $kendo-utils, "scale" ) !default;
|
|
2868
|
+
$kendo-utils-scale: k-map-get( $kendo-utils, "scale" ) !default;
|
|
1746
2869
|
|
|
1747
2870
|
// sass-lint:disable function-name-format
|
|
1748
2871
|
@function __scale( $val ) {
|
|
1749
|
-
@return scale(
|
|
2872
|
+
@return scale( $val );
|
|
1750
2873
|
}
|
|
1751
2874
|
@function __scale-x( $val ) {
|
|
1752
|
-
@return scaleX(
|
|
2875
|
+
@return scaleX( $val );
|
|
1753
2876
|
}
|
|
1754
2877
|
@function __scale-y( $val ) {
|
|
1755
|
-
@return scaleY(
|
|
2878
|
+
@return scaleY( $val );
|
|
1756
2879
|
}
|
|
1757
2880
|
// sass-lint:enable function-name-format
|
|
1758
2881
|
|
|
@@ -1762,9 +2885,47 @@ $kendo-utils-scale: map-get( $kendo-utils, "scale" ) !default;
|
|
|
1762
2885
|
|
|
1763
2886
|
// #endregion
|
|
1764
2887
|
// #region @import "./_rotate.scss"; -> packages/utils/scss/transform/_rotate.scss
|
|
1765
|
-
|
|
2888
|
+
/// This is equivalent to `transform: rotate( 0 );`. Does not rotate the element.
|
|
2889
|
+
/// @name .k-rotate-0
|
|
2890
|
+
/// @group transform
|
|
2891
|
+
/// @contextType css
|
|
2892
|
+
|
|
2893
|
+
/// This is equivalent to `transform: rotate( 45deg );`. Rotates the element by 45 degrees.
|
|
2894
|
+
/// @name .k-rotate-45
|
|
2895
|
+
/// @group transform
|
|
2896
|
+
/// @contextType css
|
|
2897
|
+
|
|
2898
|
+
/// This is equivalent to `transform: rotate( 90deg );`. Rotates the element by 90 degrees.
|
|
2899
|
+
/// @name .k-rotate-90
|
|
2900
|
+
/// @group transform
|
|
2901
|
+
/// @contextType css
|
|
2902
|
+
|
|
2903
|
+
/// This is equivalent to `transform: rotate( 135deg );`. Rotates the element by 135 degrees.
|
|
2904
|
+
/// @name .k-rotate-135
|
|
2905
|
+
/// @group transform
|
|
2906
|
+
/// @contextType css
|
|
2907
|
+
|
|
2908
|
+
/// This is equivalent to `transform: rotate( 180deg );`. Rotates the element by 180 degrees.
|
|
2909
|
+
/// @name .k-rotate-180
|
|
2910
|
+
/// @group transform
|
|
2911
|
+
/// @contextType css
|
|
2912
|
+
|
|
2913
|
+
/// This is equivalent to `transform: rotate( 225deg );`. Rotates the element by 225 degrees.
|
|
2914
|
+
/// @name .k-rotate-225
|
|
2915
|
+
/// @group transform
|
|
2916
|
+
/// @contextType css
|
|
2917
|
+
|
|
2918
|
+
/// This is equivalent to `transform: rotate( 270deg );`. Rotates the element by 270 degrees.
|
|
2919
|
+
/// @name .k-rotate-270
|
|
2920
|
+
/// @group transform
|
|
2921
|
+
/// @contextType css
|
|
1766
2922
|
|
|
1767
|
-
|
|
2923
|
+
/// This is equivalent to `transform: rotate( 315deg );`. Rotates the element by 315 degrees.
|
|
2924
|
+
/// @name .k-rotate-315
|
|
2925
|
+
/// @group transform
|
|
2926
|
+
/// @contextType css
|
|
2927
|
+
|
|
2928
|
+
$kendo-utils-rotate: k-map-get( $kendo-utils, "rotate" ) !default;
|
|
1768
2929
|
|
|
1769
2930
|
// sass-lint:disable function-name-format
|
|
1770
2931
|
@function __rotate( $val ) {
|
|
@@ -1776,11 +2937,68 @@ $kendo-utils-rotate: map-get( $kendo-utils, "rotate" ) !default;
|
|
|
1776
2937
|
|
|
1777
2938
|
// #endregion
|
|
1778
2939
|
// #region @import "./_translate.scss"; -> packages/utils/scss/transform/_translate.scss
|
|
1779
|
-
|
|
2940
|
+
/// This is equivalent to `transform: translate( 0, 0 );`. The element does not move.
|
|
2941
|
+
/// @name .k-translate-0
|
|
2942
|
+
/// @group transform
|
|
2943
|
+
/// @contextType css
|
|
2944
|
+
|
|
2945
|
+
/// This is equivalent to `transform: translate( 0, 50% );`. The element moves vertically by 50% of its height.
|
|
2946
|
+
/// @name .k-translate-0-50
|
|
2947
|
+
/// @group transform
|
|
2948
|
+
/// @contextType css
|
|
2949
|
+
|
|
2950
|
+
/// This is equivalent to `transform: translate( 0, 100% );`. The element moves vertically by 100% of its height.
|
|
2951
|
+
/// @name .k-translate-0-100
|
|
2952
|
+
/// @group transform
|
|
2953
|
+
/// @contextType css
|
|
2954
|
+
|
|
2955
|
+
/// This is equivalent to `transform: translate( 50%, 0 );`. The element moves horizontally by 50% of its width.
|
|
2956
|
+
/// @name .k-translate-50-0
|
|
2957
|
+
/// @group transform
|
|
2958
|
+
/// @contextType css
|
|
2959
|
+
|
|
2960
|
+
/// This is equivalent to `transform: translate( 50%, 50% );`. The element moves horizontally by 50% of its width and vertically by 50% of its height.
|
|
2961
|
+
/// @name .k-translate-50-50
|
|
2962
|
+
/// @group transform
|
|
2963
|
+
/// @contextType css
|
|
1780
2964
|
|
|
1781
|
-
|
|
2965
|
+
/// This is equivalent to `transform: translate( 50%, 100% );`. The element moves horizontally by 50% of its width and vertically by 100% of its height.
|
|
2966
|
+
/// @name .k-translate-50-100
|
|
2967
|
+
/// @group transform
|
|
2968
|
+
/// @contextType css
|
|
2969
|
+
|
|
2970
|
+
/// This is equivalent to `transform: translate( 100%, 0 );`. The element moves horizontally by 100% of its width.
|
|
2971
|
+
/// @name .k-translate-100-0
|
|
2972
|
+
/// @group transform
|
|
2973
|
+
/// @contextType css
|
|
2974
|
+
|
|
2975
|
+
/// This is equivalent to `transform: translate( 100%, 50% );`. The element moves horizontally by 100% of its width and vertically by 50% of its height.
|
|
2976
|
+
/// @name .k-translate-100-50
|
|
2977
|
+
/// @group transform
|
|
2978
|
+
/// @contextType css
|
|
2979
|
+
|
|
2980
|
+
/// This is equivalent to `transform: translate( 100%, 100% );`. The element moves horizontally by 100% of its width and vertically by 100% of its height.
|
|
2981
|
+
/// @name .k-translate-100-100
|
|
2982
|
+
/// @group transform
|
|
2983
|
+
/// @contextType css
|
|
2984
|
+
|
|
2985
|
+
$kendo-utils-translate: k-map-get( $kendo-utils, "translate" ) !default;
|
|
2986
|
+
$kendo-utils-translate-xy: (
|
|
2987
|
+
"0": ( 0, 0 ),
|
|
2988
|
+
"0-50": ( 0, 50% ),
|
|
2989
|
+
"0-100": ( 0, 100% ),
|
|
2990
|
+
"50-0": ( 50%, 0 ),
|
|
2991
|
+
"50-50": ( 50%, 50% ),
|
|
2992
|
+
"50-100": ( 50%, 100% ),
|
|
2993
|
+
"100-0": ( 100%, 0 ),
|
|
2994
|
+
"100-50": ( 100%, 50% ),
|
|
2995
|
+
"100-100": ( 100%, 100% )
|
|
2996
|
+
) !default;
|
|
1782
2997
|
|
|
1783
2998
|
// sass-lint:disable function-name-format
|
|
2999
|
+
@function __translate( $val ) {
|
|
3000
|
+
@return translate( $val );
|
|
3001
|
+
}
|
|
1784
3002
|
@function __translate-x( $val ) {
|
|
1785
3003
|
@return translateX( $val );
|
|
1786
3004
|
}
|
|
@@ -1789,6 +3007,7 @@ $kendo-utils-translate: map-get( $kendo-utils, "translate" ) !default;
|
|
|
1789
3007
|
}
|
|
1790
3008
|
// sass-lint:enable function-name-format
|
|
1791
3009
|
|
|
3010
|
+
@include generate-utils( translate, transform, $kendo-utils-translate-xy, __translate );
|
|
1792
3011
|
@include generate-utils( translate-x, transform, $kendo-utils-translate, __translate-x );
|
|
1793
3012
|
@include generate-utils( translate-y, transform, $kendo-utils-translate, __translate-y );
|
|
1794
3013
|
|
|
@@ -1796,7 +3015,7 @@ $kendo-utils-translate: map-get( $kendo-utils, "translate" ) !default;
|
|
|
1796
3015
|
// #region @import "./_skew.scss"; -> packages/utils/scss/transform/_skew.scss
|
|
1797
3016
|
// TODO DOCS
|
|
1798
3017
|
|
|
1799
|
-
$kendo-utils-skew: map-get( $kendo-utils, "skew" ) !default;
|
|
3018
|
+
$kendo-utils-skew: k-map-get( $kendo-utils, "skew" ) !default;
|
|
1800
3019
|
|
|
1801
3020
|
// sass-lint:disable function-name-format
|
|
1802
3021
|
@function __skew-x( $val ) {
|
|
@@ -1814,7 +3033,7 @@ $kendo-utils-skew: map-get( $kendo-utils, "skew" ) !default;
|
|
|
1814
3033
|
// #region @import "./_origin.scss"; -> packages/utils/scss/transform/_origin.scss
|
|
1815
3034
|
// TODO DOCS
|
|
1816
3035
|
|
|
1817
|
-
$kendo-utils-origin: map-get( $kendo-utils, "origin" ) !default;
|
|
3036
|
+
$kendo-utils-origin: k-map-get( $kendo-utils, "origin" ) !default;
|
|
1818
3037
|
|
|
1819
3038
|
@include generate-utils( origin, transform-origin, $kendo-utils-origin );
|
|
1820
3039
|
|
|
@@ -1825,21 +3044,24 @@ $kendo-utils-origin: map-get( $kendo-utils, "origin" ) !default;
|
|
|
1825
3044
|
// #region @import "./_accent-color.scss"; -> packages/utils/scss/interactivity/_accent-color.scss
|
|
1826
3045
|
// TODO DOCS
|
|
1827
3046
|
|
|
1828
|
-
$kendo-utils-accent-color: map-get( $kendo-utils, "accent-color" ) !default;
|
|
3047
|
+
$kendo-utils-accent-color: k-map-get( $kendo-utils, "accent-color" ) !default;
|
|
1829
3048
|
|
|
1830
3049
|
@include generate-utils( accent-color, accent-color, $kendo-utils-accent-color );
|
|
1831
3050
|
|
|
1832
3051
|
// #endregion
|
|
1833
3052
|
// #region @import "./_appearance.scss"; -> packages/utils/scss/interactivity/_appearance.scss
|
|
3053
|
+
/// This is equivalent to `appearance: none;`. Resets any browser specific styling on an element.
|
|
1834
3054
|
/// @name .k-appearance-none
|
|
1835
|
-
/// @description This is equivalent to `appearance: none;`. Resets any browser specific styling on an element.
|
|
1836
3055
|
/// @group appearance
|
|
3056
|
+
/// @contextType css
|
|
1837
3057
|
|
|
3058
|
+
/// This is equivalent to `appearance: auto;`. The user agent selects the appropriate special styling based on the element. Acts as `none` on elements with no special styling.
|
|
1838
3059
|
/// @name .k-appearance-auto
|
|
1839
|
-
/// @description This is equivalent to `appearance: auto;`. The user agent selects the appropriate special styling based on the element. Acts as `none` on elements with no special styling.
|
|
1840
3060
|
/// @group appearance
|
|
3061
|
+
/// @contextType css
|
|
1841
3062
|
|
|
1842
|
-
|
|
3063
|
+
// Appearance utility classes
|
|
3064
|
+
$kendo-utils-appearance: k-map-get( $kendo-utils, "appearance" ) !default;
|
|
1843
3065
|
|
|
1844
3066
|
@include generate-utils( appearance, appearance, $kendo-utils-appearance );
|
|
1845
3067
|
|
|
@@ -1847,7 +3069,7 @@ $kendo-utils-appearance: map-get( $kendo-utils, "appearance" ) !default;
|
|
|
1847
3069
|
// #region @import "./_cursor.scss"; -> packages/utils/scss/interactivity/_cursor.scss
|
|
1848
3070
|
// TODO DOCS
|
|
1849
3071
|
|
|
1850
|
-
$kendo-utils-cursor: map-get( $kendo-utils, "cursor" ) !default;
|
|
3072
|
+
$kendo-utils-cursor: k-map-get( $kendo-utils, "cursor" ) !default;
|
|
1851
3073
|
|
|
1852
3074
|
@include generate-utils( cursor, cursor, $kendo-utils-cursor );
|
|
1853
3075
|
|
|
@@ -1855,43 +3077,51 @@ $kendo-utils-cursor: map-get( $kendo-utils, "cursor" ) !default;
|
|
|
1855
3077
|
// #region @import "./_caret-color.scss"; -> packages/utils/scss/interactivity/_caret-color.scss
|
|
1856
3078
|
// TODO DOCS
|
|
1857
3079
|
|
|
1858
|
-
$kendo-utils-caret-color: map-get( $kendo-utils, "caret-color" ) !default;
|
|
3080
|
+
$kendo-utils-caret-color: k-map-get( $kendo-utils, "caret-color" ) !default;
|
|
1859
3081
|
|
|
1860
3082
|
@include generate-utils( caret, caret-color, $kendo-utils-caret-color );
|
|
1861
3083
|
|
|
1862
3084
|
// #endregion
|
|
1863
3085
|
// #region @import "./_pointer-events.scss"; -> packages/utils/scss/interactivity/_pointer-events.scss
|
|
3086
|
+
/// This is equivalent to `pointer-events: none;`. The element is never the target of pointer events; however, pointer events may target its descendant elements if those descendants have pointer-events set to some other value. In these circumstances, pointer events will trigger event listeners on this parent element as appropriate on their way to/from the descendant during the event capture/bubble phases.
|
|
1864
3087
|
/// @name .k-pointer-events-none
|
|
1865
|
-
/// @description This is equivalent to `pointer-events: none;`. The element is never the target of pointer events; however, pointer events may target its descendant elements if those descendants have pointer-events set to some other value. In these circumstances, pointer events will trigger event listeners on this parent element as appropriate on their way to/from the descendant during the event capture/bubble phases.
|
|
1866
3088
|
/// @group pointer-events
|
|
3089
|
+
/// @contextType css
|
|
1867
3090
|
|
|
3091
|
+
/// This is equivalent to `pointer-events: auto;`. The element behaves as it would if the pointer-events property were not specified. In SVG content, this value and the value visiblePainted have the same effect.
|
|
1868
3092
|
/// @name .k-pointer-events-auto
|
|
1869
|
-
/// @description This is equivalent to `pointer-events: auto;`. The element behaves as it would if the pointer-events property were not specified. In SVG content, this value and the value visiblePainted have the same effect.
|
|
1870
3093
|
/// @group pointer-events
|
|
3094
|
+
/// @contextType css
|
|
1871
3095
|
|
|
1872
|
-
|
|
3096
|
+
// Pointer events utility classes
|
|
3097
|
+
$kendo-utils-pointer-events: k-map-get( $kendo-utils, "pointer-events" ) !default;
|
|
1873
3098
|
|
|
1874
3099
|
@include generate-utils( pointer-events, pointer-events, $kendo-utils-pointer-events );
|
|
1875
3100
|
|
|
1876
3101
|
// #endregion
|
|
1877
3102
|
// #region @import "./_resize.scss"; -> packages/utils/scss/interactivity/_resize.scss
|
|
3103
|
+
/// This is equivalent to `resize: both;`. The element displays a mechanism for allowing the user to resize it, which may be resized both horizontally and vertically.
|
|
1878
3104
|
/// @name .k-resize
|
|
1879
|
-
/// @description This is equivalent to `resize: both;`. The element displays a mechanism for allowing the user to resize it, which may be resized both horizontally and vertically.
|
|
1880
3105
|
/// @group resize
|
|
3106
|
+
/// @contextType css
|
|
1881
3107
|
|
|
3108
|
+
/// This is equivalent to `resize: none;`. The element offers no user-controllable method for resizing it.
|
|
1882
3109
|
/// @name .k-resize-none
|
|
1883
|
-
/// @description This is equivalent to `resize: none;`. The element offers no user-controllable method for resizing it.
|
|
1884
3110
|
/// @group resize
|
|
3111
|
+
/// @contextType css
|
|
1885
3112
|
|
|
3113
|
+
/// This is equivalent to `resize: horizontal;`. The element displays a mechanism for allowing the user to resize it in the horizontal direction.
|
|
1886
3114
|
/// @name .k-resize-x
|
|
1887
|
-
/// @description This is equivalent to `resize: horizontal;`. The element displays a mechanism for allowing the user to resize it in the horizontal direction.
|
|
1888
3115
|
/// @group resize
|
|
3116
|
+
/// @contextType css
|
|
1889
3117
|
|
|
3118
|
+
/// This is equivalent to `resize: vertical;`. The element displays a mechanism for allowing the user to resize it in the vertical direction.
|
|
1890
3119
|
/// @name .k-resize-y
|
|
1891
|
-
/// @description This is equivalent to `resize: vertical;`. The element displays a mechanism for allowing the user to resize it in the vertical direction.
|
|
1892
3120
|
/// @group resize
|
|
3121
|
+
/// @contextType css
|
|
1893
3122
|
|
|
1894
|
-
|
|
3123
|
+
// Resize utility classes
|
|
3124
|
+
$kendo-utils-resize: k-map-get( $kendo-utils, "resize" ) !default;
|
|
1895
3125
|
|
|
1896
3126
|
@include generate-utils( resize, resize, $kendo-utils-resize );
|
|
1897
3127
|
|
|
@@ -1899,12 +3129,12 @@ $kendo-utils-resize: map-get( $kendo-utils, "resize" ) !default;
|
|
|
1899
3129
|
// #region @import "./_scroll.scss"; -> packages/utils/scss/interactivity/_scroll.scss
|
|
1900
3130
|
// TODO DOCS
|
|
1901
3131
|
|
|
1902
|
-
$kendo-utils-scroll-behavior: map-get( $kendo-utils, "scroll-behavior" ) !default;
|
|
3132
|
+
$kendo-utils-scroll-behavior: k-map-get( $kendo-utils, "scroll-behavior" ) !default;
|
|
1903
3133
|
|
|
1904
3134
|
@include generate-utils( scroll, scroll-behavior, $kendo-utils-scroll-behavior );
|
|
1905
3135
|
|
|
1906
3136
|
|
|
1907
|
-
$kendo-utils-scroll-snap-type: map-get( $kendo-utils, "scroll-snap-type" ) !default;
|
|
3137
|
+
$kendo-utils-scroll-snap-type: k-map-get( $kendo-utils, "scroll-snap-type" ) !default;
|
|
1908
3138
|
|
|
1909
3139
|
@include generate-utils( scroll-snap, scroll-snap-type, $kendo-utils-scroll-snap-type );
|
|
1910
3140
|
|
|
@@ -1912,17 +3142,17 @@ $kendo-utils-scroll-snap-type: map-get( $kendo-utils, "scroll-snap-type" ) !defa
|
|
|
1912
3142
|
.#{$kendo-prefix}scroll-snap-proximity { #{--#{$kendo-prefix}scroll-snap-strictness}: proximity; }
|
|
1913
3143
|
|
|
1914
3144
|
|
|
1915
|
-
$kendo-utils-scroll-snap-stop: map-get( $kendo-utils, "scroll-snap-stop" ) !default;
|
|
3145
|
+
$kendo-utils-scroll-snap-stop: k-map-get( $kendo-utils, "scroll-snap-stop" ) !default;
|
|
1916
3146
|
|
|
1917
3147
|
@include generate-utils( scroll-snap-stop, scroll-snap-stop, $kendo-utils-scroll-snap-stop );
|
|
1918
3148
|
|
|
1919
3149
|
|
|
1920
|
-
$kendo-utils-scroll-snap-align: map-get( $kendo-utils, "scroll-snap-align" ) !default;
|
|
3150
|
+
$kendo-utils-scroll-snap-align: k-map-get( $kendo-utils, "scroll-snap-align" ) !default;
|
|
1921
3151
|
|
|
1922
3152
|
@include generate-utils( scroll-snap-align, scroll-snap-align, $kendo-utils-scroll-snap-align );
|
|
1923
3153
|
|
|
1924
3154
|
|
|
1925
|
-
$kendo-utils-scroll-margin: map-get( $kendo-utils, "scroll-margin" ) !default;
|
|
3155
|
+
$kendo-utils-scroll-margin: k-map-get( $kendo-utils, "scroll-margin" ) !default;
|
|
1926
3156
|
|
|
1927
3157
|
@include generate-utils( scroll-m, scroll-margin, $kendo-utils-scroll-margin );
|
|
1928
3158
|
@include generate-utils( scroll-mt, scroll-margin-top, $kendo-utils-scroll-margin );
|
|
@@ -1933,7 +3163,7 @@ $kendo-utils-scroll-margin: map-get( $kendo-utils, "scroll-margin" ) !default;
|
|
|
1933
3163
|
@include generate-utils( scroll-my, scroll-margin-block, $kendo-utils-scroll-margin );
|
|
1934
3164
|
|
|
1935
3165
|
|
|
1936
|
-
$kendo-utils-scroll-padding: map-get( $kendo-utils, "scroll-padding" ) !default;
|
|
3166
|
+
$kendo-utils-scroll-padding: k-map-get( $kendo-utils, "scroll-padding" ) !default;
|
|
1937
3167
|
|
|
1938
3168
|
@include generate-utils( scroll-p, scroll-padding, $kendo-utils-scroll-padding );
|
|
1939
3169
|
@include generate-utils( scroll-pt, scroll-padding-top, $kendo-utils-scroll-padding );
|
|
@@ -1947,41 +3177,52 @@ $kendo-utils-scroll-padding: map-get( $kendo-utils, "scroll-padding" ) !default;
|
|
|
1947
3177
|
// #region @import "./_touch-action.scss"; -> packages/utils/scss/interactivity/_touch-action.scss
|
|
1948
3178
|
// TODO DOCS
|
|
1949
3179
|
|
|
3180
|
+
/// This is equivalent to `touch-action: none;`. Disable browser handling of all panning and zooming gestures.
|
|
1950
3181
|
/// @name .k-touch-action-none
|
|
1951
|
-
/// @description This is equivalent to `touch-action: none;`. Disable browser handling of all panning and zooming gestures.
|
|
1952
3182
|
/// @group touch-action
|
|
3183
|
+
/// @contextType css
|
|
1953
3184
|
|
|
3185
|
+
/// This is equivalent to `touch-action: auto;`. Enable browser handling of all panning and zooming gestures.
|
|
1954
3186
|
/// @name .k-touch-action-auto
|
|
1955
|
-
/// @description This is equivalent to `touch-action: auto;`. Enable browser handling of all panning and zooming gestures.
|
|
1956
3187
|
/// @group touch-action
|
|
3188
|
+
/// @contextType css
|
|
1957
3189
|
|
|
1958
|
-
|
|
3190
|
+
// Touch-action utility classes
|
|
3191
|
+
$kendo-utils-touch-action: k-map-get( $kendo-utils, "touch-action" ) !default;
|
|
1959
3192
|
|
|
1960
3193
|
@include generate-utils( touch-action, touch-action, $kendo-utils-touch-action );
|
|
1961
3194
|
|
|
1962
3195
|
// #endregion
|
|
1963
3196
|
// #region @import "./_user-select.scss"; -> packages/utils/scss/interactivity/_user-select.scss
|
|
1964
|
-
|
|
1965
|
-
/// @description This is equivalent to `user-select: auto;`. This is the default value of the `user-select` property.
|
|
1966
|
-
/// @group user-select
|
|
3197
|
+
// User-select documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/user-select.
|
|
1967
3198
|
|
|
3199
|
+
/// This is equivalent to `user-select: none;`. The text of the element and its sub-elements is not selectable. Note that the Selection object can contain these elements.
|
|
1968
3200
|
/// @name .k-user-select-none
|
|
1969
|
-
/// @description This is equivalent to `user-select: none;`. The text of the element and its sub-elements is not selectable. Note that the Selection object can contain these elements.
|
|
1970
3201
|
/// @group user-select
|
|
3202
|
+
/// @contextType css
|
|
3203
|
+
|
|
3204
|
+
/// This is equivalent to `user-select: auto;`. This is the default value of the `user-select` property.
|
|
3205
|
+
/// @name .k-user-select-auto
|
|
3206
|
+
/// @group user-select
|
|
3207
|
+
/// @contextType css
|
|
1971
3208
|
|
|
3209
|
+
/// This is equivalent to `user-select: text;`. The text can be selected by the user.
|
|
1972
3210
|
/// @name .k-user-select-text
|
|
1973
|
-
/// @description This is equivalent to `user-select: text;`. The text can be selected by the user.
|
|
1974
3211
|
/// @group user-select
|
|
3212
|
+
/// @contextType css
|
|
1975
3213
|
|
|
3214
|
+
/// This is equivalent to `user-select: all;`. The content of the element shall be selected atomically: If a selection would contain part of the element, then the selection must contain the entire element including all its descendants. If a double-click or context-click occurred in sub-elements, the highest ancestor with this value will be selected.
|
|
1976
3215
|
/// @name .k-user-select-all
|
|
1977
|
-
/// @description This is equivalent to `user-select: all;`. The content of the element shall be selected atomically: If a selection would contain part of the element, then the selection must contain the entire element including all its descendants. If a double-click or context-click occurred in sub-elements, the highest ancestor with this value will be selected.
|
|
1978
3216
|
/// @group user-select
|
|
3217
|
+
/// @contextType css
|
|
1979
3218
|
|
|
3219
|
+
/// This is equivalent to `user-select: contain;`. Enables selection to start within the element; however, the selection will be contained by the bounds of that element.
|
|
1980
3220
|
/// @name .k-user-select-contain
|
|
1981
|
-
/// @description This is equivalent to `user-select: contain;`. Enables selection to start within the element; however, the selection will be contained by the bounds of that element.
|
|
1982
3221
|
/// @group user-select
|
|
3222
|
+
/// @contextType css
|
|
1983
3223
|
|
|
1984
|
-
|
|
3224
|
+
// User select utility classes
|
|
3225
|
+
$kendo-utils-user-select: k-map-get( $kendo-utils, "user-select" ) !default;
|
|
1985
3226
|
|
|
1986
3227
|
@include generate-utils( user-select, user-select, $kendo-utils-user-select );
|
|
1987
3228
|
|
|
@@ -1989,7 +3230,7 @@ $kendo-utils-user-select: map-get( $kendo-utils, "user-select" ) !default;
|
|
|
1989
3230
|
// #region @import "./_will-change.scss"; -> packages/utils/scss/interactivity/_will-change.scss
|
|
1990
3231
|
// TODO DOCS
|
|
1991
3232
|
|
|
1992
|
-
$kendo-utils-will-change: map-get( $kendo-utils, "will-change" ) !default;
|
|
3233
|
+
$kendo-utils-will-change: k-map-get( $kendo-utils, "will-change" ) !default;
|
|
1993
3234
|
|
|
1994
3235
|
@include generate-utils( will-change, will-change, $kendo-utils-will-change );
|
|
1995
3236
|
|