@progress/kendo-theme-fluent 5.7.0 → 5.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/package.json +4 -4
  2. package/scss/adaptive/_layout.scss +475 -0
  3. package/scss/adaptive/_theme.scss +92 -0
  4. package/scss/adaptive/_variables.scss +33 -0
  5. package/scss/adaptive/index.scss +32 -0
  6. package/scss/badge/_variables.scss +2 -2
  7. package/scss/button/_layout.scss +2 -1
  8. package/scss/button/_variables.scss +2 -2
  9. package/scss/calendar/_layout.scss +5 -4
  10. package/scss/calendar/_theme.scss +9 -9
  11. package/scss/calendar/_variables.scss +25 -25
  12. package/scss/captcha/_variables.scss +3 -2
  13. package/scss/card/_layout.scss +3 -3
  14. package/scss/card/_variables.scss +1 -1
  15. package/scss/chat/_layout.scss +460 -0
  16. package/scss/chat/_theme.scss +93 -0
  17. package/scss/chat/_variables.scss +213 -0
  18. package/scss/chat/index.scss +32 -0
  19. package/scss/checkbox/_layout.scss +3 -3
  20. package/scss/chip/_layout.scss +1 -1
  21. package/scss/chip/_theme.scss +3 -3
  22. package/scss/color-preview/_layout.scss +0 -1
  23. package/scss/coloreditor/_layout.scss +3 -1
  24. package/scss/coloreditor/_variables.scss +10 -2
  25. package/scss/colorgradient/_layout.scss +5 -1
  26. package/scss/colorgradient/_variables.scss +13 -10
  27. package/scss/core/_variables.scss +8 -7
  28. package/scss/core/color-system/utils/_functions.scss +1 -1
  29. package/scss/core/helpers/_index.scss +1 -0
  30. package/scss/core/helpers/_scrollbar.scss +25 -0
  31. package/scss/core/mixins/_decoration.scss +4 -0
  32. package/scss/dataviz/_layout.scss +5 -5
  33. package/scss/draggable/_variables.scss +2 -1
  34. package/scss/drawer/_variables.scss +2 -3
  35. package/scss/editor/_layout.scss +3 -2
  36. package/scss/fab/_variables.scss +10 -9
  37. package/scss/filemanager/_layout.scss +1 -1
  38. package/scss/filter/_layout.scss +1 -1
  39. package/scss/forms/_layout.scss +3 -2
  40. package/scss/forms/_variables.scss +1 -1
  41. package/scss/gantt/_layout.scss +782 -0
  42. package/scss/gantt/_theme.scss +275 -0
  43. package/scss/gantt/_variables.scss +232 -0
  44. package/scss/gantt/index.scss +35 -0
  45. package/scss/grid/_layout.scss +3 -3
  46. package/scss/grid/_theme.scss +7 -0
  47. package/scss/grid/_variables.scss +2 -2
  48. package/scss/imageeditor/_layout.scss +0 -2
  49. package/scss/imageeditor/_variables.scss +5 -4
  50. package/scss/index.scss +16 -18
  51. package/scss/input/_variables.scss +1 -1
  52. package/scss/listgroup/_layout.scss +0 -1
  53. package/scss/listview/_layout.scss +2 -2
  54. package/scss/loader/_layout.scss +3 -2
  55. package/scss/loader/_variables.scss +16 -15
  56. package/scss/map/_variables.scss +2 -2
  57. package/scss/menu/_variables.scss +7 -7
  58. package/scss/messagebox/_theme.scss +1 -1
  59. package/scss/messagebox/_variables.scss +5 -5
  60. package/scss/notification/_theme.scss +0 -1
  61. package/scss/notification/_variables.scss +0 -1
  62. package/scss/panelbar/_layout.scss +2 -2
  63. package/scss/pdf-viewer/_layout.scss +177 -0
  64. package/scss/pdf-viewer/_theme.scss +73 -0
  65. package/scss/pdf-viewer/_variables.scss +105 -0
  66. package/scss/pdf-viewer/index.scss +32 -0
  67. package/scss/pivotgrid/_layout.scss +640 -0
  68. package/scss/pivotgrid/_theme.scss +218 -0
  69. package/scss/pivotgrid/_variables.scss +239 -0
  70. package/scss/pivotgrid/index.scss +36 -0
  71. package/scss/popup/_variables.scss +2 -2
  72. package/scss/progressbar/_variables.scss +1 -1
  73. package/scss/radio/_layout.scss +10 -9
  74. package/scss/radio/_variables.scss +5 -4
  75. package/scss/rating/_variables.scss +1 -1
  76. package/scss/scheduler/_layout.scss +2 -2
  77. package/scss/scheduler/_variables.scss +1 -1
  78. package/scss/scrollview/_layout.scss +195 -0
  79. package/scss/scrollview/_theme.scss +91 -0
  80. package/scss/scrollview/_variables.scss +109 -0
  81. package/scss/scrollview/index.scss +26 -0
  82. package/scss/slider/_layout.scss +8 -8
  83. package/scss/slider/_theme.scss +4 -4
  84. package/scss/splitter/_variables.scss +5 -5
  85. package/scss/spreadsheet/_layout.scss +872 -0
  86. package/scss/spreadsheet/_theme.scss +254 -0
  87. package/scss/spreadsheet/_variables.scss +191 -0
  88. package/scss/spreadsheet/index.scss +41 -0
  89. package/scss/stepper/_layout.scss +10 -7
  90. package/scss/stepper/_theme.scss +4 -0
  91. package/scss/stepper/_variables.scss +9 -7
  92. package/scss/switch/_layout.scss +2 -2
  93. package/scss/table/_layout.scss +2 -2
  94. package/scss/taskboard/_layout.scss +7 -4
  95. package/scss/taskboard/_variables.scss +10 -9
  96. package/scss/timeline/_layout.scss +449 -0
  97. package/scss/timeline/_theme.scss +72 -0
  98. package/scss/timeline/_variables.scss +197 -0
  99. package/scss/timeline/index.scss +27 -0
  100. package/scss/timeselector/_layout.scss +4 -4
  101. package/scss/timeselector/_variables.scss +1 -1
  102. package/scss/tooltip/_layout.scss +6 -6
  103. package/scss/tooltip/_variables.scss +0 -2
  104. package/scss/treeview/_variables.scss +4 -4
  105. package/scss/typography/_layout.scss +17 -17
  106. package/scss/typography/_variables.scss +63 -63
  107. package/scss/upload/_layout.scss +1 -1
  108. package/scss/window/_layout.scss +1 -1
  109. package/scss/wizard/_layout.scss +1 -1
  110. package/scss/wizard/_variables.scss +2 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-fluent",
