@progress/kendo-theme-fluent 8.0.0-dev.0 → 8.0.0-dev.10
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 +6809 -3721
- package/dist/meta/sassdoc-data.json +40427 -33117
- package/dist/meta/sassdoc-raw-data.json +7826 -3729
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +5 -5
- package/scss/action-buttons/_variables.scss +3 -3
- package/scss/action-sheet/_layout.scss +1 -1
- package/scss/action-sheet/_variables.scss +13 -13
- package/scss/adaptive/_layout.scss +8 -8
- package/scss/appbar/_variables.scss +6 -6
- package/scss/avatar/_variables.scss +3 -3
- package/scss/badge/_theme.scss +4 -0
- package/scss/badge/_variables.scss +10 -10
- package/scss/bottom-navigation/_variables.scss +8 -8
- package/scss/breadcrumb/_variables.scss +16 -16
- package/scss/button/_layout.scss +1 -1
- package/scss/button/_variables.scss +58 -58
- package/scss/calendar/_layout.scss +44 -40
- package/scss/calendar/_theme.scss +4 -0
- package/scss/calendar/_variables.scss +40 -35
- package/scss/captcha/_variables.scss +3 -3
- package/scss/card/_variables.scss +13 -13
- package/scss/chat/_layout.scss +2 -2
- package/scss/chat/_variables.scss +13 -13
- package/scss/checkbox/_layout.scss +1 -1
- package/scss/checkbox/_variables.scss +15 -15
- package/scss/chip/_variables.scss +11 -11
- package/scss/color-preview/_variables.scss +1 -1
- package/scss/coloreditor/_variables.scss +6 -6
- package/scss/colorgradient/_variables.scss +9 -9
- package/scss/colorpalette/_variables.scss +1 -1
- package/scss/core/_index.scss +18 -1
- package/scss/core/_variables.scss +3 -59
- package/scss/core/border-radii/_index.scss +42 -0
- package/scss/core/color-system/_swatch-legacy.scss +0 -4
- package/scss/core/spacing/_index.scss +28 -0
- package/scss/core/typography/_index.scss +70 -0
- package/scss/dataviz/_layout.scss +11 -5
- package/scss/dataviz/_variables.scss +1 -1
- package/scss/daterangepicker/_layout.scss +1 -1
- package/scss/datetimepicker/_variables.scss +1 -1
- package/scss/dialog/_variables.scss +8 -8
- package/scss/dock-manager/_layout.scss +1 -0
- package/scss/dock-manager/_variables.scss +5 -5
- package/scss/draggable/_variables.scss +2 -1
- package/scss/drawer/_layout.scss +2 -0
- package/scss/drawer/_variables.scss +9 -7
- package/scss/dropdowntree/_variables.scss +1 -1
- package/scss/dropzone/_variables.scss +5 -5
- package/scss/editor/_layout.scss +6 -5
- package/scss/editor/_variables.scss +3 -3
- package/scss/expansion-panel/_variables.scss +6 -6
- package/scss/fab/_variables.scss +16 -16
- package/scss/filemanager/_variables.scss +6 -6
- package/scss/filter/_variables.scss +2 -1
- package/scss/forms/_layout.scss +6 -5
- package/scss/forms/_variables.scss +15 -14
- package/scss/gantt/_layout.scss +10 -9
- package/scss/gantt/_variables.scss +77 -76
- package/scss/grid/_layout.scss +2 -1
- package/scss/grid/_variables.scss +172 -172
- package/scss/icon/_variables.scss +2 -2
- package/scss/imageeditor/_variables.scss +11 -11
- package/scss/index.scss +8 -1
- package/scss/input/_variables.scss +9 -34
- package/scss/list/_layout.scss +1 -0
- package/scss/list/_variables.scss +24 -24
- package/scss/listbox/_variables.scss +2 -2
- package/scss/listgroup/_layout.scss +6 -6
- package/scss/listgroup/_variables.scss +3 -3
- package/scss/listview/_layout.scss +1 -0
- package/scss/listview/_variables.scss +8 -8
- package/scss/loader/_layout.scss +1 -1
- package/scss/loader/_variables.scss +29 -29
- package/scss/map/_variables.scss +6 -5
- package/scss/mediaplayer/_variables.scss +2 -2
- package/scss/menu/_variables.scss +16 -16
- package/scss/messagebox/_variables.scss +3 -3
- package/scss/notification/_variables.scss +6 -6
- package/scss/orgchart/_variables.scss +10 -10
- package/scss/pager/_variables.scss +8 -8
- package/scss/panelbar/_layout.scss +1 -0
- package/scss/panelbar/_variables.scss +9 -7
- package/scss/pdf-viewer/_variables.scss +4 -4
- package/scss/pivotgrid/_layout.scss +3 -3
- package/scss/pivotgrid/_variables.scss +17 -17
- package/scss/popover/_variables.scss +2 -2
- package/scss/popup/_variables.scss +5 -5
- package/scss/progressbar/_variables.scss +4 -4
- package/scss/prompt/_variables.scss +7 -7
- package/scss/radio/_variables.scss +13 -13
- package/scss/rating/_variables.scss +3 -3
- package/scss/scheduler/_layout.scss +2 -2
- package/scss/scheduler/_variables.scss +91 -91
- package/scss/scrollview/_variables.scss +2 -2
- package/scss/signature/_variables.scss +5 -5
- package/scss/skeleton/_variables.scss +2 -2
- package/scss/slider/_variables.scss +7 -7
- package/scss/splitter/_variables.scss +6 -6
- package/scss/spreadsheet/_layout.scss +9 -8
- package/scss/spreadsheet/_variables.scss +19 -18
- package/scss/stepper/_variables.scss +8 -8
- package/scss/table/_variables.scss +10 -10
- package/scss/tabstrip/_variables.scss +59 -54
- package/scss/taskboard/_variables.scss +23 -23
- package/scss/tilelayout/_variables.scss +1 -1
- package/scss/timeline/_variables.scss +24 -24
- package/scss/timeselector/_layout.scss +1 -1
- package/scss/timeselector/_variables.scss +6 -6
- package/scss/toolbar/_layout.scss +1 -1
- package/scss/toolbar/_variables.scss +9 -9
- package/scss/tooltip/_layout.scss +10 -10
- package/scss/tooltip/_variables.scss +6 -6
- package/scss/treelist/_layout.scss +2 -2
- package/scss/treelist/_variables.scss +2 -2
- package/scss/treeview/_variables.scss +11 -11
- package/scss/typography/_layout.scss +9 -0
- package/scss/typography/_theme.scss +7 -0
- package/scss/typography/_variables.scss +279 -66
- package/scss/upload/_layout.scss +1 -0
- package/scss/upload/_variables.scss +5 -5
- package/scss/window/_layout.scss +1 -1
- package/scss/window/_variables.scss +10 -10
- package/scss/wizard/_variables.scss +8 -8
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "../core/" as *;
|
|
2
|
+
@use "../core/spacing" as *;
|
|
2
3
|
|
|
3
4
|
/// The horizontal padding of the Filter.
|
|
4
5
|
/// @group filter
|
|
@@ -9,7 +10,7 @@ $kendo-filter-padding-y: $kendo-padding-md-y !default;
|
|
|
9
10
|
|
|
10
11
|
/// The bottom margin of the Filter.
|
|
11
12
|
/// @group filter
|
|
12
|
-
$kendo-filter-bottom-margin:
|
|
13
|
+
$kendo-filter-bottom-margin: k-spacing(7.5) !default;
|
|
13
14
|
/// The width of the line that connects the Filter items.
|
|
14
15
|
/// @group filter
|
|
15
16
|
$kendo-filter-line-size: 1px !default;
|
package/scss/forms/_layout.scss
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
@use "./_variables.scss" as *;
|
|
5
5
|
@use "../input/_variables.scss" as *;
|
|
6
6
|
@use "../window/_variables.scss" as *;
|
|
7
|
+
@use "../core/spacing" as *;
|
|
7
8
|
|
|
8
9
|
@mixin kendo-forms--layout() {
|
|
9
10
|
|
|
@@ -281,12 +282,12 @@
|
|
|
281
282
|
// Action buttons
|
|
282
283
|
.k-popup-edit-form > .k-actions,
|
|
283
284
|
.k-edit-form-container .k-actions {
|
|
284
|
-
margin:
|
|
285
|
+
margin: k-spacing(4) (-$kendo-window-inner-padding-x) (-$kendo-window-inner-padding-y);
|
|
285
286
|
}
|
|
286
287
|
|
|
287
288
|
|
|
288
289
|
.k-edit-label {
|
|
289
|
-
margin-block-end:
|
|
290
|
+
margin-block-end: k-spacing(4);
|
|
290
291
|
padding-block: calc( #{$kendo-input-md-padding-y} + #{$kendo-input-border-width} );
|
|
291
292
|
width: 30%;
|
|
292
293
|
line-height: var( --kendo-form-line-height, #{$kendo-form-line-height} );
|
|
@@ -295,7 +296,7 @@
|
|
|
295
296
|
clear: both;
|
|
296
297
|
}
|
|
297
298
|
.k-edit-field {
|
|
298
|
-
margin-block-end:
|
|
299
|
+
margin-block-end: k-spacing(4);
|
|
299
300
|
width: 65%;
|
|
300
301
|
float: right;
|
|
301
302
|
clear: right;
|
|
@@ -320,11 +321,11 @@
|
|
|
320
321
|
|
|
321
322
|
.k-radio-label,
|
|
322
323
|
.k-checkbox-label {
|
|
323
|
-
margin-inline-end:
|
|
324
|
+
margin-inline-end: k-spacing(4);
|
|
324
325
|
}
|
|
325
326
|
|
|
326
327
|
> .k-reset > li + li {
|
|
327
|
-
margin-block-start:
|
|
328
|
+
margin-block-start: k-spacing(2);
|
|
328
329
|
}
|
|
329
330
|
|
|
330
331
|
.k-reset .k-widget {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/" as *;
|
|
3
|
+
@use "../core/spacing" as *;
|
|
3
4
|
|
|
4
5
|
/// The padding of the inline Form.
|
|
5
6
|
/// @group form
|
|
6
|
-
$kendo-form-spacer: ( $kendo-padding-md-x * 2 ) !default;
|
|
7
|
+
$kendo-form-spacer: calc( #{$kendo-padding-md-x} * 2 ) !default;
|
|
7
8
|
|
|
8
9
|
/// The font size of the Form.
|
|
9
10
|
/// @group form
|
|
@@ -28,19 +29,19 @@ $kendo-form-fieldset-margin: 2em 0 0 !default;
|
|
|
28
29
|
|
|
29
30
|
/// The padding of the Form fieldset.
|
|
30
31
|
/// @group form
|
|
31
|
-
$kendo-form-fieldset-padding:
|
|
32
|
+
$kendo-form-fieldset-padding: k-spacing(0) !default;
|
|
32
33
|
|
|
33
34
|
/// The margin of the Form legend.
|
|
34
35
|
/// @group form
|
|
35
|
-
$kendo-form-legend-margin: 0 0
|
|
36
|
+
$kendo-form-legend-margin: 0 0 k-spacing(3) !default;
|
|
36
37
|
|
|
37
38
|
/// The padding of the Form legend.
|
|
38
39
|
/// @group form
|
|
39
|
-
$kendo-form-legend-padding:
|
|
40
|
+
$kendo-form-legend-padding: k-spacing(0) !default;
|
|
40
41
|
|
|
41
42
|
/// The border width of the Form legend.
|
|
42
43
|
/// @group form
|
|
43
|
-
$kendo-form-legend-border-width: 0 0
|
|
44
|
+
$kendo-form-legend-border-width: 0 0 k-spacing(0.5) !default;
|
|
44
45
|
|
|
45
46
|
/// The border style of the Form legend.
|
|
46
47
|
/// @group form
|
|
@@ -65,7 +66,7 @@ $kendo-form-legend-text-transform: uppercase !default;
|
|
|
65
66
|
|
|
66
67
|
/// The bottom margin of the Form label.
|
|
67
68
|
/// @group form
|
|
68
|
-
$kendo-form-label-margin-bottom:
|
|
69
|
+
$kendo-form-label-margin-bottom: k-spacing(2) !default;
|
|
69
70
|
|
|
70
71
|
/// The font weight of the form label
|
|
71
72
|
/// @group form
|
|
@@ -73,7 +74,7 @@ $kendo-form-label-font-weight: var( --kendo-font-weight-bold, inherit ) !default
|
|
|
73
74
|
|
|
74
75
|
/// The horizontal margin of the Form buttons.
|
|
75
76
|
/// @group form
|
|
76
|
-
$kendo-form-button-margin-x:
|
|
77
|
+
$kendo-form-button-margin-x: k-spacing(2) !default;
|
|
77
78
|
|
|
78
79
|
/// The font size of the Form hint.
|
|
79
80
|
/// @group form
|
|
@@ -85,7 +86,7 @@ $kendo-form-hint-font-style: normal !default;
|
|
|
85
86
|
|
|
86
87
|
/// The top margin of the Form hint.
|
|
87
88
|
/// @group form
|
|
88
|
-
$kendo-form-hint-margin-top:
|
|
89
|
+
$kendo-form-hint-margin-top: k-spacing(1) !default;
|
|
89
90
|
|
|
90
91
|
/// The text color of the Form hint.
|
|
91
92
|
/// @group form
|
|
@@ -93,7 +94,7 @@ $kendo-form-hint-text: if($kendo-enable-color-system, k-color( subtle ), k-get-t
|
|
|
93
94
|
|
|
94
95
|
/// The row spacing of the small Form.
|
|
95
96
|
/// @group form
|
|
96
|
-
$kendo-form-sm-rows-spacing:
|
|
97
|
+
$kendo-form-sm-rows-spacing: k-spacing(3) !default;
|
|
97
98
|
/// The row spacing of the medium Form.
|
|
98
99
|
/// @group form
|
|
99
100
|
$kendo-form-md-rows-spacing: $kendo-form-sm-rows-spacing !default;
|
|
@@ -103,7 +104,7 @@ $kendo-form-lg-rows-spacing: $kendo-form-sm-rows-spacing !default;
|
|
|
103
104
|
|
|
104
105
|
/// The margin of the Form separator.
|
|
105
106
|
/// @group form
|
|
106
|
-
$kendo-form-separator-margin:
|
|
107
|
+
$kendo-form-separator-margin: k-spacing(3) 0 0 !default;
|
|
107
108
|
|
|
108
109
|
/// The border color of the Form separator.
|
|
109
110
|
/// @group form
|
|
@@ -111,11 +112,11 @@ $kendo-form-separator-border-color: $kendo-form-legend-border-color !default;
|
|
|
111
112
|
|
|
112
113
|
/// The top padding of the label in the horizontal Form.
|
|
113
114
|
/// @group form
|
|
114
|
-
$kendo-horizontal-form-label-padding-top:
|
|
115
|
+
$kendo-horizontal-form-label-padding-top: k-spacing(1.5) !default;
|
|
115
116
|
|
|
116
117
|
/// The horizontal margin of the label in the horizontal Form.
|
|
117
118
|
/// @group form
|
|
118
|
-
$kendo-horizontal-form-label-margin-x:
|
|
119
|
+
$kendo-horizontal-form-label-margin-x: k-spacing(2) !default;
|
|
119
120
|
|
|
120
121
|
/// The width of the label in the horizontal Form.
|
|
121
122
|
/// @group form
|
|
@@ -140,7 +141,7 @@ $kendo-forms-invalid-color: var( --kendo-invalid-text, initial ) !default;
|
|
|
140
141
|
|
|
141
142
|
/// The horizontal margin of the optional label in the Form.
|
|
142
143
|
/// @group form
|
|
143
|
-
$kendo-label-optional-margin-x:
|
|
144
|
+
$kendo-label-optional-margin-x: k-spacing(1.5) !default;
|
|
144
145
|
/// The font size of the optional label in the Form.
|
|
145
146
|
/// @group form
|
|
146
147
|
$kendo-label-optional-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
@@ -151,7 +152,7 @@ $kendo-label-optional-font-style: normal !default;
|
|
|
151
152
|
|
|
152
153
|
/// The margin of the Form fieldset.
|
|
153
154
|
/// @group form
|
|
154
|
-
$kendo-fieldset-margin:
|
|
155
|
+
$kendo-fieldset-margin: k-spacing(7.5) !default;
|
|
155
156
|
/// The font size of the Form fieldset.
|
|
156
157
|
/// @group form
|
|
157
158
|
$kendo-fieldset-font-size: var( --kendo-font-size-xl, inherit ) !default;
|
package/scss/gantt/_layout.scss
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@use "../grid/_variables.scss" as *;
|
|
4
4
|
@use "../toolbar/_variables.scss" as *;
|
|
5
5
|
@use "./_variables.scss" as *;
|
|
6
|
+
@use "../core/spacing" as *;
|
|
6
7
|
|
|
7
8
|
@mixin kendo-gantt--layout() {
|
|
8
9
|
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
vertical-align: top;
|
|
33
34
|
}
|
|
34
35
|
.k-grid-header tr {
|
|
35
|
-
height: calc( #{$kendo-line-height-em} + #{$kendo-grid-header-padding-y * 2
|
|
36
|
+
height: calc( #{$kendo-line-height-em} + calc( #{$kendo-grid-header-padding-y} * 2 ) + 1px );
|
|
36
37
|
}
|
|
37
38
|
.k-grid-header .k-header {
|
|
38
39
|
position: static;
|
|
@@ -42,11 +43,11 @@
|
|
|
42
43
|
position: relative;
|
|
43
44
|
}
|
|
44
45
|
.k-grid-content tr {
|
|
45
|
-
height: calc( #{$kendo-line-height-em} + #{$kendo-grid-cell-padding-y * 2
|
|
46
|
+
height: calc( #{$kendo-line-height-em} + calc( #{$kendo-grid-cell-padding-y} * 2) + #{$kendo-grid-cell-border-width-y} );
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
&.k-gantt-planned .k-grid-content tr {
|
|
49
|
-
height: calc( #{$kendo-line-height-em} * 1.7 + #{$kendo-grid-cell-padding-y * 2
|
|
50
|
+
height: calc( #{$kendo-line-height-em} * 1.7 + calc( #{$kendo-grid-cell-padding-y} * 2 ) + #{$kendo-grid-cell-border-width-y} );
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
// Layout
|
|
@@ -270,7 +271,7 @@
|
|
|
270
271
|
padding: 0 !important; // stylelint-disable-line declaration-no-important
|
|
271
272
|
}
|
|
272
273
|
.k-grid-header tr {
|
|
273
|
-
height: calc( #{$kendo-line-height-em} * 2 + #{$kendo-grid-header-padding-y * 4
|
|
274
|
+
height: calc( #{$kendo-line-height-em} * 2 + calc( #{$kendo-grid-header-padding-y} * 4 ) + 2px );
|
|
274
275
|
vertical-align: bottom;
|
|
275
276
|
}
|
|
276
277
|
.k-grid-content {
|
|
@@ -281,7 +282,7 @@
|
|
|
281
282
|
vertical-align: middle;
|
|
282
283
|
}
|
|
283
284
|
.k-gantt-treelist-nested-columns .k-grid-header tr {
|
|
284
|
-
height: calc( #{$kendo-line-height-em} + #{$kendo-grid-header-padding-y * 2
|
|
285
|
+
height: calc( #{$kendo-line-height-em} + calc( #{$kendo-grid-header-padding-y} * 2 ) + 1px );
|
|
285
286
|
}
|
|
286
287
|
|
|
287
288
|
&.k-gantt-treelist-scrollable {
|
|
@@ -422,8 +423,8 @@
|
|
|
422
423
|
flex: 1 1 auto;
|
|
423
424
|
}
|
|
424
425
|
.k-task-dot {
|
|
425
|
-
width: calc( #{$kendo-gantt-dot-size} + #{$kendo-gantt-dot-spacing * 2
|
|
426
|
-
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 ) );
|
|
427
428
|
line-height: 1;
|
|
428
429
|
cursor: pointer;
|
|
429
430
|
display: none;
|
|
@@ -532,7 +533,7 @@
|
|
|
532
533
|
// Single task
|
|
533
534
|
.k-single-wrap {}
|
|
534
535
|
.k-task-single {
|
|
535
|
-
border-radius:
|
|
536
|
+
border-radius: k-border-radius(md);
|
|
536
537
|
border-width: var( --kendo-gantt-task-border-width, #{$kendo-gantt-task-border-width} );
|
|
537
538
|
border-style: solid;
|
|
538
539
|
box-sizing: border-box;
|
|
@@ -565,7 +566,7 @@
|
|
|
565
566
|
}
|
|
566
567
|
}
|
|
567
568
|
.k-task-complete {
|
|
568
|
-
border-radius:
|
|
569
|
+
border-radius: k-border-radius(md);
|
|
569
570
|
width: 20%;
|
|
570
571
|
position: absolute;
|
|
571
572
|
z-index: 1;
|
|
@@ -1,241 +1,242 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "sass:math";
|
|
3
3
|
@use "../core/" as *;
|
|
4
|
+
@use "../core/spacing" as *;
|
|
4
5
|
|
|
5
|
-
///
|
|
6
|
+
/// The border width of the Gantt.
|
|
6
7
|
/// @group gantt
|
|
7
8
|
$kendo-gantt-border-width: 1px !default;
|
|
8
|
-
///
|
|
9
|
+
/// The font family of the Gantt.
|
|
9
10
|
/// @group gantt
|
|
10
11
|
$kendo-gantt-font-family: var( --kendo-font-family, initial ) !default;
|
|
11
|
-
///
|
|
12
|
+
/// The font size of the Gantt.
|
|
12
13
|
/// @group gantt
|
|
13
14
|
$kendo-gantt-font-size: var( --kendo-font-size, initial ) !default;
|
|
14
|
-
///
|
|
15
|
+
/// The line height of the Gantt.
|
|
15
16
|
/// @group gantt
|
|
16
17
|
$kendo-gantt-line-height: var( --kendo-line-height, initial ) !default;
|
|
17
|
-
///
|
|
18
|
+
/// The background color of the Gantt.
|
|
18
19
|
/// @group gantt
|
|
19
20
|
$kendo-gantt-bg: var( --kendo-component-bg, inherit ) !default;
|
|
20
|
-
///
|
|
21
|
+
/// The text color of the Gantt.
|
|
21
22
|
/// @group gantt
|
|
22
23
|
$kendo-gantt-text: var( --kendo-component-text, inherit ) !default;
|
|
23
|
-
///
|
|
24
|
+
/// The border color of the Gantt.
|
|
24
25
|
/// @group gantt
|
|
25
26
|
$kendo-gantt-border: var( --kendo-component-border, inherit ) !default;
|
|
26
27
|
|
|
27
|
-
///
|
|
28
|
+
/// The background color of the Gantt non-working days.
|
|
28
29
|
/// @group gantt
|
|
29
30
|
$kendo-gantt-nonwork-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 4%, transparent), rgba( $kendo-color-black, .04 )) !default;
|
|
30
|
-
///
|
|
31
|
+
/// The text color of the Gantt non-working days.
|
|
31
32
|
/// @group gantt
|
|
32
33
|
$kendo-gantt-nonwork-text: inherit !default;
|
|
33
|
-
///
|
|
34
|
+
/// The border color of the Gantt non-working days.
|
|
34
35
|
/// @group gantt
|
|
35
36
|
$kendo-gantt-nonwork-border: inherit !default;
|
|
36
37
|
|
|
37
|
-
///
|
|
38
|
+
/// The size of the Gantt connecting lines.
|
|
38
39
|
/// @group gantt
|
|
39
40
|
$kendo-gantt-line-size: 2px !default;
|
|
40
|
-
///
|
|
41
|
+
/// The background fill color of the Gantt connecting lines.
|
|
41
42
|
/// @group gantt
|
|
42
43
|
$kendo-gantt-line-fill: black !default;
|
|
43
|
-
///
|
|
44
|
+
/// The background fill of the selected Gantt connecting lines.
|
|
44
45
|
/// @group gantt
|
|
45
46
|
$kendo-gantt-line-selected-fill: if($kendo-enable-color-system, k-color( primary-active ), k-get-theme-color-var( primary-120 )) !default;
|
|
46
47
|
|
|
47
|
-
///
|
|
48
|
+
/// The size of the Gantt task dot.
|
|
48
49
|
/// @group gantt
|
|
49
50
|
$kendo-gantt-dot-size: 8px !default;
|
|
50
|
-
///
|
|
51
|
+
/// The spacing of the Gantt task dot.
|
|
51
52
|
/// @group gantt
|
|
52
|
-
$kendo-gantt-dot-spacing:
|
|
53
|
-
///
|
|
53
|
+
$kendo-gantt-dot-spacing: k-spacing(0.5) !default;
|
|
54
|
+
/// The background color of the Gantt task dot.
|
|
54
55
|
/// @group gantt
|
|
55
56
|
$kendo-gantt-dot-bg: if($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black) !default;
|
|
56
|
-
///
|
|
57
|
+
/// The border color of the Gantt task dot.
|
|
57
58
|
/// @group gantt
|
|
58
59
|
$kendo-gantt-dot-border: if($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black) !default;
|
|
59
|
-
///
|
|
60
|
+
/// The background color of the hovered Gantt task dot.
|
|
60
61
|
/// @group gantt
|
|
61
62
|
$kendo-gantt-dot-hover-bg: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
62
|
-
///
|
|
63
|
+
/// The border color of the hovered Gantt task dot.
|
|
63
64
|
/// @group gantt
|
|
64
65
|
$kendo-gantt-dot-hover-border: if($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black) !default;
|
|
65
66
|
|
|
66
|
-
///
|
|
67
|
+
/// The background color of the Gantt milestone.
|
|
67
68
|
/// @group gantt
|
|
68
69
|
$kendo-gantt-milestone-bg: $kendo-gantt-text !default;
|
|
69
|
-
///
|
|
70
|
+
/// The border color of the Gantt milestone.
|
|
70
71
|
/// @group gantt
|
|
71
72
|
$kendo-gantt-milestone-border: $kendo-gantt-text !default;
|
|
72
|
-
///
|
|
73
|
+
/// The background color of the selected Gantt milestone.
|
|
73
74
|
/// @group gantt
|
|
74
75
|
$kendo-gantt-milestone-selected-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
75
|
-
///
|
|
76
|
+
/// The border color of the selected Gantt milestone.
|
|
76
77
|
/// @group gantt
|
|
77
78
|
$kendo-gantt-milestone-selected-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
78
79
|
|
|
79
|
-
///
|
|
80
|
+
/// The background color of the Gantt summary.
|
|
80
81
|
/// @group gantt
|
|
81
82
|
$kendo-gantt-summary-bg: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-110 )) !default;
|
|
82
|
-
///
|
|
83
|
+
/// The background color of the Gantt summary progress.
|
|
83
84
|
/// @group gantt
|
|
84
85
|
$kendo-gantt-summary-progress-bg: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
|
|
85
|
-
///
|
|
86
|
+
/// The background color of the selected Gantt summary.
|
|
86
87
|
/// @group gantt
|
|
87
88
|
$kendo-gantt-summary-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-get-theme-color-var( primary-50 )) !default;
|
|
88
|
-
///
|
|
89
|
+
/// The background color of the selected Gantt summary progress.
|
|
89
90
|
/// @group gantt
|
|
90
91
|
$kendo-gantt-summary-progress-selected-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
91
92
|
|
|
92
|
-
///
|
|
93
|
+
/// The border width of the Gantt task.
|
|
93
94
|
/// @group gantt
|
|
94
95
|
$kendo-gantt-task-border-width: 0px !default;
|
|
95
|
-
///
|
|
96
|
+
/// The horizontal padding of the Gantt task.
|
|
96
97
|
/// @group gantt
|
|
97
|
-
$kendo-gantt-task-padding-x:
|
|
98
|
-
///
|
|
98
|
+
$kendo-gantt-task-padding-x: k-spacing(2) !default;
|
|
99
|
+
/// The vertical padding of the Gantt task.
|
|
99
100
|
/// @group gantt
|
|
100
|
-
$kendo-gantt-task-padding-y:
|
|
101
|
-
///
|
|
101
|
+
$kendo-gantt-task-padding-y: k-spacing(1) !default;
|
|
102
|
+
/// The background color of the Gantt task.
|
|
102
103
|
/// @group gantt
|
|
103
104
|
$kendo-gantt-task-bg: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-110 )) !default;
|
|
104
|
-
///
|
|
105
|
+
/// The text color of the Gantt task.
|
|
105
106
|
/// @group gantt
|
|
106
107
|
$kendo-gantt-task-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
107
|
-
///
|
|
108
|
+
/// The border color of the Gantt task.
|
|
108
109
|
/// @group gantt
|
|
109
110
|
$kendo-gantt-task-border: inherit !default;
|
|
110
|
-
///
|
|
111
|
+
/// The background color of the Gantt task progress.
|
|
111
112
|
/// @group gantt
|
|
112
113
|
$kendo-gantt-task-progress-bg: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
|
|
113
|
-
///
|
|
114
|
+
/// The background color of the hovered Gantt task progress.
|
|
114
115
|
/// @group gantt
|
|
115
116
|
$kendo-gantt-task-progress-hover-bg: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
|
|
116
|
-
///
|
|
117
|
+
/// The background color of selected the Gantt task.
|
|
117
118
|
/// @group gantt
|
|
118
119
|
$kendo-gantt-task-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-get-theme-color-var( primary-50 )) !default;
|
|
119
|
-
///
|
|
120
|
+
/// The text color of the selected Gantt task.
|
|
120
121
|
/// @group gantt
|
|
121
122
|
$kendo-gantt-task-selected-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
122
|
-
///
|
|
123
|
+
/// The border color of the selected Gantt task.
|
|
123
124
|
/// @group gantt
|
|
124
125
|
$kendo-gantt-task-selected-border: transparent !default;
|
|
125
|
-
///
|
|
126
|
+
/// The background color of the selected Gantt task progress.
|
|
126
127
|
/// @group gantt
|
|
127
128
|
$kendo-gantt-task-progress-selected-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
128
129
|
|
|
129
|
-
///
|
|
130
|
+
/// The vertical padding of the Gantt task actions.
|
|
130
131
|
/// @group gantt
|
|
131
132
|
$kendo-gantt-task-actions-padding-y: $kendo-padding-md-y !default;
|
|
132
|
-
///
|
|
133
|
+
/// The horizontal padding of the Gantt task actions.
|
|
133
134
|
/// @group gantt
|
|
134
135
|
$kendo-gantt-task-actions-padding-x: $kendo-padding-md-x !default;
|
|
135
136
|
|
|
136
|
-
///
|
|
137
|
+
/// The vertical margin of the Gantt task planned line.
|
|
137
138
|
/// @group gantt
|
|
138
139
|
$kendo-gantt-planned-margin-y: .45em !default;
|
|
139
|
-
///
|
|
140
|
+
/// The border width of the Gantt task planned line.
|
|
140
141
|
/// @group gantt
|
|
141
142
|
$kendo-gantt-planned-border-width: 2px !default;
|
|
142
|
-
///
|
|
143
|
+
/// The line height of the Gantt task planned line.
|
|
143
144
|
/// @group gantt
|
|
144
145
|
$kendo-gantt-planned-line-height: .85em !default;
|
|
145
146
|
|
|
146
|
-
///
|
|
147
|
+
/// The vertical margin of the Gantt planned dependencies.
|
|
147
148
|
/// @group gantt
|
|
148
149
|
$kendo-gantt-planned-dependency-margin-y: .65em !default;
|
|
149
150
|
|
|
150
|
-
///
|
|
151
|
+
/// The default width of the Gantt planned line dot.
|
|
151
152
|
/// @group gantt
|
|
152
153
|
$kendo-gantt-planned-moment-width: 6px !default;
|
|
153
|
-
///
|
|
154
|
+
/// The default height of the Gantt planned line dot.
|
|
154
155
|
/// @group gantt
|
|
155
156
|
$kendo-gantt-planned-moment-height: $kendo-gantt-planned-moment-width !default;
|
|
156
|
-
///
|
|
157
|
+
/// The border radius of the Gantt planned line dot.
|
|
157
158
|
/// @group gantt
|
|
158
159
|
$kendo-gantt-planned-moment-border-radius: calc( ( #{$kendo-gantt-planned-border-width * 2} + #{$kendo-gantt-planned-moment-width} ) / 2 ) !default;
|
|
159
|
-
///
|
|
160
|
+
/// The horizontal margin of the Gantt planned line dot.
|
|
160
161
|
/// @group gantt
|
|
161
162
|
$kendo-gantt-planned-moment-left-margin-x: calc( #{$kendo-gantt-planned-border-width} / 2 - #{$kendo-gantt-planned-moment-border-radius} ) !default;
|
|
162
|
-
///
|
|
163
|
+
/// The horizontal margin of the Gantt milestone planned line dot.
|
|
163
164
|
/// @group gantt
|
|
164
165
|
$kendo-gantt-planned-milestone-moment-margin-x: math.div( $kendo-gantt-planned-moment-width, 2 ) !default;
|
|
165
166
|
|
|
166
|
-
///
|
|
167
|
+
/// The default height of the Gantt planned line.
|
|
167
168
|
/// @group gantt
|
|
168
169
|
$kendo-gantt-planned-duration-height: $kendo-gantt-planned-border-width !default;
|
|
169
|
-
///
|
|
170
|
+
/// The height of the hovered Gantt planned line.
|
|
170
171
|
/// @group gantt
|
|
171
172
|
$kendo-gantt-planned-duration-hover-height: calc( #{$kendo-gantt-planned-border-width} + 1px ) !default;
|
|
172
173
|
|
|
173
|
-
///
|
|
174
|
+
/// The top position of the Gantt drag hint.
|
|
174
175
|
/// @group gantt
|
|
175
176
|
$kendo-gantt-planned-single-drag-hint-top: 0 !default;
|
|
176
|
-
///
|
|
177
|
+
/// The top position of the Gantt summary drag hint.
|
|
177
178
|
/// @group gantt
|
|
178
179
|
$kendo-gantt-planned-summary-drag-hint-top: .5em !default;
|
|
179
|
-
///
|
|
180
|
+
/// The top position of the Gantt planned milestone drag hint.
|
|
180
181
|
/// @group gantt
|
|
181
182
|
$kendo-gantt-planned-milestone-drag-hint-top: .3em !default;
|
|
182
183
|
|
|
183
|
-
/// of the
|
|
184
|
+
/// The horizontal offset of the Gantt delayed task resize handler.
|
|
184
185
|
/// @group gantt
|
|
185
186
|
$kendo-gantt-planned-offset-resize-handler-margin-x: 1.4em !default;
|
|
186
187
|
|
|
187
|
-
///
|
|
188
|
+
/// The text color of the Gantt planned Tooltip.
|
|
188
189
|
/// @group gantt
|
|
189
190
|
$kendo-gantt-planned-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
190
|
-
///
|
|
191
|
+
/// The background color of the Gantt planned Tooltip.
|
|
191
192
|
/// @group gantt
|
|
192
193
|
$kendo-gantt-planned-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
193
|
-
///
|
|
194
|
+
/// The border color of the Gantt planned Tooltip.
|
|
194
195
|
/// @group gantt
|
|
195
196
|
$kendo-gantt-planned-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
196
197
|
|
|
197
|
-
///
|
|
198
|
+
/// The text color of the Gantt delayed task.
|
|
198
199
|
/// @group gantt
|
|
199
200
|
$kendo-gantt-delayed-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
|
|
200
|
-
///
|
|
201
|
+
/// The background color of the Gantt delayed task.
|
|
201
202
|
/// @group gantt
|
|
202
203
|
$kendo-gantt-delayed-bg: if($kendo-enable-color-system, k-color( error-emphasis ), k-get-theme-color-var( error-160 )) !default;
|
|
203
|
-
///
|
|
204
|
+
/// The complement background color of the Gantt delayed task.
|
|
204
205
|
/// @group gantt
|
|
205
206
|
$kendo-gantt-delayed-bg-lighter: if($kendo-enable-color-system, k-color( error ), k-get-theme-color-var( error-110)) !default;
|
|
206
|
-
///
|
|
207
|
+
/// The background color of the hovered Gantt delayed task.
|
|
207
208
|
/// @group gantt
|
|
208
209
|
$kendo-gantt-delayed-hover-bg: if($kendo-enable-color-system, k-color( error-on-subtle ), k-get-theme-color-var( error-190 )) !default;
|
|
209
210
|
|
|
210
|
-
///
|
|
211
|
+
/// The background color of the Gantt advanced task.
|
|
211
212
|
/// @group gantt
|
|
212
213
|
$kendo-gantt-advanced-bg: if($kendo-enable-color-system, k-color( success-emphasis ), k-get-theme-color-var( success-160 )) !default;
|
|
213
|
-
///
|
|
214
|
+
/// The complement background color of the Gantt advanced task.
|
|
214
215
|
/// @group gantt
|
|
215
216
|
$kendo-gantt-advanced-bg-lighter: if($kendo-enable-color-system, k-color( success ), k-get-theme-color-var( success-110 )) !default;
|
|
216
|
-
///
|
|
217
|
+
/// The background color of the hovered Gantt advanced task.
|
|
217
218
|
/// @group gantt
|
|
218
219
|
$kendo-gantt-advanced-hover-bg: if($kendo-enable-color-system, k-color( success-on-subtle ), k-get-theme-color-var( success-190 )) !default;
|
|
219
220
|
|
|
220
|
-
///
|
|
221
|
+
/// The text color of the Gantt delayed task action.
|
|
221
222
|
/// @group gantt
|
|
222
223
|
$kendo-gantt-action-on-offset-text: if($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black) !default;
|
|
223
|
-
///
|
|
224
|
+
/// The top position of the Gantt delayed task resize handler.
|
|
224
225
|
/// @group gantt
|
|
225
226
|
$kendo-gantt-offset-resize-handler-top: 50% !default;
|
|
226
227
|
|
|
227
|
-
///
|
|
228
|
+
/// The default width of the Gantt validation Tooltip.
|
|
228
229
|
/// @group gantt
|
|
229
230
|
$kendo-gantt-validation-tooltip-width: 200px !default;
|
|
230
|
-
///
|
|
231
|
+
/// The default width of the Gantt validation Tooltip label.
|
|
231
232
|
/// @group gantt
|
|
232
233
|
$kendo-gantt-validation-tooltip-label-width: 50px !default;
|
|
233
|
-
///
|
|
234
|
+
/// The border color of the Gantt validation Tooltip.
|
|
234
235
|
/// @group gantt
|
|
235
236
|
$kendo-gantt-validation-tooltip-border: var( --kendo-component-border, inherit ) !default;
|
|
236
|
-
///
|
|
237
|
+
/// The border color of the valid Gantt validation Tooltip.
|
|
237
238
|
/// @group gantt
|
|
238
239
|
$kendo-gantt-validation-tooltip-valid-border: if($kendo-enable-color-system, k-color( success ), k-get-theme-color-var( success-100 )) !default;
|
|
239
|
-
///
|
|
240
|
+
/// The border color of the invalid Gantt validation Tooltip.
|
|
240
241
|
/// @group gantt
|
|
241
242
|
$kendo-gantt-validation-tooltip-invalid-border: if($kendo-enable-color-system, k-color( error ), k-get-theme-color-var( error-100 )) !default;
|
package/scss/grid/_layout.scss
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
@use "../table/_variables.scss" as *;
|
|
8
8
|
@use "../tabstrip/_variables.scss" as *;
|
|
9
9
|
@use "./_variables.scss" as *;
|
|
10
|
+
@use "../core/spacing" as *;
|
|
10
11
|
|
|
11
12
|
@mixin kendo-grid--layout() {
|
|
12
13
|
|
|
@@ -520,7 +521,7 @@
|
|
|
520
521
|
.k-grid-column-menu-standalone a.k-grid-filter {
|
|
521
522
|
position: initial;
|
|
522
523
|
display: inline-block;
|
|
523
|
-
margin-block: ( $kendo-padding-md-y * -1 );
|
|
524
|
+
margin-block: calc( #{$kendo-padding-md-y} * -1 );
|
|
524
525
|
margin-inline: 0;
|
|
525
526
|
padding-block: $kendo-padding-md-y;
|
|
526
527
|
padding-inline: $kendo-padding-md-x;
|