@progress/kendo-theme-core 13.2.0-dev.3 → 13.2.0-dev.4
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 +44 -566
- package/dist/meta/sassdoc-raw-data.json +21 -253
- package/dist/meta/variables.json +2 -42
- package/package.json +2 -2
- package/scss/color-system/_swatch.scss +0 -56
- package/scss/components/appbar/_theme.scss +1 -6
- package/scss/components/appbar/_variables.scss +1 -7
- package/scss/components/avatar/_variables.scss +1 -1
- package/scss/components/badge/_variables.scss +1 -1
- package/scss/components/bottom-navigation/_variables.scss +1 -1
- package/scss/components/button/_variables.scss +1 -1
- package/scss/components/card/_theme.scss +0 -15
- package/scss/components/card/_variables.scss +0 -6
- package/scss/components/dialog/_theme.scss +0 -12
- package/scss/components/dialog/_variables.scss +0 -6
- package/scss/components/fab/_variables.scss +1 -1
- package/scss/components/listbox/_layout.scss +1 -0
- package/scss/components/loader/_layout.scss +9 -6
- package/scss/components/loader/_variables.scss +1 -1
- package/scss/components/messagebox/_theme.scss +5 -13
- package/scss/components/messagebox/_variables.scss +1 -1
- package/scss/components/overlay/_theme.scss +0 -17
- package/scss/components/overlay/_variables.scss +0 -5
- package/scss/components/suggestion/_layout.scss +6 -1
- package/scss/components/suggestion/_variables.scss +1 -1
- package/scss/components/window/_theme.scss +0 -12
- package/scss/components/window/_variables.scss +0 -5
|
@@ -16,12 +16,7 @@
|
|
|
16
16
|
@if $name == "inherit" {
|
|
17
17
|
color: inherit;
|
|
18
18
|
background-color: inherit;
|
|
19
|
-
|
|
20
|
-
color: $kendo-appbar-dark-text;
|
|
21
|
-
background-color: $kendo-appbar-dark-bg;
|
|
22
|
-
} @else if $name == "light" {
|
|
23
|
-
color: $kendo-appbar-light-text;
|
|
24
|
-
background-color: $kendo-appbar-light-bg;
|
|
19
|
+
|
|
25
20
|
} @else {
|
|
26
21
|
color: k-color(on-#{$name});
|
|
27
22
|
background-color: k-color(#{$name});
|
|
@@ -15,15 +15,9 @@ $kendo-appbar-line-height: null !default;
|
|
|
15
15
|
|
|
16
16
|
$kendo-appbar-gap: null !default;
|
|
17
17
|
|
|
18
|
-
$kendo-appbar-light-bg: null !default;
|
|
19
|
-
$kendo-appbar-light-text: null !default;
|
|
20
|
-
|
|
21
|
-
$kendo-appbar-dark-bg: null !default;
|
|
22
|
-
$kendo-appbar-dark-text: null !default;
|
|
23
|
-
|
|
24
18
|
$kendo-appbar-box-shadow: null !default;
|
|
25
19
|
$kendo-appbar-bottom-box-shadow: null !default;
|
|
26
20
|
|
|
27
21
|
/// The theme colors map of the AppBar.
|
|
28
22
|
/// @group appbar
|
|
29
|
-
$kendo-appbar-theme-colors: ("
|
|
23
|
+
$kendo-appbar-theme-colors: ("base", "primary", "secondary", "tertiary", "inverse") !default;
|
|
@@ -31,4 +31,4 @@ $kendo-avatar-sizes: (
|
|
|
31
31
|
|
|
32
32
|
/// The theme colors map of the Avatar.
|
|
33
33
|
/// @group avatar
|
|
34
|
-
$kendo-avatar-theme-colors: ("base", "primary", "secondary", "tertiary"
|
|
34
|
+
$kendo-avatar-theme-colors: ("base", "primary", "secondary", "tertiary") !default;
|
|
@@ -60,4 +60,4 @@ $kendo-badge-roundness: ( "none", "sm", "md", "lg", "full" ) !default;
|
|
|
60
60
|
|
|
61
61
|
/// The theme colors map of the Badge.
|
|
62
62
|
/// @group badge
|
|
63
|
-
$kendo-badge-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error"
|
|
63
|
+
$kendo-badge-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error") !default;
|
|
@@ -30,4 +30,4 @@ $kendo-bottom-nav-flat-border: null !default;
|
|
|
30
30
|
|
|
31
31
|
/// The theme colors map of the BottomNavigation.
|
|
32
32
|
/// @group bottom-navigation
|
|
33
|
-
$kendo-bottom-navigation-theme-colors: ("
|
|
33
|
+
$kendo-bottom-navigation-theme-colors: ("base", "primary", "secondary", "tertiary", "inverse") !default;
|
|
@@ -113,7 +113,7 @@ $kendo-button-roundness: ("none", "sm", "md", "lg", "full") !default;
|
|
|
113
113
|
|
|
114
114
|
/// The theme colors map of the Button.
|
|
115
115
|
/// @group button
|
|
116
|
-
$kendo-button-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "
|
|
116
|
+
$kendo-button-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "inverse") !default;
|
|
117
117
|
|
|
118
118
|
/// The sizes map of the Button.
|
|
119
119
|
/// @group button
|
|
@@ -34,21 +34,6 @@
|
|
|
34
34
|
@include box-shadow( $kendo-card-focus-shadow );
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
// Card theme colors
|
|
39
|
-
@each $name in $kendo-card-theme-colors {
|
|
40
|
-
#{k-when-default($kendo-card-default-theme-color, $name)}
|
|
41
|
-
&.k-card-#{$name} {
|
|
42
|
-
background-color: k-color(#{$name}-subtle);
|
|
43
|
-
color: k-color(#{$name}-on-subtle);
|
|
44
|
-
border-color: k-color(#{$name}-emphasis);
|
|
45
|
-
|
|
46
|
-
.k-card-subtitle {
|
|
47
|
-
color: inherit;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
37
|
}
|
|
53
38
|
|
|
54
39
|
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
// Card
|
|
2
2
|
|
|
3
|
-
$kendo-card-default-theme-color: null !default;
|
|
4
|
-
|
|
5
3
|
$kendo-card-padding-x: null !default;
|
|
6
4
|
$kendo-card-padding-y: null !default;
|
|
7
5
|
$kendo-card-border-width: null !default;
|
|
@@ -71,7 +69,3 @@ $kendo-card-deck-scroll-button-offset: null !default;
|
|
|
71
69
|
|
|
72
70
|
$kendo-card-callout-width: null !default;
|
|
73
71
|
$kendo-card-callout-height: null !default;
|
|
74
|
-
|
|
75
|
-
/// The theme colors map of the Card.
|
|
76
|
-
/// @group card
|
|
77
|
-
$kendo-card-theme-colors: ("primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse") !default;
|
|
@@ -7,18 +7,6 @@
|
|
|
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
|
-
}
|
|
22
10
|
}
|
|
23
11
|
|
|
24
12
|
// Dialog titlebar
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
// Dialog
|
|
2
2
|
|
|
3
|
-
$kendo-dialog-default-theme-color: null !default;
|
|
4
|
-
|
|
5
3
|
$kendo-dialog-titlebar-bg: null !default;
|
|
6
4
|
$kendo-dialog-titlebar-text: null !default;
|
|
7
5
|
$kendo-dialog-titlebar-border: null !default;
|
|
@@ -12,7 +10,3 @@ $kendo-dialog-buttongroup-border-width: null !default;
|
|
|
12
10
|
$kendo-dialog-button-spacing: null !default;
|
|
13
11
|
|
|
14
12
|
$kendo-dialog-bg: null !default;
|
|
15
|
-
|
|
16
|
-
/// The theme colors map of the Dialog.
|
|
17
|
-
/// @group dialog
|
|
18
|
-
$kendo-dialog-theme-colors: ("primary", "light", "dark") !default;
|
|
@@ -65,7 +65,7 @@ $kendo-fab-roundness: ( "none", "sm", "md", "lg", "full" ) !default;
|
|
|
65
65
|
|
|
66
66
|
/// The theme colors map of the FloatingActionButton.
|
|
67
67
|
/// @group floating-action-button
|
|
68
|
-
$kendo-fab-theme-colors: ("base", "primary", "secondary", "tertiary"
|
|
68
|
+
$kendo-fab-theme-colors: ("base", "primary", "secondary", "tertiary") !default;
|
|
69
69
|
|
|
70
70
|
/// The sizes map of the FloatingActionButton.
|
|
71
71
|
/// @group floating-action-button
|
|
@@ -420,8 +420,7 @@
|
|
|
420
420
|
|
|
421
421
|
}
|
|
422
422
|
|
|
423
|
-
.k-loader-container
|
|
424
|
-
.k-loader-container-overlay {
|
|
423
|
+
.k-loader-container {
|
|
425
424
|
width: 100%;
|
|
426
425
|
height: 100%;
|
|
427
426
|
position: absolute;
|
|
@@ -431,10 +430,6 @@
|
|
|
431
430
|
inset-inline-start: 0;
|
|
432
431
|
}
|
|
433
432
|
|
|
434
|
-
// TODO: use k-overlay as a base class in rendering
|
|
435
|
-
.k-loader-container-overlay {
|
|
436
|
-
opacity: $kendo-overlay-opacity;
|
|
437
|
-
}
|
|
438
433
|
|
|
439
434
|
.k-loader-container-inner {
|
|
440
435
|
display: flex;
|
|
@@ -443,6 +438,14 @@
|
|
|
443
438
|
z-index: k-z-index("base", 2);
|
|
444
439
|
}
|
|
445
440
|
|
|
441
|
+
.k-loader-container-overlay {
|
|
442
|
+
position: absolute;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.k-loader-container-overlay + .k-loader-container-inner {
|
|
446
|
+
z-index: k-z-index("overlay");
|
|
447
|
+
}
|
|
448
|
+
|
|
446
449
|
.k-loader-container-panel {
|
|
447
450
|
border-width: $kendo-loader-container-panel-border-width;
|
|
448
451
|
border-style: $kendo-loader-container-panel-border-style;
|
|
@@ -56,4 +56,4 @@ $kendo-zindex-loading: null !default;
|
|
|
56
56
|
|
|
57
57
|
/// The theme colors map of the Loader.
|
|
58
58
|
/// @group loader
|
|
59
|
-
$kendo-loader-theme-colors: ("base", "primary", "secondary", "tertiary"
|
|
59
|
+
$kendo-loader-theme-colors: ("base", "primary", "secondary", "tertiary") !default;
|
|
@@ -11,19 +11,11 @@
|
|
|
11
11
|
.k-messagebox {
|
|
12
12
|
#{k-when-default($kendo-message-box-default-theme-color, $color-name)}
|
|
13
13
|
&.k-messagebox-#{$color-name} {
|
|
14
|
-
@
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
);
|
|
20
|
-
} @else {
|
|
21
|
-
@include fill(
|
|
22
|
-
k-color(#{$color-name}-on-subtle),
|
|
23
|
-
k-color(#{$color-name}-subtle),
|
|
24
|
-
k-color(#{$color-name}-emphasis)
|
|
25
|
-
);
|
|
26
|
-
}
|
|
14
|
+
@include fill(
|
|
15
|
+
k-color(#{$color-name}-on-subtle),
|
|
16
|
+
k-color(#{$color-name}-subtle),
|
|
17
|
+
k-color(#{$color-name}-emphasis)
|
|
18
|
+
);
|
|
27
19
|
}
|
|
28
20
|
}
|
|
29
21
|
}
|
|
@@ -19,4 +19,4 @@ $kendo-message-box-link-text-decoration: null !default;
|
|
|
19
19
|
|
|
20
20
|
/// The theme colors map of the MessageBox.
|
|
21
21
|
/// @group message-box
|
|
22
|
-
$kendo-message-box-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "
|
|
22
|
+
$kendo-message-box-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "inverse") !default;
|
|
@@ -1,25 +1,8 @@
|
|
|
1
|
-
@use "../../color-system/_functions.scss" as *;
|
|
2
|
-
@use "../../functions/default.scss" as *;
|
|
3
1
|
@use "./_variables.scss" as *;
|
|
4
2
|
|
|
5
3
|
@mixin kendo-overlay--theme-base() {
|
|
6
4
|
// Overlay
|
|
7
5
|
.k-overlay {
|
|
8
|
-
@each $name in $kendo-overlay-theme-colors {
|
|
9
|
-
#{k-when-default($kendo-overlay-default-theme-color, $name)}
|
|
10
|
-
&.k-overlay-#{$name} {
|
|
11
|
-
background-color: k-color(#{$name});
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
6
|
background-color: $kendo-overlay-bg;
|
|
16
7
|
}
|
|
17
|
-
|
|
18
|
-
// Where single k-overlay-{color} is used as a theme element
|
|
19
|
-
@each $name in $kendo-overlay-theme-colors {
|
|
20
|
-
.k-overlay-#{$name} {
|
|
21
|
-
background-color: k-color(#{$name});
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
8
|
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
.k-suggestion-group {
|
|
18
18
|
padding-block: calc( #{$kendo-suggestion-padding-y} / 2 );
|
|
19
|
+
margin-inline: calc( #{$kendo-suggestion-padding-y} / -2 );
|
|
19
20
|
display: flex;
|
|
20
21
|
flex: 1;
|
|
21
22
|
flex-wrap: wrap;
|
|
@@ -27,8 +28,12 @@
|
|
|
27
28
|
flex-wrap: nowrap;
|
|
28
29
|
}
|
|
29
30
|
|
|
31
|
+
&:not(:has(.k-suggestions-scroll)) {
|
|
32
|
+
padding-inline: calc( #{$kendo-suggestion-padding-y} / 2 );
|
|
33
|
+
}
|
|
34
|
+
|
|
30
35
|
.k-suggestions-scroll {
|
|
31
|
-
padding
|
|
36
|
+
padding: calc( #{$kendo-suggestion-padding-y} / 2 );
|
|
32
37
|
margin-block: calc( #{$kendo-suggestion-padding-y} / -2 );
|
|
33
38
|
display: flex;
|
|
34
39
|
overflow-x: auto;
|
|
@@ -15,7 +15,7 @@ $kendo-suggestion-focus-shadow-color: null !default;
|
|
|
15
15
|
|
|
16
16
|
/// The theme colors map of the Suggestion.
|
|
17
17
|
/// @group suggestion
|
|
18
|
-
$kendo-suggestion-theme-colors: ("base", "primary", "secondary") !default;
|
|
18
|
+
$kendo-suggestion-theme-colors: ("base", "primary", "secondary", "tertiary") !default;
|
|
19
19
|
|
|
20
20
|
$kendo-suggestion-default-theme-color: null !default;
|
|
21
21
|
|
|
@@ -14,18 +14,6 @@
|
|
|
14
14
|
$kendo-window-border
|
|
15
15
|
);
|
|
16
16
|
@include box-shadow( $kendo-window-shadow );
|
|
17
|
-
|
|
18
|
-
// Window theme colors
|
|
19
|
-
@each $name in $kendo-window-theme-colors {
|
|
20
|
-
|
|
21
|
-
#{k-when-default($kendo-window-default-theme-color, $name)}
|
|
22
|
-
&.k-window-#{$name} {
|
|
23
|
-
.k-window-titlebar {
|
|
24
|
-
color: k-color(on-#{$name});
|
|
25
|
-
background-color: k-color(#{$name});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
17
|
}
|
|
30
18
|
|
|
31
19
|
.k-window:focus,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// Window
|
|
2
2
|
|
|
3
|
-
$kendo-window-default-theme-color: null !default;
|
|
4
3
|
$kendo-window-default-size: null !default;
|
|
5
4
|
|
|
6
5
|
$kendo-window-border-width: null !default;
|
|
@@ -47,7 +46,3 @@ $kendo-window-sizes: (
|
|
|
47
46
|
md: 800px,
|
|
48
47
|
lg: 1200px
|
|
49
48
|
) !default;
|
|
50
|
-
|
|
51
|
-
/// The theme colors map of the Window.
|
|
52
|
-
/// @group window
|
|
53
|
-
$kendo-window-theme-colors: ("primary", "light", "dark") !default;
|