@progress/kendo-theme-fluent 6.8.0-dev.2 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all.css +558 -4803
- package/dist/meta/sassdoc-data.json +1046 -472
- package/dist/meta/sassdoc-raw-data.json +520 -236
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +5 -5
- package/scss/action-sheet/_variables.scss +1 -1
- package/scss/badge/_layout.scss +1 -1
- package/scss/bottom-navigation/_variables.scss +2 -2
- package/scss/breadcrumb/_layout.scss +1 -2
- package/scss/chat/_variables.scss +3 -3
- package/scss/colorgradient/_layout.scss +3 -3
- package/scss/colorgradient/_theme.scss +3 -30
- package/scss/colorgradient/_variables.scss +16 -10
- package/scss/core/_index.scss +9 -3
- package/scss/core/_legacy.scss +4 -0
- package/scss/core/elevation/_index.scss +44 -0
- package/scss/core/elevation/_legacy.scss +48 -0
- package/scss/core/helpers/_index.scss +1 -0
- package/scss/core/helpers/_indicators.scss +35 -0
- package/scss/dataviz/_variables.scss +1 -1
- package/scss/dialog/_variables.scss +1 -1
- package/scss/drawer/_layout.scss +0 -1
- package/scss/drawer/_theme.scss +0 -4
- package/scss/dropzone/_theme.scss +0 -2
- package/scss/editor/_layout.scss +3 -7
- package/scss/filemanager/_layout.scss +1 -2
- package/scss/grid/_layout.scss +7 -15
- package/scss/grid/_theme.scss +5 -16
- package/scss/grid/_variables.scss +1 -1
- package/scss/icon/_layout.scss +3 -4
- package/scss/index.scss +4 -0
- package/scss/input/_layout.scss +9 -7
- package/scss/list/_theme.scss +1 -2
- package/scss/listview/_layout.scss +1 -1
- package/scss/map/_layout.scss +1 -2
- package/scss/menu/_layout.scss +4 -4
- package/scss/menu/_theme.scss +1 -2
- package/scss/menu/_variables.scss +1 -1
- package/scss/notification/_theme.scss +1 -2
- package/scss/panelbar/_layout.scss +1 -0
- package/scss/panelbar/_theme.scss +0 -7
- package/scss/pdf-viewer/_theme.scss +1 -2
- package/scss/pdf-viewer/_variables.scss +1 -1
- package/scss/pivotgrid/_layout.scss +4 -8
- package/scss/popover/_variables.scss +2 -2
- package/scss/popup/_variables.scss +1 -1
- package/scss/scheduler/_layout.scss +2 -15
- package/scss/scheduler/_theme.scss +0 -17
- package/scss/scheduler/_variables.scss +1 -5
- package/scss/spreadsheet/_layout.scss +2 -9
- package/scss/stepper/_layout.scss +1 -2
- package/scss/stepper/_theme.scss +1 -2
- package/scss/tabstrip/_layout.scss +1 -0
- package/scss/taskboard/_variables.scss +1 -1
- package/scss/tilelayout/_layout.scss +1 -0
- package/scss/timeline/_variables.scss +1 -1
- package/scss/tooltip/_layout.scss +1 -2
- package/scss/tooltip/_variables.scss +1 -1
- package/scss/treeview/_layout.scss +1 -3
- package/scss/upload/_layout.scss +1 -2
- package/scss/utils/_layout.scss +1 -0
- package/scss/window/_variables.scss +2 -2
package/lib/swatches/all.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-fluent",
|
|
3
3
|
"description": "A css variables based theme for Kendo UI that follows the Fluent design system guidelines.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "7.0.0",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"postpublish": "echo 'no postpublish for the Fluent theme'"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@progress/kendo-
|
|
55
|
-
"@progress/kendo-theme-core": "
|
|
56
|
-
"@progress/kendo-theme-utils": "
|
|
54
|
+
"@progress/kendo-svg-icons": "2.0.0",
|
|
55
|
+
"@progress/kendo-theme-core": "7.0.0",
|
|
56
|
+
"@progress/kendo-theme-utils": "7.0.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "61d73126ecd6c97602f73d0adf12a12bdafe4d0a"
|
|
59
59
|
}
|
|
@@ -48,7 +48,7 @@ $kendo-actionsheet-text: var( --kendo-component-text, initial ) !default;
|
|
|
48
48
|
$kendo-actionsheet-border: var( --kendo-component-border, initial ) !default;
|
|
49
49
|
/// Box shadow of the action sheet.
|
|
50
50
|
/// @group action-sheet
|
|
51
|
-
$kendo-actionsheet-shadow: var( --kendo-box-shadow-depth-
|
|
51
|
+
$kendo-actionsheet-shadow: var( --kendo-box-shadow-depth-7, none ) !default;
|
|
52
52
|
|
|
53
53
|
/// Horizontal padding of the action sheet header.
|
|
54
54
|
/// @group action-sheet
|
package/scss/badge/_layout.scss
CHANGED
|
@@ -60,7 +60,7 @@ $kendo-bottom-nav-item-focus-outline-style: solid !default;
|
|
|
60
60
|
|
|
61
61
|
/// The box shadow of the BottomNavigation.
|
|
62
62
|
/// @group bottom-navigation
|
|
63
|
-
$kendo-bottom-nav-shadow: var( --kendo-box-shadow-depth-
|
|
63
|
+
$kendo-bottom-nav-shadow: var( --kendo-box-shadow-depth-4, none ) !default;
|
|
64
64
|
|
|
65
65
|
/// The theme variations for the BottomNavigation.
|
|
66
66
|
/// @group bottom-navigation
|
|
@@ -166,4 +166,4 @@ $kendo-bottom-nav-theme-colors: () !default;
|
|
|
166
166
|
$kendo-bottom-nav-theme-colors,
|
|
167
167
|
k-generate-fill-mode-theme-variation( $fill-mode, light, neutral, $ui-states )
|
|
168
168
|
);
|
|
169
|
-
}
|
|
169
|
+
}
|
|
@@ -94,8 +94,7 @@
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.k-breadcrumb-link > .k-image,
|
|
97
|
-
.k-breadcrumb-icontext-link .k-icon
|
|
98
|
-
.k-breadcrumb-icontext-link .k-svg-icon {
|
|
97
|
+
.k-breadcrumb-icontext-link .k-icon {
|
|
99
98
|
margin-inline-end: var( --kendo-breadcrumb-link-icon-spacing, #{$kendo-breadcrumb-link-icon-spacing} );
|
|
100
99
|
}
|
|
101
100
|
|
|
@@ -168,7 +168,7 @@ $kendo-chat-bubble-border: $kendo-chat-bubble-bg !default;
|
|
|
168
168
|
$kendo-chat-bubble-shadow: var( --kendo-box-shadow-depth-1, none ) !default;
|
|
169
169
|
/// The hover shadow of the bubble in the chat.
|
|
170
170
|
/// @group chat
|
|
171
|
-
$kendo-chat-bubble-hover-shadow: var( --kendo-box-shadow-depth-
|
|
171
|
+
$kendo-chat-bubble-hover-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
172
172
|
/// The selected shadow of the bubble in the chat.
|
|
173
173
|
/// @group chat
|
|
174
174
|
$kendo-chat-bubble-selected-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
|
|
@@ -187,10 +187,10 @@ $kendo-chat-alt-bubble-border: $kendo-chat-alt-bubble-bg !default;
|
|
|
187
187
|
$kendo-chat-alt-bubble-shadow: var( --kendo-box-shadow-depth-1, none ) !default;
|
|
188
188
|
/// The hover shadow of the alt bubble in the chat.
|
|
189
189
|
/// @group chat
|
|
190
|
-
$kendo-chat-alt-bubble-hover-shadow: var( --kendo-box-shadow-depth-
|
|
190
|
+
$kendo-chat-alt-bubble-hover-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
191
191
|
/// The selected shadow of the alt bubble in the chat.
|
|
192
192
|
/// @group chat
|
|
193
|
-
$kendo-chat-alt-bubble-selected-shadow: var( --kendo-box-shadow-depth-
|
|
193
|
+
$kendo-chat-alt-bubble-selected-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
|
|
194
194
|
|
|
195
195
|
/// The background of quick reply in the chat.
|
|
196
196
|
/// @group chat
|
|
@@ -70,6 +70,8 @@
|
|
|
70
70
|
width: var( --kendo-color-gradient-draghandle-width, #{$kendo-color-gradient-draghandle-width} );
|
|
71
71
|
height: var( --kendo-color-gradient-draghandle-height, #{$kendo-color-gradient-draghandle-height} );
|
|
72
72
|
border-width: var( --kendo-color-gradient-draghandle-border-width, #{$kendo-color-gradient-draghandle-border-width} );
|
|
73
|
+
outline-width: var( --kendo-color-gradient-draghandle-outline-width, #{$kendo-color-gradient-draghandle-outline-width} );
|
|
74
|
+
outline-style: solid;
|
|
73
75
|
box-sizing: border-box;
|
|
74
76
|
}
|
|
75
77
|
|
|
@@ -168,14 +170,12 @@
|
|
|
168
170
|
align-items: center;
|
|
169
171
|
gap: calc( var( --kendo-color-gradient-contrast-spacing, #{$kendo-color-gradient-contrast-spacing} ) / 2 );
|
|
170
172
|
|
|
171
|
-
.k-icon
|
|
172
|
-
.k-svg-icon {
|
|
173
|
+
.k-icon {
|
|
173
174
|
vertical-align: middle;
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
// Needed for the double check icons
|
|
177
178
|
.k-icon + .k-icon,
|
|
178
|
-
.k-svg-icon + .k-svg-icon,
|
|
179
179
|
.k-icon-wrapper-host + .k-icon-wrapper-host .k-icon {
|
|
180
180
|
margin-inline-start: -13px;
|
|
181
181
|
}
|
|
@@ -20,9 +20,6 @@
|
|
|
20
20
|
@include fill(
|
|
21
21
|
$border: var( --kendo-color-gradient-focus-border, #{$kendo-color-gradient-focus-border} )
|
|
22
22
|
);
|
|
23
|
-
@include box-shadow(
|
|
24
|
-
var( --kendo-color-gradient-focus-shadow, #{$kendo-color-gradient-focus-shadow} )
|
|
25
|
-
);
|
|
26
23
|
}
|
|
27
24
|
|
|
28
25
|
// Canvas
|
|
@@ -43,6 +40,7 @@
|
|
|
43
40
|
@include fill(
|
|
44
41
|
$border: var( --kendo-color-gradient-draghandle-border, #{$kendo-color-gradient-draghandle-border })
|
|
45
42
|
);
|
|
43
|
+
outline-color: $kendo-color-gradient-draghandle-focus-shadow;
|
|
46
44
|
@include box-shadow(
|
|
47
45
|
var( --kendo-color-gradient-draghandle-shadow, #{$kendo-color-gradient-draghandle-shadow} )
|
|
48
46
|
);
|
|
@@ -52,38 +50,13 @@
|
|
|
52
50
|
@include fill(
|
|
53
51
|
$border: var( --kendo-color-gradient-draghandle-focus-border, #{$kendo-color-gradient-draghandle-focus-border} )
|
|
54
52
|
);
|
|
55
|
-
|
|
56
|
-
var( --kendo-color-gradient-draghandle-focus-shadow, #{$kendo-color-gradient-draghandle-focus-shadow} )
|
|
57
|
-
);
|
|
53
|
+
outline-color: $kendo-color-gradient-draghandle-focus-shadow;
|
|
58
54
|
}
|
|
59
55
|
|
|
60
56
|
&:active,
|
|
61
57
|
&:hover,
|
|
62
58
|
&.k-hover {
|
|
63
|
-
|
|
64
|
-
var( --kendo-color-gradient-draghandle-hover-shadow, #{$kendo-color-gradient-draghandle-hover-shadow} )
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.k-colorgradient .k-hsv-draghandle {
|
|
70
|
-
@include box-shadow(
|
|
71
|
-
var( --kendo-color-gradient-canvas-draghandle-shadow, #{$kendo-color-gradient-canvas-draghandle-shadow} )
|
|
72
|
-
);
|
|
73
|
-
|
|
74
|
-
&:focus,
|
|
75
|
-
&.k-focus {
|
|
76
|
-
@include box-shadow(
|
|
77
|
-
var( --kendo-color-gradient-canvas-draghandle-shadow, #{$kendo-color-gradient-canvas-draghandle-shadow} )
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&:active,
|
|
82
|
-
&:hover,
|
|
83
|
-
&.k-hover {
|
|
84
|
-
@include box-shadow(
|
|
85
|
-
var( --kendo-color-gradient-canvas-draghandle-shadow, #{$kendo-color-gradient-canvas-draghandle-shadow} )
|
|
86
|
-
);
|
|
59
|
+
outline-color: $kendo-color-gradient-draghandle-hover-shadow;
|
|
87
60
|
}
|
|
88
61
|
}
|
|
89
62
|
|
|
@@ -11,7 +11,7 @@ $kendo-color-gradient-spacer: map.get( $kendo-spacing, 4 ) !default;
|
|
|
11
11
|
$kendo-color-gradient-width: 260px !default;
|
|
12
12
|
/// The width of the border around the ColorGradient.
|
|
13
13
|
/// @group cologradient
|
|
14
|
-
$kendo-color-gradient-border-width:
|
|
14
|
+
$kendo-color-gradient-border-width: 2px !default;
|
|
15
15
|
/// The border radius of the ColorGradient.
|
|
16
16
|
/// @group cologradient
|
|
17
17
|
$kendo-color-gradient-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
|
|
@@ -71,7 +71,7 @@ $kendo-color-gradient-canvas-rectangle-height: 180px !default;
|
|
|
71
71
|
$kendo-color-gradient-canvas-rectangle-border: k-get-theme-color-var( neutral-30 ) !default;
|
|
72
72
|
/// The box shadow of the ColorGradient canvas drag handle.
|
|
73
73
|
/// @group cologradient
|
|
74
|
-
$kendo-color-gradient-canvas-draghandle-shadow:
|
|
74
|
+
$kendo-color-gradient-canvas-draghandle-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
75
75
|
|
|
76
76
|
/// The width of the ColorGradient slider.
|
|
77
77
|
/// @group cologradient
|
|
@@ -104,22 +104,28 @@ $kendo-color-gradient-draghandle-width: 20px !default;
|
|
|
104
104
|
$kendo-color-gradient-draghandle-height: 20px !default;
|
|
105
105
|
/// The width of the border around the ColorGradient canvas drag handle.
|
|
106
106
|
/// @group cologradient
|
|
107
|
-
$kendo-color-gradient-draghandle-border-width:
|
|
107
|
+
$kendo-color-gradient-draghandle-border-width: 2px !default;
|
|
108
|
+
/// The width of the outline around the ColorGradient canvas drag handle.
|
|
109
|
+
/// @group cologradient
|
|
110
|
+
$kendo-color-gradient-draghandle-outline-width: 1px !default;
|
|
108
111
|
/// The color of the border around the ColorGradient canvas drag handle.
|
|
109
112
|
/// @group cologradient
|
|
110
|
-
$kendo-color-gradient-draghandle-border:
|
|
113
|
+
$kendo-color-gradient-draghandle-border: $kendo-color-white !default;
|
|
114
|
+
/// The color of the outline around the ColorGradient canvas drag handle.
|
|
115
|
+
/// @group cologradient
|
|
116
|
+
$kendo-color-gradient-draghandle-shadow: k-get-theme-color-var( neutral-110 ) !default;
|
|
111
117
|
/// The box shadow of the ColorGradient canvas drag handle.
|
|
112
118
|
/// @group cologradient
|
|
113
119
|
$kendo-color-gradient-draghandle-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
114
120
|
/// The color of the border around the focused ColorGradient canvas drag handle.
|
|
115
121
|
/// @group cologradient
|
|
116
|
-
$kendo-color-gradient-draghandle-focus-border:
|
|
117
|
-
/// The
|
|
122
|
+
$kendo-color-gradient-draghandle-focus-border: $kendo-color-white !default;
|
|
123
|
+
/// The focus color of the outline around the ColorGradient canvas drag handle.
|
|
118
124
|
/// @group cologradient
|
|
119
|
-
$kendo-color-gradient-draghandle-focus-shadow:
|
|
120
|
-
/// The
|
|
125
|
+
$kendo-color-gradient-draghandle-focus-shadow: k-get-theme-color-var( neutral-130 ) !default;
|
|
126
|
+
/// The hover color of the outline around the ColorGradient canvas drag handle.
|
|
121
127
|
/// @group cologradient
|
|
122
|
-
$kendo-color-gradient-draghandle-hover-shadow:
|
|
128
|
+
$kendo-color-gradient-draghandle-hover-shadow: k-get-theme-color-var( neutral-130 ) !default;
|
|
123
129
|
|
|
124
130
|
/// The vertical offset of the ColorGradient canvas drag handle.
|
|
125
131
|
/// @group cologradient
|
|
@@ -149,4 +155,4 @@ $kendo-color-gradient-input-label-text: var( --kendo-subtle-text, inherit ) !def
|
|
|
149
155
|
$kendo-color-gradient-contrast-ratio-font-weight: var( --kendo-font-weight-bold, normal ) !default;
|
|
150
156
|
/// The spacing between the items in the ColorGradient contrast tool.
|
|
151
157
|
/// @group cologradient
|
|
152
|
-
$kendo-color-gradient-contrast-spacing: math.div( $kendo-color-gradient-spacer, 1.5 ) !default;
|
|
158
|
+
$kendo-color-gradient-contrast-spacing: math.div( $kendo-color-gradient-spacer, 1.5 ) !default;
|
package/scss/core/_index.scss
CHANGED
|
@@ -4,11 +4,17 @@
|
|
|
4
4
|
@forward "./color-system/palettes";
|
|
5
5
|
@use "./color-system/palettes" as *;
|
|
6
6
|
|
|
7
|
+
// Elevation
|
|
8
|
+
@use "./elevation" as *;
|
|
9
|
+
@forward "./elevation/legacy";
|
|
10
|
+
|
|
7
11
|
// Variables
|
|
8
12
|
@forward "./variables";
|
|
9
13
|
|
|
10
|
-
@forward "@progress/kendo-theme-core/scss/index.import.scss"
|
|
11
|
-
$kendo-palettes: $kendo-fluent-palettes
|
|
14
|
+
@forward "@progress/kendo-theme-core/scss/index.import.scss" with (
|
|
15
|
+
$kendo-palettes: $kendo-fluent-palettes,
|
|
16
|
+
$_default-elevation: $kendo-elevation,
|
|
17
|
+
$kendo-elevation: $kendo-elevation !default,
|
|
12
18
|
);
|
|
13
19
|
|
|
14
20
|
// Helpers
|
|
@@ -21,7 +27,7 @@ $components: null !default;
|
|
|
21
27
|
|
|
22
28
|
@mixin core-configure($config: null) {
|
|
23
29
|
@if $config {
|
|
24
|
-
$_components: map.get(
|
|
30
|
+
$_components: map.get($config, "components");
|
|
25
31
|
|
|
26
32
|
@if ($_components) {
|
|
27
33
|
module.$components: $_components;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
|
|
3
|
+
$_default-elevation: (
|
|
4
|
+
1: (
|
|
5
|
+
0 0.3px 0.9px rgba(0, 0, 0, 0.1),
|
|
6
|
+
0 1.6px 3.6px rgba(0, 0, 0, 0.13),
|
|
7
|
+
),
|
|
8
|
+
2: (
|
|
9
|
+
0 0.6px 1.8px rgba(0, 0, 0, 0.1),
|
|
10
|
+
0 3.2px 7.2px rgba(0, 0, 0, 0.13),
|
|
11
|
+
),
|
|
12
|
+
3: (
|
|
13
|
+
0 0.9px 2.7px rgba(0, 0, 0, 0.1),
|
|
14
|
+
0 4.8px 10.8px rgba(0, 0, 0, 0.13),
|
|
15
|
+
),
|
|
16
|
+
4: (
|
|
17
|
+
0 1.2px 3.6px rgba(0, 0, 0, 0.1),
|
|
18
|
+
0 6.4px 14.4px rgba(0, 0, 0, 0.13),
|
|
19
|
+
),
|
|
20
|
+
5: (
|
|
21
|
+
0 1.8px 5.4px rgba(0, 0, 0, 0.1),
|
|
22
|
+
0 9.6px 21.6px rgba(0, 0, 0, 0.13),
|
|
23
|
+
),
|
|
24
|
+
6: (
|
|
25
|
+
0 2.4px 7.2px rgba(0, 0, 0, 0.18),
|
|
26
|
+
0 12.8px 28.8px rgba(0, 0, 0, 0.22),
|
|
27
|
+
),
|
|
28
|
+
7: (
|
|
29
|
+
0 3.2px 10.8px rgba(0, 0, 0, 0.18),
|
|
30
|
+
0 19.2px 43.2px rgba(0, 0, 0, 0.22),
|
|
31
|
+
),
|
|
32
|
+
8: (
|
|
33
|
+
0 4.8px 14.4px rgba(0, 0, 0, 0.18),
|
|
34
|
+
0 25.6px 57.6px rgba(0, 0, 0, 0.22),
|
|
35
|
+
),
|
|
36
|
+
9: (
|
|
37
|
+
0 6.4px 18px rgba(0, 0, 0, 0.18),
|
|
38
|
+
0 32px 72px rgba(0, 0, 0, 0.22),
|
|
39
|
+
),
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
/// Global Elevation.
|
|
43
|
+
/// @group elevation
|
|
44
|
+
$kendo-elevation: $_default-elevation !default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "./index" as *;
|
|
3
|
+
|
|
4
|
+
/// Shadow for cards and grid item thumbnails.
|
|
5
|
+
/// Equivalent to fluent depth 4.
|
|
6
|
+
/// @deprecated Use the `$kendo-elevation` map instead.
|
|
7
|
+
$kendo-box-shadow-depth-1: var( --kendo-elevation-1, none ) !default;
|
|
8
|
+
/// Shadow for color gradient drag handle.
|
|
9
|
+
/// Equivalent to fluent depth 8.
|
|
10
|
+
/// @deprecated Use the `$kendo-elevation` map instead.
|
|
11
|
+
$kendo-box-shadow-depth-2: var( --kendo-elevation-2, none ) !default;
|
|
12
|
+
/// Shadow for focus card.
|
|
13
|
+
/// @deprecated Use the `$kendo-elevation` map instead.
|
|
14
|
+
$kendo-box-shadow-depth-3: var( --kendo-elevation-3, none ) !default;
|
|
15
|
+
/// Shadow for panels.
|
|
16
|
+
/// Equivalent to fluent depth 16.
|
|
17
|
+
/// @deprecated Use the `$kendo-elevation` map instead.
|
|
18
|
+
$kendo-box-shadow-depth-4: var( --kendo-elevation-4, none ) !default;
|
|
19
|
+
/// Shadow for floating action button.
|
|
20
|
+
/// @deprecated Use the `$kendo-elevation` map instead.
|
|
21
|
+
$kendo-box-shadow-depth-5: var( --kendo-elevation-5, none ) !default;
|
|
22
|
+
/// Shadow for pop up.
|
|
23
|
+
/// @deprecated Use the `$kendo-elevation` map instead.
|
|
24
|
+
$kendo-box-shadow-depth-6: var( --kendo-elevation-6, none ) !default;
|
|
25
|
+
/// Shadow for action sheet.
|
|
26
|
+
/// @deprecated Use the `$kendo-elevation` map instead.
|
|
27
|
+
$kendo-box-shadow-depth-7: var( --kendo-elevation-7, none ) !default;
|
|
28
|
+
/// Shadow for dialogs and window.
|
|
29
|
+
/// Equivalent to fluent depth 64.
|
|
30
|
+
/// @deprecated Use the `$kendo-elevation` map instead.
|
|
31
|
+
$kendo-box-shadow-depth-8: var( --kendo-elevation-8, none ) !default;
|
|
32
|
+
/// Shadow for focus window.
|
|
33
|
+
/// @deprecated Use the `$kendo-elevation` map instead.
|
|
34
|
+
$kendo-box-shadow-depth-9: var( --kendo-elevation-8, none ) !default;
|
|
35
|
+
|
|
36
|
+
@mixin elevation--styles-legacy() {
|
|
37
|
+
:root {
|
|
38
|
+
--kendo-box-shadow-depth-1: #{$kendo-box-shadow-depth-1};
|
|
39
|
+
--kendo-box-shadow-depth-2: #{$kendo-box-shadow-depth-2};
|
|
40
|
+
--kendo-box-shadow-depth-3: #{$kendo-box-shadow-depth-3};
|
|
41
|
+
--kendo-box-shadow-depth-4: #{$kendo-box-shadow-depth-4};
|
|
42
|
+
--kendo-box-shadow-depth-5: #{$kendo-box-shadow-depth-5};
|
|
43
|
+
--kendo-box-shadow-depth-6: #{$kendo-box-shadow-depth-6};
|
|
44
|
+
--kendo-box-shadow-depth-7: #{$kendo-box-shadow-depth-7};
|
|
45
|
+
--kendo-box-shadow-depth-8: #{$kendo-box-shadow-depth-8};
|
|
46
|
+
--kendo-box-shadow-depth-9: #{$kendo-box-shadow-depth-9};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
$kendo-current-time-width: 1px !default;
|
|
2
|
+
$kendo-current-time-color: #ff0000 !default;
|
|
3
|
+
|
|
4
|
+
// Layout
|
|
5
|
+
.k-current-time {
|
|
6
|
+
width: var( --kendo-current-time-width, #{$kendo-current-time-width} );
|
|
7
|
+
position: absolute;
|
|
8
|
+
|
|
9
|
+
&.k-current-time-arrow-left,
|
|
10
|
+
&.k-current-time-arrow-right,
|
|
11
|
+
&.k-current-time-arrow-down {
|
|
12
|
+
width: 0;
|
|
13
|
+
height: 0;
|
|
14
|
+
background: transparent;
|
|
15
|
+
border: 4px solid transparent;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
// Theme
|
|
21
|
+
.k-current-time {
|
|
22
|
+
background: var( --kendo-current-time-color, #{$kendo-current-time-color} );
|
|
23
|
+
|
|
24
|
+
&.k-current-time-arrow-left {
|
|
25
|
+
border-right-color: var( --kendo-current-time-color, #{$kendo-current-time-color} );
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.k-current-time-arrow-right {
|
|
29
|
+
border-left-color: var( --kendo-current-time-color, #{$kendo-current-time-color} );
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.k-current-time-arrow-down {
|
|
33
|
+
border-top-color: var( --kendo-current-time-color, #{$kendo-current-time-color} );
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -218,7 +218,7 @@ $kendo-selection-border-color: var( --kendo-component-border, initial ) !default
|
|
|
218
218
|
$kendo-treemap-font-family: var( --kendo-font-family, inherit ) !default;
|
|
219
219
|
/// The font-size of the treemap.
|
|
220
220
|
/// @group charts
|
|
221
|
-
$kendo-treemap-font-size: var(
|
|
221
|
+
$kendo-treemap-font-size: var( --kendo-font-size, inherit ) !default;
|
|
222
222
|
/// The line-height of the treemap.
|
|
223
223
|
/// @group charts
|
|
224
224
|
$kendo-treemap-line-height: var( --kendo-line-height, normal ) !default;
|
|
@@ -50,7 +50,7 @@ $kendo-dialog-button-spacing: map.get( $kendo-spacing, 2 ) !default; // $kendo-a
|
|
|
50
50
|
|
|
51
51
|
/// The box shadow around the Dialog.
|
|
52
52
|
/// @group dialog
|
|
53
|
-
$kendo-dialog-shadow: var( --kendo-box-shadow-depth-
|
|
53
|
+
$kendo-dialog-shadow: var( --kendo-box-shadow-depth-8, none ) !default;
|
|
54
54
|
|
|
55
55
|
/// The theme variations for the Dialog.
|
|
56
56
|
$kendo-dialog-brand-colors: (
|
package/scss/drawer/_layout.scss
CHANGED
package/scss/drawer/_theme.scss
CHANGED
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
var( --kendo-drawer-item-bg, #{$kendo-drawer-item-bg} )
|
|
32
32
|
);
|
|
33
33
|
|
|
34
|
-
.k-svg-icon,
|
|
35
34
|
.k-icon {
|
|
36
35
|
color: var( --kendo-drawer-item-icon-text, #{$kendo-drawer-item-icon-text} );
|
|
37
36
|
}
|
|
@@ -43,7 +42,6 @@
|
|
|
43
42
|
var( --kendo-drawer-item-hover-bg, #{$kendo-drawer-item-hover-bg} )
|
|
44
43
|
);
|
|
45
44
|
|
|
46
|
-
.k-svg-icon,
|
|
47
45
|
.k-icon {
|
|
48
46
|
color: var( --kendo-drawer-item-hover-icon-text, #{$kendo-drawer-item-hover-icon-text} );
|
|
49
47
|
}
|
|
@@ -57,7 +55,6 @@
|
|
|
57
55
|
);
|
|
58
56
|
box-shadow: var( --kendo-drawer-item-focus-shadow, #{$kendo-drawer-item-focus-shadow} );
|
|
59
57
|
|
|
60
|
-
.k-svg-icon,
|
|
61
58
|
.k-icon {
|
|
62
59
|
color: var( --kendo-drawer-item-focus-icon-text, #{$kendo-drawer-item-focus-icon-text} );
|
|
63
60
|
}
|
|
@@ -77,7 +74,6 @@
|
|
|
77
74
|
var( --kendo-drawer-item-selected-bg, #{$kendo-drawer-item-selected-bg} )
|
|
78
75
|
);
|
|
79
76
|
|
|
80
|
-
.k-svg-icon,
|
|
81
77
|
.k-icon {
|
|
82
78
|
color: var( --kendo-drawer-item-selected-icon-text, #{$kendo-drawer-item-selected-icon-text} );
|
|
83
79
|
}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
);
|
|
13
13
|
|
|
14
14
|
.k-icon,
|
|
15
|
-
.k-svg-icon,
|
|
16
15
|
.k-dropzone-icon {
|
|
17
16
|
color: var( --kendo-dropzone-icon-text, #{$kendo-dropzone-icon-text} );
|
|
18
17
|
}
|
|
@@ -28,7 +27,6 @@
|
|
|
28
27
|
// Hover
|
|
29
28
|
.k-external-dropzone-hover {
|
|
30
29
|
.k-icon,
|
|
31
|
-
.k-svg-icon,
|
|
32
30
|
.k-dropzone-icon {
|
|
33
31
|
color: var( --kendo-dropzone-icon-hover-text, #{$kendo-dropzone-icon-hover-text} );
|
|
34
32
|
}
|
package/scss/editor/_layout.scss
CHANGED
|
@@ -150,13 +150,11 @@
|
|
|
150
150
|
flex-shrink: 0;
|
|
151
151
|
|
|
152
152
|
.k-editor-export {
|
|
153
|
-
.k-icon
|
|
154
|
-
.k-svg-icon {
|
|
153
|
+
.k-icon {
|
|
155
154
|
margin-inline-end: var( --kendo-editor-export-tool-icon-margin-x, #{$kendo-editor-export-tool-icon-margin-x} );
|
|
156
155
|
}
|
|
157
156
|
|
|
158
157
|
.k-icon,
|
|
159
|
-
.k-svg-icon,
|
|
160
158
|
.k-export-tool-text {
|
|
161
159
|
vertical-align: middle;
|
|
162
160
|
}
|
|
@@ -364,8 +362,7 @@
|
|
|
364
362
|
flex: 1;
|
|
365
363
|
width: 100px; // fix width for Edge
|
|
366
364
|
}
|
|
367
|
-
.k-icon
|
|
368
|
-
.k-svg-icon {
|
|
365
|
+
.k-icon {
|
|
369
366
|
margin: 0;
|
|
370
367
|
position: static;
|
|
371
368
|
}
|
|
@@ -463,8 +460,7 @@
|
|
|
463
460
|
inset-inline-start: $kendo-input-md-padding-x;
|
|
464
461
|
inset-block-start: $kendo-input-md-padding-y;
|
|
465
462
|
|
|
466
|
-
.k-icon
|
|
467
|
-
.k-svg-icon {
|
|
463
|
+
.k-icon {
|
|
468
464
|
position: static;
|
|
469
465
|
margin-block-start: 0;
|
|
470
466
|
}
|
package/scss/grid/_layout.scss
CHANGED
|
@@ -157,8 +157,7 @@
|
|
|
157
157
|
text-overflow: clip;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
.k-grouping-row .k-icon
|
|
161
|
-
.k-grouping-row .k-svg-icon {
|
|
160
|
+
.k-grouping-row .k-icon {
|
|
162
161
|
margin-inline-start: calc( ( var( --kendo-icon-size, 1rem ) / 2 ) - var( --INTERNAL--kendo-grid-cell-padding-x, 0 ) );
|
|
163
162
|
margin-inline-end: calc( var( --kendo-icon-size, 1rem ) / 2 );
|
|
164
163
|
text-decoration: none;
|
|
@@ -182,15 +181,14 @@
|
|
|
182
181
|
padding: 0;
|
|
183
182
|
overflow: visible;
|
|
184
183
|
|
|
185
|
-
> .k-icon
|
|
186
|
-
> .k-svg-icon {
|
|
184
|
+
> .k-icon {
|
|
187
185
|
padding-inline: 0;
|
|
188
186
|
padding-block: var( --INTERNAL--kendo-grid-cell-padding-y, 0 );
|
|
189
187
|
display: inline-block;
|
|
190
188
|
outline: 0;
|
|
191
189
|
}
|
|
192
190
|
|
|
193
|
-
> .k-icon {
|
|
191
|
+
> .k-font-icon {
|
|
194
192
|
width: 100%;
|
|
195
193
|
height: 100%;
|
|
196
194
|
}
|
|
@@ -240,8 +238,7 @@
|
|
|
240
238
|
.k-grid-filter,
|
|
241
239
|
.k-header-column-menu,
|
|
242
240
|
.k-grid-header-menu,
|
|
243
|
-
.k-hierarchy-cell .k-icon
|
|
244
|
-
.k-hierarchy-cell .k-svg-icon {
|
|
241
|
+
.k-hierarchy-cell .k-icon {
|
|
245
242
|
border-width: 0;
|
|
246
243
|
}
|
|
247
244
|
|
|
@@ -416,8 +413,7 @@
|
|
|
416
413
|
text-overflow: ellipsis;
|
|
417
414
|
outline: 0;
|
|
418
415
|
|
|
419
|
-
> .k-icon
|
|
420
|
-
> .k-svg-icon {
|
|
416
|
+
> .k-icon {
|
|
421
417
|
margin-inline-start: var( --kendo-grid-sort-icon-spacing, #{$kendo-grid-sort-icon-spacing} );
|
|
422
418
|
}
|
|
423
419
|
}
|
|
@@ -452,7 +448,6 @@
|
|
|
452
448
|
}
|
|
453
449
|
|
|
454
450
|
.k-cell-inner > .k-link > .k-icon,
|
|
455
|
-
.k-cell-inner > .k-link > .k-svg-icon,
|
|
456
451
|
.k-cell-inner > .k-link > .k-sort-icon {
|
|
457
452
|
vertical-align: text-top;
|
|
458
453
|
margin-inline-start: var( --kendo-grid-sort-icon-spacing, #{$kendo-grid-sort-icon-spacing} );
|
|
@@ -960,8 +955,7 @@
|
|
|
960
955
|
flex: 1;
|
|
961
956
|
overflow: hidden;
|
|
962
957
|
|
|
963
|
-
> .k-icon
|
|
964
|
-
> .k-svg-icon {
|
|
958
|
+
> .k-icon {
|
|
965
959
|
margin-left: 0;
|
|
966
960
|
display: inline-block;
|
|
967
961
|
flex-shrink: 0;
|
|
@@ -984,8 +978,7 @@
|
|
|
984
978
|
.k-grid-filter,
|
|
985
979
|
.k-header-column-menu,
|
|
986
980
|
.k-grid-header-menu,
|
|
987
|
-
.k-hierarchy-cell .k-icon
|
|
988
|
-
.k-hierarchy-cell .k-svg-icon {
|
|
981
|
+
.k-hierarchy-cell .k-icon {
|
|
989
982
|
text-align: center;
|
|
990
983
|
display: inline-block;
|
|
991
984
|
flex-shrink: 0;
|
|
@@ -1306,7 +1299,6 @@
|
|
|
1306
1299
|
cursor: pointer;
|
|
1307
1300
|
|
|
1308
1301
|
> .k-icon,
|
|
1309
|
-
> .k-svg-icon,
|
|
1310
1302
|
> .k-expander-indicator {
|
|
1311
1303
|
margin-inline-end: var( --kendo-grid-column-menu-item-icon-spacing, #{$kendo-grid-column-menu-item-icon-spacing} );
|
|
1312
1304
|
}
|