@progress/kendo-theme-core 12.3.1-dev.8 → 13.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 +1 -1
- package/dist/meta/sassdoc-data.json +2911 -446
- package/dist/meta/sassdoc-raw-data.json +1143 -2
- package/package.json +2 -2
- package/scss/border-radii/index.scss +0 -8
- package/scss/components/action-sheet/_layout.scss +1 -1
- package/scss/components/appbar/_theme.scss +20 -18
- package/scss/components/appbar/_variables.scss +4 -1
- package/scss/components/avatar/_layout.scss +22 -9
- package/scss/components/avatar/_theme.scss +36 -14
- package/scss/components/avatar/_variables.scss +23 -2
- package/scss/components/badge/_layout.scss +33 -22
- package/scss/components/badge/_theme.scss +36 -16
- package/scss/components/badge/_variables.scss +36 -3
- package/scss/components/bottom-navigation/_theme.scss +45 -40
- package/scss/components/bottom-navigation/_variables.scss +6 -1
- package/scss/components/breadcrumb/_layout.scss +29 -27
- package/scss/components/breadcrumb/_variables.scss +30 -1
- package/scss/components/button/_layout.scss +110 -123
- package/scss/components/button/_theme.scss +298 -242
- package/scss/components/button/_variables.scss +34 -4
- package/scss/components/calendar/_layout.scss +44 -46
- package/scss/components/calendar/_variables.scss +27 -1
- package/scss/components/card/_theme.scss +16 -15
- package/scss/components/card/_variables.scss +5 -1
- package/scss/components/checkbox/_layout.scss +35 -20
- package/scss/components/checkbox/_variables.scss +23 -2
- package/scss/components/chip/_layout.scss +42 -34
- package/scss/components/chip/_theme.scss +125 -113
- package/scss/components/chip/_variables.scss +46 -2
- package/scss/components/coloreditor/_layout.scss +37 -36
- package/scss/components/coloreditor/_variables.scss +37 -1
- package/scss/components/colorgradient/_layout.scss +47 -46
- package/scss/components/colorgradient/_variables.scss +36 -1
- package/scss/components/colorpalette/_layout.scss +15 -13
- package/scss/components/colorpalette/_variables.scss +18 -1
- package/scss/components/column-menu/_layout.scss +31 -20
- package/scss/components/column-menu/_variables.scss +7 -3
- package/scss/components/datetimepicker/_layout.scss +11 -7
- package/scss/components/datetimepicker/_variables.scss +16 -1
- package/scss/components/dialog/_theme.scss +12 -9
- package/scss/components/dialog/_variables.scss +5 -1
- package/scss/components/fab/_layout.scss +22 -12
- package/scss/components/fab/_theme.scss +79 -73
- package/scss/components/fab/_variables.scss +29 -4
- package/scss/components/forms/_layout.scss +8 -4
- package/scss/components/forms/_variables.scss +15 -1
- package/scss/components/gantt/_layout.scss +1 -1
- package/scss/components/grid/_layout.scss +112 -105
- package/scss/components/grid/_variables.scss +43 -4
- package/scss/components/icons/_layout.scss +2 -1
- package/scss/components/icons/_variables.scss +1 -0
- package/scss/components/input/_layout.scss +162 -94
- package/scss/components/input/_theme.scss +431 -418
- package/scss/components/input/_variables.scss +40 -1
- package/scss/components/list/_layout.scss +68 -66
- package/scss/components/list/_variables.scss +72 -1
- package/scss/components/loader/_layout.scss +75 -61
- package/scss/components/loader/_theme.scss +10 -10
- package/scss/components/loader/_variables.scss +7 -1
- package/scss/components/menu/_layout.scss +36 -70
- package/scss/components/menu/_variables.scss +34 -0
- package/scss/components/messagebox/_theme.scss +17 -14
- package/scss/components/messagebox/_variables.scss +6 -1
- package/scss/components/notification/_theme.scss +10 -8
- package/scss/components/notification/_variables.scss +3 -16
- package/scss/components/otp/_layout.scss +16 -13
- package/scss/components/otp/_variables.scss +19 -1
- package/scss/components/overlay/_theme.scss +12 -4
- package/scss/components/overlay/_variables.scss +5 -1
- package/scss/components/pager/_layout.scss +32 -26
- package/scss/components/pager/_variables.scss +24 -1
- package/scss/components/radio/_layout.scss +27 -18
- package/scss/components/radio/_variables.scss +21 -1
- package/scss/components/scheduler/_layout.scss +0 -1
- package/scss/components/signature/_layout.scss +26 -21
- package/scss/components/signature/_variables.scss +19 -1
- package/scss/components/split-button/_layout.scss +8 -2
- package/scss/components/suggestion/_theme.scss +34 -60
- package/scss/components/suggestion/_variables.scss +5 -12
- package/scss/components/switch/_layout.scss +60 -41
- package/scss/components/switch/_variables.scss +38 -1
- package/scss/components/table/_layout.scss +31 -26
- package/scss/components/table/_variables.scss +24 -1
- package/scss/components/tabstrip/_layout.scss +27 -23
- package/scss/components/tabstrip/_variables.scss +23 -1
- package/scss/components/timeselector/_layout.scss +34 -34
- package/scss/components/timeselector/_variables.scss +24 -1
- package/scss/components/toolbar/_layout.scss +63 -65
- package/scss/components/toolbar/_theme.scss +80 -70
- package/scss/components/toolbar/_variables.scss +25 -1
- package/scss/components/tooltip/_variables.scss +0 -14
- package/scss/components/treeview/_layout.scss +29 -26
- package/scss/components/treeview/_variables.scss +30 -1
- package/scss/components/window/_layout.scss +8 -12
- package/scss/components/window/_theme.scss +12 -8
- package/scss/components/window/_variables.scss +15 -3
- package/scss/functions/_default.scss +16 -0
- package/scss/functions/index.scss +1 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// ColorPalette
|
|
2
2
|
|
|
3
|
+
$kendo-color-palette-default-size: null !default;
|
|
4
|
+
|
|
3
5
|
$kendo-color-palette-font-family: null !default;
|
|
4
6
|
$kendo-color-palette-font-size: null !default;
|
|
5
7
|
$kendo-color-palette-line-height: null !default;
|
|
@@ -17,4 +19,19 @@ $kendo-color-palette-tile-focus-shadow: null !default;
|
|
|
17
19
|
$kendo-color-palette-tile-hover-shadow: null !default;
|
|
18
20
|
$kendo-color-palette-tile-selected-shadow: null !default;
|
|
19
21
|
|
|
20
|
-
|
|
22
|
+
/// The size map of the ColorPalette.
|
|
23
|
+
/// @group color-palette
|
|
24
|
+
$kendo-color-palette-sizes: (
|
|
25
|
+
sm: (
|
|
26
|
+
width: $kendo-color-palette-sm-tile-width,
|
|
27
|
+
height: $kendo-color-palette-sm-tile-height
|
|
28
|
+
),
|
|
29
|
+
md: (
|
|
30
|
+
width: $kendo-color-palette-md-tile-width,
|
|
31
|
+
height: $kendo-color-palette-md-tile-height
|
|
32
|
+
),
|
|
33
|
+
lg: (
|
|
34
|
+
width: $kendo-color-palette-lg-tile-width,
|
|
35
|
+
height: $kendo-color-palette-lg-tile-height
|
|
36
|
+
)
|
|
37
|
+
) !default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
+
@use "../../functions/index.scss" as *;
|
|
2
3
|
@use "../../spacing/index.scss" as *;
|
|
3
4
|
@use "../../border-radii/index.scss" as *;
|
|
4
5
|
@use "_variables.scss" as *;
|
|
5
6
|
|
|
6
7
|
@mixin kendo-column-menu--layout-base() {
|
|
7
|
-
.k-column-menu {}
|
|
8
8
|
|
|
9
9
|
// Sizes
|
|
10
10
|
@each $size, $value in $kendo-column-menu-sizes {
|
|
@@ -13,39 +13,50 @@
|
|
|
13
13
|
$_font-size: map.get($value, font-size);
|
|
14
14
|
$_line-height: map.get($value, line-height);
|
|
15
15
|
|
|
16
|
-
.k-column-menu
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
.k-columnmenu-item {
|
|
21
|
-
padding-block: $_padding-y;
|
|
22
|
-
padding-inline: $_padding-x;
|
|
16
|
+
.k-column-menu {
|
|
17
|
+
#{k-when-default($kendo-column-menu-default-size, $size)}
|
|
18
|
+
&.k-column-menu-#{$size} {
|
|
23
19
|
font-size: $_font-size;
|
|
24
20
|
line-height: $_line-height;
|
|
21
|
+
|
|
22
|
+
.k-columnmenu-item {
|
|
23
|
+
padding-block: $_padding-y;
|
|
24
|
+
padding-inline: $_padding-x;
|
|
25
|
+
font-size: $_font-size;
|
|
26
|
+
line-height: $_line-height;
|
|
27
|
+
}
|
|
25
28
|
}
|
|
26
29
|
}
|
|
27
30
|
|
|
28
|
-
.k-column-list
|
|
29
|
-
font-size: $_font-size;
|
|
30
|
-
line-height: $_line-height;
|
|
31
|
+
.k-column-list {
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
padding-inline: $_padding-x;
|
|
33
|
+
#{k-when-default($kendo-column-menu-default-size, $size)}
|
|
34
|
+
&.k-column-list-#{$size} {
|
|
35
35
|
font-size: $_font-size;
|
|
36
36
|
line-height: $_line-height;
|
|
37
|
+
|
|
38
|
+
.k-column-list-item {
|
|
39
|
+
padding-block: $_padding-y;
|
|
40
|
+
padding-inline: $_padding-x;
|
|
41
|
+
font-size: $_font-size;
|
|
42
|
+
line-height: $_line-height;
|
|
43
|
+
}
|
|
37
44
|
}
|
|
38
45
|
}
|
|
39
46
|
|
|
40
|
-
.k-group-menu
|
|
41
|
-
font-size: $_font-size;
|
|
42
|
-
line-height: $_line-height;
|
|
47
|
+
.k-group-menu {
|
|
43
48
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
padding-inline: $_padding-x;
|
|
49
|
+
#{k-when-default($kendo-column-menu-default-size, $size)}
|
|
50
|
+
&.k-group-menu-#{$size} {
|
|
47
51
|
font-size: $_font-size;
|
|
48
52
|
line-height: $_line-height;
|
|
53
|
+
|
|
54
|
+
.k-group-menu-item {
|
|
55
|
+
padding-block: $_padding-y;
|
|
56
|
+
padding-inline: $_padding-x;
|
|
57
|
+
font-size: $_font-size;
|
|
58
|
+
line-height: $_line-height;
|
|
59
|
+
}
|
|
49
60
|
}
|
|
50
61
|
}
|
|
51
62
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
$kendo-column-menu-default-size: null !default;
|
|
2
|
+
|
|
1
3
|
$kendo-column-menu-item-sm-padding-x: null !default;
|
|
2
4
|
$kendo-column-menu-item-sm-padding-y: null !default;
|
|
3
5
|
|
|
@@ -19,23 +21,25 @@ $kendo-column-menu-lg-line-height: null !default;
|
|
|
19
21
|
|
|
20
22
|
$kendo-column-menu-font-family: null !default;
|
|
21
23
|
|
|
24
|
+
/// The sizes map for the ColumnMenu.
|
|
25
|
+
/// @group column-menu
|
|
22
26
|
$kendo-column-menu-sizes: (
|
|
23
27
|
sm: (
|
|
24
28
|
padding-x: $kendo-column-menu-item-sm-padding-x,
|
|
25
29
|
padding-y: $kendo-column-menu-item-sm-padding-y,
|
|
26
|
-
font-size: $kendo-column-menu-
|
|
30
|
+
font-size: $kendo-column-menu-sm-font-size,
|
|
27
31
|
line-height: $kendo-column-menu-sm-line-height
|
|
28
32
|
),
|
|
29
33
|
md: (
|
|
30
34
|
padding-x: $kendo-column-menu-item-md-padding-x,
|
|
31
35
|
padding-y: $kendo-column-menu-item-md-padding-y,
|
|
32
|
-
font-size: $kendo-column-menu-
|
|
36
|
+
font-size: $kendo-column-menu-md-font-size,
|
|
33
37
|
line-height: $kendo-column-menu-md-line-height
|
|
34
38
|
),
|
|
35
39
|
lg: (
|
|
36
40
|
padding-x: $kendo-column-menu-item-lg-padding-x,
|
|
37
41
|
padding-y: $kendo-column-menu-item-lg-padding-y,
|
|
38
|
-
font-size: $kendo-column-menu-
|
|
42
|
+
font-size: $kendo-column-menu-lg-font-size,
|
|
39
43
|
line-height: $kendo-column-menu-lg-line-height
|
|
40
44
|
)
|
|
41
45
|
) !default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "./variables.scss" as *;
|
|
3
3
|
@use "../../motion/index.scss" as *;
|
|
4
|
+
@use "../../functions/index.scss" as *;
|
|
4
5
|
@use "../action-buttons/_variables.scss" as *;
|
|
5
6
|
|
|
6
7
|
@mixin kendo-date-time-picker--layout-base() {
|
|
@@ -40,15 +41,18 @@
|
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
// Sizes
|
|
43
|
-
|
|
44
|
-
$
|
|
44
|
+
.k-datetime-wrap {
|
|
45
|
+
@each $size, $size-props in $kendo-datetime-sizes {
|
|
46
|
+
$_width: map.get($size-props, width);
|
|
45
47
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
#{k-when-default($kendo-datetime-default-size, $size)}
|
|
49
|
+
&.k-datetime-wrap-#{$size} {
|
|
50
|
+
width: $_width;
|
|
48
51
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
+
.k-datetime-calendar-wrap,
|
|
53
|
+
.k-datetime-time-wrap {
|
|
54
|
+
flex: 0 0 $_width;
|
|
55
|
+
}
|
|
52
56
|
}
|
|
53
57
|
}
|
|
54
58
|
}
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
// DateTime
|
|
2
|
+
$kendo-datetime-default-size: null !default;
|
|
3
|
+
|
|
2
4
|
$kendo-datetime-width: null !default;
|
|
3
5
|
$kendo-datetime-sm-width: null !default;
|
|
4
6
|
$kendo-datetime-md-width: null !default;
|
|
5
7
|
$kendo-datetime-lg-width: null !default;
|
|
6
|
-
|
|
8
|
+
|
|
9
|
+
/// The sizes map of the DateTimePicker.
|
|
10
|
+
/// @group date-time-picker
|
|
11
|
+
$kendo-datetime-sizes: (
|
|
12
|
+
sm: (
|
|
13
|
+
width: $kendo-datetime-sm-width
|
|
14
|
+
),
|
|
15
|
+
md: (
|
|
16
|
+
width: $kendo-datetime-md-width
|
|
17
|
+
),
|
|
18
|
+
lg: (
|
|
19
|
+
width: $kendo-datetime-lg-width
|
|
20
|
+
)
|
|
21
|
+
) !default;
|
|
@@ -7,6 +7,18 @@
|
|
|
7
7
|
@mixin kendo-dialog--theme-base() {
|
|
8
8
|
.k-dialog {
|
|
9
9
|
background-color: $kendo-dialog-bg;
|
|
10
|
+
|
|
11
|
+
// Dialog theme colors
|
|
12
|
+
@each $name in $kendo-dialog-theme-colors {
|
|
13
|
+
|
|
14
|
+
#{k-when-default($kendo-dialog-default-theme-color, $name)}
|
|
15
|
+
&.k-dialog-#{$name} {
|
|
16
|
+
.k-dialog-titlebar {
|
|
17
|
+
color: k-color(on-#{$name});
|
|
18
|
+
background-color: k-color(#{$name});
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
10
22
|
}
|
|
11
23
|
|
|
12
24
|
// Dialog titlebar
|
|
@@ -17,13 +29,4 @@
|
|
|
17
29
|
$kendo-dialog-titlebar-border
|
|
18
30
|
);
|
|
19
31
|
}
|
|
20
|
-
|
|
21
|
-
// Dialog theme colors
|
|
22
|
-
@each $name, $color in $kendo-dialog-theme-colors {
|
|
23
|
-
.k-dialog-#{$name} .k-dialog-titlebar {
|
|
24
|
-
color: k-color(on-#{$name});
|
|
25
|
-
background-color: $color;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
32
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// Dialog
|
|
2
2
|
|
|
3
|
+
$kendo-dialog-default-theme-color: null !default;
|
|
4
|
+
|
|
3
5
|
$kendo-dialog-titlebar-bg: null !default;
|
|
4
6
|
$kendo-dialog-titlebar-text: null !default;
|
|
5
7
|
$kendo-dialog-titlebar-border: null !default;
|
|
@@ -11,4 +13,6 @@ $kendo-dialog-button-spacing: null !default;
|
|
|
11
13
|
|
|
12
14
|
$kendo-dialog-bg: null !default;
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
/// The theme colors map of the Dialog.
|
|
17
|
+
/// @group dialog
|
|
18
|
+
$kendo-dialog-theme-colors: ("primary", "light", "dark") !default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "./variables.scss" as *;
|
|
3
|
+
@use "../../functions/index.scss" as *;
|
|
4
|
+
@use "../../border-radii/index.scss" as *;
|
|
3
5
|
@use "../../spacing/index.scss" as *;
|
|
4
6
|
@use "../../motion/index.scss" as *;
|
|
5
7
|
|
|
@@ -7,7 +9,6 @@
|
|
|
7
9
|
|
|
8
10
|
// Floating Action Button (FAB)
|
|
9
11
|
.k-fab {
|
|
10
|
-
padding: 0;
|
|
11
12
|
border-width: 0;
|
|
12
13
|
border-style: solid;
|
|
13
14
|
border-color: transparent;
|
|
@@ -38,6 +39,26 @@
|
|
|
38
39
|
&:focus {
|
|
39
40
|
outline: none;
|
|
40
41
|
}
|
|
42
|
+
|
|
43
|
+
// Roundness
|
|
44
|
+
@each $roundness in $kendo-fab-roundness {
|
|
45
|
+
#{k-when-default($kendo-fab-default-roundness, $roundness)}
|
|
46
|
+
&.k-rounded-#{$roundness} {
|
|
47
|
+
border-radius: k-border-radius($roundness);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Sizes
|
|
52
|
+
@each $size, $size-props in $kendo-fab-sizes {
|
|
53
|
+
$_padding-x: map.get( $size-props, padding-x );
|
|
54
|
+
$_padding-y: map.get( $size-props, padding-y );
|
|
55
|
+
|
|
56
|
+
#{k-when-default($kendo-fab-default-size, $size)}
|
|
57
|
+
&.k-fab-#{$size} {
|
|
58
|
+
padding: $_padding-y $_padding-x;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
}
|
|
41
62
|
}
|
|
42
63
|
|
|
43
64
|
// FAB Icon
|
|
@@ -53,17 +74,6 @@
|
|
|
53
74
|
margin-inline-start: calc( #{$kendo-fab-icon-spacing} * -1 );
|
|
54
75
|
}
|
|
55
76
|
|
|
56
|
-
// Sizes
|
|
57
|
-
@each $size, $size-props in $kendo-fab-sizes {
|
|
58
|
-
$_padding-x: map.get( $size-props, padding-x );
|
|
59
|
-
$_padding-y: map.get( $size-props, padding-y );
|
|
60
|
-
|
|
61
|
-
.k-fab-#{$size} {
|
|
62
|
-
padding: $_padding-y $_padding-x;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
77
|
// Items
|
|
68
78
|
.k-fab-items {
|
|
69
79
|
margin: 0;
|
|
@@ -6,82 +6,88 @@
|
|
|
6
6
|
|
|
7
7
|
@mixin kendo-fab--theme-base() {
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
9
|
+
.k-fab {
|
|
10
|
+
// Fillmode: solid
|
|
11
|
+
#{k-when-default($kendo-fab-default-fill-mode, "solid")}
|
|
12
|
+
&.k-fab-solid {
|
|
13
|
+
|
|
14
|
+
// Theme colors
|
|
15
|
+
@each $name in $kendo-fab-theme-colors {
|
|
16
|
+
|
|
17
|
+
// Normal state
|
|
18
|
+
#{k-when-default($kendo-fab-default-theme-color, $name)}
|
|
19
|
+
&.k-fab-#{$name} {
|
|
20
|
+
@include box-shadow($kendo-fab-shadow);
|
|
21
|
+
outline: $kendo-fab-border-width $kendo-fab-outline-style k-color($name);
|
|
22
|
+
outline-offset: calc(#{$kendo-fab-border-width} * -1);
|
|
23
|
+
border-color: k-color($name);
|
|
24
|
+
color: k-color(on-#{$name});
|
|
25
|
+
background-color: k-color($name);
|
|
26
|
+
|
|
27
|
+
// Hover state
|
|
28
|
+
&.k-hover,
|
|
29
|
+
&:hover {
|
|
30
|
+
border-color: k-color(#{$name}-hover);
|
|
31
|
+
background-color: k-color(#{$name}-hover);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Focus state
|
|
35
|
+
&.k-focus,
|
|
36
|
+
&:focus {
|
|
37
|
+
@if $kendo-enable-focus-contrast {
|
|
38
|
+
@include box-shadow( inset 0 0 0 2px currentColor );
|
|
39
|
+
} @else {
|
|
40
|
+
outline: $kendo-fab-outline-style $kendo-fab-outline-width color-mix(in srgb, k-color($name) 30%, transparent);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Active state
|
|
45
|
+
&.k-active,
|
|
46
|
+
&.k-selected,
|
|
47
|
+
&:active {
|
|
48
|
+
@include box-shadow($kendo-fab-active-shadow);
|
|
49
|
+
border-color: k-color(#{$name}-active);
|
|
50
|
+
background-color: k-color(#{$name}-active);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Disabled state
|
|
54
|
+
&.k-disabled,
|
|
55
|
+
&:disabled {
|
|
56
|
+
@include box-shadow($kendo-fab-disabled-shadow);
|
|
57
|
+
background-color: color-mix(in srgb, k-color($name) 60%, transparent);
|
|
58
|
+
color: color-mix(in srgb, k-color(on-#{$name}) 60%, transparent);
|
|
59
|
+
opacity: 1;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
38
62
|
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// Active state
|
|
43
|
-
@each $name, $color in $kendo-fab-theme-colors {
|
|
44
|
-
.k-active.k-fab-solid-#{$name},
|
|
45
|
-
.k-selected.k-fab-solid-#{$name},
|
|
46
|
-
.k-fab-solid-#{$name}:active {
|
|
47
|
-
@include box-shadow($kendo-fab-active-shadow);
|
|
48
|
-
border-color: k-color(#{$name}-active);
|
|
49
|
-
background-color: k-color(#{$name}-active);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
63
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
// Generating state
|
|
65
|
+
#{k-when-default($kendo-fab-default-theme-color, "primary")}
|
|
66
|
+
&.k-fab-primary{
|
|
67
|
+
|
|
68
|
+
&.k-generating {
|
|
69
|
+
|
|
70
|
+
animation: k-fab-generating 1.5s ease-in-out 0.5s infinite;
|
|
71
|
+
|
|
72
|
+
@keyframes k-fab-generating {
|
|
73
|
+
0% {
|
|
74
|
+
background-color: k-color(primary-active);
|
|
75
|
+
border: k-color(primary-active);
|
|
76
|
+
outline-color: k-color(primary-active);
|
|
77
|
+
}
|
|
78
|
+
50% {
|
|
79
|
+
background-color: color-mix(in srgb, k-color(primary-active) $kendo-fab-generating-opacity, k-color(surface-alt));
|
|
80
|
+
border: color-mix(in srgb, k-color(primary-active) $kendo-fab-generating-opacity, k-color(surface-alt));
|
|
81
|
+
outline-color: color-mix(in srgb, k-color(primary-active) $kendo-fab-generating-opacity, k-color(surface-alt));
|
|
82
|
+
}
|
|
83
|
+
100% {
|
|
84
|
+
background-color: k-color(primary-active);
|
|
85
|
+
border: k-color(primary-active);
|
|
86
|
+
outline-color: k-color(primary-active);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
68
90
|
}
|
|
69
|
-
100% {
|
|
70
|
-
background-color: k-color(primary-active);
|
|
71
|
-
border: k-color(primary-active);
|
|
72
|
-
outline-color: k-color(primary-active);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// Disabled state
|
|
78
|
-
@each $name, $color in $kendo-fab-theme-colors {
|
|
79
|
-
.k-disabled.k-fab-solid-#{$name},
|
|
80
|
-
.k-fab-solid-#{$name}:disabled {
|
|
81
|
-
@include box-shadow($kendo-fab-disabled-shadow);
|
|
82
|
-
background-color: color-mix(in srgb, k-color($name) 60%, transparent);
|
|
83
|
-
color: color-mix(in srgb, k-color(on-#{$name}) 60%, transparent);
|
|
84
|
-
opacity: 1;
|
|
85
91
|
}
|
|
86
92
|
}
|
|
87
93
|
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
// Floating Action Button
|
|
2
2
|
|
|
3
|
+
$kendo-fab-default-theme-color: null !default;
|
|
4
|
+
$kendo-fab-default-fill-mode: null !default;
|
|
5
|
+
$kendo-fab-default-roundness: null !default;
|
|
6
|
+
$kendo-fab-default-size: null !default;
|
|
7
|
+
|
|
3
8
|
$kendo-fab-border-width: null !default;
|
|
4
9
|
|
|
5
10
|
$kendo-fab-font-family: null !default;
|
|
@@ -33,10 +38,6 @@ $kendo-fab-item-icon-padding-y: null !default;
|
|
|
33
38
|
$kendo-fab-item-icon-border-width: null !default;
|
|
34
39
|
$kendo-fab-item-icon-border-radius: null !default;
|
|
35
40
|
|
|
36
|
-
$kendo-fab-theme-colors: null !default;
|
|
37
|
-
|
|
38
|
-
$kendo-fab-sizes: null !default;
|
|
39
|
-
|
|
40
41
|
$kendo-fab-shadow: null !default;
|
|
41
42
|
$kendo-fab-disabled-shadow: null !default;
|
|
42
43
|
$kendo-fab-active-shadow: null !default;
|
|
@@ -59,3 +60,27 @@ $kendo-fab-item-outline-width: null !default;
|
|
|
59
60
|
$kendo-fab-item-outline-color: null !default;
|
|
60
61
|
|
|
61
62
|
$kendo-fab-generating-opacity: null !default;
|
|
63
|
+
|
|
64
|
+
$kendo-fab-roundness: ( "none", "sm", "md", "lg", "full" ) !default;
|
|
65
|
+
|
|
66
|
+
/// The theme colors map of the FloatingActionButton.
|
|
67
|
+
/// @group floating-action-button
|
|
68
|
+
$kendo-fab-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse") !default;
|
|
69
|
+
|
|
70
|
+
/// The sizes map of the FloatingActionButton.
|
|
71
|
+
/// @group floating-action-button
|
|
72
|
+
$kendo-fab-sizes: (
|
|
73
|
+
sm: (
|
|
74
|
+
padding-x: $kendo-fab-sm-padding-x,
|
|
75
|
+
padding-y: $kendo-fab-sm-padding-y
|
|
76
|
+
),
|
|
77
|
+
md: (
|
|
78
|
+
padding-x: $kendo-fab-md-padding-x,
|
|
79
|
+
padding-y: $kendo-fab-md-padding-y
|
|
80
|
+
),
|
|
81
|
+
lg: (
|
|
82
|
+
padding-x: $kendo-fab-lg-padding-x,
|
|
83
|
+
padding-y: $kendo-fab-lg-padding-y
|
|
84
|
+
)
|
|
85
|
+
) !default;
|
|
86
|
+
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../../mixins/index.scss" as *;
|
|
3
|
+
@use "../../functions/index.scss" as *;
|
|
3
4
|
@use "../../spacing/index.scss" as *;
|
|
4
5
|
@use "../../_variables.scss" as *;
|
|
5
6
|
@use "./_variables.scss" as *;
|
|
@@ -213,10 +214,13 @@
|
|
|
213
214
|
@each $size, $size-props in $kendo-form-sizes {
|
|
214
215
|
$_form-rows-spacing: map.get($size-props, form-rows-spacing);
|
|
215
216
|
|
|
216
|
-
.k-form
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
217
|
+
.k-form {
|
|
218
|
+
#{k-when-default($kendo-form-default-size, $size)}
|
|
219
|
+
&.k-form-#{$size} {
|
|
220
|
+
.k-form-field,
|
|
221
|
+
.k-form-buttons {
|
|
222
|
+
margin-block-start: $_form-rows-spacing;
|
|
223
|
+
}
|
|
220
224
|
}
|
|
221
225
|
}
|
|
222
226
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// Forms
|
|
2
2
|
|
|
3
|
+
$kendo-form-default-size: null !default;
|
|
4
|
+
|
|
3
5
|
$kendo-form-spacer: null !default;
|
|
4
6
|
|
|
5
7
|
$kendo-form-font-size: null !default;
|
|
@@ -59,5 +61,17 @@ $kendo-form-field-info-margin: null !default;
|
|
|
59
61
|
|
|
60
62
|
$kendo-fieldset-legend-text: null !default;
|
|
61
63
|
|
|
62
|
-
|
|
64
|
+
/// The sizes map of the Form.
|
|
65
|
+
/// @group form
|
|
66
|
+
$kendo-form-sizes: (
|
|
67
|
+
sm: (
|
|
68
|
+
form-rows-spacing: $kendo-form-sm-rows-spacing
|
|
69
|
+
),
|
|
70
|
+
md: (
|
|
71
|
+
form-rows-spacing: $kendo-form-md-rows-spacing
|
|
72
|
+
),
|
|
73
|
+
lg: (
|
|
74
|
+
form-rows-spacing: $kendo-form-lg-rows-spacing
|
|
75
|
+
)
|
|
76
|
+
) !default;
|
|
63
77
|
|