@progress/kendo-theme-fluent 6.4.0-dev.1 → 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 +46 -74
- package/dist/meta/sassdoc-data.json +5980 -3674
- package/dist/meta/sassdoc-raw-data.json +3031 -1881
- 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 +0 -4
- package/scss/action-sheet/_variables.scss +0 -3
- 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 +0 -10
- package/scss/drawer/_variables.scss +1 -4
- package/scss/dropdowntree/_variables.scss +4 -0
- package/scss/dropzone/_layout.scss +0 -7
- package/scss/dropzone/_variables.scss +0 -3
- package/scss/fab/_variables.scss +54 -42
- 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/list/_layout.scss +2 -0
- package/scss/list/_theme.scss +15 -0
- package/scss/list/_variables.scss +11 -0
- package/scss/map/_layout.scss +0 -1
- package/scss/map/_variables.scss +0 -3
- 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 +0 -6
- package/scss/scrollview/_variables.scss +0 -3
- package/scss/splitter/_layout.scss +0 -9
- package/scss/splitter/_variables.scss +1 -4
- 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;
|
|
@@ -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;
|
|
@@ -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
|
@@ -195,16 +195,6 @@
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
.k-icon {
|
|
199
|
-
height: auto;
|
|
200
|
-
font-size: var( --kendo-drawer-icon-size, #{$kendo-drawer-icon-size} );
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.k-svg-icon {
|
|
204
|
-
width: var( --kendo-drawer-icon-size, #{$kendo-drawer-icon-size} );
|
|
205
|
-
height: var( --kendo-drawer-icon-size, #{$kendo-drawer-icon-size} );
|
|
206
|
-
}
|
|
207
|
-
|
|
208
198
|
.k-item-text {
|
|
209
199
|
display: inline-block;
|
|
210
200
|
white-space: nowrap;
|
|
@@ -65,9 +65,6 @@ $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
|
-
/// Icon size of the drawer item.
|
|
69
|
-
/// @group drawer
|
|
70
|
-
$kendo-drawer-icon-size: var( --kendo-icon-size, 1rem ) !default;
|
|
71
68
|
/// Horizontal padding of the drawer icon.
|
|
72
69
|
/// @group drawer
|
|
73
70
|
$kendo-drawer-icon-padding-x: 0 !default;
|
|
@@ -77,7 +74,7 @@ $kendo-drawer-icon-padding-y: map.get( $kendo-spacing, 1 ) !default;
|
|
|
77
74
|
|
|
78
75
|
/// Initial width of the mini drawer.
|
|
79
76
|
/// @group drawer
|
|
80
|
-
$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;
|
|
81
78
|
|
|
82
79
|
/// The border width of the drawer item ripple
|
|
83
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/_variables.scss
CHANGED
|
@@ -3,121 +3,133 @@
|
|
|
3
3
|
@use "../core/" as *;
|
|
4
4
|
@use "../button/_variables.scss" as *;
|
|
5
5
|
|
|
6
|
-
///
|
|
6
|
+
/// The width of the border around the FAB.
|
|
7
7
|
/// @group floating-action-button
|
|
8
8
|
$kendo-fab-border-width: 1px !default;
|
|
9
|
-
///
|
|
9
|
+
/// The border radius of the FAB.
|
|
10
10
|
/// @group floating-action-button
|
|
11
11
|
$kendo-fab-border-radius: var( --kendo-border-radius-md, 0 ) !default;
|
|
12
|
-
///
|
|
12
|
+
/// The font family of the FAB.
|
|
13
13
|
/// @group floating-action-button
|
|
14
14
|
$kendo-fab-font-family: var( --kendo-font-family, inherit ) !default;
|
|
15
|
-
///
|
|
15
|
+
/// The font size of the FAB.
|
|
16
16
|
/// @group floating-action-button
|
|
17
17
|
$kendo-fab-font-size: var( --kendo-font-size, inherit ) !default;
|
|
18
|
-
///
|
|
18
|
+
/// The line height of the FAB.
|
|
19
19
|
/// @group floating-action-button
|
|
20
20
|
$kendo-fab-line-height: var( --kendo-line-height, normal ) !default;
|
|
21
21
|
|
|
22
|
-
///
|
|
22
|
+
/// The horizontal padding of the FAB.
|
|
23
23
|
/// @group floating-action-button
|
|
24
24
|
$kendo-fab-padding-x: map.get( $kendo-spacing, 4 ) !default;
|
|
25
|
+
/// The horizontal padding of the small FAB.
|
|
26
|
+
/// @group floating-action-button
|
|
25
27
|
$kendo-fab-sm-padding-x: math.div( $kendo-fab-padding-x, 2 ) !default;
|
|
28
|
+
/// The horizontal padding of the medium FAB.
|
|
29
|
+
/// @group floating-action-button
|
|
26
30
|
$kendo-fab-md-padding-x: $kendo-fab-padding-x !default;
|
|
31
|
+
/// The horizontal padding of the large FAB.
|
|
32
|
+
/// @group floating-action-button
|
|
27
33
|
$kendo-fab-lg-padding-x: ( $kendo-fab-padding-x * 1.5 ) !default;
|
|
28
34
|
|
|
29
|
-
///
|
|
35
|
+
/// The vertical padding of the FAB.
|
|
30
36
|
/// @group floating-action-button
|
|
31
37
|
$kendo-fab-padding-y: $kendo-fab-padding-x !default;
|
|
38
|
+
/// The vertical padding of the small FAB.
|
|
39
|
+
/// @group floating-action-button
|
|
32
40
|
$kendo-fab-sm-padding-y: math.div( $kendo-fab-padding-y, 2 ) !default;
|
|
41
|
+
/// The vertical padding of the medium FAB.
|
|
42
|
+
/// @group floating-action-button
|
|
33
43
|
$kendo-fab-md-padding-y: $kendo-fab-padding-y !default;
|
|
44
|
+
/// The vertical padding of the large FAB.
|
|
45
|
+
/// @group floating-action-button
|
|
34
46
|
$kendo-fab-lg-padding-y: ( $kendo-fab-padding-y * 1.5 ) !default;
|
|
35
47
|
|
|
36
|
-
///
|
|
48
|
+
/// The offset of the focused FAB.
|
|
37
49
|
/// @group floating-action-button
|
|
38
50
|
$kendo-fab-focus-offset: $kendo-button-focus-offset !default;
|
|
39
|
-
///
|
|
51
|
+
/// The outline width of the focused FAB.
|
|
40
52
|
/// @group floating-action-button
|
|
41
53
|
$kendo-fab-focus-outline-width: $kendo-button-focus-outline-width !default;
|
|
42
|
-
///
|
|
54
|
+
/// The outline style of the focused FAB.
|
|
43
55
|
/// @group floating-action-button
|
|
44
56
|
$kendo-fab-focus-outline-style: $kendo-button-focus-outline-style !default;
|
|
45
57
|
|
|
46
|
-
///
|
|
58
|
+
/// The horizontal padding of the FAB icon.
|
|
47
59
|
/// @group floating-action-button
|
|
48
60
|
$kendo-fab-icon-padding-x: map.get( $kendo-spacing, 0.5 ) !default; // sass-lint:disable-line leading-zero
|
|
49
|
-
///
|
|
61
|
+
/// The vertical padding of the FAB icon.
|
|
50
62
|
/// @group floating-action-button
|
|
51
63
|
$kendo-fab-icon-padding-y: $kendo-fab-icon-padding-x !default;
|
|
52
|
-
/// FAB icon
|
|
64
|
+
/// The spacing of the FAB icon.
|
|
53
65
|
/// @group floating-action-button
|
|
54
66
|
$kendo-fab-icon-spacing: map.get( $kendo-spacing, 0.5 ) !default; // sass-lint:disable-line leading-zero
|
|
55
67
|
|
|
56
|
-
///
|
|
68
|
+
/// The horizontal padding of the FAB items.
|
|
57
69
|
/// @group floating-action-button
|
|
58
70
|
$kendo-fab-items-padding-x: 0px !default;
|
|
59
|
-
///
|
|
71
|
+
/// The vertical padding of the FAB items.
|
|
60
72
|
/// @group floating-action-button
|
|
61
73
|
$kendo-fab-items-padding-y: map.get( $kendo-spacing, 4 ) !default;
|
|
62
74
|
|
|
63
|
-
/// FAB item text
|
|
75
|
+
/// The horizontal padding of the FAB item text.
|
|
64
76
|
/// @group floating-action-button
|
|
65
77
|
$kendo-fab-item-text-padding-x: map.get( $kendo-spacing, 1 ) !default;
|
|
66
|
-
/// FAB item text
|
|
78
|
+
/// The vertical padding of the FAB item text.
|
|
67
79
|
/// @group floating-action-button
|
|
68
80
|
$kendo-fab-item-text-padding-y: map.get( $kendo-spacing, 1 ) !default;
|
|
69
|
-
///
|
|
81
|
+
/// The width of the FAB item text border.
|
|
70
82
|
/// @group floating-action-button
|
|
71
83
|
$kendo-fab-item-text-border-width: 1px !default;
|
|
72
|
-
///
|
|
84
|
+
/// The border style of the FAB item text.
|
|
73
85
|
/// @group floating-action-button
|
|
74
86
|
$kendo-fab-item-text-border-style: solid !default;
|
|
75
|
-
///
|
|
87
|
+
/// The border radius of the FAB item text.
|
|
76
88
|
/// @group floating-action-button
|
|
77
89
|
$kendo-fab-item-text-border-radius: var( --kendo-border-radius-md, 0 ) !default;
|
|
78
|
-
///
|
|
90
|
+
/// The font size of the FAB item text.
|
|
79
91
|
/// @group floating-action-button
|
|
80
92
|
$kendo-fab-item-text-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
81
|
-
///
|
|
93
|
+
/// The line height of the FAB item text.
|
|
82
94
|
/// @group floating-action-button
|
|
83
95
|
$kendo-fab-item-text-line-height: var( --kendo-line-height-sm, inherit ) !default;
|
|
84
|
-
/// The bottom margin of the FAB item.
|
|
96
|
+
/// The bottom margin of the FAB item text.
|
|
85
97
|
/// @group floating-action-button
|
|
86
98
|
$kendo-fab-item-text-offset-x: map.get( $kendo-spacing, 2 ) !default;
|
|
87
99
|
|
|
88
|
-
///
|
|
100
|
+
/// The offset of the focused FAB item.
|
|
89
101
|
/// @group floating-action-button
|
|
90
102
|
$kendo-fab-item-focus-offset: $kendo-button-focus-offset !default;
|
|
91
|
-
///
|
|
103
|
+
/// The outline width of the focused FAB item.
|
|
92
104
|
/// @group floating-action-button
|
|
93
105
|
$kendo-fab-item-focus-outline-width: $kendo-button-focus-outline-width !default;
|
|
94
|
-
///
|
|
106
|
+
/// The outline style of the focused FAB item.
|
|
95
107
|
/// @group floating-action-button
|
|
96
108
|
$kendo-fab-item-focus-outline-style: $kendo-button-focus-outline-style !default;
|
|
97
109
|
|
|
98
|
-
/// FAB item icon
|
|
110
|
+
/// The horizontal padding of the FAB item icon.
|
|
99
111
|
/// @group floating-action-button
|
|
100
112
|
$kendo-fab-item-icon-padding-x: map.get( $kendo-spacing, 2 ) + $kendo-fab-icon-padding-x !default;
|
|
101
|
-
/// FAB item icon
|
|
113
|
+
/// The vertical padding of the FAB item icon.
|
|
102
114
|
/// @group floating-action-button
|
|
103
115
|
$kendo-fab-item-icon-padding-y: $kendo-fab-item-icon-padding-x !default;
|
|
104
|
-
///
|
|
116
|
+
/// The border width of the FAB item icon.
|
|
105
117
|
/// @group floating-action-button
|
|
106
118
|
$kendo-fab-item-icon-border-width: 1px !default;
|
|
107
|
-
///
|
|
119
|
+
/// The border style of the FAB item icon.
|
|
108
120
|
/// @group floating-action-button
|
|
109
121
|
$kendo-fab-item-icon-border-style: solid !default;
|
|
110
|
-
///
|
|
122
|
+
/// The border radius of the FAB item icon.
|
|
111
123
|
/// @group floating-action-button
|
|
112
124
|
$kendo-fab-item-icon-border-radius: 50% !default;
|
|
113
125
|
|
|
114
|
-
///
|
|
126
|
+
/// The theme colors map for the FAB.
|
|
115
127
|
/// @group floating-action-button
|
|
116
128
|
$kendo-fab-theme-colors: (
|
|
117
129
|
solid: map.get( $kendo-button-theme-colors, "solid")
|
|
118
130
|
) !default;
|
|
119
131
|
|
|
120
|
-
///
|
|
132
|
+
/// The size map for the FAB.
|
|
121
133
|
/// @group floating-action-button
|
|
122
134
|
$kendo-fab-sizes: (
|
|
123
135
|
sm: (
|
|
@@ -146,30 +158,30 @@ $kendo-fab-item-bg: var( --kendo-component-bg, inherit ) !default;
|
|
|
146
158
|
/// The base border color of the FAB item.
|
|
147
159
|
/// @group floating-action-button
|
|
148
160
|
$kendo-fab-item-border: get-theme-color-var( neutral-110 ) !default;
|
|
149
|
-
/// The
|
|
161
|
+
/// The text color of the hovered FAB item.
|
|
150
162
|
/// @group floating-action-button
|
|
151
163
|
$kendo-fab-item-hover-text: var( --kendo-hover-text, inherit ) !default;
|
|
152
|
-
/// The
|
|
164
|
+
/// The background color of the hovered FAB item.
|
|
153
165
|
/// @group floating-action-button
|
|
154
166
|
$kendo-fab-item-hover-bg: var( --kendo-hover-bg, inherit ) !default;
|
|
155
|
-
/// The
|
|
167
|
+
/// The border color of the hovered FAB item.
|
|
156
168
|
/// @group floating-action-button
|
|
157
169
|
$kendo-fab-item-hover-border: get-theme-color-var( neutral-110 ) !default;
|
|
158
|
-
/// The
|
|
170
|
+
/// The text color of the focused FAB item.
|
|
159
171
|
/// @group floating-action-button
|
|
160
172
|
$kendo-fab-item-focus-text: get-theme-color-var( neutral-160 ) !default;
|
|
161
|
-
/// The
|
|
173
|
+
/// The background color of the focused FAB item.
|
|
162
174
|
/// @group floating-action-button
|
|
163
175
|
$kendo-fab-item-focus-bg: var( --kendo-component-bg, inherit ) !default;
|
|
164
|
-
/// The
|
|
176
|
+
/// The border color of the focused FAB item.
|
|
165
177
|
/// @group floating-action-button
|
|
166
178
|
$kendo-fab-item-focus-border: get-theme-color-var( neutral-110 ) !default;
|
|
167
|
-
/// The
|
|
179
|
+
/// The text color of the active FAB item.
|
|
168
180
|
/// @group floating-action-button
|
|
169
181
|
$kendo-fab-item-active-text: var( --kendo-selected-text, inherit ) !default;
|
|
170
|
-
/// The
|
|
182
|
+
/// The background color of the active FAB item.
|
|
171
183
|
/// @group floating-action-button
|
|
172
184
|
$kendo-fab-item-active-bg: var( --kendo-selected-bg, inherit ) !default;
|
|
173
|
-
/// The
|
|
185
|
+
/// The border color of the active FAB item.
|
|
174
186
|
/// @group floating-action-button
|
|
175
187
|
$kendo-fab-item-active-border: get-theme-color-var( neutral-110 ) !default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "../icon/_variables.scss"as *;
|
|
1
|
+
@use "../icon/_variables.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
3
|
|
|
4
4
|
@mixin kendo-file-manager--layout() {
|
|
@@ -104,11 +104,6 @@
|
|
|
104
104
|
justify-content: center;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
// File icon
|
|
108
|
-
.k-file-icon {
|
|
109
|
-
font-size: var( --kendo-file-manager-listview-item-icon-size, #{$kendo-file-manager-listview-item-icon-size} );
|
|
110
|
-
}
|
|
111
|
-
|
|
112
107
|
// File name
|
|
113
108
|
.k-file-name {
|
|
114
109
|
margin-block-start: calc( var( --kendo-file-manager-spacer, #{$kendo-file-manager-spacer} ) / 2 );
|
|
@@ -155,7 +150,7 @@
|
|
|
155
150
|
padding-block-start: calc( var( --kendo-file-manager-preview-padding-y, #{$kendo-file-manager-preview-padding-y} ) * 3 );
|
|
156
151
|
padding-block-end: var( --kendo-file-manager-preview-padding-y, #{$kendo-file-manager-preview-padding-y} );
|
|
157
152
|
width: var( --kendo-file-manager-preview-width, #{$kendo-file-manager-preview-width} );
|
|
158
|
-
min-height: calc( ( var( --kendo-file-manager-preview-padding-y, #{$kendo-file-manager-preview-padding-y} ) * 4 ) +
|
|
153
|
+
min-height: calc( ( var( --kendo-file-manager-preview-padding-y, #{$kendo-file-manager-preview-padding-y} ) * 4 ) + var( --kendo-icon-size, 1rem ) * 2 + ( var( --kendo-file-manager-preview-spacing, #{$kendo-file-manager-preview-spacing} ) * 3 ) );
|
|
159
154
|
border-width: 0;
|
|
160
155
|
border-left-width: var( --kendo-file-manager-preview-border-width, #{$kendo-file-manager-preview-border-width} );
|
|
161
156
|
border-style: solid;
|
|
@@ -172,11 +167,6 @@
|
|
|
172
167
|
justify-content: center;
|
|
173
168
|
}
|
|
174
169
|
|
|
175
|
-
// File icon
|
|
176
|
-
.k-file-icon {
|
|
177
|
-
font-size: var( --kendo-file-manager-preview-icon-size, #{$kendo-file-manager-preview-icon-size} );
|
|
178
|
-
}
|
|
179
|
-
|
|
180
170
|
// File name
|
|
181
171
|
.k-file-name {
|
|
182
172
|
margin-block-start: var( --kendo-file-manager-preview-spacing, #{$kendo-file-manager-preview-spacing} );
|