@progress/kendo-theme-default 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 +8513 -5378
- package/dist/all.scss +5743 -5107
- package/dist/default-nordic.scss +9 -9
- package/dist/default-ocean-blue-a11y.scss +7 -7
- package/dist/meta/sassdoc-data.json +56574 -41262
- package/dist/meta/sassdoc-raw-data.json +20441 -12919
- package/dist/meta/variables.json +2243 -2135
- package/lib/swatches/default-blue.json +1 -1
- package/lib/swatches/default-dataviz-v4.json +1 -1
- package/lib/swatches/default-green.json +1 -1
- package/lib/swatches/default-main-dark.json +1 -1
- package/lib/swatches/default-main.json +1 -1
- package/lib/swatches/default-nordic.json +10 -10
- package/lib/swatches/default-ocean-blue-a11y.json +8 -8
- package/lib/swatches/default-ocean-blue.json +1 -1
- package/lib/swatches/default-orange.json +1 -1
- package/lib/swatches/default-purple.json +1 -1
- package/lib/swatches/default-turquoise.json +1 -1
- package/lib/swatches/default-urban.json +1 -1
- package/package.json +5 -5
- 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/_theme.scss +1 -1
- 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/_theme.scss +15 -11
- package/scss/button/_variables.scss +21 -21
- package/scss/calendar/_layout.scss +32 -18
- package/scss/calendar/_theme.scss +1 -6
- package/scss/calendar/_variables.scss +34 -30
- 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/_theme.scss +4 -4
- package/scss/chip/_variables.scss +16 -16
- 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/spacing/index.import.scss +29 -0
- package/scss/core/typography/index.import.scss +1 -0
- package/scss/dataviz/_layout.scss +12 -9
- 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 +5 -3
- package/scss/drawer/_variables.scss +12 -11
- 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/_layout.scss +1 -0
- package/scss/listview/_variables.scss +7 -7
- package/scss/loader/_layout.scss +10 -10
- 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/_variables.scss +165 -22
- package/scss/scrollview/_layout.scss +3 -3
- 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 +4 -4
- package/scss/splitter/_variables.scss +6 -6
- package/scss/spreadsheet/_layout.scss +12 -12
- 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 +80 -39
- 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 +293 -54
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Color Preview
|
|
2
|
-
$kendo-color-preview-border-radius:
|
|
2
|
+
$kendo-color-preview-border-radius: k-border-radius(md)!default;
|
|
3
3
|
$kendo-color-preview-border-width: 1px !default;
|
|
4
4
|
$kendo-color-preview-bg: null !default;
|
|
5
5
|
$kendo-color-preview-text: null !default;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/// The spacer of the ColorEditor.
|
|
4
4
|
/// @group coloreditor
|
|
5
|
-
$kendo-color-editor-spacer: k-
|
|
5
|
+
$kendo-color-editor-spacer: k-spacing(3) !default;
|
|
6
6
|
|
|
7
7
|
/// The minimum width of the ColorEditor.
|
|
8
8
|
/// @group coloreditor
|
|
@@ -12,16 +12,16 @@ $kendo-color-editor-min-width: 272px !default;
|
|
|
12
12
|
$kendo-color-editor-border-width: 1px !default;
|
|
13
13
|
/// The border radius of the ColorEditor.
|
|
14
14
|
/// @group coloreditor
|
|
15
|
-
$kendo-color-editor-border-radius:
|
|
15
|
+
$kendo-color-editor-border-radius: k-border-radius(md) !default;
|
|
16
16
|
/// The font family of the ColorEditor.
|
|
17
17
|
/// @group coloreditor
|
|
18
|
-
$kendo-color-editor-font-family:
|
|
18
|
+
$kendo-color-editor-font-family: var( --kendo-font-family, inherit ) !default;
|
|
19
19
|
/// The font size of the ColorEditor.
|
|
20
20
|
/// @group coloreditor
|
|
21
|
-
$kendo-color-editor-font-size:
|
|
21
|
+
$kendo-color-editor-font-size: var( --kendo-font-size, inherit ) !default;
|
|
22
22
|
/// The line height of the ColorEditor.
|
|
23
23
|
/// @group coloreditor
|
|
24
|
-
$kendo-color-editor-line-height:
|
|
24
|
+
$kendo-color-editor-line-height: var( --kendo-line-height, normal ) !default;
|
|
25
25
|
/// The text color of the ColorEditor.
|
|
26
26
|
/// @group coloreditor
|
|
27
27
|
$kendo-color-editor-text: $kendo-component-text !default;
|
|
@@ -48,7 +48,7 @@ $kendo-color-editor-header-padding-y: $kendo-color-editor-spacer !default;
|
|
|
48
48
|
$kendo-color-editor-header-padding-x: $kendo-color-editor-header-padding-y !default;
|
|
49
49
|
/// The spacing between the ColorEditor header actions.
|
|
50
50
|
/// @group coloreditor
|
|
51
|
-
$kendo-color-editor-header-actions-gap:
|
|
51
|
+
$kendo-color-editor-header-actions-gap: calc( #{$kendo-color-editor-spacer} / 1.5 ) !default;
|
|
52
52
|
|
|
53
53
|
/// The width of the ColorEditor preview.
|
|
54
54
|
/// @group coloreditor
|
|
@@ -58,7 +58,7 @@ $kendo-color-editor-color-preview-width: 32px !default;
|
|
|
58
58
|
$kendo-color-editor-color-preview-height: 12px !default;
|
|
59
59
|
/// The spacing between the colors in the ColorEditor preview.
|
|
60
60
|
/// @group coloreditor
|
|
61
|
-
$kendo-color-editor-preview-gap: k-
|
|
61
|
+
$kendo-color-editor-preview-gap: k-spacing(1) !default;
|
|
62
62
|
|
|
63
63
|
/// The vertical padding of the ColorEditor views container.
|
|
64
64
|
/// @group coloreditor
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
.k-contrast-validation {
|
|
165
165
|
display: inline-flex;
|
|
166
166
|
align-items: center;
|
|
167
|
-
gap:
|
|
167
|
+
gap: calc( #{$kendo-color-gradient-contrast-spacer} / 2 );
|
|
168
168
|
|
|
169
169
|
.k-icon {
|
|
170
170
|
vertical-align: middle;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
/// The spacer of the ColorGradient.
|
|
6
6
|
/// @group cologradient
|
|
7
|
-
$kendo-color-gradient-spacer: k-
|
|
7
|
+
$kendo-color-gradient-spacer: k-spacing(3) !default;
|
|
8
8
|
|
|
9
9
|
/// The width of the ColorGradient.
|
|
10
10
|
/// @group cologradient
|
|
@@ -14,7 +14,7 @@ $kendo-color-gradient-width: 272px !default;
|
|
|
14
14
|
$kendo-color-gradient-border-width: 1px !default;
|
|
15
15
|
/// The border radius of the ColorGradient.
|
|
16
16
|
/// @group cologradient
|
|
17
|
-
$kendo-color-gradient-border-radius:
|
|
17
|
+
$kendo-color-gradient-border-radius: k-border-radius(md) !default;
|
|
18
18
|
/// The vertical padding of the ColorGradient.
|
|
19
19
|
/// @group cologradient
|
|
20
20
|
$kendo-color-gradient-padding-y: $kendo-color-gradient-spacer !default;
|
|
@@ -26,13 +26,13 @@ $kendo-color-gradient-padding-x: $kendo-color-gradient-padding-y !default;
|
|
|
26
26
|
$kendo-color-gradient-gap: $kendo-color-gradient-spacer !default;
|
|
27
27
|
/// The font family of the ColorGradient.
|
|
28
28
|
/// @group cologradient
|
|
29
|
-
$kendo-color-gradient-font-family:
|
|
29
|
+
$kendo-color-gradient-font-family: var( --kendo-font-family, inherit ) !default;
|
|
30
30
|
/// The font size of the ColorGradient.
|
|
31
31
|
/// @group cologradient
|
|
32
|
-
$kendo-color-gradient-font-size:
|
|
32
|
+
$kendo-color-gradient-font-size: var( --kendo-font-size, inherit ) !default;
|
|
33
33
|
/// The line height of the ColorGradient.
|
|
34
34
|
/// @group cologradient
|
|
35
|
-
$kendo-color-gradient-line-height:
|
|
35
|
+
$kendo-color-gradient-line-height: var( --kendo-line-height, normal ) !default;
|
|
36
36
|
/// The text color of the ColorGradient.
|
|
37
37
|
/// @group cologradient
|
|
38
38
|
$kendo-color-gradient-text: $kendo-component-text !default;
|
|
@@ -52,7 +52,7 @@ $kendo-color-gradient-focus-shadow: k-elevation(3) !default;
|
|
|
52
52
|
|
|
53
53
|
/// The border radius of the ColorGradient canvas.
|
|
54
54
|
/// @group cologradient
|
|
55
|
-
$kendo-color-gradient-canvas-border-radius:
|
|
55
|
+
$kendo-color-gradient-canvas-border-radius: k-border-radius(md) !default;
|
|
56
56
|
/// The spacing between the items of the ColorGradient canvas.
|
|
57
57
|
/// @group cologradient
|
|
58
58
|
$kendo-color-gradient-canvas-gap: $kendo-color-gradient-spacer !default;
|
|
@@ -126,17 +126,17 @@ $kendo-color-gradient-canvas-draghandle-margin-x: - k-math-div( $kendo-color-gra
|
|
|
126
126
|
$kendo-color-gradient-input-width: 46px !default;
|
|
127
127
|
/// The spacing between the ColorGradient inputs.
|
|
128
128
|
/// @group cologradient
|
|
129
|
-
$kendo-color-gradient-input-gap:
|
|
129
|
+
$kendo-color-gradient-input-gap: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
|
|
130
130
|
/// The spacing between the ColorGradient inputs and their labels.
|
|
131
131
|
/// @group cologradient
|
|
132
|
-
$kendo-color-gradient-input-label-gap:
|
|
132
|
+
$kendo-color-gradient-input-label-gap: calc( #{$kendo-color-gradient-spacer} / 3 ) !default;
|
|
133
133
|
/// The text color of the ColorGradient input labels.
|
|
134
134
|
/// @group cologradient
|
|
135
135
|
$kendo-color-gradient-input-label-text: $kendo-subtle-text !default;
|
|
136
136
|
|
|
137
137
|
/// The font weight of the ColorGradient contrast ratio text.
|
|
138
138
|
/// @group cologradient
|
|
139
|
-
$kendo-color-gradient-contrast-ratio-font-weight:
|
|
139
|
+
$kendo-color-gradient-contrast-ratio-font-weight: var( --kendo-font-weight-bold, normal ) !default;
|
|
140
140
|
/// The spacing between the items in the ColorGradient contrast tool.
|
|
141
141
|
/// @group cologradient
|
|
142
|
-
$kendo-color-gradient-contrast-spacer:
|
|
142
|
+
$kendo-color-gradient-contrast-spacer: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
/// The font family of the ColorPalette.
|
|
4
4
|
/// @group colorpalette
|
|
5
|
-
$kendo-color-palette-font-family:
|
|
5
|
+
$kendo-color-palette-font-family: var( --kendo-font-family, inherit ) !default;
|
|
6
6
|
/// The font size of the ColorPalette.
|
|
7
7
|
/// @group colorpalette
|
|
8
|
-
$kendo-color-palette-font-size:
|
|
8
|
+
$kendo-color-palette-font-size: var( --kendo-font-size, inherit ) !default;
|
|
9
9
|
/// The line height of the ColorPalette.
|
|
10
10
|
/// @group colorpalette
|
|
11
11
|
$kendo-color-palette-line-height: 0 !default;
|
|
12
12
|
|
|
13
13
|
/// The width of the ColorPalette tile.
|
|
14
14
|
/// @group colorpalette
|
|
15
|
-
$kendo-color-palette-tile-width: k-
|
|
15
|
+
$kendo-color-palette-tile-width: k-spacing(6) !default;
|
|
16
16
|
/// The height of the ColorPalette tile.
|
|
17
17
|
/// @group colorpalette
|
|
18
18
|
$kendo-color-palette-tile-height: $kendo-color-palette-tile-width !default;
|
package/scss/common/_base.scss
CHANGED
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
// Panels
|
|
76
76
|
.k-block,
|
|
77
77
|
.k-panel {
|
|
78
|
-
@include border-radius(
|
|
78
|
+
@include border-radius( k-border-radius(md) );
|
|
79
79
|
@include fill(
|
|
80
80
|
$kendo-component-text,
|
|
81
81
|
$kendo-component-bg,
|
|
@@ -87,19 +87,19 @@
|
|
|
87
87
|
box-sizing: border-box;
|
|
88
88
|
|
|
89
89
|
> .k-header {
|
|
90
|
-
@include border-top-radius(
|
|
90
|
+
@include border-top-radius( k-border-radius(md) );
|
|
91
91
|
@include fill(
|
|
92
92
|
$kendo-component-header-text,
|
|
93
93
|
$kendo-component-header-bg,
|
|
94
94
|
$kendo-component-header-border,
|
|
95
95
|
$kendo-component-header-gradient
|
|
96
96
|
);
|
|
97
|
-
padding-inline: k-
|
|
98
|
-
padding-block: k-
|
|
97
|
+
padding-inline: k-spacing(2);
|
|
98
|
+
padding-block: k-spacing(1);
|
|
99
99
|
}
|
|
100
100
|
> .k-content {
|
|
101
|
-
padding-inline: k-
|
|
102
|
-
padding-block: k-
|
|
101
|
+
padding-inline: k-spacing(2);
|
|
102
|
+
padding-block: k-spacing(1);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
.k-content {
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
@include exports( "common/misc/hr" ) {
|
|
142
142
|
|
|
143
143
|
.k-hr {
|
|
144
|
-
margin: k-
|
|
144
|
+
margin: k-spacing(4) auto;
|
|
145
145
|
padding: 0;
|
|
146
146
|
height: 0;
|
|
147
147
|
border-width: 1px 0 0;
|
package/scss/core/_index.scss
CHANGED
|
@@ -6,6 +6,12 @@ $wcag-min-contrast-ratio: 4.5 !default;
|
|
|
6
6
|
// Color System
|
|
7
7
|
@import "./color-system/_swatch.scss";
|
|
8
8
|
|
|
9
|
+
// Typography
|
|
10
|
+
@import "./typography/index.import.scss";
|
|
11
|
+
|
|
12
|
+
// Spacing
|
|
13
|
+
@import "./spacing/index.import.scss";
|
|
14
|
+
|
|
9
15
|
@import "@progress/kendo-theme-core/scss/index.import.scss";
|
|
10
16
|
|
|
11
17
|
// Backward compatibility
|
|
@@ -17,4 +23,10 @@ $wcag-min-contrast-ratio: 4.5 !default;
|
|
|
17
23
|
|
|
18
24
|
// Elevation System
|
|
19
25
|
@include kendo-elevation--styles();
|
|
26
|
+
// Typography
|
|
27
|
+
@include kendo-core--typography--styles();
|
|
28
|
+
// Spacing
|
|
29
|
+
@include kendo-spacing--styles();
|
|
30
|
+
// Radii
|
|
31
|
+
@include kendo-border-radius--styles();
|
|
20
32
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "@progress/kendo-theme-core/scss/border-radii/index.import.scss";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@import "@progress/kendo-theme-core/scss/spacing/index.import.scss";
|
|
2
|
+
|
|
3
|
+
$kendo-icon-spacing: k-spacing(1) !default;
|
|
4
|
+
$kendo-icon-padding: k-spacing(1) !default;
|
|
5
|
+
|
|
6
|
+
/// Horizontal padding.
|
|
7
|
+
/// @group common
|
|
8
|
+
$kendo-padding-x: k-spacing(2) !default;
|
|
9
|
+
/// Vertical padding.
|
|
10
|
+
/// @group common
|
|
11
|
+
$kendo-padding-y: k-spacing(1) !default;
|
|
12
|
+
/// Small horizontal padding.
|
|
13
|
+
/// @group common
|
|
14
|
+
$kendo-padding-sm-x: k-spacing(1) !default;
|
|
15
|
+
/// Small vertical padding.
|
|
16
|
+
/// @group common
|
|
17
|
+
$kendo-padding-sm-y: k-spacing(0.5) !default;
|
|
18
|
+
/// Medium horizontal padding.
|
|
19
|
+
/// @group common
|
|
20
|
+
$kendo-padding-md-x: k-spacing(2) !default;
|
|
21
|
+
/// Medium vertical padding.
|
|
22
|
+
/// @group common
|
|
23
|
+
$kendo-padding-md-y: k-spacing(1) !default;
|
|
24
|
+
/// Large horizontal padding.
|
|
25
|
+
/// @group common
|
|
26
|
+
$kendo-padding-lg-x: k-spacing(3) !default;
|
|
27
|
+
/// Large vertical padding.
|
|
28
|
+
/// @group common
|
|
29
|
+
$kendo-padding-lg-y: k-spacing(1.5) !default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "@progress/kendo-theme-core/scss/typography/index.import.scss";
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.k-chart-tooltip {
|
|
84
|
-
@include border-radius(
|
|
84
|
+
@include border-radius( k-border-radius(md) );
|
|
85
85
|
font-size: $kendo-chart-tooltip-font-size;
|
|
86
|
-
line-height:
|
|
86
|
+
line-height: var( --kendo-line-height, normal );
|
|
87
87
|
padding-block: $kendo-tooltip-padding-y;
|
|
88
88
|
padding-inline: $kendo-tooltip-padding-x;
|
|
89
89
|
}
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
text-align: start;
|
|
100
100
|
padding-block: $kendo-padding-sm-y;
|
|
101
101
|
padding-inline: $kendo-padding-sm-x;
|
|
102
|
-
line-height:
|
|
102
|
+
line-height: var( --kendo-line-height, normal );
|
|
103
103
|
vertical-align: middle;
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
.k-navigator-hint .k-scroll {
|
|
194
|
-
@include border-radius(
|
|
194
|
+
@include border-radius( k-border-radius(md) );
|
|
195
195
|
position: absolute;
|
|
196
196
|
height: 4px;
|
|
197
197
|
}
|
|
@@ -268,7 +268,10 @@
|
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
|
|
271
|
-
|
|
271
|
+
// Sankey labels
|
|
272
|
+
.k-sankey text {
|
|
273
|
+
pointer-events: none;
|
|
274
|
+
}
|
|
272
275
|
|
|
273
276
|
// Treemap
|
|
274
277
|
.k-treemap {
|
|
@@ -308,7 +311,7 @@
|
|
|
308
311
|
border-width: 0 0 1px;
|
|
309
312
|
border-style: solid;
|
|
310
313
|
border-color: inherit;
|
|
311
|
-
font-size:
|
|
314
|
+
font-size: var( --kendo-font-size, inherit );
|
|
312
315
|
background-position: 0 0;
|
|
313
316
|
background-repeat: repeat-x;
|
|
314
317
|
}
|
|
@@ -345,10 +348,10 @@
|
|
|
345
348
|
right: 0;
|
|
346
349
|
}
|
|
347
350
|
.k-treemap-title + .k-treemap-wrap {
|
|
348
|
-
top: calc( #{$kendo-padding-sm-y * 2
|
|
351
|
+
top: calc( calc( #{$kendo-padding-sm-y} * 2 ) + calc( var( --kendo-line-height, normal ) * var( --kendo-font-size, inherit) ) + 1px);
|
|
349
352
|
}
|
|
350
353
|
.k-treemap-title-vertical + .k-treemap-wrap {
|
|
351
|
-
left: calc( #{$kendo-padding-sm-y * 2
|
|
354
|
+
left: calc( calc( #{$kendo-padding-sm-y} * 2 ) + calc( var( --kendo-line-height, normal ) * var( --kendo-font-size, inherit) ) + 1px);
|
|
352
355
|
}
|
|
353
356
|
|
|
354
357
|
|
|
@@ -400,7 +403,7 @@
|
|
|
400
403
|
base: $kendo-base-bg,
|
|
401
404
|
background: $kendo-chart-bg,
|
|
402
405
|
|
|
403
|
-
border-radius:
|
|
406
|
+
border-radius: k-border-radius(md),
|
|
404
407
|
|
|
405
408
|
normal-background: $kendo-base-bg,
|
|
406
409
|
normal-text-color: $kendo-base-text,
|
|
@@ -86,17 +86,17 @@ $kendo-series-29: $kendo-series-e-darker !default;
|
|
|
86
86
|
$kendo-series-30: $kendo-series-f-darker !default;
|
|
87
87
|
|
|
88
88
|
$kendo-chart-border-width: 0px !default;
|
|
89
|
-
$kendo-chart-font-family:
|
|
90
|
-
$kendo-chart-font-size:
|
|
91
|
-
$kendo-chart-line-height:
|
|
89
|
+
$kendo-chart-font-family: var( --kendo-font-family, inherit ) !default;
|
|
90
|
+
$kendo-chart-font-size: var( --kendo-font-size, inherit ) !default;
|
|
91
|
+
$kendo-chart-line-height: var( --kendo-line-height, normal ) !default;
|
|
92
92
|
$kendo-chart-sm-font-size: 11px !default;
|
|
93
93
|
$kendo-chart-md-font-size: 12px !default;
|
|
94
94
|
$kendo-chart-lg-font-size: 16px !default;
|
|
95
|
-
$kendo-chart-tooltip-font-size: ($kendo-font-size
|
|
95
|
+
$kendo-chart-tooltip-font-size: calc( #{$kendo-font-size} * .929) !default;
|
|
96
96
|
$kendo-chart-label-font-size: .857em !default;
|
|
97
97
|
$kendo-chart-title-font-size: 1.143em !default;
|
|
98
98
|
$kendo-chart-pane-title-font-size: $kendo-chart-label-font-size !default;
|
|
99
|
-
$kendo-chart-pane-title-font-weight:
|
|
99
|
+
$kendo-chart-pane-title-font-weight: var( --kendo-font-weight-normal, normal ) !default;
|
|
100
100
|
|
|
101
101
|
/// The color of the Chart grid lines (major).
|
|
102
102
|
/// @group charts
|
|
@@ -134,6 +134,6 @@ $kendo-chart-selection-shadow: inset 0 1px 7px if($kendo-enable-color-system, co
|
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
// TreeMap
|
|
137
|
-
$kendo-treemap-font-family:
|
|
138
|
-
$kendo-treemap-font-size:
|
|
139
|
-
$kendo-treemap-line-height:
|
|
137
|
+
$kendo-treemap-font-family: var( --kendo-font-family, inherit ) !default;
|
|
138
|
+
$kendo-treemap-font-size: var( --kendo-font-size, inherit ) !default;
|
|
139
|
+
$kendo-treemap-line-height: var( --kendo-line-height, normal ) !default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// DateTime
|
|
2
|
-
$kendo-datetime-width: calc( #{$kendo-calendar-cell-size * 8
|
|
2
|
+
$kendo-datetime-width: calc( calc( #{$kendo-calendar-cell-size} * 8 ) + calc( #{$kendo-infinite-calendar-view-padding-x} * 2 )) !default;
|
|
@@ -10,10 +10,10 @@ $kendo-dock-manager-border: $kendo-base-border !default;
|
|
|
10
10
|
|
|
11
11
|
/// The vertical padding of the pane header in the DockManager component.
|
|
12
12
|
/// @group dock-manager
|
|
13
|
-
$kendo-dock-manager-pane-header-padding-y: k-
|
|
13
|
+
$kendo-dock-manager-pane-header-padding-y: k-spacing(2) !default;
|
|
14
14
|
/// The horizontal padding of the pane header in the DockManager component.
|
|
15
15
|
/// @group dock-manager
|
|
16
|
-
$kendo-dock-manager-pane-header-padding-x: k-
|
|
16
|
+
$kendo-dock-manager-pane-header-padding-x: k-spacing(4) !default;
|
|
17
17
|
/// The width of the border around the pane header in the DockManager component.
|
|
18
18
|
/// @group dock-manager
|
|
19
19
|
$kendo-dock-manager-pane-header-border-width: $kendo-dock-manager-border-width !default;
|
|
@@ -32,16 +32,16 @@ $kendo-dock-manager-pane-title-padding-y: null !default;
|
|
|
32
32
|
$kendo-dock-manager-pane-title-padding-x: null !default;
|
|
33
33
|
/// The font family of the pane title in the DockManager component.
|
|
34
34
|
/// @group dock-manager
|
|
35
|
-
$kendo-dock-manager-pane-title-font-family:
|
|
35
|
+
$kendo-dock-manager-pane-title-font-family: var( --kendo-font-family, inherit ) !default;
|
|
36
36
|
/// The font size of the pane title in the DockManager component.
|
|
37
37
|
/// @group dock-manager
|
|
38
|
-
$kendo-dock-manager-pane-title-font-size:
|
|
38
|
+
$kendo-dock-manager-pane-title-font-size: var( --kendo-font-size-lg, inherit ) !default;
|
|
39
39
|
/// The line height of the pane title in the DockManager component.
|
|
40
40
|
/// @group dock-manager
|
|
41
|
-
$kendo-dock-manager-pane-title-line-height:
|
|
41
|
+
$kendo-dock-manager-pane-title-line-height: var( --kendo-line-height-sm, normal ) !default;
|
|
42
42
|
/// The font weight of the pane title in the DockManager component.
|
|
43
43
|
/// @group dock-manager
|
|
44
|
-
$kendo-dock-manager-pane-title-font-weight:
|
|
44
|
+
$kendo-dock-manager-pane-title-font-weight: var( --kendo-font-weight-normal, normal ) !default;
|
|
45
45
|
|
|
46
46
|
/// The horizontal padding of the pane content in the DockManager component.
|
|
47
47
|
/// @group dock-manager
|
|
@@ -52,10 +52,10 @@ $kendo-dock-manager-pane-content-padding-y: $kendo-dock-manager-pane-header-padd
|
|
|
52
52
|
|
|
53
53
|
/// The horizontal padding of the tabbed pane in the DockManager component.
|
|
54
54
|
/// @group dock-manager
|
|
55
|
-
$kendo-dock-manager-tabbed-pane-padding-y: k-
|
|
55
|
+
$kendo-dock-manager-tabbed-pane-padding-y: k-spacing(3.5) !default;
|
|
56
56
|
/// The horizontal padding of the tabbed pane in the DockManager component.
|
|
57
57
|
/// @group dock-manager
|
|
58
|
-
$kendo-dock-manager-tabbed-pane-padding-x: k-
|
|
58
|
+
$kendo-dock-manager-tabbed-pane-padding-x: k-spacing(2) !default;
|
|
59
59
|
|
|
60
60
|
/// The width of the unpinned pane container in the DockManager component.
|
|
61
61
|
/// @group dock-manager
|
|
@@ -69,7 +69,7 @@ $kendo-dock-manager-unpinned-container-shadow: 4px 0px 5px 0px rgba(0, 0, 0, 0.0
|
|
|
69
69
|
|
|
70
70
|
/// The padding of the dock indicator in the DockManager component.
|
|
71
71
|
/// @group dock-manager
|
|
72
|
-
$kendo-dock-indicator-padding: k-
|
|
72
|
+
$kendo-dock-indicator-padding: k-spacing(1.5) !default;
|
|
73
73
|
/// The background color of the dock indicator in the DockManager component.
|
|
74
74
|
/// @group dock-manager
|
|
75
75
|
$kendo-dock-indicator-bg: #f5f5f5 !default;
|
|
@@ -104,7 +104,7 @@ $kendo-dock-manager-dock-preview-border-width: 1px !default;
|
|
|
104
104
|
$kendo-dock-manager-dock-preview-border-style: dashed !default;
|
|
105
105
|
/// The border radius of the dropping area in the DockManager component.
|
|
106
106
|
/// @group dock-manager
|
|
107
|
-
$kendo-dock-manager-dock-preview-border-radius:
|
|
107
|
+
$kendo-dock-manager-dock-preview-border-radius: k-border-radius(sm) !default;
|
|
108
108
|
/// The background color of the dropping area in the DockManager component.
|
|
109
109
|
/// @group dock-manager
|
|
110
110
|
$kendo-dock-manager-dock-preview-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 16%, transparent), rgba( $kendo-color-primary, .16 )) !default;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
$kendo-drag-hint-padding-x: $kendo-padding-md-x !default;
|
|
3
3
|
$kendo-drag-hint-padding-y: $kendo-padding-md-y !default;
|
|
4
4
|
$kendo-drag-hint-border-width: 1px !default;
|
|
5
|
-
$kendo-drag-hint-border-radius:
|
|
6
|
-
$kendo-drag-hint-font-size:
|
|
7
|
-
$kendo-drag-hint-font-family:
|
|
8
|
-
$kendo-drag-hint-line-height:
|
|
5
|
+
$kendo-drag-hint-border-radius: k-border-radius(md) !default;
|
|
6
|
+
$kendo-drag-hint-font-size: var( --kendo-font-size, inherit ) !default;
|
|
7
|
+
$kendo-drag-hint-font-family: var( --kendo-font-family, inherit ) !default;
|
|
8
|
+
$kendo-drag-hint-line-height: var( --kendo-line-height, normal ) !default;
|
|
9
9
|
|
|
10
10
|
$kendo-drag-hint-bg: $kendo-base-bg !default;
|
|
11
11
|
$kendo-drag-hint-text: $kendo-base-text !default;
|
package/scss/drawer/_layout.scss
CHANGED
|
@@ -65,6 +65,8 @@
|
|
|
65
65
|
.k-drawer-content {
|
|
66
66
|
flex: 1 1 auto;
|
|
67
67
|
overflow: auto;
|
|
68
|
+
padding-block: $kendo-drawer-content-padding-y;
|
|
69
|
+
padding-inline: $kendo-drawer-content-padding-x;
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
|
|
@@ -139,8 +141,8 @@
|
|
|
139
141
|
cursor: pointer;
|
|
140
142
|
|
|
141
143
|
> .k-drawer-link {
|
|
142
|
-
margin-block: (
|
|
143
|
-
margin-inline: (
|
|
144
|
+
margin-block: calc( #{$kendo-drawer-item-padding-y} * -1 );
|
|
145
|
+
margin-inline: calc( #{$kendo-drawer-item-padding-x} * -1 );
|
|
144
146
|
padding-block: $kendo-drawer-item-padding-y;
|
|
145
147
|
padding-inline: $kendo-drawer-item-padding-x;
|
|
146
148
|
color: inherit;
|
|
@@ -177,7 +179,7 @@
|
|
|
177
179
|
// Hierarchy items
|
|
178
180
|
@for $i from 1 through $kendo-drawer-item-level-count {
|
|
179
181
|
&.k-level-#{$i} {
|
|
180
|
-
padding-inline-start: ( $i + 1) * $kendo-drawer-item-level-padding-x;
|
|
182
|
+
padding-inline-start: calc(( #{$i} + 1) * #{$kendo-drawer-item-level-padding-x}) ;
|
|
181
183
|
}
|
|
182
184
|
}
|
|
183
185
|
}
|
|
@@ -12,22 +12,24 @@ $kendo-drawer-border: $kendo-component-border !default;
|
|
|
12
12
|
/// The border width of the Drawer.
|
|
13
13
|
/// @group drawer
|
|
14
14
|
$kendo-drawer-border-width: 1px !default;
|
|
15
|
+
|
|
15
16
|
/// The font family of the Drawer.
|
|
16
17
|
/// @group drawer
|
|
17
|
-
$kendo-drawer-font-family:
|
|
18
|
+
$kendo-drawer-font-family: var( --kendo-font-family, inherit ) !default;
|
|
18
19
|
/// The font size of the Drawer.
|
|
19
20
|
/// @group drawer
|
|
20
|
-
$kendo-drawer-font-size:
|
|
21
|
+
$kendo-drawer-font-size: var( --kendo-font-size, inherit ) !default;
|
|
21
22
|
/// The line height of the Drawer.
|
|
22
23
|
/// @group drawer
|
|
23
|
-
$kendo-drawer-line-height:
|
|
24
|
+
$kendo-drawer-line-height: var( --kendo-line-height, normal ) !default;
|
|
24
25
|
|
|
25
26
|
/// The horizontal padding of the Drawer content.
|
|
26
27
|
/// @group drawer
|
|
27
|
-
$kendo-drawer-content-padding-x:
|
|
28
|
+
$kendo-drawer-content-padding-x: null !default;
|
|
29
|
+
|
|
28
30
|
/// The vertical padding of the Drawer content.
|
|
29
31
|
/// @group drawer
|
|
30
|
-
$kendo-drawer-content-padding-y:
|
|
32
|
+
$kendo-drawer-content-padding-y: null !default;
|
|
31
33
|
|
|
32
34
|
/// The width of the Drawer scrollbar.
|
|
33
35
|
/// @group drawer
|
|
@@ -47,16 +49,14 @@ $kendo-drawer-scrollbar-hover-color: rgba(156, 156, 156, 1) !default;
|
|
|
47
49
|
|
|
48
50
|
/// The horizontal padding of the Drawer item.
|
|
49
51
|
/// @group drawer
|
|
50
|
-
$kendo-drawer-item-padding-x: k-
|
|
52
|
+
$kendo-drawer-item-padding-x: k-spacing(4) !default;
|
|
51
53
|
/// The vertical padding of the Drawer item.
|
|
52
54
|
/// @group drawer
|
|
53
55
|
$kendo-drawer-item-padding-y: $kendo-padding-md-x !default;
|
|
54
56
|
/// The font size of the Drawer item.
|
|
55
57
|
/// @group drawer
|
|
56
58
|
$kendo-drawer-item-font-size: 16px !default;
|
|
57
|
-
|
|
58
|
-
/// @group drawer
|
|
59
|
-
$kendo-drawer-item-line-height: $kendo-line-height-lg !default;
|
|
59
|
+
$kendo-drawer-item-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
60
60
|
|
|
61
61
|
/// The horizontal padding of the Drawer item in each level.
|
|
62
62
|
/// @group drawer
|
|
@@ -67,10 +67,11 @@ $kendo-drawer-item-level-count: 5 !default;
|
|
|
67
67
|
|
|
68
68
|
/// The horizontal padding of the Drawer icon.
|
|
69
69
|
/// @group drawer
|
|
70
|
-
$kendo-drawer-icon-padding-x: 0 !default;
|
|
70
|
+
$kendo-drawer-icon-padding-x: k-spacing(0) !default;
|
|
71
|
+
|
|
71
72
|
/// The vertical padding of the Drawer icon.
|
|
72
73
|
/// @group drawer
|
|
73
|
-
$kendo-drawer-icon-padding-y: k-
|
|
74
|
+
$kendo-drawer-icon-padding-y: k-spacing(1) !default;
|
|
74
75
|
|
|
75
76
|
/// The initial width of the mini Drawer.
|
|
76
77
|
/// @group drawer
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
.k-dropdowntree-popup,
|
|
9
9
|
.k-multiselecttree-popup {
|
|
10
10
|
.k-treeview {
|
|
11
|
-
padding-block:
|
|
12
|
-
padding-inline:
|
|
11
|
+
padding-block: calc( #{$kendo-dropdowntree-popup-padding-y} / 2 );
|
|
12
|
+
padding-inline: calc( #{$kendo-dropdowntree-popup-padding-x} / 2 );
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.k-check-all {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/// The horizontal padding of the DropdownTree popup
|
|
4
4
|
/// @group dropdowntree
|
|
5
|
-
$kendo-dropdowntree-popup-padding-x: k-
|
|
5
|
+
$kendo-dropdowntree-popup-padding-x: k-spacing(2) !default;
|
|
6
6
|
/// The vertical padding of the DropdownTree popup
|
|
7
7
|
/// @group dropdowntree
|
|
8
|
-
$kendo-dropdowntree-popup-padding-y: k-
|
|
8
|
+
$kendo-dropdowntree-popup-padding-y: k-spacing(2) !default;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
/// The horizontal padding of the DropZone.
|
|
4
4
|
/// @group dropzone
|
|
5
|
-
$kendo-dropzone-padding-x: k-
|
|
5
|
+
$kendo-dropzone-padding-x: k-spacing(2) !default;
|
|
6
6
|
/// The vertical padding of the DropZone.
|
|
7
7
|
/// @group dropzone
|
|
8
|
-
$kendo-dropzone-padding-y: k-
|
|
8
|
+
$kendo-dropzone-padding-y: k-spacing(2) !default;
|
|
9
9
|
/// The border width of the DropZone.
|
|
10
10
|
/// @group dropzone
|
|
11
11
|
$kendo-dropzone-border-width: 1px !default;
|
|
@@ -15,13 +15,13 @@ $kendo-dropzone-min-height: 220px !default;
|
|
|
15
15
|
|
|
16
16
|
/// The font family of the DropZone.
|
|
17
17
|
/// @group dropzone
|
|
18
|
-
$kendo-dropzone-font-family:
|
|
18
|
+
$kendo-dropzone-font-family: var( --kendo-font-family, inherit ) !default;
|
|
19
19
|
/// The font size of the DropZone.
|
|
20
20
|
/// @group dropzone
|
|
21
|
-
$kendo-dropzone-font-size:
|
|
21
|
+
$kendo-dropzone-font-size: var( --kendo-font-size, inherit ) !default;
|
|
22
22
|
/// The line height of the DropZone.
|
|
23
23
|
/// @group dropzone
|
|
24
|
-
$kendo-dropzone-line-height:
|
|
24
|
+
$kendo-dropzone-line-height: var( --kendo-line-height, normal ) !default;
|
|
25
25
|
|
|
26
26
|
/// The background color of the DropZone.
|
|
27
27
|
/// @group dropzone
|
|
@@ -35,7 +35,7 @@ $kendo-dropzone-border: $kendo-base-border !default;
|
|
|
35
35
|
|
|
36
36
|
/// The spacing below the DropZone icon.
|
|
37
37
|
/// @group dropzone
|
|
38
|
-
$kendo-dropzone-icon-spacing: k-
|
|
38
|
+
$kendo-dropzone-icon-spacing: k-spacing(6) !default;
|
|
39
39
|
/// The text color of the DropZone icon.
|
|
40
40
|
/// @group dropzone
|
|
41
41
|
$kendo-dropzone-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-dropzone-text, 4 )) !default;
|
|
@@ -48,14 +48,14 @@ $kendo-dropzone-icon-hover-text: $kendo-color-primary !default;
|
|
|
48
48
|
$kendo-dropzone-hint-font-size: null !default;
|
|
49
49
|
/// The spacing below the DropZone hint.
|
|
50
50
|
/// @group dropzone
|
|
51
|
-
$kendo-dropzone-hint-spacing: k-
|
|
51
|
+
$kendo-dropzone-hint-spacing: k-spacing(2) !default;
|
|
52
52
|
/// The text color of the DropZone hint.
|
|
53
53
|
/// @group dropzone
|
|
54
54
|
$kendo-dropzone-hint-text: null !default;
|
|
55
55
|
|
|
56
56
|
/// The font size of the DropZone note.
|
|
57
57
|
/// @group dropzone
|
|
58
|
-
$kendo-dropzone-note-font-size:
|
|
58
|
+
$kendo-dropzone-note-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
59
59
|
/// The spacing below the DropZone note.
|
|
60
60
|
/// @group dropzone
|
|
61
61
|
$kendo-dropzone-note-spacing: null !default;
|