@progress/kendo-theme-core 13.0.0-dev.0 → 13.0.0-dev.2
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 +1 -1
- package/dist/meta/sassdoc-data.json +186 -72
- package/dist/meta/sassdoc-raw-data.json +82 -32
- package/dist/meta/variables.json +10 -8
- package/package.json +2 -2
- package/scss/components/bubble/_layout.scss +1 -2
- package/scss/components/chat/_layout.scss +87 -131
- package/scss/components/chat/_theme.scss +25 -16
- package/scss/components/chat/_variables.scss +12 -18
- package/scss/components/dropdowntree/_layout.scss +7 -7
- package/scss/components/dropdowntree/_variables.scss +3 -0
- package/scss/components/file-box/_layout.scss +122 -0
- package/scss/components/file-box/_theme.scss +22 -0
- package/scss/components/file-box/_variables.scss +19 -0
- package/scss/components/grid/_layout.scss +43 -0
- package/scss/components/grid/_theme.scss +9 -0
- package/scss/components/grid/_variables.scss +4 -0
- package/scss/components/icons/_theme.scss +7 -1
- package/scss/components/icons/_variables.scss +2 -0
- package/scss/components/list/_layout.scss +63 -3
- package/scss/components/list/_theme.scss +8 -0
- package/scss/components/list/_variables.scss +11 -0
- package/scss/components/prompt-box/_layout.scss +63 -0
- package/scss/components/prompt-box/_theme.scss +7 -0
- package/scss/components/prompt-box/_variables.scss +11 -0
- package/scss/components/segmented-control/_layout.scss +85 -0
- package/scss/components/segmented-control/_theme.scss +38 -0
- package/scss/components/segmented-control/_variables.scss +73 -0
- package/scss/components/smart-box/_layout.scss +85 -0
- package/scss/components/smart-box/_theme.scss +5 -0
- package/scss/components/smart-box/_variables.scss +40 -0
- package/scss/components/spreadsheet/_layout.scss +1 -0
- package/scss/components/suggestion/_layout.scss +33 -11
- package/scss/components/suggestion/_theme.scss +23 -0
- package/scss/components/suggestion/_variables.scss +3 -0
- package/scss/components/tabstrip/_layout.scss +30 -0
- package/scss/components/tabstrip/_theme.scss +8 -0
- package/scss/components/toolbar/_layout.scss +3 -0
- package/scss/components/toolbar/_variables.scss +1 -0
- package/scss/components/treeview/_layout.scss +14 -10
- package/scss/components/treeview/_theme.scss +7 -6
- package/scss/components/treeview/_variables.scss +4 -0
- package/scss/elevation/index.scss +1 -2
- package/scss/motion/index.scss +1 -0
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
@use "../toolbar/_variables.scss" as *;
|
|
8
8
|
@use "../bubble/_variables.scss" as *;
|
|
9
9
|
@use "../button/_variables.scss" as *;
|
|
10
|
+
@use "../file-box/_variables.scss" as *;
|
|
10
11
|
|
|
11
12
|
@mixin kendo-chat--layout-base() {
|
|
12
13
|
|
|
@@ -28,17 +29,19 @@
|
|
|
28
29
|
-webkit-touch-callout: none;
|
|
29
30
|
-webkit-tap-highlight-color: $kendo-color-rgba-transparent;
|
|
30
31
|
|
|
31
|
-
.k-
|
|
32
|
-
|
|
33
|
-
min-width: $kendo-chat-file-min-width;
|
|
34
|
-
max-width: $kendo-chat-file-max-width;
|
|
35
|
-
flex-shrink: 0;
|
|
32
|
+
.k-suggestion {
|
|
33
|
+
font-size: var(--kendo-font-size-sm, inherit);
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
36
|
|
|
39
37
|
// Chat header
|
|
40
38
|
.k-chat-header {
|
|
41
39
|
flex-shrink: 0;
|
|
40
|
+
width: 100%;
|
|
41
|
+
position: sticky;
|
|
42
|
+
z-index: k-z-index("banner");
|
|
43
|
+
border-inline-width: 0;
|
|
44
|
+
border-block-start-width: 0;
|
|
42
45
|
}
|
|
43
46
|
|
|
44
47
|
// Message list
|
|
@@ -53,7 +56,7 @@
|
|
|
53
56
|
}
|
|
54
57
|
|
|
55
58
|
.k-message-list-content {
|
|
56
|
-
padding-block: $kendo-chat-message-list-padding-y
|
|
59
|
+
padding-block: $kendo-chat-message-list-padding-y;
|
|
57
60
|
padding-inline: $kendo-chat-message-list-padding-x;
|
|
58
61
|
width: 100%;
|
|
59
62
|
box-sizing: border-box;
|
|
@@ -91,27 +94,16 @@
|
|
|
91
94
|
}
|
|
92
95
|
|
|
93
96
|
.k-avatar {
|
|
94
|
-
align-self: flex-
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Add margin to the avatar and user status when the last message is selected
|
|
98
|
-
// so that the avatar is aligned to the bubble and not to the status
|
|
99
|
-
&:has(.k-message-group-content .k-message:last-child .k-chat-bubble.k-selected + .k-message-status) .k-avatar {
|
|
100
|
-
&,
|
|
101
|
-
+ .k-chat-user-status {
|
|
102
|
-
margin-block-end: calc($kendo-chat-message-meta-line-height * $kendo-chat-message-meta-font-size + $kendo-chat-bubble-spacing);
|
|
103
|
-
transition: margin k-transition(fade-out);
|
|
104
|
-
}
|
|
97
|
+
align-self: flex-start;
|
|
105
98
|
}
|
|
106
99
|
|
|
107
|
-
.k-
|
|
108
|
-
|
|
109
|
-
overflow: hidden;
|
|
100
|
+
&:has(.k-message-author) .k-avatar {
|
|
101
|
+
margin-block-start: calc( #{$kendo-chat-author-font-size} * #{$kendo-chat-author-line-height} + $kendo-chat-bubble-spacing );
|
|
110
102
|
}
|
|
111
103
|
|
|
112
104
|
> .k-chat-user-status-wrapper {
|
|
113
105
|
position: relative;
|
|
114
|
-
align-self: flex-
|
|
106
|
+
align-self: flex-start;
|
|
115
107
|
overflow: hidden;
|
|
116
108
|
}
|
|
117
109
|
|
|
@@ -149,7 +141,7 @@
|
|
|
149
141
|
.k-chat-download-button-wrapper {
|
|
150
142
|
width: 100%;
|
|
151
143
|
box-sizing: border-box;
|
|
152
|
-
border-radius: 0 0 $kendo-
|
|
144
|
+
border-radius: 0 0 $kendo-file-box-border-radius $kendo-file-box-border-radius;
|
|
153
145
|
text-align: start;
|
|
154
146
|
}
|
|
155
147
|
|
|
@@ -165,24 +157,29 @@
|
|
|
165
157
|
align-items: flex-end;
|
|
166
158
|
}
|
|
167
159
|
|
|
168
|
-
.k-message-
|
|
169
|
-
|
|
160
|
+
.k-message-info {
|
|
161
|
+
justify-content: flex-end;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.k-message-time {
|
|
165
|
+
order: -1;
|
|
170
166
|
}
|
|
171
167
|
|
|
172
168
|
.k-message:has(+.k-message) .k-chat-bubble {
|
|
173
|
-
border-end-end-radius:
|
|
169
|
+
border-end-end-radius: $kendo-sequential-messages-border-radius;
|
|
174
170
|
border-end-start-radius: $kendo-bubble-border-radius;
|
|
171
|
+
border-start-end-radius: $kendo-sequential-messages-border-radius;
|
|
172
|
+
border-start-start-radius: $kendo-bubble-border-radius;
|
|
175
173
|
}
|
|
176
174
|
|
|
177
175
|
.k-message + .k-message .k-chat-bubble {
|
|
178
|
-
border-start-end-radius:
|
|
176
|
+
border-start-end-radius: $kendo-sequential-messages-border-radius;
|
|
179
177
|
border-start-start-radius: $kendo-bubble-border-radius;
|
|
180
178
|
border-end-start-radius: $kendo-bubble-border-radius;
|
|
181
179
|
}
|
|
182
180
|
|
|
183
181
|
.k-message:last-of-type .k-chat-bubble {
|
|
184
182
|
border-end-start-radius: $kendo-bubble-border-radius;
|
|
185
|
-
border-end-end-radius: $kendo-bubble-border-radius-sm;
|
|
186
183
|
border-start-start-radius: $kendo-bubble-border-radius;
|
|
187
184
|
}
|
|
188
185
|
}
|
|
@@ -207,16 +204,27 @@
|
|
|
207
204
|
}
|
|
208
205
|
|
|
209
206
|
&:has(+.k-message) .k-chat-bubble {
|
|
210
|
-
border-end-start-radius:
|
|
207
|
+
border-end-start-radius: $kendo-sequential-messages-border-radius;
|
|
208
|
+
border-start-start-radius: $kendo-sequential-messages-border-radius;
|
|
211
209
|
}
|
|
212
210
|
|
|
213
211
|
& + .k-message .k-chat-bubble {
|
|
214
|
-
border-start-start-radius:
|
|
215
|
-
border-end-start-radius: 0;
|
|
212
|
+
border-start-start-radius: $kendo-sequential-messages-border-radius;
|
|
216
213
|
}
|
|
217
214
|
|
|
218
|
-
|
|
219
|
-
|
|
215
|
+
.k-file-box-wrapper {
|
|
216
|
+
padding: 0;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// Failed message
|
|
221
|
+
.k-message-failed {
|
|
222
|
+
flex-flow: row wrap;
|
|
223
|
+
align-items: center;
|
|
224
|
+
justify-content: flex-end;
|
|
225
|
+
|
|
226
|
+
.k-bubble {
|
|
227
|
+
max-width: calc(100% - #{$kendo-button-md-inner-calc-size});
|
|
220
228
|
}
|
|
221
229
|
}
|
|
222
230
|
|
|
@@ -270,15 +278,32 @@
|
|
|
270
278
|
}
|
|
271
279
|
|
|
272
280
|
// Message meta
|
|
281
|
+
.k-message-info {
|
|
282
|
+
display: flex;
|
|
283
|
+
width: 100%;
|
|
284
|
+
justify-content: flex-start;
|
|
285
|
+
gap: k-spacing(1);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.k-message .k-selected + .k-message-info,
|
|
289
|
+
.k-message:has(.k-message-failed-content) .k-message-info {
|
|
290
|
+
margin-block-start: k-spacing(1);
|
|
291
|
+
}
|
|
292
|
+
|
|
273
293
|
.k-message-time,
|
|
274
|
-
.k-message-status
|
|
294
|
+
.k-message-status,
|
|
295
|
+
.k-message-failed-content {
|
|
275
296
|
font-size: $kendo-chat-message-meta-font-size;
|
|
276
297
|
line-height: $kendo-chat-message-meta-line-height;
|
|
277
298
|
white-space: nowrap;
|
|
278
299
|
pointer-events: none;
|
|
300
|
+
overflow: hidden;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.k-message-time,
|
|
304
|
+
.k-message-status {
|
|
279
305
|
transition: height k-transition(fade-out);
|
|
280
306
|
height: 0;
|
|
281
|
-
overflow: hidden;
|
|
282
307
|
}
|
|
283
308
|
|
|
284
309
|
.k-message-time {
|
|
@@ -288,7 +313,13 @@
|
|
|
288
313
|
.k-message-status {
|
|
289
314
|
display: inline-flex;
|
|
290
315
|
align-items: center;
|
|
291
|
-
gap: $kendo-chat-message-status-gap;
|
|
316
|
+
gap: calc( #{$kendo-chat-message-status-gap} / 2);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.k-message-failed-content {
|
|
320
|
+
display: flex;
|
|
321
|
+
align-items: center;
|
|
322
|
+
gap: k-spacing(1);
|
|
292
323
|
}
|
|
293
324
|
|
|
294
325
|
// Bubble
|
|
@@ -386,6 +417,10 @@
|
|
|
386
417
|
}
|
|
387
418
|
|
|
388
419
|
.k-message-pinned {
|
|
420
|
+
position: sticky;
|
|
421
|
+
top: 0;
|
|
422
|
+
z-index: k-z-index("banner");
|
|
423
|
+
width: 100%;
|
|
389
424
|
border-block-end-width: $kendo-chat-message-pinned-border-width;
|
|
390
425
|
border-block-end-style: $kendo-chat-message-pinned-border-style;
|
|
391
426
|
cursor: pointer;
|
|
@@ -397,7 +432,7 @@
|
|
|
397
432
|
|
|
398
433
|
// Author
|
|
399
434
|
.k-message-author {
|
|
400
|
-
margin-block-end:
|
|
435
|
+
margin-block-end: $kendo-chat-bubble-spacing;
|
|
401
436
|
font-size: $kendo-chat-author-font-size;
|
|
402
437
|
line-height: $kendo-chat-author-line-height;
|
|
403
438
|
font-weight: bold;
|
|
@@ -417,14 +452,7 @@
|
|
|
417
452
|
.k-timestamp {
|
|
418
453
|
text-transform: $kendo-chat-timestamp-transform;
|
|
419
454
|
align-self: stretch;
|
|
420
|
-
|
|
421
|
-
&::before,
|
|
422
|
-
&::after {
|
|
423
|
-
display: inline-flex;
|
|
424
|
-
content: "";
|
|
425
|
-
height: 1px;
|
|
426
|
-
flex: 1;
|
|
427
|
-
}
|
|
455
|
+
align-self: center;
|
|
428
456
|
}
|
|
429
457
|
|
|
430
458
|
// Events
|
|
@@ -438,13 +466,7 @@
|
|
|
438
466
|
padding-block: calc( #{$kendo-chat-padding-y} / 2 ) $kendo-chat-padding-y;
|
|
439
467
|
display: flex;
|
|
440
468
|
flex-direction: column;
|
|
441
|
-
gap: $kendo-chat-
|
|
442
|
-
|
|
443
|
-
.k-chat-file-wrapper {
|
|
444
|
-
flex-flow: row nowrap;
|
|
445
|
-
overflow-x: auto;
|
|
446
|
-
scrollbar-width: none;
|
|
447
|
-
}
|
|
469
|
+
gap: $kendo-chat-message-box-wrapper-spacing;
|
|
448
470
|
}
|
|
449
471
|
|
|
450
472
|
// Message box
|
|
@@ -479,86 +501,6 @@
|
|
|
479
501
|
}
|
|
480
502
|
}
|
|
481
503
|
|
|
482
|
-
.k-chat-file-wrapper {
|
|
483
|
-
display: flex;
|
|
484
|
-
flex-flow: column wrap;
|
|
485
|
-
flex-shrink: 0;
|
|
486
|
-
padding-inline: $kendo-chat-file-padding-x;
|
|
487
|
-
padding-block: $kendo-chat-file-padding-y;
|
|
488
|
-
margin: 0;
|
|
489
|
-
gap: $kendo-chat-file-gap;
|
|
490
|
-
box-sizing: border-box;
|
|
491
|
-
min-width: 0;
|
|
492
|
-
width: 100%;
|
|
493
|
-
max-width: 100%;
|
|
494
|
-
overflow: hidden;
|
|
495
|
-
|
|
496
|
-
&.k-chat-files-horizontal {
|
|
497
|
-
overflow-x: auto;
|
|
498
|
-
scrollbar-width: none;
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
.k-chat-files-horizontal,
|
|
503
|
-
.k-chat-files-wrap {
|
|
504
|
-
flex-direction: row;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
.k-chat-files-horizontal {
|
|
508
|
-
flex-wrap: nowrap;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
.k-chat-file {
|
|
512
|
-
display: flex;
|
|
513
|
-
align-items: center;
|
|
514
|
-
justify-content: space-between;
|
|
515
|
-
overflow: hidden;
|
|
516
|
-
box-sizing: border-box;
|
|
517
|
-
gap: $kendo-chat-file-gap;
|
|
518
|
-
border-width: $kendo-chat-file-border-width;
|
|
519
|
-
border-style: $kendo-chat-file-border-style;
|
|
520
|
-
padding-inline: $kendo-chat-file-padding-x;
|
|
521
|
-
padding-block: $kendo-chat-file-padding-y;
|
|
522
|
-
border-radius: $kendo-chat-file-border-radius;
|
|
523
|
-
min-width: 0;
|
|
524
|
-
|
|
525
|
-
>.k-icon {
|
|
526
|
-
flex-shrink: 0;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
.k-chat-file-info {
|
|
530
|
-
display: flex;
|
|
531
|
-
flex-direction: column;
|
|
532
|
-
align-items: flex-start;
|
|
533
|
-
text-align: start;
|
|
534
|
-
flex: 1;
|
|
535
|
-
overflow: hidden;
|
|
536
|
-
min-width: 0;
|
|
537
|
-
max-width: 100%;
|
|
538
|
-
text-overflow: ellipsis;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
.k-chat-file-name {
|
|
542
|
-
font-weight: bold;
|
|
543
|
-
font-size: $kendo-chat-file-name-font-size;
|
|
544
|
-
line-height: $kendo-chat-file-name-line-height;
|
|
545
|
-
width: 100%;
|
|
546
|
-
white-space: nowrap;
|
|
547
|
-
overflow: hidden;
|
|
548
|
-
text-overflow: ellipsis;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
.k-chat-file-size,
|
|
552
|
-
.k-chat-file-status {
|
|
553
|
-
font-size: $kendo-chat-file-size-font-size;
|
|
554
|
-
line-height: $kendo-chat-file-size-line-height;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
&.k-chat-file-deleted {
|
|
558
|
-
min-height: calc( #{$kendo-button-md-calc-size} + 2 * #{$kendo-chat-file-padding-y} + 2 * #{$kendo-chat-file-border-width});
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
|
|
562
504
|
.k-chat-file-download-wrapper {
|
|
563
505
|
display: flex;
|
|
564
506
|
flex-direction: column;
|
|
@@ -648,6 +590,20 @@
|
|
|
648
590
|
}
|
|
649
591
|
}
|
|
650
592
|
|
|
593
|
+
// Scroll to bottom container
|
|
594
|
+
.k-chat-scroll-to-bottom-container {
|
|
595
|
+
display: flex;
|
|
596
|
+
justify-content: center;
|
|
597
|
+
width: 100%;
|
|
598
|
+
box-sizing: border-box;
|
|
599
|
+
position: sticky;
|
|
600
|
+
bottom: k-spacing(4);
|
|
601
|
+
|
|
602
|
+
.k-fab {
|
|
603
|
+
position: static;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
|
|
651
607
|
// Upload
|
|
652
608
|
.k-chat-upload {
|
|
653
609
|
.k-external-dropzone {
|
|
@@ -62,6 +62,29 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
.k-message-failed .k-chat-bubble {
|
|
66
|
+
@include fill(
|
|
67
|
+
$kendo-chat-failed-bubble-text,
|
|
68
|
+
$kendo-chat-failed-bubble-bg,
|
|
69
|
+
$kendo-chat-failed-bubble-border
|
|
70
|
+
);
|
|
71
|
+
|
|
72
|
+
&:hover,
|
|
73
|
+
&.k-hover {
|
|
74
|
+
background-color: $kendo-chat-failed-bubble-hover-bg;
|
|
75
|
+
border-color: $kendo-chat-failed-bubble-border;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.k-selected {
|
|
79
|
+
background-color: $kendo-chat-failed-bubble-selected-bg;
|
|
80
|
+
border-color: $kendo-chat-failed-bubble-border;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.k-message-failed-content {
|
|
85
|
+
color: $kendo-chat-failed-content-color;
|
|
86
|
+
}
|
|
87
|
+
|
|
65
88
|
// Typing indicator
|
|
66
89
|
.k-typing-indicator {
|
|
67
90
|
@include fill(
|
|
@@ -70,33 +93,19 @@
|
|
|
70
93
|
}
|
|
71
94
|
|
|
72
95
|
// Chat attachment
|
|
73
|
-
.k-
|
|
74
|
-
background-color: $kendo-chat-file-bg;
|
|
75
|
-
color: $kendo-chat-file-text;
|
|
76
|
-
border-color: $kendo-chat-file-border;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.k-message-group-sender .k-chat-file {
|
|
96
|
+
.k-message-group-sender .k-file-box {
|
|
80
97
|
background-color: $kendo-chat-sender-file-bg;
|
|
81
98
|
color: $kendo-chat-sender-file-text;
|
|
82
99
|
border-color: $kendo-chat-sender-file-border;
|
|
83
100
|
}
|
|
84
101
|
|
|
85
|
-
// Attachment within Textarea prefix
|
|
86
|
-
.k-message-box-wrapper .k-chat-file {
|
|
87
|
-
@include fill(
|
|
88
|
-
$kendo-chat-file-text,
|
|
89
|
-
$kendo-chat-file-bg,
|
|
90
|
-
$kendo-chat-file-border
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
102
|
// Message reference
|
|
95
103
|
.k-message-reference {
|
|
96
104
|
@include fill(
|
|
97
105
|
$kendo-chat-message-reference-text,
|
|
98
106
|
$kendo-chat-message-reference-bg
|
|
99
107
|
);
|
|
108
|
+
backdrop-filter: blur(2px);
|
|
100
109
|
}
|
|
101
110
|
|
|
102
111
|
.k-message-reference-sender {
|
|
@@ -15,10 +15,14 @@ $kendo-chat-message-spacing: null !default;
|
|
|
15
15
|
$kendo-chat-message-max-width: null !default;
|
|
16
16
|
$kendo-chat-message-gap: null !default;
|
|
17
17
|
|
|
18
|
+
$kendo-sequential-messages-border-radius: null !default;
|
|
19
|
+
|
|
18
20
|
$kendo-chat-message-list-padding-x: null !default;
|
|
19
21
|
$kendo-chat-message-list-padding-y: null !default;
|
|
20
22
|
$kendo-chat-message-list-spacing: null !default;
|
|
21
23
|
|
|
24
|
+
$kendo-chat-message-box-wrapper-spacing: null !default;
|
|
25
|
+
|
|
22
26
|
$kendo-chat-status-min-size: null !default;
|
|
23
27
|
$kendo-chat-status-max-size: null !default;
|
|
24
28
|
$kendo-chat-message-status-gap: null !default;
|
|
@@ -61,25 +65,15 @@ $kendo-chat-alt-bubble-focus-bg: null !default;
|
|
|
61
65
|
$kendo-chat-alt-bubble-focus-border: null !default;
|
|
62
66
|
$kendo-chat-alt-bubble-focus-shadow: null !default;
|
|
63
67
|
|
|
64
|
-
$kendo-chat-
|
|
68
|
+
$kendo-chat-failed-bubble-text: null !default;
|
|
69
|
+
$kendo-chat-failed-bubble-bg: null !default;
|
|
70
|
+
$kendo-chat-failed-bubble-border: null !default;
|
|
71
|
+
$kendo-chat-failed-content-color: null !default;
|
|
65
72
|
|
|
66
|
-
$kendo-chat-
|
|
67
|
-
$kendo-chat-
|
|
68
|
-
|
|
69
|
-
$kendo-chat-
|
|
70
|
-
$kendo-chat-file-size-font-size: null !default;
|
|
71
|
-
$kendo-chat-file-size-line-height: null !default;
|
|
72
|
-
$kendo-chat-file-padding-x: null !default;
|
|
73
|
-
$kendo-chat-file-padding-y: null !default;
|
|
74
|
-
$kendo-chat-file-gap: null !default;
|
|
75
|
-
$kendo-chat-file-border-width: null !default;
|
|
76
|
-
$kendo-chat-file-border-style: null !default;
|
|
77
|
-
$kendo-chat-file-bg: null !default;
|
|
78
|
-
$kendo-chat-file-text: null !default;
|
|
79
|
-
$kendo-chat-file-border: null !default;
|
|
80
|
-
$kendo-chat-file-border-radius: null !default;
|
|
81
|
-
$kendo-chat-file-download-padding-x: null !default;
|
|
82
|
-
$kendo-chat-file-download-padding-y: null !default;
|
|
73
|
+
$kendo-chat-failed-bubble-hover-bg: null !default;
|
|
74
|
+
$kendo-chat-failed-bubble-selected-bg: null !default;
|
|
75
|
+
|
|
76
|
+
$kendo-chat-typing-indicator-text: null !default;
|
|
83
77
|
|
|
84
78
|
$kendo-chat-sender-file-bg: null !default;
|
|
85
79
|
$kendo-chat-sender-file-text: null !default;
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
.k-popup-dropdowntree, // remove legacy class once updated in components
|
|
10
10
|
.k-dropdowntree-popup,
|
|
11
11
|
.k-multiselecttree-popup {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
12
|
+
padding-block: $kendo-dropdowntree-popup-padding-y;
|
|
13
|
+
padding-inline: $kendo-dropdowntree-popup-padding-x;
|
|
14
|
+
overflow: hidden;
|
|
16
15
|
|
|
17
|
-
.k-check-all
|
|
18
|
-
|
|
19
|
-
padding-
|
|
16
|
+
.k-check-all,
|
|
17
|
+
.k-list-filter {
|
|
18
|
+
padding-block: $kendo-dropdowntree-check-all-padding-y;
|
|
19
|
+
padding-inline: $kendo-dropdowntree-check-all-padding-x;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
@use "./_variables.scss" as *;
|
|
2
|
+
@use "../../mixins/index.scss" as *;
|
|
3
|
+
@use "../../motion/index.scss" as *;
|
|
4
|
+
@use "../../spacing/index.scss" as *;
|
|
5
|
+
@use "../../z-index/index.scss" as *;
|
|
6
|
+
@use "../button/_variables.scss" as *;
|
|
7
|
+
|
|
8
|
+
@mixin kendo-file-box--layout-base() {
|
|
9
|
+
|
|
10
|
+
.k-file-box-wrapper {
|
|
11
|
+
position: relative;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-flow: row nowrap;
|
|
14
|
+
padding-inline: $kendo-file-box-padding-x;
|
|
15
|
+
padding-block: $kendo-file-box-padding-y;
|
|
16
|
+
margin: 0;
|
|
17
|
+
gap: $kendo-file-box-gap;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
min-width: 0;
|
|
20
|
+
width: 100%;
|
|
21
|
+
max-width: 100%;
|
|
22
|
+
overflow-x: auto;
|
|
23
|
+
scrollbar-width: none;
|
|
24
|
+
|
|
25
|
+
&.k-files-wrap {
|
|
26
|
+
flex-flow: row wrap;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.k-files-vertical {
|
|
30
|
+
flex-flow: column wrap;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.k-files-scroll {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-flow: row nowrap;
|
|
37
|
+
overflow-x: auto;
|
|
38
|
+
scrollbar-width: none;
|
|
39
|
+
white-space: nowrap;
|
|
40
|
+
gap: $kendo-file-box-gap;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.k-file-box-wrapper-scrollable-end::before,
|
|
44
|
+
.k-file-box-wrapper-scrollable-start::after{
|
|
45
|
+
content: '';
|
|
46
|
+
aspect-ratio: .3;
|
|
47
|
+
position: absolute;
|
|
48
|
+
z-index: k-z-index("base", 3);
|
|
49
|
+
height: calc(100% - #{$kendo-file-box-padding-y} * 2 );
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.k-file-box-wrapper-scrollable-end::before {
|
|
53
|
+
left: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.k-file-box-wrapper-scrollable-start::after {
|
|
57
|
+
right: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.k-file-box {
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: space-between;
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
gap: $kendo-file-box-gap;
|
|
67
|
+
border-width: $kendo-file-box-border-width;
|
|
68
|
+
border-style: $kendo-file-box-border-style;
|
|
69
|
+
padding-inline: $kendo-file-box-padding-x;
|
|
70
|
+
padding-block: $kendo-file-box-padding-y;
|
|
71
|
+
border-radius: $kendo-file-box-border-radius;
|
|
72
|
+
width: 100%;
|
|
73
|
+
min-width: $kendo-file-box-min-width;
|
|
74
|
+
max-width: $kendo-file-box-max-width;
|
|
75
|
+
flex-shrink: 0;
|
|
76
|
+
|
|
77
|
+
>.k-icon {
|
|
78
|
+
flex-shrink: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.k-file-info {
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
align-items: flex-start;
|
|
85
|
+
text-align: start;
|
|
86
|
+
flex: 1;
|
|
87
|
+
overflow: hidden;
|
|
88
|
+
min-width: 0;
|
|
89
|
+
max-width: 100%;
|
|
90
|
+
text-overflow: ellipsis;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.k-file-box-name,
|
|
94
|
+
.k-file-name {
|
|
95
|
+
font-weight: bold;
|
|
96
|
+
font-size: $kendo-file-box-name-font-size;
|
|
97
|
+
line-height: $kendo-file-box-name-line-height;
|
|
98
|
+
width: 100%;
|
|
99
|
+
white-space: nowrap;
|
|
100
|
+
overflow: hidden;
|
|
101
|
+
text-overflow: ellipsis;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.k-file-box-size,
|
|
105
|
+
.k-file-box-status,
|
|
106
|
+
.k-file-size,
|
|
107
|
+
.k-file-status {
|
|
108
|
+
font-size: $kendo-file-box-size-font-size;
|
|
109
|
+
line-height: $kendo-file-box-size-line-height;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&.k-file-deleted {
|
|
113
|
+
min-height: calc( #{$kendo-button-md-calc-size} + 2 * #{$kendo-file-box-padding-y} + 2 * #{$kendo-file-box-border-width});
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@mixin kendo-file-box--layout() {
|
|
121
|
+
@include kendo-file-box--layout-base();
|
|
122
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@use "./_variables.scss" as *;
|
|
2
|
+
@use "../../mixins/index.scss" as *;
|
|
3
|
+
|
|
4
|
+
@use "../../spacing/index.scss" as *;
|
|
5
|
+
@use "../../color-system/_functions.scss" as *;
|
|
6
|
+
@use "../../_variables.scss" as *;
|
|
7
|
+
|
|
8
|
+
@mixin kendo-file-box--theme-base() {
|
|
9
|
+
.k-file-box {
|
|
10
|
+
background-color: $kendo-file-box-bg;
|
|
11
|
+
color: $kendo-file-box-text;
|
|
12
|
+
border-color: $kendo-file-box-border;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.k-file-box-wrapper-scrollable-start::after {
|
|
16
|
+
background: linear-gradient(90deg, $kendo-file-box-wrapper-scroll-gradient);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.k-file-box-wrapper-scrollable-end::before {
|
|
20
|
+
background: linear-gradient(270deg, $kendo-file-box-wrapper-scroll-gradient);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
$kendo-file-box-padding-x: null !default;
|
|
2
|
+
$kendo-file-box-padding-y: null !default;
|
|
3
|
+
$kendo-file-box-gap: null !default;
|
|
4
|
+
$kendo-file-box-min-width: null !default;
|
|
5
|
+
$kendo-file-box-max-width: null !default;
|
|
6
|
+
$kendo-file-box-border-width: null !default;
|
|
7
|
+
$kendo-file-box-border-style: null !default;
|
|
8
|
+
$kendo-file-box-border-radius: null !default;
|
|
9
|
+
$kendo-file-box-name-font-size: null !default;
|
|
10
|
+
$kendo-file-box-name-line-height: null !default;
|
|
11
|
+
$kendo-file-box-size-font-size: null !default;
|
|
12
|
+
$kendo-file-box-size-line-height: null !default;
|
|
13
|
+
|
|
14
|
+
$kendo-file-box-bg: null !default;
|
|
15
|
+
$kendo-file-box-text: null !default;
|
|
16
|
+
$kendo-file-box-border: null !default;
|
|
17
|
+
|
|
18
|
+
$kendo-file-box-wrapper-scroll-gradient: null !default;
|
|
19
|
+
|