@progress/kendo-theme-fluent 6.4.0-dev.0 → 6.4.0-dev.2
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 +195 -130
- package/dist/meta/sassdoc-data.json +5971 -3665
- package/dist/meta/sassdoc-raw-data.json +3027 -1877
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +6 -5
- package/scss/action-sheet/_layout.scss +11 -6
- package/scss/action-sheet/_variables.scss +0 -3
- package/scss/adaptive/_layout.scss +2 -6
- package/scss/avatar/_variables.scss +10 -8
- package/scss/badge/_variables.scss +36 -14
- package/scss/bottom-navigation/_layout.scss +0 -4
- package/scss/bottom-navigation/_variables.scss +1 -5
- package/scss/breadcrumb/_layout.scss +0 -1
- package/scss/breadcrumb/_variables.scss +0 -4
- package/scss/button/_variables.scss +3 -3
- package/scss/chip/_layout.scss +0 -1
- package/scss/drawer/_layout.scss +3 -3
- package/scss/drawer/_variables.scss +6 -3
- package/scss/dropdowntree/_variables.scss +4 -0
- package/scss/dropzone/_layout.scss +0 -7
- package/scss/dropzone/_variables.scss +0 -3
- package/scss/fab/_layout.scss +3 -4
- package/scss/fab/_variables.scss +58 -52
- package/scss/filemanager/_layout.scss +2 -12
- package/scss/filemanager/_variables.scss +0 -6
- package/scss/floating-label/_variables.scss +17 -17
- package/scss/forms/_variables.scss +62 -34
- package/scss/grid/_layout.scss +6 -2
- package/scss/icon/_layout.scss +10 -7
- package/scss/input/_layout.scss +5 -4
- package/scss/input/_variables.scss +2 -2
- package/scss/list/_layout.scss +2 -0
- package/scss/list/_theme.scss +15 -0
- package/scss/list/_variables.scss +11 -0
- package/scss/listbox/_layout.scss +2 -5
- package/scss/map/_layout.scss +0 -1
- package/scss/map/_variables.scss +0 -3
- package/scss/pager/_layout.scss +1 -12
- package/scss/pager/_variables.scss +37 -21
- package/scss/pdf-viewer/_layout.scss +0 -9
- package/scss/pdf-viewer/_variables.scss +0 -3
- package/scss/rating/_layout.scss +0 -9
- package/scss/rating/_variables.scss +0 -4
- package/scss/scrollview/_layout.scss +13 -8
- package/scss/scrollview/_variables.scss +0 -3
- package/scss/splitter/_layout.scss +0 -9
- package/scss/splitter/_variables.scss +1 -4
- package/scss/spreadsheet/_layout.scss +2 -1
- package/scss/toolbar/_variables.scss +28 -16
- package/scss/treeview/_variables.scss +56 -40
- package/scss/upload/_layout.scss +2 -6
- package/scss/upload/_variables.scss +0 -4
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": "6.4.0-dev.
|
|
4
|
+
"version": "6.4.0-dev.2",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "sass-build",
|
|
42
42
|
"sass": "sass-build",
|
|
43
|
+
"sass:standalone": "sass-build -c sass-standalone.config.js",
|
|
43
44
|
"docs": "node ../../scripts/sassdoc.js",
|
|
44
45
|
"predocs": "npm run resolve-variables",
|
|
45
46
|
"resolve-variables": "node ../../scripts/resolve-variables.js",
|
|
@@ -49,9 +50,9 @@
|
|
|
49
50
|
"postpublish": "echo 'no postpublish for the Fluent theme'"
|
|
50
51
|
},
|
|
51
52
|
"dependencies": {
|
|
52
|
-
"@progress/kendo-font-icons": "1.
|
|
53
|
-
"@progress/kendo-theme-core": "6.4.0-dev.
|
|
54
|
-
"@progress/kendo-theme-utils": "6.4.0-dev.
|
|
53
|
+
"@progress/kendo-font-icons": "1.5.0",
|
|
54
|
+
"@progress/kendo-theme-core": "6.4.0-dev.2",
|
|
55
|
+
"@progress/kendo-theme-utils": "6.4.0-dev.2"
|
|
55
56
|
},
|
|
56
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "f915877b18051b4fdbf50faad26b14ec73852e46"
|
|
57
58
|
}
|
|
@@ -186,10 +186,6 @@
|
|
|
186
186
|
gap: var( --kendo-actionsheet-item-spacing, #{$kendo-actionsheet-item-spacing} );
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
.k-actionsheet-item-icon {
|
|
190
|
-
font-size: var( --kendo-actionsheet-item-icon-size, #{$kendo-actionsheet-item-icon-size} );
|
|
191
|
-
}
|
|
192
|
-
|
|
193
189
|
.k-actionsheet-item-text {
|
|
194
190
|
display: flex;
|
|
195
191
|
flex-flow: column nowrap;
|
|
@@ -218,7 +214,7 @@
|
|
|
218
214
|
border-width: var( --kendo-actionsheet-border-width, #{$kendo-actionsheet-border-width} );
|
|
219
215
|
border-top-width: 0;
|
|
220
216
|
top: 0;
|
|
221
|
-
|
|
217
|
+
inset-inline-start: 50%;
|
|
222
218
|
transform: translateX( -50% );
|
|
223
219
|
}
|
|
224
220
|
|
|
@@ -227,7 +223,7 @@
|
|
|
227
223
|
border-width: var( --kendo-actionsheet-border-width, #{$kendo-actionsheet-border-width} );
|
|
228
224
|
border-bottom-width: 0;
|
|
229
225
|
bottom: 0;
|
|
230
|
-
|
|
226
|
+
inset-inline-start: 50%;
|
|
231
227
|
transform: translateX( -50% );
|
|
232
228
|
}
|
|
233
229
|
|
|
@@ -363,6 +359,15 @@
|
|
|
363
359
|
flex-flow: column nowrap;
|
|
364
360
|
}
|
|
365
361
|
}
|
|
362
|
+
|
|
363
|
+
// RTL
|
|
364
|
+
.k-rtl,
|
|
365
|
+
[dir="rtl"] {
|
|
366
|
+
.k-actionsheet-top,
|
|
367
|
+
.k-actionsheet-bottom {
|
|
368
|
+
transform: translateX( 50% );
|
|
369
|
+
}
|
|
370
|
+
}
|
|
366
371
|
}
|
|
367
372
|
|
|
368
373
|
@mixin kendo-action-sheet--layout-jq() {
|
|
@@ -112,9 +112,6 @@ $kendo-actionsheet-item-border-width: 1px !default;
|
|
|
112
112
|
/// @group action-sheet
|
|
113
113
|
$kendo-actionsheet-item-spacing: map.get( $kendo-spacing, 2 ) !default;
|
|
114
114
|
|
|
115
|
-
/// Size of the action sheet item icon.
|
|
116
|
-
/// @group action-sheet
|
|
117
|
-
$kendo-actionsheet-item-icon-size: var( --kendo-icon-size, 1rem ) !default;
|
|
118
115
|
/// Color of the action sheet item icon.
|
|
119
116
|
/// @group action-sheet
|
|
120
117
|
$kendo-actionsheet-item-icon-color: get-theme-color-var( primary-110 ) !default;
|
|
@@ -315,15 +315,11 @@
|
|
|
315
315
|
.k-task {
|
|
316
316
|
display: flex;
|
|
317
317
|
align-items: center;
|
|
318
|
+
gap: .5em;
|
|
318
319
|
|
|
319
320
|
.k-scheduler-mark {
|
|
320
321
|
border-radius: 50%;
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
.k-i-reload,
|
|
324
|
-
.k-i-arrow-rotate-cw {
|
|
325
|
-
font-size: 1em;
|
|
326
|
-
margin-right: .5em;
|
|
322
|
+
margin: 0;
|
|
327
323
|
}
|
|
328
324
|
|
|
329
325
|
.k-scheduler-task-text {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/" as *;
|
|
3
3
|
|
|
4
|
-
///
|
|
4
|
+
/// The border width of the Avatar.
|
|
5
5
|
/// @group avatar
|
|
6
6
|
$kendo-avatar-border-width: 1px !default;
|
|
7
7
|
|
|
8
|
-
///
|
|
8
|
+
/// The font family of the Avatar.
|
|
9
9
|
/// @group avatar
|
|
10
10
|
$kendo-avatar-font-family: var( --kendo-font-family, inherit ) !default;
|
|
11
|
-
///
|
|
11
|
+
/// The font size of the Avatar.
|
|
12
12
|
/// @group avatar
|
|
13
13
|
$kendo-avatar-font-size: var( --kendo-font-size, inherit ) !default;
|
|
14
|
-
///
|
|
14
|
+
/// The line height of the Avatar.
|
|
15
15
|
/// @group avatar
|
|
16
16
|
$kendo-avatar-line-height: var( --kendo-line-height, inherit ) !default;
|
|
17
17
|
|
|
18
|
-
/// The sizes of the
|
|
18
|
+
/// The sizes map of the Avatar.
|
|
19
19
|
/// @group avatar
|
|
20
20
|
$kendo-avatar-sizes: (
|
|
21
21
|
sm: map.get( $kendo-spacing, 4 ),
|
|
@@ -23,7 +23,8 @@ $kendo-avatar-sizes: (
|
|
|
23
23
|
lg: map.get( $kendo-spacing, 16 )
|
|
24
24
|
) !default;
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
/// The theme variations for the Avatar.
|
|
27
|
+
/// @group avatar
|
|
27
28
|
$kendo-avatar-brand-colors: (
|
|
28
29
|
primary: primary,
|
|
29
30
|
error: error,
|
|
@@ -33,7 +34,7 @@ $kendo-avatar-brand-colors: (
|
|
|
33
34
|
tertiary: tertiary,
|
|
34
35
|
) !default;
|
|
35
36
|
|
|
36
|
-
//
|
|
37
|
+
// Matrices with Avatar theme colors in the order: bg, color, border
|
|
37
38
|
$_tc-avatar-matrix: (
|
|
38
39
|
solid: (
|
|
39
40
|
normal: (100, $kendo-color-white, 100)
|
|
@@ -70,7 +71,8 @@ $_tc-avatar-light-matrix: (
|
|
|
70
71
|
)
|
|
71
72
|
) !default;
|
|
72
73
|
|
|
73
|
-
///
|
|
74
|
+
/// The theme colors map for the Avatar variations.
|
|
75
|
+
/// @group avatar
|
|
74
76
|
$kendo-avatar-theme-colors: () !default;
|
|
75
77
|
|
|
76
78
|
@each $fill-mode, $ui-states in $_tc-avatar-matrix {
|
|
@@ -1,56 +1,76 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/" as *;
|
|
3
3
|
|
|
4
|
-
///
|
|
4
|
+
/// The background color of the Badge.
|
|
5
5
|
/// @group badge
|
|
6
6
|
$kendo-badge-bg: var( --kendo-component-bg, initial ) !default;
|
|
7
|
-
///
|
|
7
|
+
/// The text color of the Badge.
|
|
8
8
|
/// @group badge
|
|
9
9
|
$kendo-badge-text: var( --kendo-component-text, initial ) !default;
|
|
10
|
-
///
|
|
10
|
+
/// The border color of the Badge.
|
|
11
11
|
/// @group badge
|
|
12
12
|
$kendo-badge-border: var( --kendo-component-border, initial ) !default;
|
|
13
13
|
|
|
14
|
-
///
|
|
14
|
+
/// The border width of the Badge.
|
|
15
15
|
/// @group badge
|
|
16
16
|
$kendo-badge-border-width: 1px !default;
|
|
17
17
|
|
|
18
|
-
///
|
|
18
|
+
/// The font weight of the Badge.
|
|
19
19
|
/// @group badge
|
|
20
20
|
$kendo-badge-font-weight: var( --kendo-font-weight, normal ) !default;
|
|
21
21
|
|
|
22
|
-
/// Horizontal padding of the
|
|
22
|
+
/// Horizontal padding of the small Badge.
|
|
23
23
|
/// @group badge
|
|
24
24
|
$kendo-badge-sm-padding-x: map.get( $kendo-spacing, 0.5 ) !default; // sass-lint:disable-line leading-zero
|
|
25
|
+
/// Horizontal padding of the medium Badge.
|
|
26
|
+
/// @group badge
|
|
25
27
|
$kendo-badge-md-padding-x: map.get( $kendo-spacing, 1 ) !default;
|
|
28
|
+
/// Horizontal padding of the large Badge.
|
|
29
|
+
/// @group badge
|
|
26
30
|
$kendo-badge-lg-padding-x: map.get( $kendo-spacing, 1.5 ) !default;
|
|
27
31
|
|
|
28
|
-
/// Vertical padding of the
|
|
32
|
+
/// Vertical padding of the small Badge.
|
|
29
33
|
/// @group badge
|
|
30
34
|
$kendo-badge-sm-padding-y: map.get( $kendo-spacing, 0.5 ) !default; // sass-lint:disable-line leading-zero
|
|
35
|
+
/// Vertical padding of the medium Badge.
|
|
36
|
+
/// @group badge
|
|
31
37
|
$kendo-badge-md-padding-y: map.get( $kendo-spacing, 1 ) !default;
|
|
38
|
+
/// Vertical padding of the large Badge.
|
|
39
|
+
/// @group badge
|
|
32
40
|
$kendo-badge-lg-padding-y: map.get( $kendo-spacing, 1.5 ) !default;
|
|
33
41
|
|
|
34
|
-
///
|
|
42
|
+
/// The font size of the small Badge.
|
|
35
43
|
/// @group badge
|
|
36
44
|
$kendo-badge-sm-font-size: var( --kendo-font-size-xs, inherit ) !default;
|
|
45
|
+
/// The font size of the medium Badge.
|
|
46
|
+
/// @group badge
|
|
37
47
|
$kendo-badge-md-font-size: var( --kendo-font-size-xs, inherit ) !default;
|
|
48
|
+
/// The font size of the large Badge.
|
|
49
|
+
/// @group badge
|
|
38
50
|
$kendo-badge-lg-font-size: var( --kendo-font-size-xs, inherit ) !default;
|
|
39
51
|
|
|
40
|
-
///
|
|
52
|
+
/// The line height used along with the $kendo-font-size variable of the small Badge.
|
|
41
53
|
/// @group badge
|
|
42
54
|
$kendo-badge-sm-line-height: var( --kendo-line-height-xs, normal ) !default;
|
|
55
|
+
/// The line height used along with the $kendo-font-size variable of the medium Badge.
|
|
56
|
+
/// @group badge
|
|
43
57
|
$kendo-badge-md-line-height: var( --kendo-line-height-xs, normal ) !default;
|
|
58
|
+
/// The line height used along with the $kendo-font-size variable of the large Badge.
|
|
59
|
+
/// @group badge
|
|
44
60
|
$kendo-badge-lg-line-height: var( --kendo-line-height-xs, normal ) !default;
|
|
45
61
|
|
|
46
|
-
///
|
|
62
|
+
/// The calculated minimum width of the small circular Badge.
|
|
47
63
|
/// @group badge
|
|
48
64
|
$kendo-badge-sm-min-width: calc( #{$kendo-badge-sm-line-height} * 1em + #{$kendo-badge-sm-padding-y} * 2 + #{$kendo-badge-border-width} * 2 ) !default;
|
|
65
|
+
/// The calculated minimum width of the medium circular Badge.
|
|
66
|
+
/// @group badge
|
|
49
67
|
$kendo-badge-md-min-width: calc( #{$kendo-badge-md-line-height} * 1em + #{$kendo-badge-md-padding-y} * 2 + #{$kendo-badge-border-width} * 2 ) !default;
|
|
68
|
+
/// The calculated minimum width of the large circular Badge.
|
|
69
|
+
/// @group badge
|
|
50
70
|
$kendo-badge-lg-min-width: calc( #{$kendo-badge-lg-line-height} * 1em + #{$kendo-badge-lg-padding-y} * 2 + #{$kendo-badge-border-width} * 2 ) !default;
|
|
51
71
|
|
|
52
72
|
|
|
53
|
-
///
|
|
73
|
+
/// The sizes map for the Badge.
|
|
54
74
|
/// @group badge
|
|
55
75
|
$kendo-badge-sizes: (
|
|
56
76
|
sm: (
|
|
@@ -77,7 +97,8 @@ $kendo-badge-sizes: (
|
|
|
77
97
|
) !default;
|
|
78
98
|
|
|
79
99
|
|
|
80
|
-
///
|
|
100
|
+
/// The theme variations for the Badge.
|
|
101
|
+
/// @group badge
|
|
81
102
|
$kendo-badge-brand-colors: (
|
|
82
103
|
primary: primary,
|
|
83
104
|
error: error,
|
|
@@ -87,7 +108,7 @@ $kendo-badge-brand-colors: (
|
|
|
87
108
|
tertiary: tertiary,
|
|
88
109
|
) !default;
|
|
89
110
|
|
|
90
|
-
//
|
|
111
|
+
// Matrices with Badge theme colors in the order: bg, color, border
|
|
91
112
|
$_tc-badge-matrix: (
|
|
92
113
|
solid: (
|
|
93
114
|
normal: (100, $kendo-color-white, 100)
|
|
@@ -124,7 +145,8 @@ $_tc-badge-light-matrix: (
|
|
|
124
145
|
)
|
|
125
146
|
) !default;
|
|
126
147
|
|
|
127
|
-
///
|
|
148
|
+
/// The theme colors map for the Badge variations.
|
|
149
|
+
/// @group badge
|
|
128
150
|
$kendo-badge-theme-colors: () !default;
|
|
129
151
|
|
|
130
152
|
@each $fill-mode, $ui-states in $_tc-badge-matrix {
|
|
@@ -101,10 +101,6 @@
|
|
|
101
101
|
background-color: initial;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
.k-bottom-nav-item-icon {
|
|
105
|
-
font-size: var( --kendo-bottom-nav-item-icon-size, #{$kendo-bottom-nav-item-icon-size} );
|
|
106
|
-
}
|
|
107
|
-
|
|
108
104
|
.k-bottom-nav-item-text {
|
|
109
105
|
overflow: hidden;
|
|
110
106
|
text-overflow: ellipsis;
|
|
@@ -26,10 +26,6 @@ $kendo-bottom-nav-line-height: var( --kendo-line-height-md, normal ) !default;
|
|
|
26
26
|
/// @group bottom-navigation
|
|
27
27
|
$kendo-bottom-nav-letter-spacing: .2px !default;
|
|
28
28
|
|
|
29
|
-
/// Size of the focused bottom navigation item icon.
|
|
30
|
-
/// @group bottom-nav
|
|
31
|
-
$kendo-bottom-nav-item-icon-size: map.get( $kendo-spacing, 6 ) !default;
|
|
32
|
-
|
|
33
29
|
/// Horizontal padding of the bottom navigation item.
|
|
34
30
|
/// @group bottom-navigation
|
|
35
31
|
$kendo-bottom-nav-item-padding-x: map.get( $kendo-spacing, 2 ) !default;
|
|
@@ -44,7 +40,7 @@ $kendo-bottom-nav-item-min-width: 72px !default;
|
|
|
44
40
|
$kendo-bottom-nav-item-max-width: none !default;
|
|
45
41
|
/// Minimum height of the bottom navigation item.
|
|
46
42
|
/// @group bottom-navigation
|
|
47
|
-
$kendo-bottom-nav-item-min-height: calc(
|
|
43
|
+
$kendo-bottom-nav-item-min-height: calc( var( --kendo-icon-size, 1.5rem ) * 2 + (#{$kendo-bottom-nav-item-padding-y} * 2) ) !default;
|
|
48
44
|
/// Border radius of the bottom navigation item.
|
|
49
45
|
/// @group bottom-navigation
|
|
50
46
|
$kendo-bottom-nav-item-border-radius: var( --kendo-border-radius-md, 0 ) !default;
|
|
@@ -166,10 +166,6 @@ $kendo-breadcrumb-icon-link-padding-x: $kendo-breadcrumb-link-padding-x !default
|
|
|
166
166
|
/// @group breadcrumb
|
|
167
167
|
$kendo-breadcrumb-icon-link-padding-y: $kendo-breadcrumb-icon-link-padding-x !default;
|
|
168
168
|
|
|
169
|
-
/// The font size of the breadcrumb delimiter icon
|
|
170
|
-
/// @group breadcrumb
|
|
171
|
-
$kendo-breadcrumb-delimiter-icon-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
172
|
-
|
|
173
169
|
// Root link spacing
|
|
174
170
|
$kendo-breadcrumb-root-link-spacing: 0px !default;
|
|
175
171
|
$kendo-breadcrumb-link-icon-spacing: var( --kendo-icon-spacing, #{$kendo-icon-spacing} ) !default;
|
|
@@ -36,13 +36,13 @@ $kendo-button-md-font-size: var( --kendo-font-size, inherit ) !default;
|
|
|
36
36
|
/// @group button
|
|
37
37
|
$kendo-button-lg-font-size: var( --kendo-font-size, inherit ) !default;
|
|
38
38
|
|
|
39
|
-
/// The line height used along with the $kendo-font-size of the small Button.
|
|
39
|
+
/// The line height used along with the $kendo-font-size variable of the small Button.
|
|
40
40
|
/// @group button
|
|
41
41
|
$kendo-button-sm-line-height: var( --kendo-line-height, normal ) !default;
|
|
42
|
-
/// The line height used along with the $kendo-font-size of the medium Button.
|
|
42
|
+
/// The line height used along with the $kendo-font-size variable of the medium Button.
|
|
43
43
|
/// @group button
|
|
44
44
|
$kendo-button-md-line-height: var( --kendo-line-height, normal ) !default;
|
|
45
|
-
/// The line height used along with the $kendo-font-size of the large Button.
|
|
45
|
+
/// The line height used along with the $kendo-font-size variable of the large Button.
|
|
46
46
|
/// @group button
|
|
47
47
|
$kendo-button-lg-line-height: var( --kendo-line-height, normal ) !default;
|
|
48
48
|
|
package/scss/chip/_layout.scss
CHANGED
package/scss/drawer/_layout.scss
CHANGED
|
@@ -185,10 +185,10 @@
|
|
|
185
185
|
|
|
186
186
|
.k-svg-icon,
|
|
187
187
|
.k-icon {
|
|
188
|
-
height: auto;
|
|
189
|
-
font-size: var( --kendo-drawer-icon-size, #{$kendo-drawer-icon-size} );
|
|
190
|
-
line-height: var( --kendo-drawer-item-line-height, #{$kendo-drawer-item-line-height} );
|
|
191
188
|
flex-shrink: 0;
|
|
189
|
+
padding-inline: var( --kendo-drawer-icon-padding-x, #{$kendo-drawer-icon-padding-x} );
|
|
190
|
+
padding-block: var( --kendo-drawer-icon-padding-y, #{$kendo-drawer-icon-padding-y} );
|
|
191
|
+
box-sizing: content-box;
|
|
192
192
|
|
|
193
193
|
&.k-i-none {
|
|
194
194
|
margin: 0;
|
|
@@ -65,13 +65,16 @@ $kendo-drawer-item-level-padding-x: $kendo-drawer-item-padding-x !default;
|
|
|
65
65
|
/// @group drawer
|
|
66
66
|
$kendo-drawer-item-level-count: 5 !default;
|
|
67
67
|
|
|
68
|
-
///
|
|
68
|
+
/// Horizontal padding of the drawer icon.
|
|
69
69
|
/// @group drawer
|
|
70
|
-
$kendo-drawer-icon-
|
|
70
|
+
$kendo-drawer-icon-padding-x: 0 !default;
|
|
71
|
+
/// Vertical padding of the drawer icon.
|
|
72
|
+
/// @group drawer
|
|
73
|
+
$kendo-drawer-icon-padding-y: map.get( $kendo-spacing, 1 ) !default;
|
|
71
74
|
|
|
72
75
|
/// Initial width of the mini drawer.
|
|
73
76
|
/// @group drawer
|
|
74
|
-
$kendo-drawer-mini-initial-width: calc( 2 * #{$kendo-drawer-item-padding-x} +
|
|
77
|
+
$kendo-drawer-mini-initial-width: calc( 2 * #{$kendo-drawer-item-padding-x} + var( --kendo-icon-size, 1rem ) ) !default;
|
|
75
78
|
|
|
76
79
|
/// The border width of the drawer item ripple
|
|
77
80
|
/// @group drawer
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
@use "../core/" as *;
|
|
2
2
|
@use "../popup/_variables.scss" as *;
|
|
3
3
|
|
|
4
|
+
/// The horizontal padding of the DropdownTree popup
|
|
5
|
+
/// @group dropdowntree
|
|
4
6
|
$kendo-dropdowntree-popup-padding-x: $kendo-popup-content-padding-x !default;
|
|
7
|
+
/// The vertical padding of the DropdownTree popup
|
|
8
|
+
/// @group dropdowntree
|
|
5
9
|
$kendo-dropdowntree-popup-padding-y: $kendo-popup-content-padding-y !default;
|
|
@@ -26,15 +26,8 @@
|
|
|
26
26
|
justify-content: center;
|
|
27
27
|
position: relative;
|
|
28
28
|
|
|
29
|
-
.k-icon,
|
|
30
29
|
.k-dropzone-icon {
|
|
31
30
|
margin-block-end: var( --kendo-dropzone-icon-spacing, #{$kendo-dropzone-icon-spacing} );
|
|
32
|
-
font-size: var( --kendo-dropzone-icon-size, #{$kendo-dropzone-icon-size} );
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.k-svg-icon {
|
|
36
|
-
width: var( --kendo-dropzone-icon-size, #{$kendo-dropzone-icon-size} );
|
|
37
|
-
height: var( --kendo-dropzone-icon-size, #{$kendo-dropzone-icon-size} );
|
|
38
31
|
}
|
|
39
32
|
|
|
40
33
|
.k-dropzone-hint {
|
|
@@ -35,9 +35,6 @@ $kendo-dropzone-text: var( --kendo-component-text, inherit ) !default;
|
|
|
35
35
|
/// @group dropzone
|
|
36
36
|
$kendo-dropzone-border: var( --kendo-component-border, initial ) !default;
|
|
37
37
|
|
|
38
|
-
/// Size of the icon.
|
|
39
|
-
/// @group dropzone
|
|
40
|
-
$kendo-dropzone-icon-size: calc( var( --kendo-icon-size, 1rem ) * 3 ) !default;
|
|
41
38
|
/// Spacing below the icon.
|
|
42
39
|
/// @group dropzone
|
|
43
40
|
$kendo-dropzone-icon-spacing: map.get( $kendo-spacing, 6 ) !default;
|
package/scss/fab/_layout.scss
CHANGED
|
@@ -55,8 +55,9 @@
|
|
|
55
55
|
|
|
56
56
|
// FAB Icon
|
|
57
57
|
.k-fab-icon {
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
padding-inline: var( --kendo-fab-icon-padding-x, #{$kendo-fab-icon-padding-x} );
|
|
59
|
+
padding-block: var( --kendo-fab-icon-padding-y, #{$kendo-fab-icon-padding-y} );
|
|
60
|
+
box-sizing: content-box;
|
|
60
61
|
|
|
61
62
|
.k-icon-wrapper-host:not(:only-child) &,
|
|
62
63
|
&:not(:only-child) {
|
|
@@ -154,8 +155,6 @@
|
|
|
154
155
|
}
|
|
155
156
|
|
|
156
157
|
.k-fab-item-icon {
|
|
157
|
-
width: var( --kendo-fab-item-icon-width, #{$kendo-fab-item-icon-width} );
|
|
158
|
-
height: var( --kendo-fab-item-icon-height, #{$kendo-fab-item-icon-height} );
|
|
159
158
|
padding-inline: var( --kendo-fab-item-icon-padding-x, #{$kendo-fab-item-icon-padding-x} );
|
|
160
159
|
padding-block: var( --kendo-fab-item-icon-padding-y, #{$kendo-fab-item-icon-padding-y} );
|
|
161
160
|
border-width: var( --kendo-fab-item-icon-border-width, #{$kendo-fab-item-icon-border-width} );
|