@progress/kendo-theme-bootstrap 5.0.0-beta.5 → 5.0.0-beta.6
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 +4351 -4176
- package/dist/all.scss +1260 -1087
- package/package.json +3 -3
- package/scss/chip/_variables.scss +31 -16
- package/scss/input/_variables.scss +28 -4
- package/scss/menu/_variables.scss +1 -1
- package/scss/pivotgrid/_theme.scss +0 -115
- package/scss/switch/_variables.scss +3 -6
- package/scss/toolbar/_index.scss +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-bootstrap",
|
|
3
3
|
"description": "Bootstrap theme for Kendo UI",
|
|
4
|
-
"version": "5.0.0-beta.
|
|
4
|
+
"version": "5.0.0-beta.6",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"postpublish": "echo 'no postpublish for bootstrap theme'"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@progress/kendo-theme-default": "^5.0.0-beta.
|
|
52
|
+
"@progress/kendo-theme-default": "^5.0.0-beta.6",
|
|
53
53
|
"bootstrap": "^5.1.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "ec5cba0585090e2d366f93d5c13fc09299f251d8"
|
|
56
56
|
}
|
|
@@ -9,28 +9,28 @@ $kendo-chip-spacing: map-get( $spacing, 2 );
|
|
|
9
9
|
|
|
10
10
|
/// Horizontal padding of the chip.
|
|
11
11
|
/// @group chip
|
|
12
|
-
$kendo-chip-padding-x:
|
|
13
|
-
$kendo-chip-padding-x-sm:
|
|
14
|
-
$kendo-chip-padding-x-md:
|
|
15
|
-
$kendo-chip-padding-x-lg:
|
|
12
|
+
$kendo-chip-padding-x: map-get( $spacing, 1 ) !default;
|
|
13
|
+
$kendo-chip-padding-x-sm: map-get( $spacing, 1 ) !default;
|
|
14
|
+
$kendo-chip-padding-x-md: map-get( $spacing, 1 ) !default;
|
|
15
|
+
$kendo-chip-padding-x-lg: map-get( $spacing, 1 ) !default;
|
|
16
16
|
|
|
17
17
|
/// Vertical padding of the chip.
|
|
18
18
|
/// @group chip
|
|
19
|
-
$kendo-chip-padding-y:
|
|
20
|
-
$kendo-chip-padding-y-sm: $
|
|
21
|
-
$kendo-chip-padding-y-md:
|
|
22
|
-
$kendo-chip-padding-y-lg: $
|
|
19
|
+
$kendo-chip-padding-y: map-get( $spacing, 1 ) !default;
|
|
20
|
+
$kendo-chip-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
|
|
21
|
+
$kendo-chip-padding-y-md: map-get( $spacing, 1 ) !default;
|
|
22
|
+
$kendo-chip-padding-y-lg: map-get( $spacing, 1 ) + map-get( $spacing, thin ) !default;
|
|
23
23
|
|
|
24
24
|
/// Font sizes of the chip.
|
|
25
25
|
/// @group chip
|
|
26
|
-
$kendo-chip-font-size: $font-size !default;
|
|
27
|
-
$kendo-chip-font-size-sm: $font-size-
|
|
28
|
-
$kendo-chip-font-size-md: $font-size !default;
|
|
29
|
-
$kendo-chip-font-size-lg: $font-size-
|
|
26
|
+
$kendo-chip-font-size: $font-size-md !default;
|
|
27
|
+
$kendo-chip-font-size-sm: $font-size-md !default;
|
|
28
|
+
$kendo-chip-font-size-md: $font-size-md !default;
|
|
29
|
+
$kendo-chip-font-size-lg: $font-size-md !default;
|
|
30
30
|
|
|
31
31
|
/// Line heights of the chip that are connected to the $font-size.
|
|
32
32
|
/// @group chip
|
|
33
|
-
$kendo-chip-line-height:
|
|
33
|
+
$kendo-chip-line-height: 1.375 !default;
|
|
34
34
|
$kendo-chip-line-height-sm: $kendo-chip-line-height !default;
|
|
35
35
|
$kendo-chip-line-height-md: $kendo-chip-line-height !default;
|
|
36
36
|
$kendo-chip-line-height-lg: $kendo-chip-line-height !default;
|
|
@@ -38,9 +38,24 @@ $kendo-chip-line-height-lg: $kendo-chip-line-height !default;
|
|
|
38
38
|
/// Sizes map for the chip.
|
|
39
39
|
/// @group chip
|
|
40
40
|
$kendo-chip-sizes: (
|
|
41
|
-
sm: (
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
sm: (
|
|
42
|
+
padding-x: $kendo-chip-padding-x-sm,
|
|
43
|
+
padding-y: $kendo-chip-padding-y-sm,
|
|
44
|
+
font-size: $kendo-chip-font-size-sm,
|
|
45
|
+
line-height: $kendo-chip-line-height-sm
|
|
46
|
+
),
|
|
47
|
+
md: (
|
|
48
|
+
padding-x: $kendo-chip-padding-x-md,
|
|
49
|
+
padding-y: $kendo-chip-padding-y-md,
|
|
50
|
+
font-size: $kendo-chip-font-size-md,
|
|
51
|
+
line-height: $kendo-chip-line-height-md
|
|
52
|
+
),
|
|
53
|
+
lg: (
|
|
54
|
+
padding-x: $kendo-chip-padding-x-lg,
|
|
55
|
+
padding-y: $kendo-chip-padding-y-lg,
|
|
56
|
+
font-size: $kendo-chip-font-size-lg,
|
|
57
|
+
line-height: $kendo-chip-line-height-lg
|
|
58
|
+
)
|
|
44
59
|
) !default;
|
|
45
60
|
|
|
46
61
|
/// The base background color of the chip.
|
|
@@ -32,28 +32,34 @@ $kendo-input-sizes: (
|
|
|
32
32
|
padding-y: $kendo-input-padding-y-sm,
|
|
33
33
|
font-size: $kendo-input-font-size-sm,
|
|
34
34
|
line-height: $kendo-input-line-height-sm,
|
|
35
|
-
icon-size: calc( #{$icon-size} + #{$kendo-input-padding-y-sm * 2} )
|
|
35
|
+
icon-size: calc( #{$icon-size} + #{$kendo-input-padding-y-sm * 2} ),
|
|
36
|
+
button-padding-x: $kendo-input-padding-y-sm,
|
|
37
|
+
button-padding-y: $kendo-input-padding-y-sm
|
|
36
38
|
),
|
|
37
39
|
md: (
|
|
38
40
|
padding-x: $kendo-input-padding-x-md,
|
|
39
41
|
padding-y: $kendo-input-padding-y-md,
|
|
40
42
|
font-size: $kendo-input-font-size-md,
|
|
41
43
|
line-height: $kendo-input-line-height-md,
|
|
42
|
-
icon-size: calc( #{$icon-size} + #{$kendo-input-padding-y-md * 2} )
|
|
44
|
+
icon-size: calc( #{$icon-size} + #{$kendo-input-padding-y-md * 2} ),
|
|
45
|
+
button-padding-x: $kendo-input-padding-y-md,
|
|
46
|
+
button-padding-y: $kendo-input-padding-y-md
|
|
43
47
|
),
|
|
44
48
|
lg: (
|
|
45
49
|
padding-x: $kendo-input-padding-x-lg,
|
|
46
50
|
padding-y: $kendo-input-padding-y-lg,
|
|
47
51
|
font-size: $kendo-input-font-size-lg,
|
|
48
52
|
line-height: $kendo-input-line-height-lg,
|
|
49
|
-
icon-size: calc( #{$icon-size} + #{$kendo-input-padding-y-lg * 2} )
|
|
53
|
+
icon-size: calc( #{$icon-size} + #{$kendo-input-padding-y-lg * 2} ),
|
|
54
|
+
button-padding-x: $kendo-input-padding-y-lg,
|
|
55
|
+
button-padding-y: $kendo-input-padding-y-lg
|
|
50
56
|
)
|
|
51
57
|
) !default;
|
|
52
58
|
|
|
53
59
|
$kendo-input-bg: $input-bg !default;
|
|
54
60
|
$kendo-input-text: $input-color !default;
|
|
55
61
|
$kendo-input-border: $input-border-color !default;
|
|
56
|
-
$kendo-input-shadow:
|
|
62
|
+
$kendo-input-shadow: null !default;
|
|
57
63
|
|
|
58
64
|
$kendo-input-hover-bg: null !default;
|
|
59
65
|
$kendo-input-hover-text: null !default;
|
|
@@ -65,6 +71,24 @@ $kendo-input-focus-text: $input-focus-color !default;
|
|
|
65
71
|
$kendo-input-focus-border: $input-focus-border-color !default;
|
|
66
72
|
$kendo-input-focus-shadow: $input-focus-box-shadow !default;
|
|
67
73
|
|
|
74
|
+
$kendo-picker-bg: $kendo-button-bg !default;
|
|
75
|
+
$kendo-picker-text: $kendo-button-text !default;
|
|
76
|
+
$kendo-picker-border: $kendo-button-border !default;
|
|
77
|
+
$kendo-picker-gradient: $kendo-button-gradient !default;
|
|
78
|
+
$kendo-picker-shadow: $kendo-button-shadow !default;
|
|
79
|
+
|
|
80
|
+
$kendo-picker-hover-bg: $kendo-button-hover-bg !default;
|
|
81
|
+
$kendo-picker-hover-text: $kendo-button-hover-text !default;
|
|
82
|
+
$kendo-picker-hover-border: $kendo-button-hover-border !default;
|
|
83
|
+
$kendo-picker-hover-gradient: $kendo-button-hover-gradient !default;
|
|
84
|
+
$kendo-picker-hover-shadow: $kendo-button-hover-shadow !default;
|
|
85
|
+
|
|
86
|
+
$kendo-picker-focus-bg: $kendo-button-focus-bg !default;
|
|
87
|
+
$kendo-picker-focus-text: $kendo-button-focus-text !default;
|
|
88
|
+
$kendo-picker-focus-border: $kendo-button-focus-border !default;
|
|
89
|
+
$kendo-picker-focus-gradient: $kendo-button-focus-gradient !default;
|
|
90
|
+
$kendo-picker-focus-shadow: $kendo-button-focus-shadow !default;
|
|
91
|
+
|
|
68
92
|
$kendo-input-placeholder-text: $input-placeholder-color !default;
|
|
69
93
|
$kendo-input-placeholder-opacity: 1 !default;
|
|
70
94
|
|
|
@@ -63,7 +63,7 @@ $kendo-menu-popup-border-width: $popup-border-width !default;
|
|
|
63
63
|
$kendo-menu-popup-font-size: $font-size-md !default;
|
|
64
64
|
$kendo-menu-popup-font-size-sm: $font-size-md !default;
|
|
65
65
|
$kendo-menu-popup-font-size-md: $font-size-md !default;
|
|
66
|
-
$kendo-menu-popup-font-size-lg: $font-size-
|
|
66
|
+
$kendo-menu-popup-font-size-lg: $font-size-md !default;
|
|
67
67
|
|
|
68
68
|
/// Line heights used along with $font-size.
|
|
69
69
|
/// @group menu
|
|
@@ -1,116 +1 @@
|
|
|
1
1
|
@import "~@progress/kendo-theme-default/scss/pivotgrid/_theme.scss";
|
|
2
|
-
|
|
3
|
-
@include exports("pivotgrid/theme/bootstrap/legacy") {
|
|
4
|
-
|
|
5
|
-
.k-pivot {
|
|
6
|
-
border-color: $pivotgrid-border;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
// .k-alt,
|
|
10
|
-
.k-pivot-layout > tbody > tr:first-child > td:first-child {
|
|
11
|
-
background-color: $pivotgrid-alt-bg;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.k-fieldselector {
|
|
15
|
-
color: $pivotgrid-configurator-text;
|
|
16
|
-
background-color: $pivotgrid-container-bg;
|
|
17
|
-
}
|
|
18
|
-
.k-fieldselector .k-list-container {
|
|
19
|
-
background-color: $panel-bg;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.k-pivot-toolbar,
|
|
23
|
-
.k-fieldselector {
|
|
24
|
-
border-color: $grid-header-border;
|
|
25
|
-
}
|
|
26
|
-
.k-pivot-table,
|
|
27
|
-
.k-fieldselector .k-list-container,
|
|
28
|
-
.k-fieldselector .k-columns > div,
|
|
29
|
-
.k-pivot-rowheaders > .k-grid td:first-child,
|
|
30
|
-
.k-pivot-table .k-grid-header .k-header.k-first {
|
|
31
|
-
border-color: $pivotgrid-chrome-border;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.k-pivot-rowheaders .k-alt .k-alt,
|
|
35
|
-
.k-header.k-alt {
|
|
36
|
-
background-color: $pivotgrid-row-headers-bg;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.k-pivot-toolbar .k-button {
|
|
40
|
-
@include fill(
|
|
41
|
-
$kendo-button-text,
|
|
42
|
-
$kendo-button-bg,
|
|
43
|
-
$kendo-button-border,
|
|
44
|
-
$kendo-button-gradient
|
|
45
|
-
);
|
|
46
|
-
|
|
47
|
-
&:hover,
|
|
48
|
-
&.k-state-hover {
|
|
49
|
-
@include fill(
|
|
50
|
-
$kendo-button-hover-text,
|
|
51
|
-
$kendo-button-hover-bg,
|
|
52
|
-
$kendo-button-hover-border,
|
|
53
|
-
$kendo-button-hover-gradient
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Active state
|
|
58
|
-
&:active,
|
|
59
|
-
&.k-state-active {
|
|
60
|
-
@include fill(
|
|
61
|
-
$kendo-button-active-text,
|
|
62
|
-
$kendo-button-active-bg,
|
|
63
|
-
$kendo-button-active-border,
|
|
64
|
-
$kendo-button-active-gradient
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// Selected state
|
|
69
|
-
&.k-state-selected {
|
|
70
|
-
@include fill(
|
|
71
|
-
$kendo-button-selected-text,
|
|
72
|
-
$kendo-button-selected-bg,
|
|
73
|
-
$kendo-button-selected-border,
|
|
74
|
-
$kendo-button-selected-gradient
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// Focused state
|
|
79
|
-
&:focus,
|
|
80
|
-
&.k-state-focus,
|
|
81
|
-
&.k-state-focused {
|
|
82
|
-
box-shadow: $kendo-button-focus-shadow;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// Loading indicator
|
|
87
|
-
.k-fieldselector {
|
|
88
|
-
.k-i-loading {
|
|
89
|
-
border-color: $header-bg;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.k-i-loading::before,
|
|
93
|
-
.k-i-loading::after {
|
|
94
|
-
background-color: $header-bg;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// KPI icons
|
|
99
|
-
.k-i-kpi-trend-increase,
|
|
100
|
-
.k-i-kpi-trend-decrease,
|
|
101
|
-
.k-i-kpi-trend-equal {
|
|
102
|
-
color: inherit;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.k-i-kpi-status-hold {
|
|
106
|
-
color: $warning;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.k-i-kpi-status-deny {
|
|
110
|
-
color: $error;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.k-i-kpi-status-open {
|
|
114
|
-
color: $success;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
/// Font family of the switch.
|
|
4
4
|
/// @group switch
|
|
5
5
|
$kendo-switch-font-family: null !default;
|
|
6
|
-
/// Line height of the switch.
|
|
7
|
-
/// @group switch
|
|
8
|
-
$kendo-switch-line-height: null !default;
|
|
9
6
|
|
|
10
7
|
/// Border width of the switch track.
|
|
11
8
|
/// @group switch
|
|
@@ -25,9 +22,9 @@ $kendo-switch-label-display: none !default;
|
|
|
25
22
|
/// Map with the different switch sizes.
|
|
26
23
|
/// @group switch
|
|
27
24
|
$kendo-switch-sizes: (
|
|
28
|
-
sm: ( font-size: null, track-width:
|
|
29
|
-
md: ( font-size: null, track-width: 56px, track-height: 30px, thumb-width: 24px, thumb-height: 24px, thumb-offset: 3px, label-offset:
|
|
30
|
-
lg: ( font-size: null, track-width:
|
|
25
|
+
sm: ( font-size: null, track-width: 48px, track-height: 26px, thumb-width: 20px, thumb-height: 20px, thumb-offset: 3px, label-offset: null ),
|
|
26
|
+
md: ( font-size: null, track-width: 56px, track-height: 30px, thumb-width: 24px, thumb-height: 24px, thumb-offset: 3px, label-offset: null ),
|
|
27
|
+
lg: ( font-size: null, track-width: 64px, track-height: 34px, thumb-width: 28px, thumb-height: 28px, thumb-offset: 3px, label-offset: null )
|
|
31
28
|
) !default;
|
|
32
29
|
|
|
33
30
|
/// The background of the track when the switch is not checked.
|