@progress/kendo-theme-core 8.1.0-dev.0 → 8.1.0-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 +721 -105
- package/dist/all.scss +906 -146
- package/dist/meta/sassdoc-data.json +276 -0
- package/dist/meta/sassdoc-raw-data.json +125 -0
- package/dist/meta/variables.json +18 -11
- package/package.json +2 -2
- package/scss/_variables.scss +1 -4
- package/scss/color-system/_swatch-legacy.scss +16 -3
- package/scss/mixins/_disabled.scss +4 -10
- package/scss/module-system/_components.scss +2 -0
- package/scss/module-system/_dependencies.scss +6 -2
- package/scss/styles/_animations.scss +693 -0
- package/scss/styles/_base.scss +17 -4
- package/scss/styles/_resizing.scss +124 -0
- package/scss/styles/_scrollbar.scss +27 -0
- package/scss/styles/_selection.scss +14 -3
- package/scss/styles/index.import.scss +6 -2
- package/scss/styles/_loading.scss +0 -127
|
@@ -0,0 +1,693 @@
|
|
|
1
|
+
@mixin kendo-core--styles--animations() {
|
|
2
|
+
|
|
3
|
+
// Animations
|
|
4
|
+
.k-push-right {
|
|
5
|
+
&-enter,
|
|
6
|
+
&-appear {
|
|
7
|
+
transform: translate(-100%, 0);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&-enter-active,
|
|
11
|
+
&-appear-active {
|
|
12
|
+
transform: translate(0, 0);
|
|
13
|
+
transition: transform 300ms ease-in-out;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-exit {
|
|
17
|
+
transform: translate(0, 0);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&-exit-active {
|
|
21
|
+
transform: translate(100%, 0);
|
|
22
|
+
transition: transform 300ms ease-in-out;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.k-push-left {
|
|
27
|
+
&-enter,
|
|
28
|
+
&-appear {
|
|
29
|
+
transform: translate(100%, 0);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-enter-active,
|
|
33
|
+
&-appear-active {
|
|
34
|
+
transform: translate(0, 0);
|
|
35
|
+
transition: transform 300ms ease-in-out;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&-exit {
|
|
39
|
+
transform: translate(0, 0);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&-exit-active {
|
|
43
|
+
transform: translate(-100%, 0);
|
|
44
|
+
transition: transform 300ms ease-in-out;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.k-push-down {
|
|
49
|
+
&-enter,
|
|
50
|
+
&-appear {
|
|
51
|
+
transform: translate(0, -100%);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&-enter-active,
|
|
55
|
+
&-appear-active {
|
|
56
|
+
transform: translate(0, 0);
|
|
57
|
+
transition: transform 300ms ease-in-out;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&-exit {
|
|
61
|
+
transform: translate(0, 0);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&-exit-active {
|
|
65
|
+
transform: translate(0, 100%);
|
|
66
|
+
transition: transform 300ms ease-in-out;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.k-push-up {
|
|
71
|
+
&-enter,
|
|
72
|
+
&-appear {
|
|
73
|
+
transform: translate(0, 100%);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&-enter-active,
|
|
77
|
+
&-appear-active {
|
|
78
|
+
transform: translate(0, 0);
|
|
79
|
+
transition: transform 300ms ease-in-out;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&-exit {
|
|
83
|
+
transform: translate(0, 0);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&-exit-active {
|
|
87
|
+
transform: translate(0, -100%);
|
|
88
|
+
transition: transform 300ms ease-in-out;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.k-expand-vertical {
|
|
93
|
+
&-enter,
|
|
94
|
+
&-appear {
|
|
95
|
+
transform: scaleY(0);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&-enter-active,
|
|
99
|
+
&-appear-active {
|
|
100
|
+
transform: scaleY(1);
|
|
101
|
+
transition: transform 300ms ease-in-out;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&-exit {
|
|
105
|
+
transform: scaleY(1);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&-exit-active {
|
|
109
|
+
transform: scaleY(0);
|
|
110
|
+
transition: transform 300ms ease-in-out;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.k-expand-horizontal {
|
|
115
|
+
&-enter,
|
|
116
|
+
&-appear {
|
|
117
|
+
transform: scaleX(0);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&-enter-active,
|
|
121
|
+
&-appear-active {
|
|
122
|
+
transform: scaleX(1);
|
|
123
|
+
transition: transform 300ms ease-in-out;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&-exit {
|
|
127
|
+
transform: scaleX(1);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&-exit-active {
|
|
131
|
+
transform: scaleX(0);
|
|
132
|
+
transition: transform 300ms ease-in-out;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.k-fade {
|
|
137
|
+
&-enter,
|
|
138
|
+
&-appear {
|
|
139
|
+
opacity: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&-enter-active,
|
|
143
|
+
&-appear-active {
|
|
144
|
+
opacity: 1;
|
|
145
|
+
transition: opacity 500ms ease-in-out;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&-exit {
|
|
149
|
+
opacity: 1;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&-exit-active {
|
|
153
|
+
opacity: 0;
|
|
154
|
+
transition: opacity 500ms ease-in-out;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&-exit-active + &-exit-active,
|
|
158
|
+
&-enter-active + &-enter-active {
|
|
159
|
+
display: none;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.k-zoom-in {
|
|
164
|
+
&-enter,
|
|
165
|
+
&-appear {
|
|
166
|
+
opacity: 0;
|
|
167
|
+
transform: scale(0);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&-enter-active,
|
|
171
|
+
&-appear-active {
|
|
172
|
+
opacity: 1;
|
|
173
|
+
transform: scale(1);
|
|
174
|
+
transition: transform, opacity 300ms ease-in-out;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
&-exit {
|
|
178
|
+
opacity: 1;
|
|
179
|
+
transform: scale(1);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&-exit-active {
|
|
183
|
+
opacity: 0;
|
|
184
|
+
transform: scale(2);
|
|
185
|
+
transition: transform, opacity 300ms ease-in-out;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.k-zoom-out {
|
|
190
|
+
&-enter,
|
|
191
|
+
&-appear {
|
|
192
|
+
opacity: 0;
|
|
193
|
+
transform: scale(2);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
&-enter-active,
|
|
197
|
+
&-appear-active {
|
|
198
|
+
opacity: 1;
|
|
199
|
+
transform: scale(1);
|
|
200
|
+
transition: transform, opacity 300ms ease-in-out;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
&-exit {
|
|
204
|
+
opacity: 1;
|
|
205
|
+
transform: scale(1);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&-exit-active {
|
|
209
|
+
opacity: 0;
|
|
210
|
+
transform: scale(0);
|
|
211
|
+
transition: transform, opacity 300ms ease-in-out;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.k-slide-in {
|
|
216
|
+
&-appear {
|
|
217
|
+
opacity: .1;
|
|
218
|
+
transform: translate(0, -3em);
|
|
219
|
+
|
|
220
|
+
.k-centered {
|
|
221
|
+
transform: translate(-50%, -60%);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
&-appear-active {
|
|
226
|
+
opacity: 1;
|
|
227
|
+
transform: translate(0, 0);
|
|
228
|
+
transition: transform .3s cubic-bezier(.2, .6, .4, 1), opacity .3s cubic-bezier(.2, 1, .2, 1);
|
|
229
|
+
|
|
230
|
+
.k-centered {
|
|
231
|
+
transform: translate(-50%, -50%);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.k-slide-down {
|
|
237
|
+
&-enter,
|
|
238
|
+
&-appear {
|
|
239
|
+
transform: translateY(-100%);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
&-enter-active,
|
|
243
|
+
&-appear-active {
|
|
244
|
+
transform: translateY(0);
|
|
245
|
+
transition: transform 300ms ease-in-out;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&-exit {
|
|
249
|
+
transform: translateY(0);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
&-exit-active {
|
|
253
|
+
transform: translateY(-100%);
|
|
254
|
+
transition: transform 300ms ease-in-out;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.k-slide-up {
|
|
259
|
+
&-enter,
|
|
260
|
+
&-appear {
|
|
261
|
+
transform: translateY(100%);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
&-enter-active,
|
|
265
|
+
&-appear-active {
|
|
266
|
+
transform: translateY(0);
|
|
267
|
+
transition: transform 300ms ease-in-out;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
&-exit {
|
|
271
|
+
transform: translateY(0);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
&-exit-active {
|
|
275
|
+
transform: translateY(100%);
|
|
276
|
+
transition: transform 300ms ease-in-out;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.k-slide-right {
|
|
281
|
+
&-enter,
|
|
282
|
+
&-appear {
|
|
283
|
+
transform: translateX(-100%);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
&-enter-active,
|
|
287
|
+
&-appear-active {
|
|
288
|
+
transform: translateX(0);
|
|
289
|
+
transition: transform 300ms ease-in-out;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
&-exit {
|
|
293
|
+
transform: translateX(0);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
&-exit-active {
|
|
297
|
+
transform: translateX(-100%);
|
|
298
|
+
transition: transform 300ms ease-in-out;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.k-slide-left {
|
|
303
|
+
&-enter,
|
|
304
|
+
&-appear {
|
|
305
|
+
transform: translateX(100%);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
&-enter-active,
|
|
309
|
+
&-appear-active {
|
|
310
|
+
transform: translateX(0);
|
|
311
|
+
transition: transform 300ms ease-in-out;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
&-exit {
|
|
315
|
+
transform: translateX(0);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
&-exit-active {
|
|
319
|
+
transform: translateX(100%);
|
|
320
|
+
transition: transform 300ms ease-in-out;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.k-reveal-vertical {
|
|
325
|
+
&-enter,
|
|
326
|
+
&-appear {
|
|
327
|
+
max-height: 0;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&-enter-active,
|
|
331
|
+
&-appear-active {
|
|
332
|
+
transition: max-height 300ms ease-in-out;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
&-exit-active {
|
|
336
|
+
// override any max-height set to element to allow animation
|
|
337
|
+
max-height: 0 !important; // stylelint-disable-line declaration-no-important
|
|
338
|
+
transition: max-height 300ms ease-in-out;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.k-reveal-horizontal {
|
|
343
|
+
&-enter,
|
|
344
|
+
&-appear {
|
|
345
|
+
max-width: 0;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
&-enter-active,
|
|
349
|
+
&-appear-active {
|
|
350
|
+
transition: max-width 300ms ease-in-out;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
&-exit-active {
|
|
354
|
+
// override any max-height set to element to allow animation
|
|
355
|
+
max-width: 0 !important; // stylelint-disable-line declaration-no-important
|
|
356
|
+
transition: max-width 300ms ease-in-out;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
// FX
|
|
362
|
+
$fx-duration: 350ms;
|
|
363
|
+
|
|
364
|
+
.k-fx-end .k-fx-next,
|
|
365
|
+
.k-fx-end .k-fx-current {
|
|
366
|
+
transition: all $fx-duration ease-out;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.k-fx {
|
|
370
|
+
position: relative;
|
|
371
|
+
|
|
372
|
+
.k-fx-current {
|
|
373
|
+
z-index: 0;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.k-fx-next {
|
|
377
|
+
z-index: 1;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.k-fx-hidden,
|
|
382
|
+
.k-fx-hidden * {
|
|
383
|
+
visibility: hidden !important; // stylelint-disable-line declaration-no-important
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.k-fx-reverse {
|
|
387
|
+
.k-fx-current {
|
|
388
|
+
z-index: 1;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.k-fx-next {
|
|
392
|
+
z-index: 0;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
// Zoom
|
|
397
|
+
// stylelint-disable declaration-no-important
|
|
398
|
+
.k-fx-zoom {
|
|
399
|
+
&.k-fx-start .k-fx-next {
|
|
400
|
+
transform: scale(0) !important;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
&.k-fx-end .k-fx-next {
|
|
404
|
+
transform: scale(1) !important;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
&.k-fx-reverse {
|
|
408
|
+
&.k-fx-start .k-fx-next,
|
|
409
|
+
&.k-fx-end .k-fx-next {
|
|
410
|
+
transform: scale(1) !important;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
&.k-fx-start .k-fx-current {
|
|
414
|
+
transform: scale(1) !important;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
&.k-fx-end .k-fx-current {
|
|
418
|
+
transform: scale(0) !important;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
// stylelint-enable declaration-no-important
|
|
423
|
+
|
|
424
|
+
// Fade
|
|
425
|
+
.k-fx-fade {
|
|
426
|
+
&.k-fx-start .k-fx-next {
|
|
427
|
+
will-change: opacity;
|
|
428
|
+
opacity: 0;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
&.k-fx-end .k-fx-next {
|
|
432
|
+
opacity: 1;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
&.k-fx-reverse {
|
|
436
|
+
&.k-fx-start .k-fx-current {
|
|
437
|
+
will-change: opacity;
|
|
438
|
+
opacity: 1;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
&.k-fx-end .k-fx-current {
|
|
442
|
+
opacity: 0;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
// Slide
|
|
448
|
+
.k-fx-slide {
|
|
449
|
+
&.k-fx-end .k-fx-next .k-content,
|
|
450
|
+
&.k-fx-end .k-fx-next .k-header,
|
|
451
|
+
&.k-fx-end .k-fx-next .k-footer,
|
|
452
|
+
&.k-fx-end .k-fx-current .k-content,
|
|
453
|
+
&.k-fx-end .k-fx-current .k-header,
|
|
454
|
+
&.k-fx-end .k-fx-current .k-footer,
|
|
455
|
+
&.k-fx-end .k-fx-next .km-content,
|
|
456
|
+
&.k-fx-end .k-fx-next .km-header,
|
|
457
|
+
&.k-fx-end .k-fx-next .km-footer,
|
|
458
|
+
&.k-fx-end .k-fx-current .km-content,
|
|
459
|
+
&.k-fx-end .k-fx-current .km-header,
|
|
460
|
+
&.k-fx-end .k-fx-current .km-footer {
|
|
461
|
+
transition: all $fx-duration ease-out;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
// left
|
|
465
|
+
&.k-fx-start .k-fx-next .k-content,
|
|
466
|
+
&.k-fx-start .k-fx-next .km-content {
|
|
467
|
+
will-change: transform;
|
|
468
|
+
transform: translateX(100%);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
&.k-fx-start .k-fx-next .k-header,
|
|
472
|
+
&.k-fx-start .k-fx-next .k-footer,
|
|
473
|
+
&.k-fx-start .k-fx-next .km-header,
|
|
474
|
+
&.k-fx-start .k-fx-next .km-footer {
|
|
475
|
+
will-change: opacity;
|
|
476
|
+
opacity: 0;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
&.k-fx-end .k-fx-current .k-content,
|
|
480
|
+
&.k-fx-end .k-fx-current .km-content {
|
|
481
|
+
transform: translateX(-100%);
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
&.k-fx-end .k-fx-next .k-header,
|
|
485
|
+
&.k-fx-end .k-fx-next .k-footer,
|
|
486
|
+
&.k-fx-end .k-fx-next .km-header,
|
|
487
|
+
&.k-fx-end .k-fx-next .km-footer {
|
|
488
|
+
opacity: 1;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
// left reverse
|
|
492
|
+
&.k-fx-reverse {
|
|
493
|
+
&.k-fx-start .k-fx-current .k-content,
|
|
494
|
+
&.k-fx-start .k-fx-current .km-content {
|
|
495
|
+
will-change: transform;
|
|
496
|
+
transform: translateX(0);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
&.k-fx-end .k-fx-current .k-content,
|
|
500
|
+
&.k-fx-end .k-fx-current .km-content {
|
|
501
|
+
transform: translateX(100%);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
&.k-fx-start .k-fx-next .k-content,
|
|
505
|
+
&.k-fx-start .k-fx-next .km-content {
|
|
506
|
+
transform: translateX(-100%);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
&.k-fx-end .k-fx-next .k-content,
|
|
510
|
+
&.k-fx-end .k-fx-next .km-content {
|
|
511
|
+
transform: translateX(0);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
&.k-fx-start .k-fx-current .k-header,
|
|
515
|
+
&.k-fx-start .k-fx-current .k-footer,
|
|
516
|
+
&.k-fx-start .k-fx-current .km-header,
|
|
517
|
+
&.k-fx-start .k-fx-current .km-footer {
|
|
518
|
+
will-change: opacity;
|
|
519
|
+
opacity: 1;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
&.k-fx-start .k-fx-next .k-header,
|
|
523
|
+
&.k-fx-start .k-fx-next .k-footer,
|
|
524
|
+
&.k-fx-start .k-fx-next .km-header,
|
|
525
|
+
&.k-fx-start .k-fx-next .km-footer {
|
|
526
|
+
opacity: 1;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
&.k-fx-end .k-fx-current .k-header,
|
|
530
|
+
&.k-fx-end .k-fx-current .k-footer,
|
|
531
|
+
&.k-fx-end .k-fx-current .km-header,
|
|
532
|
+
&.k-fx-end .k-fx-current .km-footer {
|
|
533
|
+
opacity: 0;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
&.k-fx-end .k-fx-next .k-header,
|
|
537
|
+
&.k-fx-end .k-fx-next .k-footer,
|
|
538
|
+
&.k-fx-end .k-fx-next .km-header,
|
|
539
|
+
&.k-fx-end .k-fx-next .km-footer {
|
|
540
|
+
opacity: 1;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
// right
|
|
545
|
+
&.k-fx-right {
|
|
546
|
+
&.k-fx-start .k-fx-next .k-content,
|
|
547
|
+
&.k-fx-start .k-fx-next .km-content {
|
|
548
|
+
transform: translateX(-100%);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
&.k-fx-end .k-fx-current .k-content,
|
|
552
|
+
&.k-fx-end .k-fx-current .km-content {
|
|
553
|
+
transform: translateX(100%);
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
// right reverse
|
|
557
|
+
&.k-fx-reverse {
|
|
558
|
+
&.k-fx-start .k-fx-current .k-content,
|
|
559
|
+
&.k-fx-start .k-fx-current .km-content {
|
|
560
|
+
transform: translateX(0);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
&.k-fx-end .k-fx-current .k-content,
|
|
564
|
+
&.k-fx-end .k-fx-current .km-content {
|
|
565
|
+
transform: translateX(-100%);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
&.k-fx-start .k-fx-next .k-content,
|
|
569
|
+
&.k-fx-start .k-fx-next .km-content {
|
|
570
|
+
transform: translateX(100%);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
&.k-fx-end .k-fx-next .k-content,
|
|
574
|
+
&.k-fx-end .k-fx-next .km-content {
|
|
575
|
+
transform: translateX(0%);
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
// Tile
|
|
582
|
+
.k-fx-tile {
|
|
583
|
+
// left
|
|
584
|
+
&.k-fx-start .k-fx-next {
|
|
585
|
+
will-change: transform;
|
|
586
|
+
transform: translateX(100%);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
&.k-fx-end .k-fx-current {
|
|
590
|
+
transform: translateX(-100%);
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
// left reverse
|
|
594
|
+
&.k-fx-reverse {
|
|
595
|
+
&.k-fx-start .k-fx-current {
|
|
596
|
+
will-change: transform;
|
|
597
|
+
transform: translateX(0);
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
&.k-fx-end .k-fx-current {
|
|
601
|
+
transform: translateX(100%);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
&.k-fx-start .k-fx-next {
|
|
605
|
+
transform: translateX(-100%);
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
&.k-fx-end .k-fx-next {
|
|
609
|
+
transform: translateX(0);
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
// right
|
|
614
|
+
&.k-fx-right {
|
|
615
|
+
&.k-fx-start .k-fx-next {
|
|
616
|
+
transform: translateX(-100%);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
&.k-fx-end .k-fx-current {
|
|
620
|
+
transform: translateX(100%);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
// right reverse
|
|
624
|
+
&.k-fx-reverse {
|
|
625
|
+
&.k-fx-start .k-fx-current {
|
|
626
|
+
transform: translateX(0);
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
&.k-fx-end .k-fx-current {
|
|
630
|
+
transform: translateX(-100%);
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
&.k-fx-start .k-fx-next {
|
|
634
|
+
transform: translateX(100%);
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
&.k-fx-end .k-fx-next {
|
|
638
|
+
transform: translateX(0%);
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
// Overlay
|
|
645
|
+
.k-fx.k-fx-overlay {
|
|
646
|
+
&.k-fx-start .k-fx-next,
|
|
647
|
+
&.k-fx-left.k-fx-start .k-fx-next {
|
|
648
|
+
will-change: transform;
|
|
649
|
+
transform: translateX(100%);
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
&.k-fx-right.k-fx-start .k-fx-next {
|
|
653
|
+
transform: translateX(-100%);
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
&.k-fx-up.k-fx-start .k-fx-next {
|
|
657
|
+
transform: translateY(100%);
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
&.k-fx-down.k-fx-start .k-fx-next {
|
|
661
|
+
transform: translateY(-100%);
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
&.k-fx-reverse {
|
|
665
|
+
&.k-fx-start .k-fx-next {
|
|
666
|
+
transform: none;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
&.k-fx-start .k-fx-current {
|
|
670
|
+
will-change: transform;
|
|
671
|
+
transform: none;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
&.k-fx-end .k-fx-current,
|
|
675
|
+
&.k-fx-left.k-fx-end .k-fx-current {
|
|
676
|
+
transform: translateX(100%);
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
&.k-fx-right.k-fx-end .k-fx-current {
|
|
680
|
+
transform: translateX(-100%);
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
&.k-fx-up.k-fx-end .k-fx-current {
|
|
684
|
+
transform: translateY(100%);
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
&.k-fx-down.k-fx-end .k-fx-current {
|
|
688
|
+
transform: translateY(-100%);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
}
|
package/scss/styles/_base.scss
CHANGED
|
@@ -1,17 +1,30 @@
|
|
|
1
1
|
@mixin kendo-core--styles--base() {
|
|
2
|
+
|
|
2
3
|
// Disabled state
|
|
3
4
|
.k-disabled,
|
|
4
5
|
.k-widget[disabled],
|
|
5
6
|
.k-disabled {
|
|
6
|
-
@include disabled
|
|
7
|
-
$color: var( --kendo-disabled-text,
|
|
8
|
-
$
|
|
7
|
+
@include disabled(
|
|
8
|
+
$color: var( --kendo-disabled-text, #{$kendo-disabled-text}),
|
|
9
|
+
$bg: var( --kendo-disabled-bg, #{$kendo-disabled-bg}),
|
|
10
|
+
$border: var( --kendo-disabled-border, #{$kendo-disabled-border}),
|
|
11
|
+
$opacity: var( --kendo-disabled-opacity, #{$kendo-disabled-opacity}),
|
|
12
|
+
$filter: var( --kendo-disabled-filter, #{$kendo-disabled-filter})
|
|
9
13
|
);
|
|
10
14
|
|
|
11
15
|
.k-link {
|
|
12
16
|
cursor: default;
|
|
13
17
|
outline: 0;
|
|
14
18
|
}
|
|
19
|
+
|
|
20
|
+
// Nested disabled
|
|
21
|
+
[disabled],
|
|
22
|
+
.k-disabled {
|
|
23
|
+
@if $kendo-nested-disabled {
|
|
24
|
+
--kendo-disabled-opacity: 1;
|
|
25
|
+
--kendo-disabled-filter: grayscale(0);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
15
28
|
}
|
|
16
29
|
|
|
17
30
|
// Horizontal line
|
|
@@ -21,7 +34,7 @@
|
|
|
21
34
|
height: 0;
|
|
22
35
|
border-width: 1px 0 0;
|
|
23
36
|
border-style: solid;
|
|
24
|
-
border-color: var( --kendo-component-border,
|
|
37
|
+
border-color: var( --kendo-component-border, #{$kendo-component-border} );
|
|
25
38
|
display: block;
|
|
26
39
|
float: none;
|
|
27
40
|
clear: both;
|