@progress/kendo-theme-default 7.3.0-dev.1 → 8.0.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 +9608 -9003
- package/dist/all.scss +5335 -5049
- package/dist/default-blue.scss +143 -29
- package/dist/default-dataviz-v4.scss +45 -6
- package/dist/default-green.scss +135 -29
- package/dist/default-main-dark.scss +190 -34
- package/dist/default-main.scss +34 -29
- package/dist/default-nordic.scss +143 -29
- package/dist/default-ocean-blue-a11y.scss +170 -33
- package/dist/default-ocean-blue.scss +166 -33
- package/dist/default-orange.scss +143 -29
- package/dist/default-purple.scss +143 -29
- package/dist/default-turquoise.scss +143 -29
- package/dist/default-urban.scss +143 -29
- package/dist/meta/sassdoc-data.json +31805 -30179
- package/dist/meta/sassdoc-raw-data.json +3341 -2591
- package/dist/meta/variables.json +3843 -3739
- package/lib/swatches/default-blue.json +541 -1
- package/lib/swatches/default-dataviz-v4.json +166 -1
- package/lib/swatches/default-green.json +501 -1
- package/lib/swatches/default-main-dark.json +751 -1
- package/lib/swatches/default-main.json +11 -1
- package/lib/swatches/default-nordic.json +541 -1
- package/lib/swatches/default-ocean-blue-a11y.json +672 -8
- package/lib/swatches/default-ocean-blue.json +645 -3
- package/lib/swatches/default-orange.json +541 -1
- package/lib/swatches/default-purple.json +541 -1
- package/lib/swatches/default-turquoise.json +541 -1
- package/lib/swatches/default-urban.json +541 -1
- package/package.json +4 -4
- package/scss/_variables.scss +0 -172
- package/scss/action-buttons/_variables.scss +4 -4
- package/scss/action-sheet/_layout.scss +1 -1
- package/scss/action-sheet/_variables.scss +17 -17
- package/scss/adaptive/_layout.scss +8 -8
- package/scss/adaptive/_variables.scss +3 -3
- package/scss/appbar/_variables.scss +6 -6
- package/scss/avatar/_variables.scss +6 -6
- package/scss/badge/_variables.scss +17 -17
- package/scss/bottom-navigation/_layout.scss +2 -2
- package/scss/bottom-navigation/_variables.scss +9 -9
- package/scss/breadcrumb/_variables.scss +17 -17
- package/scss/button/_variables.scss +21 -21
- package/scss/calendar/_layout.scss +2 -2
- package/scss/calendar/_theme.scss +1 -1
- package/scss/calendar/_variables.scss +33 -61
- package/scss/captcha/_variables.scss +6 -6
- package/scss/card/_variables.scss +18 -18
- package/scss/chat/_layout.scss +7 -7
- package/scss/chat/_variables.scss +13 -13
- package/scss/checkbox/_layout.scss +1 -1
- package/scss/checkbox/_variables.scss +9 -9
- package/scss/chip/_layout.scss +1 -1
- package/scss/chip/_variables.scss +15 -15
- package/scss/color-preview/_variables.scss +1 -1
- package/scss/coloreditor/_variables.scss +7 -7
- package/scss/colorgradient/_layout.scss +1 -1
- package/scss/colorgradient/_variables.scss +10 -10
- package/scss/colorpalette/_variables.scss +3 -3
- package/scss/common/_base.scss +7 -7
- package/scss/core/_index.scss +12 -0
- package/scss/core/border-radii/index.import.scss +1 -0
- package/scss/core/color-system/_swatch-legacy.scss +1 -1
- package/scss/core/color-system/_swatch.scss +1 -1
- package/scss/core/spacing/index.import.scss +29 -0
- package/scss/core/typography/index.import.scss +1 -0
- package/scss/dataviz/_layout.scss +8 -8
- package/scss/dataviz/_variables.scss +8 -8
- package/scss/daterangepicker/_layout.scss +1 -1
- package/scss/datetimepicker/_variables.scss +1 -1
- package/scss/dock-manager/_variables.scss +10 -10
- package/scss/draggable/_variables.scss +4 -4
- package/scss/drawer/_layout.scss +3 -3
- package/scss/drawer/_variables.scss +8 -18
- package/scss/dropdowntree/_layout.scss +2 -2
- package/scss/dropdowntree/_variables.scss +2 -2
- package/scss/dropzone/_variables.scss +8 -8
- package/scss/editor/_layout.scss +5 -5
- package/scss/editor/_variables.scss +3 -3
- package/scss/expansion-panel/_variables.scss +9 -9
- package/scss/fab/_layout.scss +4 -4
- package/scss/fab/_variables.scss +18 -18
- package/scss/filemanager/_layout.scss +3 -3
- package/scss/filemanager/_variables.scss +9 -9
- package/scss/filter/_layout.scss +4 -4
- package/scss/filter/_variables.scss +2 -2
- package/scss/forms/_layout.scss +16 -16
- package/scss/forms/_variables.scss +17 -17
- package/scss/gantt/_layout.scss +12 -12
- package/scss/gantt/_variables.scss +151 -7
- package/scss/grid/_layout.scss +10 -10
- package/scss/grid/_variables.scss +64 -64
- package/scss/imageeditor/_variables.scss +7 -7
- package/scss/input/_layout.scss +5 -5
- package/scss/input/_variables.scss +14 -14
- package/scss/list/_variables.scss +27 -27
- package/scss/listbox/_variables.scss +6 -6
- package/scss/listgroup/_layout.scss +7 -7
- package/scss/listgroup/_variables.scss +5 -5
- package/scss/listview/_variables.scss +7 -7
- package/scss/loader/_layout.scss +9 -9
- package/scss/loader/_variables.scss +25 -25
- package/scss/map/_layout.scss +1 -1
- package/scss/map/_variables.scss +8 -8
- package/scss/mediaplayer/_variables.scss +5 -5
- package/scss/menu/_layout.scss +1 -1
- package/scss/menu/_variables.scss +30 -30
- package/scss/menu-button/_layout.scss +3 -3
- package/scss/messagebox/_variables.scss +3 -3
- package/scss/notification/_variables.scss +7 -7
- package/scss/orgchart/_variables.scss +11 -11
- package/scss/pager/_variables.scss +10 -10
- package/scss/panelbar/_layout.scss +2 -2
- package/scss/panelbar/_variables.scss +9 -9
- package/scss/pdf-viewer/_variables.scss +5 -5
- package/scss/pivotgrid/_layout.scss +12 -12
- package/scss/pivotgrid/_variables.scss +15 -15
- package/scss/popup/_layout.scss +1 -1
- package/scss/popup/_theme.scss +1 -1
- package/scss/popup/_variables.scss +4 -4
- package/scss/progressbar/_layout.scss +2 -2
- package/scss/progressbar/_variables.scss +2 -2
- package/scss/prompt/_variables.scss +7 -7
- package/scss/radio/_layout.scss +1 -1
- package/scss/radio/_variables.scss +9 -9
- package/scss/rating/_variables.scss +4 -4
- package/scss/scheduler/_layout.scss +5 -5
- package/scss/scheduler/_theme.scss +1 -1
- package/scss/scheduler/_variables.scss +18 -18
- package/scss/scrollview/_layout.scss +1 -1
- package/scss/scrollview/_variables.scss +5 -5
- package/scss/signature/_variables.scss +5 -5
- package/scss/skeleton/_variables.scss +1 -1
- package/scss/slider/_theme.scss +1 -1
- package/scss/slider/_variables.scss +3 -3
- package/scss/splitter/_variables.scss +6 -6
- package/scss/spreadsheet/_layout.scss +11 -11
- package/scss/spreadsheet/_variables.scss +17 -17
- package/scss/stepper/_variables.scss +8 -8
- package/scss/table/_layout.scss +1 -1
- package/scss/table/_variables.scss +12 -12
- package/scss/tabstrip/_layout.scss +2 -2
- package/scss/tabstrip/_variables.scss +11 -11
- package/scss/taskboard/_variables.scss +16 -16
- package/scss/tilelayout/_variables.scss +2 -2
- package/scss/timeline/_layout.scss +4 -4
- package/scss/timeline/_variables.scss +10 -10
- package/scss/timeselector/_layout.scss +1 -1
- package/scss/timeselector/_variables.scss +6 -6
- package/scss/toolbar/_layout.scss +2 -2
- package/scss/toolbar/_variables.scss +12 -12
- package/scss/tooltip/_layout.scss +10 -10
- package/scss/tooltip/_variables.scss +4 -4
- package/scss/treelist/_layout.scss +1 -1
- package/scss/treelist/_variables.scss +5 -0
- package/scss/treeview/_layout.scss +1 -1
- package/scss/treeview/_variables.scss +20 -20
- package/scss/typography/_layout.scss +51 -111
- package/scss/typography/_variables.scss +136 -53
- package/scss/upload/_layout.scss +3 -3
- package/scss/upload/_variables.scss +8 -8
- package/scss/window/_variables.scss +7 -7
- package/scss/wizard/_variables.scss +7 -7
package/scss/forms/_layout.scss
CHANGED
|
@@ -111,13 +111,13 @@
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.k-alert-error {
|
|
114
|
-
font-size:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
367
|
+
margin-right: k-spacing(4);
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
> .k-reset > li + li {
|
|
371
|
-
margin-top: k-
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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-
|
|
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-
|
|
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-
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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;
|
package/scss/gantt/_layout.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@mixin kendo-gantt--layout-base() {
|
|
2
2
|
|
|
3
|
-
$row-height: #{$kendo-line-height-em} +
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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(
|
|
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(
|
|
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:
|
|
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:
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
$kendo-gantt-
|
|
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
|
-
|
|
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
|
-
|
|
46
|
-
|
|
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;
|
package/scss/grid/_layout.scss
CHANGED
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
> .k-grouping-drop-container {
|
|
411
411
|
flex-grow: 1;
|
|
412
412
|
padding-block: $kendo-grid-grouping-header-padding-y;
|
|
413
|
-
margin-block:
|
|
413
|
+
margin-block: calc( #{$kendo-grid-grouping-header-padding-y} * -1 );
|
|
414
414
|
display: inline-flex;
|
|
415
415
|
align-self: stretch;
|
|
416
416
|
align-items: center;
|
|
@@ -937,14 +937,14 @@
|
|
|
937
937
|
gap: $_grouping-header-padding-y;
|
|
938
938
|
|
|
939
939
|
&::before {
|
|
940
|
-
margin-inline-start:
|
|
940
|
+
margin-inline-start: calc( #{$_grouping-header-padding-y} * -1 );
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
943
|
|
|
944
944
|
.k-grid-header {
|
|
945
945
|
.k-table-th > .k-link {
|
|
946
|
-
margin-block: (
|
|
947
|
-
margin-inline: (
|
|
946
|
+
margin-block: calc( #{$_header-padding-y} * -1 );
|
|
947
|
+
margin-inline: calc( #{$_header-padding-x} * -1 );
|
|
948
948
|
padding-block: $_header-padding-y;
|
|
949
949
|
padding-inline: $_header-padding-x;
|
|
950
950
|
}
|
|
@@ -962,8 +962,8 @@
|
|
|
962
962
|
|
|
963
963
|
.k-table-th {
|
|
964
964
|
> .k-cell-inner {
|
|
965
|
-
margin-block: (
|
|
966
|
-
margin-inline: (
|
|
965
|
+
margin-block: calc( #{$_header-padding-y} * -1 );
|
|
966
|
+
margin-inline: calc( #{$_header-padding-x} * -1 );
|
|
967
967
|
|
|
968
968
|
> .k-link {
|
|
969
969
|
padding-block: $_header-padding-y;
|
|
@@ -1014,7 +1014,7 @@
|
|
|
1014
1014
|
.k-filtercell {
|
|
1015
1015
|
> span,
|
|
1016
1016
|
.k-filtercell-wrapper {
|
|
1017
|
-
gap:
|
|
1017
|
+
gap: calc( #{$_cell-padding-y} / 2 );
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
1020
|
|
|
@@ -1124,12 +1124,12 @@
|
|
|
1124
1124
|
box-sizing: border-box;
|
|
1125
1125
|
}
|
|
1126
1126
|
.k-filter-menu-container {
|
|
1127
|
-
padding: k-
|
|
1127
|
+
padding: k-spacing(2);
|
|
1128
1128
|
box-sizing: border-box;
|
|
1129
1129
|
display: flex;
|
|
1130
1130
|
flex-flow: column nowrap;
|
|
1131
1131
|
align-items: stretch;
|
|
1132
|
-
gap: k-
|
|
1132
|
+
gap: k-spacing(2);
|
|
1133
1133
|
|
|
1134
1134
|
.k-filter-and {
|
|
1135
1135
|
width: min-content;
|
|
@@ -1154,7 +1154,7 @@
|
|
|
1154
1154
|
display: flex;
|
|
1155
1155
|
flex-flow: column nowrap;
|
|
1156
1156
|
align-items: stretch;
|
|
1157
|
-
gap: k-
|
|
1157
|
+
gap: k-spacing(2);
|
|
1158
1158
|
}
|
|
1159
1159
|
}
|
|
1160
1160
|
|