@progress/kendo-theme-default 8.0.0-dev.0 → 8.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.
Files changed (150) hide show
  1. package/dist/all.css +8426 -5317
  2. package/dist/all.scss +5261 -5048
  3. package/dist/default-nordic.scss +9 -9
  4. package/dist/default-ocean-blue-a11y.scss +7 -7
  5. package/dist/meta/sassdoc-data.json +30658 -29032
  6. package/dist/meta/sassdoc-raw-data.json +3341 -2591
  7. package/dist/meta/variables.json +2239 -2135
  8. package/lib/swatches/default-blue.json +1 -1
  9. package/lib/swatches/default-dataviz-v4.json +1 -1
  10. package/lib/swatches/default-green.json +1 -1
  11. package/lib/swatches/default-main-dark.json +1 -1
  12. package/lib/swatches/default-main.json +1 -1
  13. package/lib/swatches/default-nordic.json +10 -10
  14. package/lib/swatches/default-ocean-blue-a11y.json +8 -8
  15. package/lib/swatches/default-ocean-blue.json +1 -1
  16. package/lib/swatches/default-orange.json +1 -1
  17. package/lib/swatches/default-purple.json +1 -1
  18. package/lib/swatches/default-turquoise.json +1 -1
  19. package/lib/swatches/default-urban.json +1 -1
  20. package/package.json +4 -4
  21. package/scss/_variables.scss +0 -172
  22. package/scss/action-buttons/_variables.scss +4 -4
  23. package/scss/action-sheet/_layout.scss +1 -1
  24. package/scss/action-sheet/_variables.scss +17 -17
  25. package/scss/adaptive/_layout.scss +8 -8
  26. package/scss/adaptive/_variables.scss +3 -3
  27. package/scss/appbar/_variables.scss +6 -6
  28. package/scss/avatar/_variables.scss +6 -6
  29. package/scss/badge/_variables.scss +17 -17
  30. package/scss/bottom-navigation/_layout.scss +2 -2
  31. package/scss/bottom-navigation/_variables.scss +9 -9
  32. package/scss/breadcrumb/_variables.scss +17 -17
  33. package/scss/button/_variables.scss +21 -21
  34. package/scss/calendar/_layout.scss +2 -2
  35. package/scss/calendar/_theme.scss +1 -1
  36. package/scss/calendar/_variables.scss +33 -61
  37. package/scss/captcha/_variables.scss +6 -6
  38. package/scss/card/_variables.scss +18 -18
  39. package/scss/chat/_layout.scss +7 -7
  40. package/scss/chat/_variables.scss +13 -13
  41. package/scss/checkbox/_layout.scss +1 -1
  42. package/scss/checkbox/_variables.scss +9 -9
  43. package/scss/chip/_layout.scss +1 -1
  44. package/scss/chip/_variables.scss +15 -15
  45. package/scss/color-preview/_variables.scss +1 -1
  46. package/scss/coloreditor/_variables.scss +7 -7
  47. package/scss/colorgradient/_layout.scss +1 -1
  48. package/scss/colorgradient/_variables.scss +10 -10
  49. package/scss/colorpalette/_variables.scss +3 -3
  50. package/scss/common/_base.scss +7 -7
  51. package/scss/core/_index.scss +12 -0
  52. package/scss/core/border-radii/index.import.scss +1 -0
  53. package/scss/core/spacing/index.import.scss +29 -0
  54. package/scss/core/typography/index.import.scss +1 -0
  55. package/scss/dataviz/_layout.scss +8 -8
  56. package/scss/dataviz/_variables.scss +8 -8
  57. package/scss/daterangepicker/_layout.scss +1 -1
  58. package/scss/datetimepicker/_variables.scss +1 -1
  59. package/scss/dock-manager/_variables.scss +10 -10
  60. package/scss/draggable/_variables.scss +4 -4
  61. package/scss/drawer/_layout.scss +3 -3
  62. package/scss/drawer/_variables.scss +8 -18
  63. package/scss/dropdowntree/_layout.scss +2 -2
  64. package/scss/dropdowntree/_variables.scss +2 -2
  65. package/scss/dropzone/_variables.scss +8 -8
  66. package/scss/editor/_layout.scss +5 -5
  67. package/scss/editor/_variables.scss +3 -3
  68. package/scss/expansion-panel/_variables.scss +9 -9
  69. package/scss/fab/_layout.scss +4 -4
  70. package/scss/fab/_variables.scss +18 -18
  71. package/scss/filemanager/_layout.scss +3 -3
  72. package/scss/filemanager/_variables.scss +9 -9
  73. package/scss/filter/_layout.scss +4 -4
  74. package/scss/filter/_variables.scss +2 -2
  75. package/scss/forms/_layout.scss +16 -16
  76. package/scss/forms/_variables.scss +17 -17
  77. package/scss/gantt/_layout.scss +12 -12
  78. package/scss/gantt/_variables.scss +151 -7
  79. package/scss/grid/_layout.scss +10 -10
  80. package/scss/grid/_variables.scss +64 -64
  81. package/scss/imageeditor/_variables.scss +7 -7
  82. package/scss/input/_layout.scss +5 -5
  83. package/scss/input/_variables.scss +14 -14
  84. package/scss/list/_variables.scss +27 -27
  85. package/scss/listbox/_variables.scss +6 -6
  86. package/scss/listgroup/_layout.scss +7 -7
  87. package/scss/listgroup/_variables.scss +5 -5
  88. package/scss/listview/_variables.scss +7 -7
  89. package/scss/loader/_layout.scss +10 -10
  90. package/scss/loader/_variables.scss +25 -25
  91. package/scss/map/_layout.scss +1 -1
  92. package/scss/map/_variables.scss +8 -8
  93. package/scss/mediaplayer/_variables.scss +5 -5
  94. package/scss/menu/_layout.scss +1 -1
  95. package/scss/menu/_variables.scss +30 -30
  96. package/scss/menu-button/_layout.scss +3 -3
  97. package/scss/messagebox/_variables.scss +3 -3
  98. package/scss/notification/_variables.scss +7 -7
  99. package/scss/orgchart/_variables.scss +11 -11
  100. package/scss/pager/_variables.scss +10 -10
  101. package/scss/panelbar/_layout.scss +2 -2
  102. package/scss/panelbar/_variables.scss +9 -9
  103. package/scss/pdf-viewer/_variables.scss +5 -5
  104. package/scss/pivotgrid/_layout.scss +12 -12
  105. package/scss/pivotgrid/_variables.scss +15 -15
  106. package/scss/popup/_layout.scss +1 -1
  107. package/scss/popup/_theme.scss +1 -1
  108. package/scss/popup/_variables.scss +4 -4
  109. package/scss/progressbar/_layout.scss +2 -2
  110. package/scss/progressbar/_variables.scss +2 -2
  111. package/scss/prompt/_variables.scss +7 -7
  112. package/scss/radio/_layout.scss +1 -1
  113. package/scss/radio/_variables.scss +9 -9
  114. package/scss/rating/_variables.scss +4 -4
  115. package/scss/scheduler/_layout.scss +5 -5
  116. package/scss/scheduler/_variables.scss +18 -18
  117. package/scss/scrollview/_layout.scss +1 -1
  118. package/scss/scrollview/_variables.scss +5 -5
  119. package/scss/signature/_variables.scss +5 -5
  120. package/scss/skeleton/_variables.scss +1 -1
  121. package/scss/slider/_theme.scss +1 -1
  122. package/scss/slider/_variables.scss +3 -3
  123. package/scss/splitter/_variables.scss +6 -6
  124. package/scss/spreadsheet/_layout.scss +11 -11
  125. package/scss/spreadsheet/_variables.scss +17 -17
  126. package/scss/stepper/_variables.scss +8 -8
  127. package/scss/table/_layout.scss +1 -1
  128. package/scss/table/_variables.scss +12 -12
  129. package/scss/tabstrip/_layout.scss +2 -2
  130. package/scss/tabstrip/_variables.scss +11 -11
  131. package/scss/taskboard/_variables.scss +16 -16
  132. package/scss/tilelayout/_variables.scss +2 -2
  133. package/scss/timeline/_layout.scss +4 -4
  134. package/scss/timeline/_variables.scss +10 -10
  135. package/scss/timeselector/_layout.scss +1 -1
  136. package/scss/timeselector/_variables.scss +6 -6
  137. package/scss/toolbar/_layout.scss +2 -2
  138. package/scss/toolbar/_variables.scss +12 -12
  139. package/scss/tooltip/_layout.scss +10 -10
  140. package/scss/tooltip/_variables.scss +4 -4
  141. package/scss/treelist/_layout.scss +1 -1
  142. package/scss/treelist/_variables.scss +5 -0
  143. package/scss/treeview/_layout.scss +1 -1
  144. package/scss/treeview/_variables.scss +20 -20
  145. package/scss/typography/_layout.scss +51 -111
  146. package/scss/typography/_variables.scss +136 -53
  147. package/scss/upload/_layout.scss +3 -3
  148. package/scss/upload/_variables.scss +8 -8
  149. package/scss/window/_variables.scss +7 -7
  150. package/scss/wizard/_variables.scss +7 -7
