@progress/kendo-theme-fluent 6.8.0-dev.2 → 7.0.0-dev.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 +119 -70
- 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 +4 -4
- package/scss/action-sheet/_variables.scss +1 -1
- package/scss/bottom-navigation/_variables.scss +2 -2
- package/scss/chat/_variables.scss +3 -3
- package/scss/colorgradient/_layout.scss +2 -0
- 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/grid/_variables.scss +1 -1
- package/scss/index.scss +4 -0
- package/scss/listview/_layout.scss +1 -1
- package/scss/menu/_variables.scss +1 -1
- package/scss/pdf-viewer/_variables.scss +1 -1
- package/scss/popover/_variables.scss +2 -2
- package/scss/popup/_variables.scss +1 -1
- package/scss/scheduler/_layout.scss +1 -15
- package/scss/scheduler/_theme.scss +0 -17
- package/scss/scheduler/_variables.scss +1 -5
- package/scss/taskboard/_variables.scss +1 -1
- package/scss/timeline/_variables.scss +1 -1
- package/scss/tooltip/_variables.scss +1 -1
- 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-dev.0",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@progress/kendo-font-icons": "1.9.0",
|
|
55
|
-
"@progress/kendo-theme-core": "
|
|
56
|
-
"@progress/kendo-theme-utils": "
|
|
55
|
+
"@progress/kendo-theme-core": "7.0.0-dev.0",
|
|
56
|
+
"@progress/kendo-theme-utils": "7.0.0-dev.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "228be168555ed9f71c328cefd10924e3fd037023"
|
|
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
|
|
@@ -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
|
+
}
|
|
@@ -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
|
|
|
@@ -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: (
|
|
@@ -454,7 +454,7 @@ $kendo-grid-column-menu-max-width: 320px !default;
|
|
|
454
454
|
$kendo-grid-column-menu-spacing: map.get( $kendo-spacing, 2 ) !default;
|
|
455
455
|
/// Focus shadow of the grid column menu.
|
|
456
456
|
/// @group grid
|
|
457
|
-
$kendo-grid-column-menu-shadow: var( --kendo-box-shadow-depth-
|
|
457
|
+
$kendo-grid-column-menu-shadow: var( --kendo-box-shadow-depth-6, none ) !default;
|
|
458
458
|
/// Background color of the grid column menu.
|
|
459
459
|
/// @group grid
|
|
460
460
|
$kendo-grid-column-menu-bg: var( --kendo-component-bg, inherit ) !default;
|
package/scss/index.scss
CHANGED
|
@@ -338,6 +338,10 @@
|
|
|
338
338
|
// Color system css variables
|
|
339
339
|
@include color-system-styles();
|
|
340
340
|
|
|
341
|
+
// Elevation
|
|
342
|
+
@include kendo-elevation--styles();
|
|
343
|
+
@include elevation--styles-legacy();
|
|
344
|
+
|
|
341
345
|
// Typography and utils
|
|
342
346
|
@include typography-styles();
|
|
343
347
|
@include utils-styles();
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
grid-gap: var( --kendo-listview-grid-gap, #{$kendo-listview-grid-gap} );
|
|
48
48
|
}
|
|
49
49
|
.k-listview-content-padding-rectangle {
|
|
50
|
-
padding-inline: var(
|
|
50
|
+
padding-inline: var( --kendo-listview-padding-x, #{$kendo-listview-padding-x} );
|
|
51
51
|
padding-block: var( --kendo-listview-padding-y, #{$kendo-listview-padding-y} );
|
|
52
52
|
}
|
|
53
53
|
.k-listview-content-padding-square {
|
|
@@ -125,7 +125,7 @@ $kendo-menu-popup-bg: var( --kendo-component-bg, initial ) !default;
|
|
|
125
125
|
$kendo-menu-popup-border: initial !default;
|
|
126
126
|
/// The shadow of the menu popup.
|
|
127
127
|
/// @group menu
|
|
128
|
-
$kendo-menu-popup-shadow: var( --kendo-box-shadow-depth-
|
|
128
|
+
$kendo-menu-popup-shadow: var( --kendo-box-shadow-depth-6, none ) !default;
|
|
129
129
|
|
|
130
130
|
/// Horizontal padding of the menu item in popup.
|
|
131
131
|
/// @group menu
|
|
@@ -49,7 +49,7 @@ $kendo-pdf-viewer-page-text: var( --kendo-component-text, inherit )!default;
|
|
|
49
49
|
$kendo-pdf-viewer-page-border: var( --kendo-component-border, inherit ) !default;
|
|
50
50
|
/// Shadow of the PDF viewer page.
|
|
51
51
|
/// @group pdf-viewer
|
|
52
|
-
$kendo-pdf-viewer-page-shadow: var( --kendo-box-shadow-depth-
|
|
52
|
+
$kendo-pdf-viewer-page-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
|
|
53
53
|
|
|
54
54
|
/// Horizontal padding of the PDF viewer search panel.
|
|
55
55
|
/// @group pdf-viewer
|
|
@@ -33,7 +33,7 @@ $kendo-popover-bg: var( --kendo-component-bg, initial ) !default;
|
|
|
33
33
|
$kendo-popover-border: var( --kendo-component-border, initial ) !default;
|
|
34
34
|
/// The box shadow of the Popover.
|
|
35
35
|
/// @group popover
|
|
36
|
-
$kendo-popover-shadow: var( --kendo-box-shadow-depth-
|
|
36
|
+
$kendo-popover-shadow: var( --kendo-box-shadow-depth-6, none ) !default;
|
|
37
37
|
|
|
38
38
|
/// The horizontal padding of the Popover header.
|
|
39
39
|
/// @group popover
|
|
@@ -88,4 +88,4 @@ $kendo-popover-callout-height: $kendo-popover-callout-width !default;
|
|
|
88
88
|
$kendo-popover-callout-border-width: $kendo-popover-border-width !default;
|
|
89
89
|
/// The border style of the Popover callout.
|
|
90
90
|
/// @group popover
|
|
91
|
-
$kendo-popover-callout-border-style: $kendo-popover-border-style !default;
|
|
91
|
+
$kendo-popover-callout-border-style: $kendo-popover-border-style !default;
|
|
@@ -39,4 +39,4 @@ $kendo-popup-text: var( --kendo-component-text, initial ) !default;
|
|
|
39
39
|
$kendo-popup-border: var( --kendo-component-border, initial ) !default;
|
|
40
40
|
/// Box shadow around the popup.
|
|
41
41
|
/// @group popup
|
|
42
|
-
$kendo-popup-shadow: var( --kendo-box-shadow-depth-
|
|
42
|
+
$kendo-popup-shadow: var( --kendo-box-shadow-depth-4, none ) !default;
|
|
@@ -531,20 +531,6 @@
|
|
|
531
531
|
justify-content: center;
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
-
// Current time
|
|
535
|
-
.k-current-time {
|
|
536
|
-
position: absolute;
|
|
537
|
-
|
|
538
|
-
&.k-current-time-arrow-left,
|
|
539
|
-
&.k-current-time-arrow-right,
|
|
540
|
-
&.k-current-time-arrow-down {
|
|
541
|
-
width: 0;
|
|
542
|
-
height: 0;
|
|
543
|
-
background: transparent;
|
|
544
|
-
border: 4px solid transparent;
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
|
|
548
534
|
// Draging hint
|
|
549
535
|
.k-event-drag-hint {
|
|
550
536
|
opacity: .5;
|
|
@@ -938,7 +924,7 @@
|
|
|
938
924
|
|
|
939
925
|
.k-safari {
|
|
940
926
|
.k-scheduler-tooltip .k-tooltip-event:not(:last-child) {
|
|
941
|
-
margin-block-end: var( --kendo-scheduler-tooltip-event-gap #{$kendo-scheduler-tooltip-event-gap} );
|
|
927
|
+
margin-block-end: var( --kendo-scheduler-tooltip-event-gap, #{$kendo-scheduler-tooltip-event-gap} );
|
|
942
928
|
}
|
|
943
929
|
|
|
944
930
|
.k-scheduler-yearview .k-calendar-view .k-month {
|
|
@@ -11,23 +11,6 @@
|
|
|
11
11
|
);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
// Current time
|
|
15
|
-
.k-current-time {
|
|
16
|
-
background: var( --kendo-scheduler-current-time-color, #{$kendo-scheduler-current-time-color} );
|
|
17
|
-
|
|
18
|
-
&.k-current-time-arrow-left {
|
|
19
|
-
border-right-color: var( --kendo-scheduler-current-time-color, #{$kendo-scheduler-current-time-color} );
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.k-current-time-arrow-right {
|
|
23
|
-
border-left-color: var( --kendo-scheduler-current-time-color, #{$kendo-scheduler-current-time-color} );
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.k-current-time-arrow-down {
|
|
27
|
-
border-top-color: var( --kendo-scheduler-current-time-color, #{$kendo-scheduler-current-time-color} );
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
14
|
// Header and footer
|
|
32
15
|
.k-scheduler-toolbar {
|
|
33
16
|
@include fill(
|
|
@@ -146,10 +146,6 @@ $kendo-scheduler-datecolumn-width: 12em !default;
|
|
|
146
146
|
/// @group scheduler
|
|
147
147
|
$kendo-scheduler-timecolumn-width: 11em !default;
|
|
148
148
|
|
|
149
|
-
/// Color of the current time marker in the scheduler.
|
|
150
|
-
/// @group scheduler
|
|
151
|
-
$kendo-scheduler-current-time-color: #ff0000 !default;
|
|
152
|
-
|
|
153
149
|
/// Background color of the non-working hours in the scheduler.
|
|
154
150
|
/// @group scheduler
|
|
155
151
|
$kendo-scheduler-nonwork-bg: k-get-theme-color-var( neutral-10 ) !default;
|
|
@@ -221,7 +217,7 @@ $kendo-scheduler-tooltip-text: k-get-theme-color-var( neutral-130 ) !default;
|
|
|
221
217
|
$kendo-scheduler-tooltip-border: null !default;
|
|
222
218
|
/// Shadow of the scheduler tooltip.
|
|
223
219
|
/// @group scheduler
|
|
224
|
-
$kendo-scheduler-tooltip-shadow:
|
|
220
|
+
$kendo-scheduler-tooltip-shadow: k-elevation(5) !default;
|
|
225
221
|
|
|
226
222
|
/// Vertical spacing of the scheduler tooltip title.
|
|
227
223
|
/// @group scheduler
|
|
@@ -185,7 +185,7 @@ $kendo-taskboard-card-focus-shadow: none !default;
|
|
|
185
185
|
$kendo-taskboard-card-selected-border: k-get-theme-color-var( primary-100 ) !default;
|
|
186
186
|
/// Selected shadow of the task board card.
|
|
187
187
|
/// @group taskboard
|
|
188
|
-
$kendo-taskboard-card-selected-shadow: var( --kendo-box-shadow-depth-
|
|
188
|
+
$kendo-taskboard-card-selected-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
|
|
189
189
|
|
|
190
190
|
/// Font size of the task board card title.
|
|
191
191
|
/// @group taskboard
|
|
@@ -98,7 +98,7 @@ $kendo-timeline-flag-border-radius: map.get( $kendo-spacing, 0.5 ) !default;
|
|
|
98
98
|
$kendo-timeline-flag-line-height: var( --kendo-line-height, normal ) !default;
|
|
99
99
|
/// The box shadow of the flag in the timeline.
|
|
100
100
|
/// @group timeline
|
|
101
|
-
$kendo-timeline-flag-box-shadow: var( --kendo-box-shadow-depth-
|
|
101
|
+
$kendo-timeline-flag-box-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
102
102
|
/// The min widht of the flag in the timeline.
|
|
103
103
|
/// @group timeline
|
|
104
104
|
$kendo-timeline-flag-min-width: map.get( $kendo-spacing, 20 ) !default;
|
|
@@ -48,7 +48,7 @@ $kendo-tooltip-text: var( --kendo-component-text, initial ) !default;
|
|
|
48
48
|
$kendo-tooltip-border: transparent !default;
|
|
49
49
|
/// The box-shadow of the tooltip
|
|
50
50
|
/// @group tooltip
|
|
51
|
-
$kendo-tooltip-shadow: var( --kendo-box-shadow-depth-
|
|
51
|
+
$kendo-tooltip-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
52
52
|
|
|
53
53
|
/// The text color of the tooltip button
|
|
54
54
|
/// @group tooltip
|
package/scss/utils/_layout.scss
CHANGED
|
@@ -81,10 +81,10 @@ $kendo-window-text: var( --kendo-component-text, initial ) !default;
|
|
|
81
81
|
$kendo-window-border: k-get-theme-color-var( primary-100 ) !default;
|
|
82
82
|
/// The box shadow of the Window.
|
|
83
83
|
/// @group window
|
|
84
|
-
$kendo-window-shadow: var( --kendo-box-shadow-depth-
|
|
84
|
+
$kendo-window-shadow: var( --kendo-box-shadow-depth-8, none ) !default;
|
|
85
85
|
/// The box shadow of the focused Window.
|
|
86
86
|
/// @group window
|
|
87
|
-
$kendo-window-focus-shadow: var( --kendo-box-shadow-depth-
|
|
87
|
+
$kendo-window-focus-shadow: var( --kendo-box-shadow-depth-9, none ) !default;
|
|
88
88
|
|
|
89
89
|
/// The background color of the Window titlebar.
|
|
90
90
|
/// @group window
|