3
3
  "description": "A css variables based theme for Kendo UI that follows the Fluent design system guidelines.",
4
- "version": "5.7.0",
4
+ "version": "5.8.0",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -44,11 +44,11 @@
44
44
  "postpublish": "echo 'no postpublish for the Fluent theme'"
45
45
  },
46
46
  "dependencies": {
47
- "@progress/kendo-font-icons": "^0.2.0",
48
- "@progress/kendo-theme-utils": "^5.7.0"
47
+ "@progress/kendo-font-icons": "^0.3.0",
48
+ "@progress/kendo-theme-utils": "^5.8.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "sass-build": "^1.0.0"
52
52
  },
53
- "gitHead": "5e316441f8406d4e3ef94f189ae71304cf7f6a15"
53
+ "gitHead": "2e623d96036e764e51218c1b9d8b97d17eb036b5"
54
54
  }
@@ -0,0 +1,475 @@
1
+ @use "../core/_variables.scss" as *;
2
+ @use "../core/color-system/_variables.scss" as *;
3
+ @use "../toolbar/_variables.scss" as *;
4
+ @use "../listgroup/_variables.scss" as *;
5
+ @use "_variables.scss" as *;
6
+
7
+ @mixin kendo-adaptive--layout() {
8
+
9
+ .k-pane-wrapper {
10
+ border-width: var( --kendo-adaptive-border-width, #{$kendo-adaptive-border-width} );
11
+ border-style: solid;
12
+ box-sizing: border-box;
13
+ outline: 0;
14
+ font-family: var( --kendo-adaptive-font-family, #{$kendo-adaptive-font-family} );
15
+ font-size: var( --kendo-adaptive-font-size, #{$kendo-adaptive-font-size} );
16
+ line-height: var( --kendo-adaptive-line-height, #{$kendo-adaptive-line-height} );
17
+ display: block;
18
+ position: relative;
19
+ -webkit-touch-callout: none;
20
+ -webkit-tap-highlight-color: $rgba-transparent;
21
+
22
+ .k-pane {
23
+ width: 100%;
24
+ height: 100%;
25
+ user-select: none;
26
+ box-sizing: border-box;
27
+ font-family: sans-serif;
28
+ overflow-x: hidden;
29
+ }
30
+
31
+ .k-view {
32
+ top: 0;
33
+ left: 0;
34
+ position: relative;
35
+ border: 0;
36
+ box-sizing: border-box;
37
+ outline: 0;
38
+ font-family: var( --kendo-adaptive-font-family, #{$kendo-adaptive-font-family} );
39
+ font-size: var( --kendo-adaptive-font-size, #{$kendo-adaptive-font-size} );
40
+ line-height: var( --kendo-adaptive-line-height, #{$kendo-adaptive-line-height} );
41
+ display: flex;
42
+ height: 100%;
43
+ width: 100%;
44
+ flex-direction: column;
45
+ align-items: stretch;
46
+ align-content: stretch;
47
+ vertical-align: top;
48
+ -webkit-touch-callout: none;
49
+ -webkit-tap-highlight-color: $rgba-transparent;
50
+ }
51
+
52
+ .k-content {
53
+ min-height: 1px;
54
+ flex: 1;
55
+ align-items: stretch;
56
+ display: block;
57
+ width: auto;
58
+ overflow: hidden;
59
+ position: relative;
60
+ }
61
+ }
62
+
63
+ }
64
+
65
+ @mixin kendo-adaptive-grid--layout() {
66
+
67
+ .k-pane-wrapper {
68
+
69
+ > div.k-pane {
70
+ box-shadow: none;
71
+ font-weight: normal;
72
+ }
73
+
74
+ .k-popup-edit-form,
75
+ .k-grid-edit-form,
76
+ .k-grid-header-menu,
77
+ .k-grid-filter-menu {
78
+
79
+ .k-content {
80
+ overflow-y: auto;
81
+
82
+ > .k-scroll-container {
83
+ position: absolute;
84
+ width: 100%;
85
+ min-height: 100%;
86
+ box-sizing: border-box;
87
+ }
88
+ }
89
+ }
90
+
91
+ .k-grid-edit-form {
92
+
93
+ .k-popup-edit-form,
94
+ .k-edit-form-container {
95
+ width: auto;
96
+ min-width: auto;
97
+ }
98
+ }
99
+ }
100
+
101
+ .k-grid.k-grid-mobile {
102
+ border-width: 0;
103
+ }
104
+
105
+ .k-grid-mobile {
106
+ .k-resize-handle-inner::before {
107
+ content: "\e01e";
108
+ position: absolute;
109
+ font: 16px/1 "WebComponentsIcons"; // stylelint-disable-line
110
+ // The Calc is needed due to the the negative margin
111
+ // that removes the double bottom border of the header
112
+ top: calc( 50% - 1px);
113
+ left: 50%;
114
+ transform: translate(-50%, -50%);
115
+ padding: .2em;
116
+ }
117
+
118
+ .k-header a {
119
+ -webkit-touch-callout: none;
120
+
121
+ -webkit-user-select: none;
122
+ -moz-user-select: none;
123
+ user-select: none;
124
+
125
+ -webkit-user-drag: none;
126
+ -moz-user-drag: none;
127
+ }
128
+ }
129
+
130
+ }
131
+
132
+ @mixin kendo-adaptive-scheduler--layout() {
133
+
134
+ .k-pane-wrapper {
135
+
136
+ .k-scheduler-edit-form {
137
+
138
+ .k-recur-view {
139
+ padding: 0;
140
+ flex-direction: column;
141
+ align-items: stretch;
142
+
143
+ > .k-listgroup-form-row {
144
+ margin: 0;
145
+ }
146
+ }
147
+
148
+ .k-recur-items-wrap {
149
+ width: 100%;
150
+ margin: -1px 0;
151
+ }
152
+
153
+ .k-scheduler-recur-end-wrap {
154
+ white-space: nowrap;
155
+ }
156
+ }
157
+ }
158
+
159
+ .k-scheduler {
160
+ &.k-scheduler-mobile {
161
+ border-width: 0;
162
+ }
163
+ }
164
+
165
+ .k-scheduler-mobile {
166
+
167
+ th {
168
+ font-weight: normal;
169
+ }
170
+
171
+ .k-event:hover .k-resize-handle {
172
+ visibility: hidden;
173
+ }
174
+
175
+ .k-scheduler-toolbar {
176
+ padding: $kendo-toolbar-padding-y $kendo-toolbar-padding-x;
177
+
178
+ > * {
179
+ margin: 0;
180
+ }
181
+
182
+ &::before {
183
+ display: none;
184
+ }
185
+
186
+ .k-scheduler-navigation {
187
+ width: 100%;
188
+ display: flex;
189
+ flex-flow: row nowrap;
190
+ justify-content: space-between;
191
+ margin: 0;
192
+
193
+ .k-nav-current {
194
+ line-height: 1;
195
+ display: flex;
196
+ flex-flow: column nowrap;
197
+ align-items: center;
198
+ justify-content: space-evenly;
199
+ gap: 0;
200
+ }
201
+ .k-m-date-format {}
202
+ .k-y-date-format {
203
+ font-size: 12px;
204
+ }
205
+ }
206
+
207
+ .k-scheduler-views-wrapper {
208
+ .k-views-dropdown {
209
+ display: inline-block;
210
+ }
211
+ }
212
+ }
213
+
214
+ .k-scheduler-footer {
215
+ padding: $kendo-toolbar-padding-y $kendo-toolbar-padding-x;
216
+ display: flex;
217
+ justify-content: space-between;
218
+
219
+ > * {
220
+ margin: 0;
221
+ }
222
+
223
+ &::before {
224
+ display: none;
225
+ }
226
+ }
227
+
228
+ .k-scheduler-monthview {
229
+
230
+ .k-hidden {
231
+ height: 40px;
232
+ }
233
+
234
+ .k-scheduler-table td {
235
+ height: 40px;
236
+ vertical-align: top;
237
+ text-align: center;
238
+ }
239
+
240
+ .k-events-container {
241
+ position: absolute;
242
+ text-align: center;
243
+ height: 6px;
244
+ line-height: 6px;
245
+ }
246
+
247
+ .k-event {
248
+ position: static;
249
+ padding: 4px;
250
+ border-radius: 50%;
251
+ display: inline-block;
252
+ width: 4px;
253
+ height: 4px;
254
+ min-height: 0;
255
+ margin: 1px;
256
+ }
257
+ }
258
+
259
+ // Removing the "Days" header from the Mobile Scheduler will break the Web Scheduler
260
+ // Thus, the below selector is needed
261
+ .k-scheduler-dayview .k-mobile-header {
262
+
263
+ &.k-mobile-horizontal-header .k-scheduler-times table tr:first-child {
264
+ display: none;
265
+ }
266
+
267
+ .k-scheduler-header .k-scheduler-date-group {
268
+ display: none;
269
+ }
270
+ }
271
+
272
+ .k-scheduler-header-wrap > div {
273
+ overflow: visible;
274
+ }
275
+
276
+ .k-scheduler-agendaview {
277
+ .k-mobile-header {
278
+ display: none;
279
+ }
280
+
281
+ .k-scheduler-table {
282
+ table-layout: auto;
283
+
284
+ .k-scheduler-groupcolumn {
285
+ width: 1%;
286
+ }
287
+
288
+ td {
289
+ white-space: normal;
290
+ }
291
+ }
292
+ }
293
+
294
+ .k-mobile-header {
295
+ .k-scheduler-table td,
296
+ .k-scheduler-table th {
297
+ height: 1.5em;
298
+ }
299
+ }
300
+
301
+ .k-time-text,
302
+ .k-time-period {
303
+ display: block;
304
+ line-height: 1;
305
+ }
306
+
307
+ .k-time-period {
308
+ font-size: .7em;
309
+ }
310
+
311
+ .k-scheduler-table td,
312
+ .k-scheduler-table th {
313
+ height: 2em;
314
+ vertical-align: middle;
315
+ }
316
+
317
+ .k-scheduler-datecolumn-wrap {
318
+ display: flex;
319
+ align-items: center;
320
+ justify-content: space-between;
321
+ }
322
+
323
+ .k-task {
324
+ display: flex;
325
+ align-items: center;
326
+
327
+ .k-scheduler-mark {
328
+ border-radius: 50%;
329
+ }
330
+
331
+ .k-i-reload,
332
+ .k-i-arrow-rotate-cw {
333
+ font-size: 1em;
334
+ margin-right: .5em;
335
+ }
336
+
337
+ .k-scheduler-task-text {
338
+ flex: 1 1 0%;
339
+ }
340
+ }
341
+
342
+ .k-scheduler-times,
343
+ .k-scheduler-agenda {
344
+
345
+ .k-scheduler-group-cell,
346
+ .k-scheduler-groupcolumn {
347
+ vertical-align: top;
348
+
349
+ .k-scheduler-group-text {
350
+ writing-mode: vertical-lr;
351
+ transform: rotate(180deg);
352
+ white-space: nowrap;
353
+ }
354
+ }
355
+ }
356
+
357
+ .k-scrollbar-h tr + tr .k-scheduler-times {
358
+ border-bottom-width: 0;
359
+ }
360
+ }
361
+
362
+ }
363
+
364
+ @mixin kendo-adaptive-common--layout() {
365
+
366
+ .k-pane-wrapper {
367
+
368
+ .k-appbar {
369
+ padding: map-get( $kendo-spacing, 1 );
370
+ }
371
+
372
+ .k-list-title,
373
+ .k-filter-help-text {
374
+ padding: $kendo-listgroup-item-padding-y $kendo-listgroup-item-padding-x;
375
+ display: block;
376
+ }
377
+
378
+ .k-listgroup-title {
379
+ padding: $kendo-listgroup-item-padding-y $kendo-listgroup-item-padding-x;
380
+ font-weight: bold;
381
+ text-transform: uppercase;
382
+ }
383
+
384
+ .k-listgroup {
385
+
386
+ .k-listgroup-item {
387
+ border-color: inherit;
388
+ }
389
+ }
390
+ .k-listgroup + .k-listgroup {
391
+ margin-top: map-get( $kendo-spacing, 4 );
392
+ }
393
+
394
+ // Column menu
395
+ .k-column-menu {
396
+ padding: map-get( $kendo-spacing, 2 );
397
+ display: flex;
398
+ flex-flow: column nowrap;
399
+ gap: map-get( $kendo-spacing, 2 );
400
+
401
+ .k-filter-item .k-filterable * {
402
+ pointer-events: none;
403
+ }
404
+
405
+ .k-list-title,
406
+ .k-listgroup-title {
407
+ padding: 0;
408
+ }
409
+
410
+ .k-listgroup {
411
+ margin-inline: -#{map-get( $kendo-spacing, 2 )};
412
+ }
413
+ }
414
+
415
+ // Filter menu
416
+ .k-filter-menu {
417
+ padding: map-get( $kendo-spacing, 2 );
418
+ display: flex;
419
+ flex-flow: column nowrap;
420
+ gap: map-get( $kendo-spacing, 2 );
421
+
422
+ .k-list-title {
423
+ padding: 0;
424
+ }
425
+
426
+ .k-list-filter {
427
+ padding: 0;
428
+ display: flex;
429
+ flex-flow: column nowrap;
430
+ gap: inherit;
431
+ }
432
+
433
+ .k-filter-tools {
434
+ display: flex;
435
+ flex-flow: row nowrap;
436
+ gap: inherit;
437
+ }
438
+
439
+ .k-listgroup {
440
+ margin-inline: -#{map-get( $kendo-spacing, 2 )};
441
+ }
442
+ }
443
+
444
+ .k-popup-edit-form {
445
+
446
+ .k-recur-editor-wrap {
447
+ display: flex;
448
+ }
449
+
450
+ .k-mobiletimezoneeditor {
451
+ display: flex;
452
+ align-items: center;
453
+ justify-content: flex-end;
454
+ position: relative;
455
+ flex: 1 1 auto;
456
+ }
457
+ }
458
+
459
+ .k-multicheck-wrap.k-listgroup {
460
+ overflow-y: auto;
461
+ }
462
+
463
+ // Pager
464
+ .k-pager-wrap.k-pager-sm,
465
+ .k-pager.k-pager-sm {
466
+ justify-content: center;
467
+
468
+ .k-pager-refresh {
469
+ display: none;
470
+ }
471
+
472
+ }
473
+ }
474
+
475
+ }
@@ -0,0 +1,92 @@
1
+ @use "../core/mixins" as *;
2
+ @use "_variables.scss" as *;
3
+
4
+ @mixin kendo-adaptive--theme() {
5
+
6
+ .k-pane-wrapper,
7
+ .k-view {
8
+ @include fill(
9
+ var( --kendo-adaptive-text, #{$kendo-adaptive-text} ),
10
+ var( --kendo-adaptive-bg, #{$kendo-adaptive-bg} ),
11
+ var( --kendo-adaptive-border, #{$kendo-adaptive-border} )
12
+ );
13
+ }
14
+
15
+ .k-pane-wrapper .k-pane {
16
+ > .k-view > .k-content {
17
+ background-position: 50% 50%;
18
+ background-color: var( --kendo-adaptive-content-bg, #{$kendo-adaptive-content-bg} );
19
+ }
20
+
21
+ .k-grid-mobile {
22
+ .k-column-active + th.k-header {
23
+ border-left-color: var( --kendo-component-bg, inherit );
24
+ }
25
+
26
+ .k-resize-handle-inner::before {
27
+ background-color: var( --kendo-component-bg, inherit );
28
+ }
29
+ }
30
+
31
+ .k-scheduler-mobile {
32
+ .k-nav-current {
33
+ color: var( --kendo-adaptive-scheduler-current-text, #{$kendo-adaptive-scheduler-current-text} );
34
+ }
35
+
36
+ .k-scheduler-times,
37
+ .k-scheduler-header,
38
+ .k-scheduler-groupcolumn,
39
+ .k-mobile-scheduler-agendadate {
40
+ color: var( --kendo-adaptive-scheduler-base-text, #{$kendo-adaptive-scheduler-base-text} );
41
+ }
42
+
43
+ .k-time-period,
44
+ .k-mobile-scheduler-agendaweekday {
45
+ color: var( --kendo-adaptive-scheduler-subtle-text, #{$kendo-adaptive-scheduler-subtle-text} );
46
+ }
47
+
48
+ .k-scheduler-times,
49
+ .k-scheduler-header,
50
+ .k-scheduler-header-wrap,
51
+ .k-scheduler-datecolumn,
52
+ .k-scheduler-groupcolumn,
53
+ .k-scheduler-group-cell,
54
+ .k-scheduler-header-all-day {
55
+ background-color: var( --kendo-adaptive-content-bg, #{$kendo-adaptive-content-bg} );
56
+ }
57
+
58
+ .k-scheduler-toolbar .k-scheduler-tools > li {
59
+ display: inline-block;
60
+ background-color: inherit;
61
+ }
62
+ }
63
+
64
+ .k-grid-edit-form,
65
+ .k-grid-header-menu,
66
+ .k-grid-filter-menu,
67
+ .k-scheduler-edit-form {
68
+ .k-item,
69
+ .k-link {
70
+ color: var( --kendo-component-text, inherit );
71
+ }
72
+
73
+ .k-clear,
74
+ .k-select-all,
75
+ .k-scheduler-delete,
76
+ .k-scheduler-resetSeries { // sass-lint:disable-line class-name-format
77
+ color: var( --kendo-adaptive-menu-clear-text, #{$kendo-adaptive-menu-clear-text} );
78
+ }
79
+ }
80
+
81
+ .k-column-menu {
82
+ .k-listgroup-item.k-selected {
83
+ color: var( --kendo-adaptive-grid-sort-text, #{$kendo-adaptive-grid-sort-text} );
84
+ background: none;
85
+ }
86
+ .k-listgroup-item.k-selected .k-link {
87
+ color: inherit;
88
+ }
89
+ }
90
+ }
91
+
92
+ }
@@ -0,0 +1,33 @@
1
+ @use "../core/color-system" as *;
2
+
3
+
4
+ // Adaptive
5
+ $kendo-adaptive-bg: var( --kendo-component-bg, inherit ) !default;
6
+ $kendo-adaptive-text: var( --kendo-component-text, inherit ) !default;
7
+ $kendo-adaptive-border: var( --kendo-component-border, inherit ) !default;
8
+
9
+ $kendo-adaptive-content-bg: var( --kendo-component-bg, inherit ) !default;
10
+ $kendo-adaptive-content-text: var( --kendo-component-text, inherit ) !default;
11
+
12
+ $kendo-adaptive-menu-bg: get-theme-color-var( primary-100 ) !default;
13
+ $kendo-adaptive-menu-text: $white !default;
14
+
15
+ $kendo-adaptive-menu-clear-text: get-theme-color-var( primary-100 ) !default;
16
+
17
+ $kendo-adaptive-menu-item-border: var( --kendo-component-border, inherit ) !default;
18
+ $kendo-adaptive-menu-title-text: var( --kendo-component-text, inherit ) !default;
19
+
20
+ $kendo-adaptive-border-width: 1px !default;
21
+ $kendo-adaptive-font-family: var( --kendo-font-family, inherit ) !default;
22
+ $kendo-adaptive-font-size: var( --kendo-font-size, 1rem ) !default;
23
+ $kendo-adaptive-line-height: var( --kendo-line-height, normal ) !default;
24
+
25
+
26
+ // Adaptive Grid
27
+ $kendo-adaptive-grid-sort-text: get-theme-color-var( primary-100 ) !default;
28
+
29
+
30
+ // Adaptive Scheduler
31
+ $kendo-adaptive-scheduler-current-text: get-theme-color-var( primary-100 ) !default;
32
+ $kendo-adaptive-scheduler-base-text: inherit !default;
33
+ $kendo-adaptive-scheduler-subtle-text: var( --kendo-subtle-text, inherit ) !default;
@@ -0,0 +1,32 @@
1
+ // Module meta
2
+ $_kendo-module-meta: (
3
+ name: "adaptive",
4
+ dependencies: (
5
+ "checkbox",
6
+ "radio",
7
+ "switch",
8
+ "toolbar",
9
+ "listgroup"
10
+ )
11
+ );
12
+
13
+
14
+ // Component
15
+ @forward "_variables.scss";
16
+ @use "_layout.scss" as *;
17
+ @use "_theme.scss" as *;
18
+
19
+ // Register
20
+ @use "../core/module-system/" as module;
21
+ @include module.register( $_kendo-module-meta... );
22
+
23
+ // Expose
24
+ @mixin styles() {
25
+ @include module.render( "adaptive" ) {
26
+ @include kendo-adaptive--layout();
27
+ @include kendo-adaptive-grid--layout();
28
+ @include kendo-adaptive-scheduler--layout();
29
+ @include kendo-adaptive-common--layout();
30
+ @include kendo-adaptive--theme();
31
+ }
32
+ }
@@ -24,13 +24,13 @@ $kendo-badge-font-weight: var( --kendo-font-weight, normal ) !default;
24
24
  /// @group badge
25
25
  $kendo-badge-padding-x-sm: map-get( $kendo-spacing, thin ) !default;
26
26
  $kendo-badge-padding-x-md: map-get( $kendo-spacing, 1 ) !default;
27
- $kendo-badge-padding-x-lg: calc( map-get( $kendo-spacing, 1 ) + map-get( $kendo-spacing, thin ) ) !default;
27
+ $kendo-badge-padding-x-lg: map-get( $kendo-spacing, 1 ) + map-get( $kendo-spacing, thin ) !default;
28
28
 
29
29
  /// Vertical padding of the badge.
30
30
  /// @group badge
31
31
  $kendo-badge-padding-y-sm: map-get( $kendo-spacing, thin ) !default;
32
32
  $kendo-badge-padding-y-md: map-get( $kendo-spacing, 1 ) !default;
33
- $kendo-badge-padding-y-lg: calc( map-get( $kendo-spacing, 1 ) + map-get( $kendo-spacing, thin ) ) !default;
33
+ $kendo-badge-padding-y-lg: map-get( $kendo-spacing, 1 ) + map-get( $kendo-spacing, thin ) !default;
34
34
 
35
35
  /// Font sizes of the badge.
36
36
  /// @group badge
@@ -1,3 +1,4 @@
1
+ @use "sass:math";
1
2
  @use "../core" as *;
2
3
  @use "_variables.scss" as *;
3
4
 
@@ -76,7 +77,7 @@
76
77
  $_font-size: map-get( $size-props, font-size );
77
78
  $_line-height: map-get( $size-props, line-height );
78
79
 
79
- $_icon-button-padding: calc( $_padding-x / 2 );
80
+ $_icon-button-padding: math.div( $_padding-x, 2 );
80
81
 
81
82
  .k-button-#{$size} {
82
83
  --INTERNAL--kendo-button-padding-x: var( --kendo-button-#{$size}-padding-x, #{$_padding-x} );
@@ -22,8 +22,8 @@ $kendo-button-padding-y-lg: map-get( $kendo-spacing, 2 ) !default;
22
22
  /// Font sizes of the button.
23
23
  /// @group button
24
24
  $kendo-button-font-size-sm: var( --kendo-font-size, inherit ) !default;
25
- $kendo-button-font-size-md: var(--kendo-font-size, inherit) !default;
26
- $kendo-button-font-size-lg: var(--kendo-font-size, inherit) !default;
25
+ $kendo-button-font-size-md: var( --kendo-font-size, inherit) !default;
26
+ $kendo-button-font-size-lg: var( --kendo-font-size, inherit) !default;
27
27
 
28
28
  /// Line heights used along with $font-size.
29
29
  /// @group button