@@ -2,19 +2,19 @@
2
2
 
3
3
  /// The space between the FileManager items.
4
4
  /// @group filemanager
5
- $kendo-file-manager-spacer: k-map-get( $kendo-spacing, 4 ) !default;
5
+ $kendo-file-manager-spacer: k-spacing(4) !default;
6
6
  /// The border width of the FileManager.
7
7
  /// @group filemanager
8
8
  $kendo-file-manager-border-width: 1px !default;
9
9
  /// The font family of the FileManager.
10
10
  /// @group filemanager
11
- $kendo-file-manager-font-family: $kendo-font-family !default;
11
+ $kendo-file-manager-font-family: var( --kendo-font-family, inherit ) !default;
12
12
  /// The font size of the FileManager.
13
13
  /// @group filemanager
14
- $kendo-file-manager-font-size: $kendo-font-size-md !default;
14
+ $kendo-file-manager-font-size: var( --kendo-font-size, inherit ) !default;
15
15
  /// The line height of the FileManager.
16
16
  /// @group filemanager
17
- $kendo-file-manager-line-height: $kendo-line-height-md !default;
17
+ $kendo-file-manager-line-height: var( --kendo-line-height, normal ) !default;
18
18
  /// The background color of the FileManager.
19
19
  /// @group filemanager
20
20
  $kendo-file-manager-bg: $kendo-component-bg !default;
@@ -65,10 +65,10 @@ $kendo-file-manager-navigation-border: null !default;
65
65
 
66
66
  /// The horizontal padding of the FileManager Breadcrumb.
67
67
  /// @group filemanager
68
- $kendo-file-manager-breadcrumb-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
68
+ $kendo-file-manager-breadcrumb-padding-x: k-spacing(2) !default;
69
69
  /// The vertical padding of the FileManager Breadcrumb.
70
70
  /// @group filemanager
71
- $kendo-file-manager-breadcrumb-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
71
+ $kendo-file-manager-breadcrumb-padding-y: k-spacing(2) !default;
72
72
  /// The border width of the FileManager Breadcrumb.
73
73
  /// @group filemanager
