@progress/kendo-theme-fluent 8.0.0-dev.0 → 8.0.0-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all.css +6809 -3721
- package/dist/meta/sassdoc-data.json +40427 -33117
- package/dist/meta/sassdoc-raw-data.json +7826 -3729
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +5 -5
- package/scss/action-buttons/_variables.scss +3 -3
- package/scss/action-sheet/_layout.scss +1 -1
- package/scss/action-sheet/_variables.scss +13 -13
- package/scss/adaptive/_layout.scss +8 -8
- package/scss/appbar/_variables.scss +6 -6
- package/scss/avatar/_variables.scss +3 -3
- package/scss/badge/_theme.scss +4 -0
- package/scss/badge/_variables.scss +10 -10
- package/scss/bottom-navigation/_variables.scss +8 -8
- package/scss/breadcrumb/_variables.scss +16 -16
- package/scss/button/_layout.scss +1 -1
- package/scss/button/_variables.scss +58 -58
- package/scss/calendar/_layout.scss +44 -40
- package/scss/calendar/_theme.scss +4 -0
- package/scss/calendar/_variables.scss +40 -35
- package/scss/captcha/_variables.scss +3 -3
- package/scss/card/_variables.scss +13 -13
- package/scss/chat/_layout.scss +2 -2
- package/scss/chat/_variables.scss +13 -13
- package/scss/checkbox/_layout.scss +1 -1
- package/scss/checkbox/_variables.scss +15 -15
- package/scss/chip/_variables.scss +11 -11
- package/scss/color-preview/_variables.scss +1 -1
- package/scss/coloreditor/_variables.scss +6 -6
- package/scss/colorgradient/_variables.scss +9 -9
- package/scss/colorpalette/_variables.scss +1 -1
- package/scss/core/_index.scss +18 -1
- package/scss/core/_variables.scss +3 -59
- package/scss/core/border-radii/_index.scss +42 -0
- package/scss/core/color-system/_swatch-legacy.scss +0 -4
- package/scss/core/spacing/_index.scss +28 -0
- package/scss/core/typography/_index.scss +70 -0
- package/scss/dataviz/_layout.scss +11 -5
- package/scss/dataviz/_variables.scss +1 -1
- package/scss/daterangepicker/_layout.scss +1 -1
- package/scss/datetimepicker/_variables.scss +1 -1
- package/scss/dialog/_variables.scss +8 -8
- package/scss/dock-manager/_layout.scss +1 -0
- package/scss/dock-manager/_variables.scss +5 -5
- package/scss/draggable/_variables.scss +2 -1
- package/scss/drawer/_layout.scss +2 -0
- package/scss/drawer/_variables.scss +9 -7
- package/scss/dropdowntree/_variables.scss +1 -1
- package/scss/dropzone/_variables.scss +5 -5
- package/scss/editor/_layout.scss +6 -5
- package/scss/editor/_variables.scss +3 -3
- package/scss/expansion-panel/_variables.scss +6 -6
- package/scss/fab/_variables.scss +16 -16
- package/scss/filemanager/_variables.scss +6 -6
- package/scss/filter/_variables.scss +2 -1
- package/scss/forms/_layout.scss +6 -5
- package/scss/forms/_variables.scss +15 -14
- package/scss/gantt/_layout.scss +10 -9
- package/scss/gantt/_variables.scss +77 -76
- package/scss/grid/_layout.scss +2 -1
- package/scss/grid/_variables.scss +172 -172
- package/scss/icon/_variables.scss +2 -2
- package/scss/imageeditor/_variables.scss +11 -11
- package/scss/index.scss +8 -1
- package/scss/input/_variables.scss +9 -34
- package/scss/list/_layout.scss +1 -0
- package/scss/list/_variables.scss +24 -24
- package/scss/listbox/_variables.scss +2 -2
- package/scss/listgroup/_layout.scss +6 -6
- package/scss/listgroup/_variables.scss +3 -3
- package/scss/listview/_layout.scss +1 -0
- package/scss/listview/_variables.scss +8 -8
- package/scss/loader/_layout.scss +1 -1
- package/scss/loader/_variables.scss +29 -29
- package/scss/map/_variables.scss +6 -5
- package/scss/mediaplayer/_variables.scss +2 -2
- package/scss/menu/_variables.scss +16 -16
- package/scss/messagebox/_variables.scss +3 -3
- package/scss/notification/_variables.scss +6 -6
- package/scss/orgchart/_variables.scss +10 -10
- package/scss/pager/_variables.scss +8 -8
- package/scss/panelbar/_layout.scss +1 -0
- package/scss/panelbar/_variables.scss +9 -7
- package/scss/pdf-viewer/_variables.scss +4 -4
- package/scss/pivotgrid/_layout.scss +3 -3
- package/scss/pivotgrid/_variables.scss +17 -17
- package/scss/popover/_variables.scss +2 -2
- package/scss/popup/_variables.scss +5 -5
- package/scss/progressbar/_variables.scss +4 -4
- package/scss/prompt/_variables.scss +7 -7
- package/scss/radio/_variables.scss +13 -13
- package/scss/rating/_variables.scss +3 -3
- package/scss/scheduler/_layout.scss +2 -2
- package/scss/scheduler/_variables.scss +91 -91
- package/scss/scrollview/_variables.scss +2 -2
- package/scss/signature/_variables.scss +5 -5
- package/scss/skeleton/_variables.scss +2 -2
- package/scss/slider/_variables.scss +7 -7
- package/scss/splitter/_variables.scss +6 -6
- package/scss/spreadsheet/_layout.scss +9 -8
- package/scss/spreadsheet/_variables.scss +19 -18
- package/scss/stepper/_variables.scss +8 -8
- package/scss/table/_variables.scss +10 -10
- package/scss/tabstrip/_variables.scss +59 -54
- package/scss/taskboard/_variables.scss +23 -23
- package/scss/tilelayout/_variables.scss +1 -1
- package/scss/timeline/_variables.scss +24 -24
- package/scss/timeselector/_layout.scss +1 -1
- package/scss/timeselector/_variables.scss +6 -6
- package/scss/toolbar/_layout.scss +1 -1
- package/scss/toolbar/_variables.scss +9 -9
- package/scss/tooltip/_layout.scss +10 -10
- package/scss/tooltip/_variables.scss +6 -6
- package/scss/treelist/_layout.scss +2 -2
- package/scss/treelist/_variables.scss +2 -2
- package/scss/treeview/_variables.scss +11 -11
- package/scss/typography/_layout.scss +9 -0
- package/scss/typography/_theme.scss +7 -0
- package/scss/typography/_variables.scss +279 -66
- package/scss/upload/_layout.scss +1 -0
- package/scss/upload/_variables.scss +5 -5
- package/scss/window/_layout.scss +1 -1
- package/scss/window/_variables.scss +10 -10
- package/scss/wizard/_variables.scss +8 -8
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
|
|
3
|
+
/// The base font size across all components.
|
|
4
|
+
/// @group typography
|
|
5
|
+
$kendo-font-size: 0.875rem !default;
|
|
6
|
+
/// The extra extra small font size across all components.
|
|
7
|
+
/// @group typography
|
|
8
|
+
$kendo-font-size-xs: 0.625rem !default;
|
|
9
|
+
/// The small font size across all components.
|
|
10
|
+
/// @group typography
|
|
11
|
+
$kendo-font-size-sm: 0.75rem !default;
|
|
12
|
+
/// The medium font size across all components.
|
|
13
|
+
/// @group typography
|
|
14
|
+
$kendo-font-size-md: $kendo-font-size !default;
|
|
15
|
+
/// The large font size across all components.
|
|
16
|
+
/// @group typography
|
|
17
|
+
$kendo-font-size-lg: 1rem !default;
|
|
18
|
+
/// The extra large font size across all components.
|
|
19
|
+
/// @group typography
|
|
20
|
+
$kendo-font-size-xl: 1.25rem !default;
|
|
21
|
+
|
|
22
|
+
/// The base line height across all components.
|
|
23
|
+
/// @group typography
|
|
24
|
+
$kendo-line-height: math.div( 20, 14 ) !default;
|
|
25
|
+
/// The extra small line height across all components.
|
|
26
|
+
/// @group typography
|
|
27
|
+
$kendo-line-height-xs: 1 !default;
|
|
28
|
+
/// The small line height across all components.
|
|
29
|
+
/// @group typography
|
|
30
|
+
$kendo-line-height-sm: 1.25 !default;
|
|
31
|
+
/// The medium line height across all components.
|
|
32
|
+
/// @group typography
|
|
33
|
+
$kendo-line-height-md: $kendo-line-height !default;
|
|
34
|
+
/// The large line height across all components.
|
|
35
|
+
/// @group typography
|
|
36
|
+
$kendo-line-height-lg: 1.5 !default;
|
|
37
|
+
/// The base line height in ems across all components.
|
|
38
|
+
/// @group typography
|
|
39
|
+
$kendo-line-height-em: calc( #{$kendo-line-height} * 1em) !default;
|
|
40
|
+
|
|
41
|
+
/// The base letter spacing across all components.
|
|
42
|
+
/// @group typography
|
|
43
|
+
$kendo-letter-spacing: normal !default;
|
|
44
|
+
|
|
45
|
+
/// The font family across all components.
|
|
46
|
+
/// @group typography
|
|
47
|
+
$kendo-font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif !default;
|
|
48
|
+
|
|
49
|
+
$_default-font-sizes: (
|
|
50
|
+
xs: $kendo-font-size-xs,
|
|
51
|
+
sm: $kendo-font-size-sm,
|
|
52
|
+
md: $kendo-font-size-md,
|
|
53
|
+
lg: $kendo-font-size-lg,
|
|
54
|
+
xl: $kendo-font-size-xl
|
|
55
|
+
) !default;
|
|
56
|
+
|
|
57
|
+
$_default-line-heights: (
|
|
58
|
+
xs: $kendo-line-height-xs,
|
|
59
|
+
sm: $kendo-line-height-sm,
|
|
60
|
+
md: $kendo-line-height-md,
|
|
61
|
+
lg: $kendo-line-height-lg,
|
|
62
|
+
) !default;
|
|
63
|
+
|
|
64
|
+
/// The font sizes map
|
|
65
|
+
/// @group typography
|
|
66
|
+
$kendo-font-sizes: $_default-font-sizes !default;
|
|
67
|
+
|
|
68
|
+
/// The line heights map
|
|
69
|
+
/// @group typography
|
|
70
|
+
$kendo-line-heights: $_default-line-heights !default;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@use "../core/" as *;
|
|
4
4
|
@use "./_variables.scss" as *;
|
|
5
5
|
@use "../tooltip/_variables.scss" as *;
|
|
6
|
+
@use "../core/spacing" as *;
|
|
6
7
|
|
|
7
8
|
@mixin kendo-dataviz--layout() {
|
|
8
9
|
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
}
|
|
86
87
|
|
|
87
88
|
.k-chart-tooltip {
|
|
88
|
-
@include border-radius(
|
|
89
|
+
@include border-radius( k-border-radius(md) );
|
|
89
90
|
font-size: var( --kendo-chart-tooltip-font-size, #{$kendo-chart-tooltip-font-size} );
|
|
90
91
|
line-height: var( --kendo-chart-tooltip-line-height, #{$kendo-chart-tooltip-line-height} );
|
|
91
92
|
padding-inline: var( --kendo-chart-tooltip-padding-x, #{$kendo-tooltip-padding-x} );
|
|
@@ -199,7 +200,7 @@
|
|
|
199
200
|
}
|
|
200
201
|
|
|
201
202
|
.k-navigator-hint .k-scroll {
|
|
202
|
-
@include border-radius(
|
|
203
|
+
@include border-radius( k-border-radius(md) );
|
|
203
204
|
position: absolute;
|
|
204
205
|
height: 4px;
|
|
205
206
|
}
|
|
@@ -271,6 +272,11 @@
|
|
|
271
272
|
height: 100%;
|
|
272
273
|
}
|
|
273
274
|
|
|
275
|
+
// Sankey labels
|
|
276
|
+
.k-sankey text {
|
|
277
|
+
pointer-events: none;
|
|
278
|
+
}
|
|
279
|
+
|
|
274
280
|
// Base
|
|
275
281
|
.k-treemap {
|
|
276
282
|
height: 400px;
|
|
@@ -346,10 +352,10 @@
|
|
|
346
352
|
right: 0;
|
|
347
353
|
}
|
|
348
354
|
.k-treemap-title + .k-treemap-wrap {
|
|
349
|
-
inset-block-start: calc( #{$kendo-padding-sm-y} * 2 + (
|
|
355
|
+
inset-block-start: calc( calc( #{$kendo-padding-sm-y} * 2 ) + calc( var( --kendo-line-height, normal ) * var( --kendo-font-size, inherit) ) + 1px);
|
|
350
356
|
}
|
|
351
357
|
.k-treemap-title-vertical + .k-treemap-wrap {
|
|
352
|
-
inset-inline-start: calc( #{$kendo-padding-sm-y} * 2 + (
|
|
358
|
+
inset-inline-start: calc( calc( #{$kendo-padding-sm-y} * 2 ) + calc( var( --kendo-line-height, normal) * var( --kendo-font-size, inherit) ) + 1px);
|
|
353
359
|
}
|
|
354
360
|
|
|
355
361
|
|
|
@@ -391,7 +397,7 @@
|
|
|
391
397
|
base: $kendo-component-bg,
|
|
392
398
|
background: $kendo-component-bg,
|
|
393
399
|
|
|
394
|
-
border-radius:
|
|
400
|
+
border-radius: k-border-radius(md),
|
|
395
401
|
|
|
396
402
|
normal-background: $kendo-component-bg,
|
|
397
403
|
normal-text-color: $kendo-component-text,
|
|
@@ -93,7 +93,7 @@ $kendo-chart-font-family: var( --kendo-font-family, inherit ) !default;
|
|
|
93
93
|
/// @group charts
|
|
94
94
|
$kendo-chart-font-size: var( --kendo-font-size, inherit ) !default;
|
|
95
95
|
$kendo-chart-sm-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
96
|
-
$kendo-chart-md-font-size: var( --kendo-font-size
|
|
96
|
+
$kendo-chart-md-font-size: var( --kendo-font-size, inherit ) !default;
|
|
97
97
|
$kendo-chart-lg-font-size: var( --kendo-font-size-lg, inherit ) !default;
|
|
98
98
|
/// The line-height of the chart component.
|
|
99
99
|
/// @group charts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
@use "../calendar/_variables.scss" as *;
|
|
2
2
|
|
|
3
|
-
$kendo-datetime-width: calc( #{$kendo-calendar-header-min-width} + #{$kendo-infinite-calendar-view-padding-x * 2
|
|
3
|
+
$kendo-datetime-width: calc( #{$kendo-calendar-header-min-width} + calc( #{$kendo-infinite-calendar-view-padding-x} * 2 ) ) !default;
|
|
@@ -19,34 +19,34 @@ $kendo-dialog-titlebar-border: var( --kendo-component-border, initial ) !default
|
|
|
19
19
|
$kendo-dialog-titlebar-border-width: 0 !default;
|
|
20
20
|
/// The horizontal padding of the Dialog titlebar.
|
|
21
21
|
/// @group dialog
|
|
22
|
-
$kendo-dialog-titlebar-padding-x:
|
|
22
|
+
$kendo-dialog-titlebar-padding-x: k-spacing(6) !default;
|
|
23
23
|
/// The vertical padding of the Dialog titlebar.
|
|
24
24
|
/// @group dialog
|
|
25
|
-
$kendo-dialog-titlebar-padding-y:
|
|
25
|
+
$kendo-dialog-titlebar-padding-y: k-spacing(4) !default;
|
|
26
26
|
|
|
27
27
|
/// The horizontal padding of the content of the Dialog.
|
|
28
28
|
/// @group dialog
|
|
29
|
-
$kendo-dialog-inner-padding-x:
|
|
29
|
+
$kendo-dialog-inner-padding-x: k-spacing(6) !default;
|
|
30
30
|
/// The vertical padding of the content of the Dialog.
|
|
31
31
|
/// @group dialog
|
|
32
|
-
$kendo-dialog-inner-padding-y:
|
|
32
|
+
$kendo-dialog-inner-padding-y: k-spacing(3) !default;
|
|
33
33
|
|
|
34
34
|
/// The horizontal padding of the Dialog action buttons.
|
|
35
35
|
/// @group dialog
|
|
36
|
-
$kendo-dialog-buttongroup-padding-x:
|
|
36
|
+
$kendo-dialog-buttongroup-padding-x: k-spacing(6) !default; // $kendo-actions-padding-x
|
|
37
37
|
/// The vertical padding of the Dialog action buttons.
|
|
38
38
|
/// @group dialog
|
|
39
|
-
$kendo-dialog-buttongroup-padding-y:
|
|
39
|
+
$kendo-dialog-buttongroup-padding-y: k-spacing(6) !default; // $kendo-actions-padding-y
|
|
40
40
|
/// The width of the top border of the Dialog action buttons.
|
|
41
41
|
/// @group dialog
|
|
42
42
|
$kendo-dialog-buttongroup-border-width: 0 !default;
|
|
43
43
|
/// The spacing between the Dialog action buttons.
|
|
44
44
|
/// @group dialog
|
|
45
|
-
$kendo-dialog-buttongroup-spacing:
|
|
45
|
+
$kendo-dialog-buttongroup-spacing: k-spacing(3) !default;
|
|
46
46
|
|
|
47
47
|
/// The spacing between the Dialog action buttons.
|
|
48
48
|
/// @group dialog
|
|
49
|
-
$kendo-dialog-button-spacing:
|
|
49
|
+
$kendo-dialog-button-spacing: k-spacing(2) !default; // $kendo-actions-padding-y
|
|
50
50
|
|
|
51
51
|
/// The box shadow around the Dialog.
|
|
52
52
|
/// @group dialog
|
|
@@ -13,10 +13,10 @@ $kendo-dock-manager-border: var( --kendo-component-border, inherit ) !default;
|
|
|
13
13
|
|
|
14
14
|
/// The vertical padding of the pane header in the DockManager component.
|
|
15
15
|
/// @group dock-manager
|
|
16
|
-
$kendo-dock-manager-pane-header-padding-y:
|
|
16
|
+
$kendo-dock-manager-pane-header-padding-y: k-spacing(1) !default;
|
|
17
17
|
/// The horizontal padding of the pane header in the DockManager component.
|
|
18
18
|
/// @group dock-manager
|
|
19
|
-
$kendo-dock-manager-pane-header-padding-x:
|
|
19
|
+
$kendo-dock-manager-pane-header-padding-x: k-spacing(6) !default;
|
|
20
20
|
/// The width of the border around the pane header in the DockManager component.
|
|
21
21
|
/// @group dock-manager
|
|
22
22
|
$kendo-dock-manager-pane-header-border-width: $kendo-dock-manager-border-width !default;
|
|
@@ -51,10 +51,10 @@ $kendo-dock-manager-pane-title-font-weight: var( --kendo-font-weight, normal ) !
|
|
|
51
51
|
|
|
52
52
|
/// The horizontal padding of the pane content in the DockManager component.
|
|
53
53
|
/// @group dock-manager
|
|
54
|
-
$kendo-dock-manager-pane-content-padding-x:
|
|
54
|
+
$kendo-dock-manager-pane-content-padding-x: k-spacing(3) !default;
|
|
55
55
|
/// The vertical padding of the pane content in the DockManager component.
|
|
56
56
|
/// @group dock-manager
|
|
57
|
-
$kendo-dock-manager-pane-content-padding-y:
|
|
57
|
+
$kendo-dock-manager-pane-content-padding-y: k-spacing(3) !default;
|
|
58
58
|
|
|
59
59
|
/// The horizontal padding of the tabbed pane in the DockManager component.
|
|
60
60
|
/// @group dock-manager
|
|
@@ -75,7 +75,7 @@ $kendo-dock-manager-unpinned-container-shadow: 25.6px 0px 57.6px 0px rgba(0, 0,
|
|
|
75
75
|
|
|
76
76
|
/// The padding of the dock indicator in the DockManager component.
|
|
77
77
|
/// @group dock-manager
|
|
78
|
-
$kendo-dock-indicator-padding:
|
|
78
|
+
$kendo-dock-indicator-padding: k-spacing(1.5) !default;
|
|
79
79
|
/// The background color of the dock indicator in the DockManager component.
|
|
80
80
|
/// @group dock-manager
|
|
81
81
|
$kendo-dock-indicator-bg: $kendo-component-bg !default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
@use "../core/" as *;
|
|
3
|
+
@use "../core/spacing/" as *;
|
|
3
4
|
|
|
4
5
|
/// Borer radius of the drag clue.
|
|
5
6
|
/// @group draggable
|
|
6
|
-
$kendo-drag-clue-border-radius:
|
|
7
|
+
$kendo-drag-clue-border-radius: k-border-radius(md) !default;
|
|
7
8
|
/// Borer width of the drag clue.
|
|
8
9
|
/// @group draggable
|
|
9
10
|
$kendo-drag-clue-border-width: 0px !default;
|
package/scss/drawer/_layout.scss
CHANGED
|
@@ -68,6 +68,8 @@
|
|
|
68
68
|
.k-drawer-content {
|
|
69
69
|
flex: 1 1 auto;
|
|
70
70
|
overflow: auto;
|
|
71
|
+
padding-block: var( --kendo-drawer-content-padding-y, #{$kendo-drawer-content-padding-y} );
|
|
72
|
+
padding-inline: var( --kendo-drawer-content-padding-x, #{$kendo-drawer-content-padding-x} );
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/" as *;
|
|
3
|
+
@use "../core/spacing" as *;
|
|
3
4
|
|
|
4
5
|
/// The background color of the Drawer.
|
|
5
6
|
/// @group drawer
|
|
@@ -25,10 +26,10 @@ $kendo-drawer-line-height: var( --kendo-line-height, inherit ) !default;
|
|
|
25
26
|
|
|
26
27
|
/// The horizontal padding of the Drawer content.
|
|
27
28
|
/// @group drawer
|
|
28
|
-
$kendo-drawer-content-padding-x:
|
|
29
|
+
$kendo-drawer-content-padding-x: null !default;
|
|
29
30
|
/// The vertical padding of the Drawer content.
|
|
30
31
|
/// @group drawer
|
|
31
|
-
$kendo-drawer-content-padding-y:
|
|
32
|
+
$kendo-drawer-content-padding-y: null !default;
|
|
32
33
|
|
|
33
34
|
/// The width of the Drawer scrollbar.
|
|
34
35
|
/// @group drawer
|
|
@@ -48,7 +49,7 @@ $kendo-drawer-scrollbar-hover-color: if($kendo-enable-color-system, color-mix(in
|
|
|
48
49
|
|
|
49
50
|
/// The horizontal padding of the Drawer item.
|
|
50
51
|
/// @group drawer
|
|
51
|
-
$kendo-drawer-item-padding-x:
|
|
52
|
+
$kendo-drawer-item-padding-x: k-spacing(4) !default;
|
|
52
53
|
/// The vertical padding of the Drawer item.
|
|
53
54
|
/// @group drawer
|
|
54
55
|
$kendo-drawer-item-padding-y: var( --kendo-padding-x, #{$kendo-padding-md-x} ) !default;
|
|
@@ -68,10 +69,10 @@ $kendo-drawer-item-level-count: 5 !default;
|
|
|
68
69
|
|
|
69
70
|
/// The horizontal padding of the Drawer icon.
|
|
70
71
|
/// @group drawer
|
|
71
|
-
$kendo-drawer-icon-padding-x: 0 !default;
|
|
72
|
+
$kendo-drawer-icon-padding-x: k-spacing(0) !default;
|
|
72
73
|
/// The vertical padding of the Drawer icon.
|
|
73
74
|
/// @group drawer
|
|
74
|
-
$kendo-drawer-icon-padding-y:
|
|
75
|
+
$kendo-drawer-icon-padding-y: k-spacing(1) !default;
|
|
75
76
|
|
|
76
77
|
/// The initial width of the mini Drawer.
|
|
77
78
|
/// @group drawer
|
|
@@ -79,8 +80,9 @@ $kendo-drawer-mini-initial-width: calc( 2 * #{$kendo-drawer-item-padding-x} + va
|
|
|
79
80
|
|
|
80
81
|
/// The border width of the Drawer item ripple.
|
|
81
82
|
/// @group drawer
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
|
|
84
|
+
$kendo-drawer-item-ripple-border-width: k-spacing(0.5) !default;
|
|
85
|
+
/// The border color of the drawer item ripple
|
|
84
86
|
/// @group drawer
|
|
85
87
|
$kendo-drawer-item-ripple-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
|
|
86
88
|
/// The background color of the Drawer item.
|
|
@@ -11,4 +11,4 @@ $kendo-dropdowntree-popup-padding-y: $kendo-popup-content-padding-y !default;
|
|
|
11
11
|
|
|
12
12
|
/// The padding of the check-all CheckBox inside the DropDownTree popup
|
|
13
13
|
/// @group dropdowntree
|
|
14
|
-
$kendo-dropdowntree-check-all-padding:
|
|
14
|
+
$kendo-dropdowntree-check-all-padding: k-spacing(1) !default;
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
/// The horizontal padding of the DropZone.
|
|
6
6
|
/// @group dropzone
|
|
7
|
-
$kendo-dropzone-padding-x:
|
|
7
|
+
$kendo-dropzone-padding-x: k-spacing(2) !default;
|
|
8
8
|
/// The vertical padding of the DropZone.
|
|
9
9
|
/// @group dropzone
|
|
10
|
-
$kendo-dropzone-padding-y:
|
|
10
|
+
$kendo-dropzone-padding-y: k-spacing(2) !default;
|
|
11
11
|
/// The border width of the DropZone.
|
|
12
12
|
/// @group dropzone
|
|
13
13
|
$kendo-dropzone-border-width: 1px !default;
|
|
@@ -37,7 +37,7 @@ $kendo-dropzone-border: var( --kendo-component-border, initial ) !default;
|
|
|
37
37
|
|
|
38
38
|
/// The spacing below the DropZone icon.
|
|
39
39
|
/// @group dropzone
|
|
40
|
-
$kendo-dropzone-icon-spacing:
|
|
40
|
+
$kendo-dropzone-icon-spacing: k-spacing(6) !default;
|
|
41
41
|
/// The text color of the DropZone icon.
|
|
42
42
|
/// @group dropzone
|
|
43
43
|
$kendo-dropzone-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-90 )) !default;
|
|
@@ -53,7 +53,7 @@ $kendo-dropzone-hint-font-size: inherit !default;
|
|
|
53
53
|
$kendo-dropzone-hint-font-weight: var( --kendo-font-weight-bold, bold ) !default;
|
|
54
54
|
/// The spacing below the DropZone hint.
|
|
55
55
|
/// @group dropzone
|
|
56
|
-
$kendo-dropzone-hint-spacing:
|
|
56
|
+
$kendo-dropzone-hint-spacing: k-spacing(2) !default;
|
|
57
57
|
/// The text color of the DropZone hint.
|
|
58
58
|
/// @group dropzone
|
|
59
59
|
$kendo-dropzone-hint-text: $kendo-dropzone-text !default;
|
|
@@ -66,7 +66,7 @@ $kendo-dropzone-note-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
|
66
66
|
$kendo-dropzone-note-font-weight: inherit !default;
|
|
67
67
|
/// The spacing below the DropZone note.
|
|
68
68
|
/// @group dropzone
|
|
69
|
-
$kendo-dropzone-note-spacing: 0 !default;
|
|
69
|
+
$kendo-dropzone-note-spacing: k-spacing(0) !default;
|
|
70
70
|
/// The text color of the DropZone note.
|
|
71
71
|
/// @group dropzone
|
|
72
72
|
$kendo-dropzone-note-text: var( --kendo-subtle-text, inherit ) !default;
|
package/scss/editor/_layout.scss
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@use "../button/_variables.scss" as *;
|
|
7
7
|
@use "../input/_variables.scss" as *;
|
|
8
8
|
@use "../window/_variables.scss" as *;
|
|
9
|
+
@use "../core/spacing" as *;
|
|
9
10
|
|
|
10
11
|
@mixin kendo-editor--layout() {
|
|
11
12
|
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
|
|
40
41
|
// Inline editor
|
|
41
42
|
.k-editor-inline {
|
|
42
|
-
@include border-radius(
|
|
43
|
+
@include border-radius( k-border-radius(md) );
|
|
43
44
|
padding-block: $kendo-padding-sm-y;
|
|
44
45
|
padding-inline: $kendo-padding-sm-x;
|
|
45
46
|
border: 1px solid transparent;
|
|
@@ -353,7 +354,7 @@
|
|
|
353
354
|
flex: 1;
|
|
354
355
|
}
|
|
355
356
|
.k-search-wrap {
|
|
356
|
-
margin-inline-start:
|
|
357
|
+
margin-inline-start: k-spacing(4);
|
|
357
358
|
width: 150px;
|
|
358
359
|
display: flex;
|
|
359
360
|
align-items: center;
|
|
@@ -370,7 +371,7 @@
|
|
|
370
371
|
|
|
371
372
|
// Filebrowser toolbar
|
|
372
373
|
.k-filebrowser-toolbar {
|
|
373
|
-
margin-block-start:
|
|
374
|
+
margin-block-start: k-spacing(4);
|
|
374
375
|
}
|
|
375
376
|
|
|
376
377
|
.k-upload {
|
|
@@ -397,7 +398,7 @@
|
|
|
397
398
|
flex-flow: row wrap;
|
|
398
399
|
height: 390px;
|
|
399
400
|
max-height: 50vh;
|
|
400
|
-
margin-block-end:
|
|
401
|
+
margin-block-end: k-spacing(4);
|
|
401
402
|
padding-block: $kendo-padding-md-y;
|
|
402
403
|
padding-inline: $kendo-padding-md-x;
|
|
403
404
|
border-top-width: 0;
|
|
@@ -413,7 +414,7 @@
|
|
|
413
414
|
white-space: nowrap;
|
|
414
415
|
overflow: hidden;
|
|
415
416
|
cursor: pointer;
|
|
416
|
-
@include border-radius(
|
|
417
|
+
@include border-radius( k-border-radius(md) );
|
|
417
418
|
|
|
418
419
|
.k-i-file,
|
|
419
420
|
.k-i-folder {
|
|
@@ -34,10 +34,10 @@ $kendo-editor-placeholder-opacity: var( --kendo-input-placeholder-opacity, #{$ke
|
|
|
34
34
|
$kendo-editor-content-outline-color: var( --kendo-body-text, initial ) !default;
|
|
35
35
|
/// The horizontal margin of the Editor's export tool icon.
|
|
36
36
|
/// @group editor
|
|
37
|
-
$kendo-editor-export-tool-icon-margin-x:
|
|
37
|
+
$kendo-editor-export-tool-icon-margin-x: k-spacing(1) !default;
|
|
38
38
|
/// The outline width of the Editor's selected node.
|
|
39
39
|
/// @group editor
|
|
40
|
-
$kendo-editor-selectednode-outline-width:
|
|
40
|
+
$kendo-editor-selectednode-outline-width: k-spacing(0.5) !default;
|
|
41
41
|
|
|
42
42
|
/// The selected text color of the Editor.
|
|
43
43
|
/// @group editor
|
|
@@ -51,7 +51,7 @@ $kendo-editor-highlighted-bg: if($kendo-enable-color-system, color-mix(in srgb,
|
|
|
51
51
|
|
|
52
52
|
/// The size of the Editor's resize handle.
|
|
53
53
|
/// @group editor
|
|
54
|
-
$kendo-editor-resize-handle-size:
|
|
54
|
+
$kendo-editor-resize-handle-size: k-spacing(2) !default;
|
|
55
55
|
/// The border width of the Editor's resize handle.
|
|
56
56
|
/// @group editor
|
|
57
57
|
$kendo-editor-resize-handle-border-width: 1px !default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
/// The vertical spacing of the ExpansionPanel.
|
|
5
5
|
/// @group expander
|
|
6
|
-
$kendo-expander-margin-y:
|
|
6
|
+
$kendo-expander-margin-y: k-spacing(2) !default;
|
|
7
7
|
/// The width of the border around the ExpansionPanel.
|
|
8
8
|
/// @group expander
|
|
9
9
|
$kendo-expander-border-width: 1px !default;
|
|
@@ -63,10 +63,10 @@ $kendo-expander-focus-shadow: inset 0px 0px 0px 2px if($kendo-enable-color-syste
|
|
|
63
63
|
|
|
64
64
|
/// The horizontal padding of the ExpansionPanel header.
|
|
65
65
|
/// @group expander
|
|
66
|
-
$kendo-expander-header-padding-x:
|
|
66
|
+
$kendo-expander-header-padding-x: k-spacing(4) !default;
|
|
67
67
|
/// The vertical padding of the ExpansionPanel header.
|
|
68
68
|
/// @group expander
|
|
69
|
-
$kendo-expander-header-padding-y:
|
|
69
|
+
$kendo-expander-header-padding-y: k-spacing(3) !default;
|
|
70
70
|
|
|
71
71
|
/// The text color of the ExpansionPanel header.
|
|
72
72
|
/// @group expander
|
|
@@ -89,14 +89,14 @@ $kendo-expander-header-sub-title-text: var( --kendo-subtle-text, initial ) !defa
|
|
|
89
89
|
|
|
90
90
|
/// The horizontal margin of the ExpansionPanel indicator.
|
|
91
91
|
/// @group expander
|
|
92
|
-
$kendo-expander-indicator-margin-x:
|
|
92
|
+
$kendo-expander-indicator-margin-x: k-spacing(2.5) !default;
|
|
93
93
|
/// The text color of the ExpansionPanel indicator.
|
|
94
94
|
/// @group expander
|
|
95
95
|
$kendo-expander-indicator-text: var( --kendo-expander-text, #{$kendo-expander-text} ) !default;
|
|
96
96
|
|
|
97
97
|
/// The horizontal padding of the ExpansionPanel content.
|
|
98
98
|
/// @group expander
|
|
99
|
-
$kendo-expander-content-padding-x:
|
|
99
|
+
$kendo-expander-content-padding-x: k-spacing(4) !default;
|
|
100
100
|
/// The vertical padding of the ExpansionPanel content.
|
|
101
101
|
/// @group expander
|
|
102
|
-
$kendo-expander-content-padding-y:
|
|
102
|
+
$kendo-expander-content-padding-y: k-spacing(4) !default;
|
package/scss/fab/_variables.scss
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
$kendo-fab-border-width: 1px !default;
|
|
9
9
|
/// The border radius of the FAB.
|
|
10
10
|
/// @group floating-action-button
|
|
11
|
-
$kendo-fab-border-radius:
|
|
11
|
+
$kendo-fab-border-radius: k-border-radius(md) !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;
|
|
@@ -21,29 +21,29 @@ $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
|
-
$kendo-fab-padding-x:
|
|
24
|
+
$kendo-fab-padding-x: k-spacing(4) !default;
|
|
25
25
|
/// The horizontal padding of the small FAB.
|
|
26
26
|
/// @group floating-action-button
|
|
27
|
-
$kendo-fab-sm-padding-x:
|
|
27
|
+
$kendo-fab-sm-padding-x: calc( #{$kendo-fab-padding-x} / 2 ) !default;
|
|
28
28
|
/// The horizontal padding of the medium FAB.
|
|
29
29
|
/// @group floating-action-button
|
|
30
30
|
$kendo-fab-md-padding-x: $kendo-fab-padding-x !default;
|
|
31
31
|
/// The horizontal padding of the large FAB.
|
|
32
32
|
/// @group floating-action-button
|
|
33
|
-
$kendo-fab-lg-padding-x: ( $kendo-fab-padding-x * 1.5 ) !default;
|
|
33
|
+
$kendo-fab-lg-padding-x: calc( #{$kendo-fab-padding-x} * 1.5 ) !default;
|
|
34
34
|
|
|
35
35
|
/// The vertical padding of the FAB.
|
|
36
36
|
/// @group floating-action-button
|
|
37
37
|
$kendo-fab-padding-y: $kendo-fab-padding-x !default;
|
|
38
38
|
/// The vertical padding of the small FAB.
|
|
39
39
|
/// @group floating-action-button
|
|
40
|
-
$kendo-fab-sm-padding-y:
|
|
40
|
+
$kendo-fab-sm-padding-y: calc( #{$kendo-fab-padding-y} / 2 ) !default;
|
|
41
41
|
/// The vertical padding of the medium FAB.
|
|
42
42
|
/// @group floating-action-button
|
|
43
43
|
$kendo-fab-md-padding-y: $kendo-fab-padding-y !default;
|
|
44
44
|
/// The vertical padding of the large FAB.
|
|
45
45
|
/// @group floating-action-button
|
|
46
|
-
$kendo-fab-lg-padding-y: ( $kendo-fab-padding-y * 1.5 ) !default;
|
|
46
|
+
$kendo-fab-lg-padding-y: calc( #{$kendo-fab-padding-y} * 1.5 ) !default;
|
|
47
47
|
|
|
48
48
|
/// The offset of the focused FAB.
|
|
49
49
|
/// @group floating-action-button
|
|
@@ -57,27 +57,27 @@ $kendo-fab-focus-outline-style: $kendo-button-focus-outline-style !default;
|
|
|
57
57
|
|
|
58
58
|
/// The horizontal padding of the FAB icon.
|
|
59
59
|
/// @group floating-action-button
|
|
60
|
-
$kendo-fab-icon-padding-x:
|
|
60
|
+
$kendo-fab-icon-padding-x: k-spacing(0.5) !default;
|
|
61
61
|
/// The vertical padding of the FAB icon.
|
|
62
62
|
/// @group floating-action-button
|
|
63
63
|
$kendo-fab-icon-padding-y: $kendo-fab-icon-padding-x !default;
|
|
64
64
|
/// The spacing of the FAB icon.
|
|
65
65
|
/// @group floating-action-button
|
|
66
|
-
$kendo-fab-icon-spacing:
|
|
66
|
+
$kendo-fab-icon-spacing: k-spacing(0.5) !default;
|
|
67
67
|
|
|
68
68
|
/// The horizontal padding of the FAB items.
|
|
69
69
|
/// @group floating-action-button
|
|
70
|
-
$kendo-fab-items-padding-x:
|
|
70
|
+
$kendo-fab-items-padding-x: k-spacing(0) !default;
|
|
71
71
|
/// The vertical padding of the FAB items.
|
|
72
72
|
/// @group floating-action-button
|
|
73
|
-
$kendo-fab-items-padding-y:
|
|
73
|
+
$kendo-fab-items-padding-y: k-spacing(4) !default;
|
|
74
74
|
|
|
75
75
|
/// The horizontal padding of the FAB item text.
|
|
76
76
|
/// @group floating-action-button
|
|
77
|
-
$kendo-fab-item-text-padding-x:
|
|
77
|
+
$kendo-fab-item-text-padding-x: k-spacing(1) !default;
|
|
78
78
|
/// The vertical padding of the FAB item text.
|
|
79
79
|
/// @group floating-action-button
|
|
80
|
-
$kendo-fab-item-text-padding-y:
|
|
80
|
+
$kendo-fab-item-text-padding-y: k-spacing(1) !default;
|
|
81
81
|
/// The width of the FAB item text border.
|
|
82
82
|
/// @group floating-action-button
|
|
83
83
|
$kendo-fab-item-text-border-width: 1px !default;
|
|
@@ -86,7 +86,7 @@ $kendo-fab-item-text-border-width: 1px !default;
|
|
|
86
86
|
$kendo-fab-item-text-border-style: solid !default;
|
|
87
87
|
/// The border radius of the FAB item text.
|
|
88
88
|
/// @group floating-action-button
|
|
89
|
-
$kendo-fab-item-text-border-radius:
|
|
89
|
+
$kendo-fab-item-text-border-radius: k-border-radius(md) !default;
|
|
90
90
|
/// The font size of the FAB item text.
|
|
91
91
|
/// @group floating-action-button
|
|
92
92
|
$kendo-fab-item-text-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
@@ -95,7 +95,7 @@ $kendo-fab-item-text-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
|
95
95
|
$kendo-fab-item-text-line-height: var( --kendo-line-height-sm, inherit ) !default;
|
|
96
96
|
/// The bottom margin of the FAB item text.
|
|
97
97
|
/// @group floating-action-button
|
|
98
|
-
$kendo-fab-item-text-offset-x:
|
|
98
|
+
$kendo-fab-item-text-offset-x: k-spacing(2) !default;
|
|
99
99
|
|
|
100
100
|
/// The offset of the focused FAB item.
|
|
101
101
|
/// @group floating-action-button
|
|
@@ -109,7 +109,7 @@ $kendo-fab-item-focus-outline-style: $kendo-button-focus-outline-style !default;
|
|
|
109
109
|
|
|
110
110
|
/// The horizontal padding of the FAB item icon.
|
|
111
111
|
/// @group floating-action-button
|
|
112
|
-
$kendo-fab-item-icon-padding-x:
|
|
112
|
+
$kendo-fab-item-icon-padding-x: calc( #{k-spacing(2)} + $kendo-fab-icon-padding-x ) !default;
|
|
113
113
|
/// The vertical padding of the FAB item icon.
|
|
114
114
|
/// @group floating-action-button
|
|
115
115
|
$kendo-fab-item-icon-padding-y: $kendo-fab-item-icon-padding-x !default;
|
|
@@ -148,7 +148,7 @@ $kendo-fab-sizes: (
|
|
|
148
148
|
|
|
149
149
|
/// The bottom margin of the FAB item.
|
|
150
150
|
/// @group floating-action-button
|
|
151
|
-
$kendo-fab-item-offset-y:
|
|
151
|
+
$kendo-fab-item-offset-y: k-spacing(2) !default;
|
|
152
152
|
/// The base text color of the FAB item.
|
|
153
153
|
/// @group floating-action-button
|
|
154
154
|
$kendo-fab-item-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/// The space between the FileManager items.
|
|
7
7
|
/// @group filemanager
|
|
8
|
-
$kendo-file-manager-spacer:
|
|
8
|
+
$kendo-file-manager-spacer: k-spacing(4) !default;
|
|
9
9
|
/// The border width of the FileManager.
|
|
10
10
|
/// @group filemanager
|
|
11
11
|
$kendo-file-manager-border-width: 1px !default;
|
|
@@ -65,10 +65,10 @@ $kendo-file-manager-navigation-border: inherit !default;
|
|
|
65
65
|
|
|
66
66
|
/// The horizontal padding of the FileManager Breadcrumb.
|
|
67
67
|
/// @group filemanager
|
|
68
|
-
$kendo-file-manager-breadcrumb-padding-x:
|
|
68
|
+
$kendo-file-manager-breadcrumb-padding-x: k-spacing(2) !default;
|
|
69
69
|
/// The vertical padding of the FileManager Breadcrumb.
|
|
70
70
|
/// @group filemanager
|
|
71
|
-
$kendo-file-manager-breadcrumb-padding-y:
|
|
71
|
+
$kendo-file-manager-breadcrumb-padding-y: k-spacing(2) !default;
|
|
72
72
|
/// The border width of the FileManager Breadcrumb.
|
|
73
73
|
/// @group filemanager
|
|
74
74
|
$kendo-file-manager-breadcrumb-border-width: $kendo-file-manager-border-width !default;
|
|
@@ -94,10 +94,10 @@ $kendo-file-manager-listview-border: inherit !default;
|
|
|
94
94
|
|
|
95
95
|
/// The horizontal padding of the FileManager ListView item.
|
|
96
96
|
/// @group filemanager
|
|
97
|
-
$kendo-file-manager-listview-item-padding-x:
|
|
97
|
+
$kendo-file-manager-listview-item-padding-x: k-spacing(4) !default;
|
|
98
98
|
/// The vertical padding of the FileManager ListView item.
|
|
99
99
|
/// @group filemanager
|
|
100
|
-
$kendo-file-manager-listview-item-padding-y:
|
|
100
|
+
$kendo-file-manager-listview-item-padding-y: k-spacing(4) !default;
|
|
101
101
|
/// The width of the FileManager ListView item.
|
|
102
102
|
/// @group filemanager
|
|
103
103
|
$kendo-file-manager-listview-item-width: 120px !default;
|
|
@@ -160,7 +160,7 @@ $kendo-file-manager-preview-border-width: $kendo-file-manager-border-width !defa
|
|
|
160
160
|
$kendo-file-manager-preview-spacing: $kendo-file-manager-spacer !default;
|
|
161
161
|
/// The gap between the columns in the FileManager preview.
|
|
162
162
|
/// @group filemanager
|
|
163
|
-
$kendo-file-manager-preview-column-gap:
|
|
163
|
+
$kendo-file-manager-preview-column-gap: k-spacing(1) !default;
|
|
164
164
|
/// The background color of the FileManager preview.
|
|
165
165
|
/// @group filemanager
|
|
166
166
|
$kendo-file-manager-preview-bg: transparent !default;
|