74
74
  $kendo-file-manager-breadcrumb-border-width: $kendo-file-manager-border-width !default;
@@ -94,10 +94,10 @@ $kendo-file-manager-listview-border: null !default;
94
94
 
95
95
  /// The horizontal padding of the FileManager ListView item.
96
96
  /// @group filemanager
97
- $kendo-file-manager-listview-item-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
97
+ $kendo-file-manager-listview-item-padding-x: k-spacing(4) !default;
98
98
  /// The vertical padding of the FileManager ListView item.
99
99
  /// @group filemanager
100
- $kendo-file-manager-listview-item-padding-y: k-map-get( $kendo-spacing, 4 ) !default;
100
+ $kendo-file-manager-listview-item-padding-y: k-spacing(4) !default;
101
101
  /// The width of the FileManager ListView item.
102
102
  /// @group filemanager
103
103
  $kendo-file-manager-listview-item-width: 120px !default;
@@ -160,7 +160,7 @@ $kendo-file-manager-preview-border-width: $kendo-file-manager-border-width !defa
160
160
  $kendo-file-manager-preview-spacing: $kendo-file-manager-spacer !default;
161
161
  /// The gap between the columns in the FileManager preview.
162
162
  /// @group filemanager
163
- $kendo-file-manager-preview-column-gap: k-map-get( $kendo-spacing, 1 ) !default;
163
+ $kendo-file-manager-preview-column-gap: k-spacing(1) !default;
164
164
  /// The background color of the FileManager preview.
165
165
  /// @group filemanager
166
166
  $kendo-file-manager-preview-bg: null !default;
@@ -42,7 +42,7 @@
42
42
  width: $kendo-filter-padding-x;
43
43
  height: $kendo-filter-line-size;
44
44
  inset-block-start: 50%;
45
- inset-inline-start: -$kendo-filter-padding-x;
45
+ inset-inline-start: calc( #{$kendo-filter-padding-x} * -1 );
46
46
  }
47
47
 
48
48
  .k-toolbar {
@@ -61,7 +61,7 @@
61
61
  position: absolute;
62
62
  width: $kendo-filter-line-size;
63
63
  height: 100%;
64
- inset-block-start: -$kendo-filter-padding-y;
64
+ inset-block-start: calc( #{$kendo-filter-padding-y} * -1 );
65
65
  inset-inline-start: 0;
66
66
  }
67
67
  }
@@ -72,9 +72,9 @@
72
72
  content: "";
73
73
  position: absolute;
74
74
  width: $kendo-filter-line-size;
75
- inset-block-start: calc(-#{$kendo-filter-padding-y} - #{$kendo-filter-line-size});
75
+ inset-block-start: calc( calc( #{$kendo-filter-padding-y} * -1 ) - #{$kendo-filter-line-size} );
76
76
  inset-block-end: 50%;
77
- inset-inline-start: -$kendo-filter-padding-x;
77
+ inset-inline-start: calc( #{$kendo-filter-padding-x} * -1 );
78
78
  }
79
79
 
80
80
  // The forth and fifth selectors targets the Angular rendering
@@ -9,7 +9,7 @@ $kendo-filter-padding-y: $kendo-padding-md-y !default;
9
9
 
10
10
  /// The bottom margin of the Filter.
11
11
  /// @group filter
12
- $kendo-filter-bottom-margin: 30px !default;
12
+ $kendo-filter-bottom-margin: k-spacing(7.5) !default;
13
13
  /// The width of the line that connects the Filter items.
14
14
  /// @group filter
15
15
  $kendo-filter-line-size: 1px !default;
@@ -27,4 +27,4 @@ $kendo-filter-preview-operator-text: $kendo-subtle-text !default;
27
27
 
28
28
  /// The box shadow of the focused Filter toolbar.
29
29
  /// @group filter
30
- $kendo-filter-toolbar-focus-shadow: 0 0 0 2px rgba(0, 0, 0, .08) !default;
30
+ $kendo-filter-toolbar-focus-shadow: 0 0 0 2px rgba(0, 0, 0, .08) !default;
@@ -111,13 +111,13 @@
111
111
  }
112
112
 
113
113
  .k-alert-error {
114
- font-size: $kendo-font-size-sm;
115
- margin-top: $kendo-padding-md-y * 2;
114
+ font-size: var( --kendo-font-size-sm, inherit );
115
+ margin-top: calc( #{$kendo-padding-md-y} * 2 );
116
116
  }
117
117
 
118
118
  .k-field-info {
119
119
  display: inline-block;
120
- font-size: $kendo-font-size-xs;
120
+ font-size: var( --kendo-font-size-xs, inherit );
121
121
  line-height: 1;
122
122
  margin-block: 0;
123
123
  margin-inline: $kendo-padding-md-x;
@@ -242,7 +242,7 @@
242
242
  fieldset {
243
243
  border-width: 1px 0 0;
244
244
  border-style: solid;
245
- margin: ($kendo-form-spacer * 2) 0;
245
+ margin: calc( #{$kendo-form-spacer} * 2 ) 0;
246
246
  padding: 0;
247
247
 
248
248
  &:first-child:first-of-type {
@@ -255,11 +255,11 @@
255
255
  }
256
256
 
257
257
  legend {
258
- font-size: $kendo-font-size-sm;
258
+ font-size: var( --kendo-font-size-sm, inherit );
259
259
  text-align: start;
260
260
  font-weight: 600;
261
261
  line-height: 1;
262
- margin-bottom: $kendo-padding-lg-y * 2;
262
+ margin-bottom: calc( #{$kendo-padding-lg-y} * 2 );
263
263
  text-transform: uppercase;
264
264
  padding: 0 $kendo-padding-md-x 0 0;
265
265
  width: auto;
@@ -269,12 +269,12 @@
269
269
  display: flex;
270
270
  align-items: flex-start;
271
271
  text-align: start;
272
- margin-bottom: $kendo-padding-lg-y * 2;
272
+ margin-bottom: calc( #{$kendo-padding-lg-y} * 2 );
273
273
 
274
274
  > span:not(.k-widget) {
275
275
  width: $kendo-inline-form-element-width;
276
276
  text-align: end;
277
- line-height: $kendo-line-height-md;
277
+ line-height: var( --kendo-line-height, normal );
278
278
  // TODO: do we need the input variable?
279
279
  padding: calc( #{$kendo-padding-md-y} + #{$kendo-input-border-width} ) 0;
280
280
  padding-right: $kendo-padding-lg-x;
@@ -290,13 +290,13 @@
290
290
  }
291
291
 
292
292
  .k-alert-error {
293
- font-size: $kendo-font-size-sm;
294
- margin-top: $kendo-padding-md-y * 2;
293
+ font-size: var( --kendo-font-size-sm, inherit );
294
+ margin-top: calc( #{$kendo-padding-md-y} * 2 );
295
295
  }
296
296
 
297
297
  .k-field-info {
298
298
  display: block;
299
- font-size: $kendo-font-size-xs;
299
+ font-size: var( --kendo-font-size-xs, inherit );
300
300
  line-height: 1;
301
301
  margin: 0;
302
302
  }
@@ -323,12 +323,12 @@
323
323
  .k-popup-edit-form > .k-actions,
324
324
  .k-edit-form-container .k-actions {
325
325
  // TODO: refactor
326
- margin: k-map-get( $kendo-spacing, 4 ) (-$kendo-window-inner-padding-x) (-$kendo-window-inner-padding-y);
326
+ margin: k-spacing(4) (-$kendo-window-inner-padding-x) (-$kendo-window-inner-padding-y);
327
327
  }
328
328
 
329
329
 
330
330
  .k-edit-label {
331
- margin: 0 0 k-map-get( $kendo-spacing, 4 ) 0;
331
+ margin: 0 0 k-spacing(4) 0;
332
332
  // TODO: do we need the input variable?
333
333
  padding: calc( #{$kendo-input-padding-y} + #{$kendo-input-border-width} ) 0;
334
334
  width: 30%;
@@ -338,7 +338,7 @@
338
338
  clear: both;
339
339
  }
340
340
  .k-edit-field {
341
- margin: 0 0 k-map-get( $kendo-spacing, 4 ) 0;
341
+ margin: 0 0 k-spacing(4) 0;
342
342
  width: 65%;
343
343
  float: right;
344
344
  clear: right;
@@ -364,11 +364,11 @@
364
364
 
365
365
  .k-radio-label,
366
366
  .k-checkbox-label {
367
- margin-right: k-map-get( $kendo-spacing, 4 );
367
+ margin-right: k-spacing(4);
368
368
  }
369
369
 
370
370
  > .k-reset > li + li {
371
- margin-top: k-map-get( $kendo-spacing, 2 );
371
+ margin-top: k-spacing(2);
372
372
  }
373
373
 
374
374
  .k-reset .k-widget {
@@ -8,37 +8,37 @@
8
8
 
9
9
  /// The padding of the inline Form.
10
10
  /// @group form
11
- $kendo-form-spacer: $kendo-padding-md-x * 2 !default;
11
+ $kendo-form-spacer: calc( #{$kendo-padding-md-x} * 2 ) !default;
12
12
 
13
13
  /// The font size of the Form.
14
14
  /// @group form
15
- $kendo-form-font-size: $kendo-font-size-md !default;
15
+ $kendo-form-font-size: var( --kendo-font-size, inherit ) !default;
16
16
  /// The line height of the Form.
17
17
  /// @group form
18
- $kendo-form-line-height: $kendo-line-height-md !default;
18
+ $kendo-form-line-height: var( --kendo-line-height, normal ) !default;
19
19
  /// The line height of the Form in em units.
20
20
  /// @group form
21
21
  $kendo-form-line-height-em: calc( #{$kendo-form-line-height} * 1em ) !default;
22
22
  /// The line height of the small Form.
23
23
  /// @group form
24
- $kendo-form-sm-line-height: $kendo-line-height-sm !default;
24
+ $kendo-form-sm-line-height: var( --kendo-line-height-sm, normal ) !default;
25
25
  /// The line height of the large Form.
26
26
  /// @group form
27
- $kendo-form-lg-line-height: $kendo-line-height-lg !default;
27
+ $kendo-form-lg-line-height: var( --kendo-line-height-lg, normal ) !default;
28
28
 
29
29
  /// The margin of the Form fieldset.
30
30
  /// @group form
31
31
  $kendo-form-fieldset-margin: 2em 0 0 !default;
32
32
  /// The padding of the Form fieldset.
33
33
  /// @group form
34
- $kendo-form-fieldset-padding: 0px !default;
34
+ $kendo-form-fieldset-padding: k-spacing(0) !default;
35
35
 
36
36
  /// The margin of the Form legend.
37
37
  /// @group form
38
38
  $kendo-form-legend-margin: 0 0 1em !default;
39
39
  /// The padding of the Form legend.
40
40
  /// @group form
41
- $kendo-form-legend-padding: 0px !default;
41
+ $kendo-form-legend-padding: k-spacing(0) !default;
42
42
  /// The border width of the Form legend.
43
43
  /// @group form
44
44
  $kendo-form-legend-border-width: 0 0 2px !default;
@@ -60,11 +60,11 @@ $kendo-form-legend-text-transform: uppercase !default;
60
60
 
61
61
  /// The bottom margin of the Form label.
62
62
  /// @group form
63
- $kendo-form-label-margin-bottom: 0px !default;
63
+ $kendo-form-label-margin-bottom: k-spacing(0) !default;
64
64
 
65
65
  /// The horizontal margin of the Form buttons.
66
66
  /// @group form
67
- $kendo-form-button-margin-x: 8px !default;
67
+ $kendo-form-button-margin-x: k-spacing(2) !default;
68
68
 
69
69
  /// The font size of the Form hint.
70
70
  /// @group form
@@ -74,17 +74,17 @@ $kendo-form-hint-font-size: 12px !default;
74
74
  $kendo-form-hint-font-style: italic !default;
75
75
  /// The top margin of the Form hint.
76
76
  /// @group form
77
- $kendo-form-hint-margin-top: 4px !default;
77
+ $kendo-form-hint-margin-top: k-spacing(1) !default;
78
78
 
79
79
  /// The row spacing of the small Form.
80
80
  /// @group form
81
- $kendo-form-sm-rows-spacing: k-map-get( $kendo-spacing, 2.5 ) !default;
81
+ $kendo-form-sm-rows-spacing: k-spacing(2.5) !default;
82
82
  /// The row spacing of the medium Form.
83
83
  /// @group form
84
- $kendo-form-md-rows-spacing: k-map-get( $kendo-spacing, 3.5 ) !default;
84
+ $kendo-form-md-rows-spacing: k-spacing(3.5) !default;
85
85
  /// The row spacing of the large Form.
86
86
  /// @group form
87
- $kendo-form-lg-rows-spacing: k-map-get( $kendo-spacing, 4.5 ) !default;
87
+ $kendo-form-lg-rows-spacing: k-spacing(4.5) !default;
88
88
 
89
89
  /// The margin of the Form separator.
90
90
  /// @group form
@@ -95,10 +95,10 @@ $kendo-form-separator-border-color: $kendo-form-legend-border-color !default;
95
95
 
96
96
  /// The top padding of the label in the horizontal Form.
97
97
  /// @group form
98
- $kendo-horizontal-form-label-padding-top: 5px !default;
98
+ $kendo-horizontal-form-label-padding-top: calc( #{k-spacing(2.5)} / 2 ) !default;
99
99
  /// The horizontal margin of the label in the horizontal Form.
100
100
  /// @group form
101
- $kendo-horizontal-form-label-margin-x: 10px !default;
101
+ $kendo-horizontal-form-label-margin-x: k-spacing(2.5) !default;
102
102
  /// The width of the label in the horizontal Form.
103
103
  /// @group form
104
104
  $kendo-horizontal-form-label-width: 25% !default;
@@ -121,7 +121,7 @@ $kendo-forms-invalid-color: $kendo-color-error !default;
121
121
 
122
122
  /// The horizontal margin of the optional label in the Form.
123
123
  /// @group form
124
- $kendo-label-optional-margin-x: 6px !default;
124
+ $kendo-label-optional-margin-x: k-spacing(1.5) !default;
125
125
  /// The font size of the optional label in the Form.
126
126
  /// @group form
127
127
  $kendo-label-optional-font-size: 12px !default;
@@ -132,7 +132,7 @@ $kendo-label-optional-font-style: italic !default;
132
132
 
133
133
  /// The margin of the Form fieldset.
134
134
  /// @group form
135
- $kendo-fieldset-margin: 30px !default;
135
+ $kendo-fieldset-margin: k-spacing(7.5) !default;
136
136
  /// The font size of the Form fieldset.
137
137
  /// @group form
138
138
  $kendo-fieldset-font-size: $kendo-h4-font-size !default;
@@ -1,6 +1,6 @@
1
1
  @mixin kendo-gantt--layout-base() {
2
2
 
3
- $row-height: #{$kendo-line-height-em} + #{2 * $kendo-table-md-cell-padding-y} + #{$kendo-grid-cell-horizontal-border-width};
3
+ $row-height: #{$kendo-line-height-em} + calc( 2 * #{$kendo-table-md-cell-padding-y} ) + #{$kendo-grid-cell-horizontal-border-width};
4
4
 
5
5
  .k-gantt {
6
6
  border-width: $kendo-gantt-border-width;
@@ -28,7 +28,7 @@
28
28
  vertical-align: top;
29
29
  }
30
30
  .k-grid-header tr {
31
- height: calc( #{$kendo-line-height-em} + #{$kendo-grid-header-padding-y * 2} + 1px );
31
+ height: calc( #{$kendo-line-height-em} + calc( #{$kendo-grid-header-padding-y} * 2 ) + 1px );
32
32
  }
33
33
  .k-grid-header .k-header {
34
34
  position: static;
@@ -37,11 +37,11 @@
37
37
  position: relative;
38
38
  }
39
39
  .k-grid-content tr {
40
- height: calc( #{$kendo-line-height-em} + #{$kendo-grid-cell-padding-y * 2} + #{$kendo-grid-cell-horizontal-border-width} );
40
+ height: calc( #{$kendo-line-height-em} + calc( #{$kendo-grid-cell-padding-y} * 2 ) + #{$kendo-grid-cell-horizontal-border-width} );
41
41
  }
42
42
 
43
43
  &.k-gantt-planned .k-grid-content tr {
44
- height: calc( #{$kendo-line-height-em} * 1.7 + #{$kendo-grid-cell-padding-y * 2} + #{$kendo-grid-cell-horizontal-border-width} );
44
+ height: calc( #{$kendo-line-height-em} * 1.7 + calc( #{$kendo-grid-cell-padding-y} * 2 ) + #{$kendo-grid-cell-horizontal-border-width} );
45
45
  }
46
46
 
47
47
  // Layout
@@ -273,7 +273,7 @@
273
273
  padding: 0 !important; // stylelint-disable-line declaration-no-important
274
274
  }
275
275
  .k-grid-header tr {
276
- height: calc( #{$kendo-line-height-em} * 2 + #{$kendo-grid-header-padding-y * 4} + 2px );
276
+ height: calc( #{$kendo-line-height-em} * 2 + calc( #{$kendo-grid-header-padding-y} * 4 ) + 2px );
277
277
  vertical-align: bottom;
278
278
  }
279
279
  .k-grid-content {
@@ -284,7 +284,7 @@
284
284
  vertical-align: middle;
285
285
  }
286
286
  .k-gantt-treelist-nested-columns .k-grid-header tr {
287
- height: calc( #{$kendo-line-height-em} + #{$kendo-grid-header-padding-y * 2} + 1px );
287
+ height: calc( #{$kendo-line-height-em} + calc( #{$kendo-grid-header-padding-y} * 2 ) + 1px );
288
288
  }
289
289
 
290
290
  &.k-gantt-treelist-scrollable {
@@ -423,8 +423,8 @@
423
423
  flex: 1 1 auto;
424
424
  }
425
425
  .k-task-dot {
426
- width: calc( #{$kendo-gantt-dot-size} + #{$kendo-gantt-dot-spacing * 2} );
427
- height: calc( #{$kendo-gantt-dot-size} + #{$kendo-gantt-dot-spacing * 2} );
426
+ width: calc( #{$kendo-gantt-dot-size} + calc( #{$kendo-gantt-dot-spacing} * 2 ) );
427
+ height: calc( #{$kendo-gantt-dot-size} + calc( #{$kendo-gantt-dot-spacing} * 2 ) );
428
428
  line-height: 1;
429
429
  cursor: pointer;
430
430
  display: none;
@@ -533,7 +533,7 @@
533
533
  // Single task
534
534
  .k-single-wrap {}
535
535
  .k-task-single {
536
- @include border-radius( $kendo-border-radius-md );
536
+ @include border-radius( k-border-radius(md) );
537
537
  border-width: $kendo-gantt-task-border-width;
538
538
  border-style: solid;
539
539
  box-sizing: border-box;
@@ -566,7 +566,7 @@
566
566
  }
567
567
  }
568
568
  .k-task-complete {
569
- @include border-radius( $kendo-border-radius-md );
569
+ @include border-radius( k-border-radius(md) );
570
570
  width: 20%;
571
571
  position: absolute;
572
572
  z-index: 1;
@@ -627,7 +627,7 @@
627
627
  white-space: nowrap;
628
628
 
629
629
  strong {
630
- font-size: $kendo-font-size-lg;
630
+ font-size: var( --kendo-font-size-lg, inherit );
631
631
  font-weight: normal;
632
632
  display: block;
633
633
  }
@@ -766,7 +766,7 @@
766
766
  }
767
767
  .k-gantt-tooltip-validation-value {
768
768
  // TODO: extract to variable
769
- font-weight: $kendo-font-weight-bold;
769
+ font-weight: var( --kendo-font-weight-bold, normal );
770
770
  }
771
771
  .k-gantt-tooltip-validation-label,
772
772
  .k-gantt-tooltip-validation-value {
@@ -3,95 +3,239 @@
3
3
 
4
4
  // Gantt
5
5
 
6
+ /// The border width of the Gantt.
7
+ /// @group gantt
6
8
  $kendo-gantt-border-width: 1px !default;
7
- $kendo-gantt-font-family: $kendo-font-family !default;
8
- $kendo-gantt-font-size: $kendo-font-size-md !default;
9
- $kendo-gantt-line-height: $kendo-line-height-md !default;
10
-
9
+ /// The font family of the Gantt.
10
+ /// @group gantt
11
+ $kendo-gantt-font-family: var( --kendo-font-family, inherit ) !default;
12
+ /// The font size of the Gantt.
13
+ /// @group gantt
14
+ $kendo-gantt-font-size: var( --kendo-font-size, inherit ) !default;
15
+ /// The line height of the Gantt.
16
+ /// @group gantt
17
+ $kendo-gantt-line-height: var( --kendo-line-height, normal ) !default;
18
+
19
+ /// The background color of the Gantt.
20
+ /// @group gantt
11
21
  $kendo-gantt-bg: $kendo-component-bg !default;
22
+ /// The text color of the Gantt.
23
+ /// @group gantt
12
24
  $kendo-gantt-text: $kendo-component-text !default;
25
+ /// The border color of the Gantt.
26
+ /// @group gantt
13
27
  $kendo-gantt-border: $kendo-component-border !default;
14
28
 
29
+ /// The background color of the Gantt TreeList.
30
+ /// @group gantt
15
31
  $kendo-gantt-treelist-bg: null !default;
32
+ /// The text color of the Gantt TreeList.
33
+ /// @group gantt
16
34
  $kendo-gantt-treelist-text: null !default;
35
+ /// The border color of the Gantt TreeList.
36
+ /// @group gantt
17
37
  $kendo-gantt-treelist-border: null !default;
18
38
 
39
+ /// The background color of the Gantt non-working days.
40
+ /// @group gantt
19
41
  $kendo-gantt-nonwork-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 3%, transparent), rgba( k-contrast-legacy( $kendo-gantt-bg ), .025 )) !default;
42
+ /// The text color of the Gantt non-working days.
43
+ /// @group gantt
20
44
  $kendo-gantt-nonwork-text: null !default;
45
+ /// The border color of the Gantt non-working days.
46
+ /// @group gantt
21
47
  $kendo-gantt-nonwork-border: null !default;
22
48
 
49
+ /// The size of the Gantt connecting lines.
50
+ /// @group gantt
23
51
  $kendo-gantt-line-size: 2px !default;
52
+ /// The background fill color of the Gantt connecting lines.
53
+ /// @group gantt
24
54
  $kendo-gantt-line-fill: if($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( $kendo-gantt-bg )) !default;
55
+ /// The background fill of the selected Gantt connecting lines.
56
+ /// @group gantt
25
57
  $kendo-gantt-line-selected-fill: $kendo-color-primary !default;
26
58
 
59
+ /// The size of the Gantt task dot.
60
+ /// @group gantt
27
61
  $kendo-gantt-dot-size: 8px !default;
28
- $kendo-gantt-dot-spacing: 4px !default;
62
+ /// The spacing of the Gantt task dot.
63
+ /// @group gantt
64
+ $kendo-gantt-dot-spacing: k-spacing(1) !default;
65
+ /// The background color of the Gantt task dot.
66
+ /// @group gantt
29
67
  $kendo-gantt-dot-bg: $kendo-gantt-text !default;
68
+ /// The border color of the Gantt task dot.
69
+ /// @group gantt
30
70
  $kendo-gantt-dot-border: null !default;
71
+ /// The background color of the hovered Gantt task dot.
72
+ /// @group gantt
31
73
  $kendo-gantt-dot-hover-bg: $kendo-gantt-bg !default;
74
+ /// The border color of the hovered Gantt task dot.
75
+ /// @group gantt
32
76
  $kendo-gantt-dot-hover-border: $kendo-gantt-text !default;
33
77
 
78
+ /// The background color of the Gantt milestone.
79
+ /// @group gantt
34
80
  $kendo-gantt-milestone-bg: $kendo-gantt-text !default;
81
+ /// The border color of the Gantt milestone.
82
+ /// @group gantt
35
83
  $kendo-gantt-milestone-border: $kendo-gantt-border !default;
84
+ /// The background color of the selected Gantt milestone.
85
+ /// @group gantt
36
86
  $kendo-gantt-milestone-selected-bg: $kendo-selected-bg !default;
87
+ /// The border color of the selected Gantt milestone.
88
+ /// @group gantt
37
89
  $kendo-gantt-milestone-selected-border: $kendo-selected-border !default;
38
90
 
91
+ /// The background color of the Gantt summary.
92
+ /// @group gantt
39
93
  $kendo-gantt-summary-bg: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-gantt-text, 1 )) !default;
94
+ /// The background color of the Gantt summary progress.
95
+ /// @group gantt
40
96
  $kendo-gantt-summary-progress-bg: if($kendo-enable-color-system, k-color( on-base ), k-try-shade( $kendo-gantt-text, 5 )) !default;
97
+ /// The background color of the selected Gantt summary.
98
+ /// @group gantt
41
99
  $kendo-gantt-summary-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-try-tint( $kendo-selected-bg, 6 )) !default;
100
+ /// The background color of the selected Gantt summary progress.
101
+ /// @group gantt
42
102
  $kendo-gantt-summary-progress-selected-bg: $kendo-selected-bg !default;
43
103
 
104
+ /// The border width of the Gantt task.
105
+ /// @group gantt
44
106
  $kendo-gantt-task-border-width: 0px !default;
45
- $kendo-gantt-task-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
46
- $kendo-gantt-task-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
107
+ /// The horizontal padding of the Gantt task.
108
+ /// @group gantt
109
+ $kendo-gantt-task-padding-x: k-spacing(2) !default;
110
+ /// The vertical padding of the Gantt task.
111
+ /// @group gantt
112
+ $kendo-gantt-task-padding-y: k-spacing(1) !default;
113
+ /// The background color of the Gantt task.
114
+ /// @group gantt
47
115
  $kendo-gantt-task-bg: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-gantt-text, 2 )) !default;
116
+ /// The text color of the Gantt task.
117
+ /// @group gantt
48
118
  $kendo-gantt-task-text: if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $kendo-gantt-text )) !default;
119
+ /// The border color of the Gantt task.
120
+ /// @group gantt
49
121
  $kendo-gantt-task-border: null !default;
122
+ /// The background color of the Gantt task progress.
123
+ /// @group gantt
50
124
  $kendo-gantt-task-progress-bg: $kendo-gantt-text !default;
125
+ /// The background color of selected the Gantt task.
126
+ /// @group gantt
51
127
  $kendo-gantt-task-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-try-tint( $kendo-selected-bg, 6 )) !default;
128
+ /// The text color of the selected Gantt task.
129
+ /// @group gantt
52
130
  $kendo-gantt-task-selected-text: $kendo-selected-text !default;
131
+ /// The border color of the selected Gantt task.
132
+ /// @group gantt
53
133
  $kendo-gantt-task-selected-border: null !default;
134
+ /// The background color of the selected Gantt task progress.
135
+ /// @group gantt
54
136
  $kendo-gantt-task-progress-selected-bg: $kendo-selected-bg !default;
55
137
 
138
+ /// The vertical margin of the Gantt task planned line.
139
+ /// @group gantt
56
140
  $kendo-gantt-planned-margin-y: .35em !default;
141
+ /// The border width of the Gantt task planned line.
142
+ /// @group gantt
57
143
  $kendo-gantt-planned-border-width: 2px !default;
144
+ /// The line height of the Gantt task planned line.
145
+ /// @group gantt
58
146
  $kendo-gantt-planned-line-height: .75em !default;
59
147
 
148
+ /// The vertical margin of the Gantt planned dependencies.
149
+ /// @group gantt
60
150
  $kendo-gantt-planned-dependency-margin-y: .55em !default;
61
151
 
152
+ /// The default width of the Gantt planned line dot.
153
+ /// @group gantt
62
154
  $kendo-gantt-planned-moment-width: 6px !default;
155
+ /// The default height of the Gantt planned line dot.
156
+ /// @group gantt
63
157
  $kendo-gantt-planned-moment-height: $kendo-gantt-planned-moment-width !default;
158
+ /// The border radius of the Gantt planned line dot.
159
+ /// @group gantt
64
160
  $kendo-gantt-planned-moment-border-radius: calc( ( #{$kendo-gantt-planned-border-width * 2} + #{$kendo-gantt-planned-moment-width} ) / 2 ) !default;
161
+ /// The horizontal margin of the Gantt planned line dot.
162
+ /// @group gantt
65
163
  $kendo-gantt-planned-moment-left-margin-x: calc( #{k-math-div( $kendo-gantt-planned-border-width, 2 )} - #{$kendo-gantt-planned-moment-border-radius} ) !default;
164
+ /// The horizontal margin of the Gantt milestone planned line dot.
165
+ /// @group gantt
66
166
  $kendo-gantt-planned-milestone-moment-margin-x: k-math-div( $kendo-gantt-planned-moment-width, 2 ) !default;
67
167
 
168
+ /// The default height of the Gantt planned line.
169
+ /// @group gantt
68
170
  $kendo-gantt-planned-duration-height: $kendo-gantt-planned-border-width !default;
171
+ /// The height of the hovered Gantt planned line.
172
+ /// @group gantt
69
173
  $kendo-gantt-planned-duration-hover-height: calc( #{$kendo-gantt-planned-border-width} + 1px ) !default;
70
174
 
175
+ /// The top position of the Gantt drag hint.
176
+ /// @group gantt
71
177
  $kendo-gantt-planned-single-drag-hint-top: 0 !default;
178
+ /// The top position of the Gantt summary drag hint.
179
+ /// @group gantt
72
180
  $kendo-gantt-planned-summary-drag-hint-top: .5em !default;
181
+ /// The top position of the Gantt planned milestone drag hint.
182
+ /// @group gantt
73
183
  $kendo-gantt-planned-milestone-drag-hint-top: .3em !default;
74
184
 
185
+ /// The horizontal margin of the Gantt milestone wrap.
186
+ /// @group gantt
75
187
  $kendo-gantt-rtl-milestone-wrap-margin-x: -2.4em !default;
188
+ /// The horizontal margin of the Gantt milestone line dot.
189
+ /// @group gantt
76
190
  $kendo-gantt-rtl-milestone-planned-moment-margin-x: .2em !default;
191
+ /// The horizontal margin of the Gantt milestone task dot.
192
+ /// @group gantt
77
193
  $kendo-gantt-rtl-milestone-dot-start-margin-x: -.1em !default;
78
194
 
195
+ /// The horizontal offset of the Gantt delayed task resize handler.
196
+ /// @group gantt
79
197
  $kendo-gantt-planned-offset-resize-handler-margin-x: 1.4em !default;
80
198
 
199
+ /// The background color of the Gantt planned Tooltip.
200
+ /// @group gantt
81
201
  $kendo-gantt-planned-bg: $kendo-color-primary !default;
202
+ /// The border color of the Gantt planned Tooltip.
203
+ /// @group gantt
82
204
  $kendo-gantt-planned-border: $kendo-gantt-planned-bg !default;
83
205
 
206
+ /// The background color of the Gantt delayed task.
207
+ /// @group gantt
84
208
  $kendo-gantt-delayed-bg: $kendo-color-error !default;
209
+ /// The complement background color of the Gantt delayed task.
210
+ /// @group gantt
85
211
  $kendo-gantt-delayed-bg-lighter: if($kendo-enable-color-system, k-color( error-emphasis ), k-color-tint($kendo-gantt-delayed-bg, 5)) !default;
86
212
 
213
+ /// The background color of the Gantt advanced task.
214
+ /// @group gantt
87
215
  $kendo-gantt-advanced-bg: $kendo-color-success !default;
216
+ /// The complement background color of the Gantt advanced task.
217
+ /// @group gantt
88
218
  $kendo-gantt-advanced-bg-lighter: if($kendo-enable-color-system, k-color( success-emphasis ), k-color-tint($kendo-gantt-advanced-bg, 5)) !default;
89
219
 
220
+ /// The text color of the Gantt delayed task action.
221
+ /// @group gantt
90
222
  $kendo-gantt-action-on-offset-text: #000000 !default;
223
+ /// The top position of the Gantt delayed task resize handler.
224
+ /// @group gantt
91
225
  $kendo-gantt-offset-resize-handler-top: 50% !default;
92
226
 
227
+ /// The default width of the Gantt validation Tooltip.
228
+ /// @group gantt
93
229
  $kendo-gantt-validation-tooltip-width: 200px !default;
230
+ /// The default width of the Gantt validation Tooltip label.
231
+ /// @group gantt
94
232
  $kendo-gantt-validation-tooltip-label-width: 50px !default;
233
+ /// The border color of the Gantt validation Tooltip.
234
+ /// @group gantt
95
235
  $kendo-gantt-validation-tooltip-border: #656565 !default;
236
+ /// The border color of the valid Gantt validation Tooltip.
237
+ /// @group gantt
96
238
  $kendo-gantt-validation-tooltip-valid-border: $kendo-color-success !default;
239
+ /// The border color of the invalid Gantt validation Tooltip.
240
+ /// @group gantt
97
241
  $kendo-gantt-validation-tooltip-invalid-border: $kendo-color-error !default;