@progress/kendo-theme-core 10.3.2-dev.1 → 10.4.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/package.json +2 -2
- package/scss/components/action-buttons/_layout.scss +4 -0
- package/scss/components/action-sheet/_index.scss +0 -1
- package/scss/components/action-sheet/_layout.scss +5 -9
- package/scss/components/action-sheet/_theme.scss +9 -5
- package/scss/components/action-sheet/_variables.scss +8 -2
- package/scss/components/column-menu/_index.scss +16 -0
- package/scss/components/column-menu/_layout.scss +31 -0
- package/scss/components/column-menu/_theme.scss +7 -0
- package/scss/components/column-menu/_variables.scss +44 -0
- package/scss/components/grid/_index.scss +1 -0
- package/scss/components/grid/_layout.scss +23 -1
- package/scss/components/grid/_theme.scss +5 -1
- package/scss/components/pdf-viewer/_layout.scss +7 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-core",
|
|
3
3
|
"description": "A collection of functions and mixins used for building themes for Kendo UI",
|
|
4
|
-
"version": "10.
|
|
4
|
+
"version": "10.4.0",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"directories": {
|
|
46
46
|
"doc": "docs"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "1938734e5ab830898c160ff8b1263c537dd3a676"
|
|
49
49
|
}
|
|
@@ -42,6 +42,9 @@
|
|
|
42
42
|
.k-actions-end {
|
|
43
43
|
justify-content: flex-end;
|
|
44
44
|
}
|
|
45
|
+
.k-actions-justify {
|
|
46
|
+
justify-content: space-between;
|
|
47
|
+
}
|
|
45
48
|
.k-actions-stretched > * {
|
|
46
49
|
flex: 1 0 0%;
|
|
47
50
|
}
|
|
@@ -54,6 +57,7 @@
|
|
|
54
57
|
}
|
|
55
58
|
.k-actions-vertical {
|
|
56
59
|
flex-flow: column nowrap;
|
|
60
|
+
align-items: normal;
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
|
|
@@ -62,13 +62,14 @@
|
|
|
62
62
|
max-height: var( --kendo-actionsheet-max-height, #{$kendo-actionsheet-max-height} );
|
|
63
63
|
border-width: 0;
|
|
64
64
|
border-style: solid;
|
|
65
|
-
border-color: transparent;
|
|
66
65
|
box-sizing: border-box;
|
|
67
66
|
font-size: $kendo-actionsheet-font-size;
|
|
68
67
|
font-family: $kendo-actionsheet-font-family;
|
|
69
68
|
line-height: $kendo-actionsheet-line-height;
|
|
70
69
|
overflow: hidden;
|
|
71
70
|
position: relative;
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-flow: column nowrap;
|
|
72
73
|
|
|
73
74
|
*,
|
|
74
75
|
*::before,
|
|
@@ -82,10 +83,8 @@
|
|
|
82
83
|
.k-actionsheet-titlebar {
|
|
83
84
|
padding-block: $kendo-actionsheet-titlebar-padding-y;
|
|
84
85
|
padding-inline: $kendo-actionsheet-titlebar-padding-x;
|
|
85
|
-
border-width: 0;
|
|
86
86
|
border-bottom-width: if( $kendo-actionsheet-titlebar-border-width, $kendo-actionsheet-titlebar-border-width, null );
|
|
87
|
-
border-style: solid;
|
|
88
|
-
border-color: transparent;
|
|
87
|
+
border-bottom-style: solid;
|
|
89
88
|
font-size: $kendo-actionsheet-titlebar-font-size;
|
|
90
89
|
font-family: $kendo-actionsheet-titlebar-font-family;
|
|
91
90
|
line-height: $kendo-actionsheet-titlebar-line-height;
|
|
@@ -124,6 +123,8 @@
|
|
|
124
123
|
// Actionsheet footer
|
|
125
124
|
.k-actionsheet-footer {
|
|
126
125
|
flex: none;
|
|
126
|
+
border-top-width: $kendo-actionsheet-footer-border-width;
|
|
127
|
+
border-top-style: solid;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
|
|
@@ -235,14 +236,9 @@
|
|
|
235
236
|
width: 100%;
|
|
236
237
|
font-size: $kendo-adaptive-actionsheet-font-size;
|
|
237
238
|
|
|
238
|
-
// TMP: this should be moved to action sheet
|
|
239
|
-
display: flex;
|
|
240
|
-
flex-flow: column nowrap;
|
|
241
|
-
|
|
242
239
|
.k-actionsheet-titlebar {
|
|
243
240
|
padding-block: $kendo-adaptive-actionsheet-titlebar-padding-y;
|
|
244
241
|
padding-inline: $kendo-adaptive-actionsheet-titlebar-padding-x;
|
|
245
|
-
border-bottom-width: $kendo-adaptive-actionsheet-titlebar-border-width;
|
|
246
242
|
}
|
|
247
243
|
|
|
248
244
|
.k-actionsheet-content {
|
|
@@ -24,6 +24,15 @@
|
|
|
24
24
|
);
|
|
25
25
|
@include box-shadow( $kendo-actionsheet-titlebar-shadow );
|
|
26
26
|
}
|
|
27
|
+
.k-actionsheet-footer {
|
|
28
|
+
@include fill(
|
|
29
|
+
$kendo-actionsheet-footer-text,
|
|
30
|
+
$kendo-actionsheet-footer-bg,
|
|
31
|
+
$kendo-actionsheet-footer-border,
|
|
32
|
+
$kendo-actionsheet-footer-gradient
|
|
33
|
+
);
|
|
34
|
+
@include box-shadow( $kendo-actionsheet-footer-shadow );
|
|
35
|
+
}
|
|
27
36
|
.k-actionsheet-subtitle {
|
|
28
37
|
@include fill( $color: $kendo-actionsheet-subtitle-text );
|
|
29
38
|
}
|
|
@@ -92,11 +101,6 @@
|
|
|
92
101
|
}
|
|
93
102
|
|
|
94
103
|
|
|
95
|
-
// Adaptive Actionsheet
|
|
96
|
-
.k-adaptive-actionsheet .k-actionsheet-titlebar {
|
|
97
|
-
@include fill( $border: $kendo-adaptive-actionsheet-titlebar-border );
|
|
98
|
-
}
|
|
99
|
-
|
|
100
104
|
}
|
|
101
105
|
|
|
102
106
|
|
|
@@ -39,6 +39,14 @@ $kendo-actionsheet-subtitle-font-size: null !default;
|
|
|
39
39
|
$kendo-actionsheet-subtitle-line-height: null !default;
|
|
40
40
|
$kendo-actionsheet-subtitle-text: null !default;
|
|
41
41
|
|
|
42
|
+
$kendo-actionsheet-footer-border-width: null !default;
|
|
43
|
+
|
|
44
|
+
$kendo-actionsheet-footer-bg: null !default;
|
|
45
|
+
$kendo-actionsheet-footer-text: null !default;
|
|
46
|
+
$kendo-actionsheet-footer-border: null !default;
|
|
47
|
+
$kendo-actionsheet-footer-gradient: null !default;
|
|
48
|
+
$kendo-actionsheet-footer-shadow: null !default;
|
|
49
|
+
|
|
42
50
|
|
|
43
51
|
// Actionsheet item
|
|
44
52
|
$kendo-actionsheet-item-min-height: null !default;
|
|
@@ -77,10 +85,8 @@ $kendo-actionsheet-item-disabled-opacity: null !default;
|
|
|
77
85
|
|
|
78
86
|
// Adaptive Actionsheet
|
|
79
87
|
$kendo-adaptive-actionsheet-font-size: null !default;
|
|
80
|
-
$kendo-adaptive-actionsheet-titlebar-border-width: null !default;
|
|
81
88
|
$kendo-adaptive-actionsheet-titlebar-padding-y: null !default;
|
|
82
89
|
$kendo-adaptive-actionsheet-titlebar-padding-x: null !default;
|
|
83
|
-
$kendo-adaptive-actionsheet-titlebar-border: null !default;
|
|
84
90
|
|
|
85
91
|
$kendo-adaptive-actionsheet-content-padding-y: null !default;
|
|
86
92
|
$kendo-adaptive-actionsheet-content-padding-x: null !default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Dependencies
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
@use "../icons/_index.scss" as *;
|
|
4
|
+
|
|
5
|
+
// Component
|
|
6
|
+
@forward "./_variables.scss";
|
|
7
|
+
@use "./_layout.scss" as *;
|
|
8
|
+
@use "./_theme.scss" as *;
|
|
9
|
+
|
|
10
|
+
// Expose
|
|
11
|
+
@mixin kendo-column-menu--styles() {
|
|
12
|
+
@include import-once( "column-menu" ) {
|
|
13
|
+
@include kendo-column-menu--layout();
|
|
14
|
+
@include kendo-column-menu--theme();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "_variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
@mixin kendo-column-menu--layout-base() {
|
|
5
|
+
.k-column-menu {}
|
|
6
|
+
|
|
7
|
+
// Sizes
|
|
8
|
+
@each $size, $value in $kendo-column-menu-sizes {
|
|
9
|
+
$_padding-x: map.get($value, padding-x);
|
|
10
|
+
$_padding-y: map.get($value, padding-y);
|
|
11
|
+
$_font-size: map.get($value, font-size);
|
|
12
|
+
$_line-height: map.get($value, line-height);
|
|
13
|
+
|
|
14
|
+
.k-column-menu-#{$size} {
|
|
15
|
+
font-size: $_font-size;
|
|
16
|
+
line-height: $_line-height;
|
|
17
|
+
|
|
18
|
+
.k-columnmenu-item,
|
|
19
|
+
.k-column-list-item {
|
|
20
|
+
padding-block: $_padding-y;
|
|
21
|
+
padding-inline: $_padding-x;
|
|
22
|
+
font-size: $_font-size;
|
|
23
|
+
line-height: $_line-height;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@mixin kendo-column-menu--layout() {
|
|
30
|
+
@include kendo-column-menu--layout-base();
|
|
31
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
$kendo-column-menu-item-padding-x: null !default;
|
|
2
|
+
$kendo-column-menu-item-padding-y: null !default;
|
|
3
|
+
|
|
4
|
+
$kendo-column-menu-item-sm-padding-x: null !default;
|
|
5
|
+
$kendo-column-menu-item-sm-padding-y: null !default;
|
|
6
|
+
|
|
7
|
+
$kendo-column-menu-item-md-padding-x: null !default;
|
|
8
|
+
$kendo-column-menu-item-md-padding-y: null !default;
|
|
9
|
+
|
|
10
|
+
$kendo-column-menu-item-lg-padding-x: null !default;
|
|
11
|
+
$kendo-column-menu-item-lg-padding-y: null !default;
|
|
12
|
+
|
|
13
|
+
$kendo-column-menu-font-size: null !default;
|
|
14
|
+
$kendo-column-menu-sm-font-size: null !default;
|
|
15
|
+
$kendo-column-menu-md-font-size: null !default;
|
|
16
|
+
$kendo-column-menu-lg-font-size: null !default;
|
|
17
|
+
|
|
18
|
+
$kendo-column-menu-line-height: null !default;
|
|
19
|
+
$kendo-column-menu-sm-line-height: null !default;
|
|
20
|
+
$kendo-column-menu-md-line-height: null !default;
|
|
21
|
+
$kendo-column-menu-lg-line-height: null !default;
|
|
22
|
+
|
|
23
|
+
$kendo-column-menu-font-family: null !default;
|
|
24
|
+
|
|
25
|
+
$kendo-column-menu-sizes: (
|
|
26
|
+
sm: (
|
|
27
|
+
padding-x: $kendo-column-menu-item-sm-padding-x,
|
|
28
|
+
padding-y: $kendo-column-menu-item-sm-padding-y,
|
|
29
|
+
font-size: $kendo-column-menu-item-sm-font-size,
|
|
30
|
+
line-height: $kendo-column-menu-sm-line-height
|
|
31
|
+
),
|
|
32
|
+
md: (
|
|
33
|
+
padding-x: $kendo-column-menu-item-md-padding-x,
|
|
34
|
+
padding-y: $kendo-column-menu-item-md-padding-y,
|
|
35
|
+
font-size: $kendo-column-menu-item-md-font-size,
|
|
36
|
+
line-height: $kendo-column-menu-md-line-height
|
|
37
|
+
),
|
|
38
|
+
lg: (
|
|
39
|
+
padding-x: $kendo-column-menu-item-lg-padding-x,
|
|
40
|
+
padding-y: $kendo-column-menu-item-lg-padding-y,
|
|
41
|
+
font-size: $kendo-column-menu-item-lg-font-size,
|
|
42
|
+
line-height: $kendo-column-menu-lg-line-height
|
|
43
|
+
)
|
|
44
|
+
) !default;
|
|
@@ -1266,6 +1266,27 @@
|
|
|
1266
1266
|
align-items: center;
|
|
1267
1267
|
}
|
|
1268
1268
|
}
|
|
1269
|
+
|
|
1270
|
+
.k-columnmenu-indicators {
|
|
1271
|
+
padding-inline: k-spacing(1);
|
|
1272
|
+
display: flex;
|
|
1273
|
+
align-items: center;
|
|
1274
|
+
justify-content: center;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
// TODO: Check if k-columnmenu-item should not be flex by default
|
|
1278
|
+
.k-columnmenu-item:has(> .k-columnmenu-item-actions, > .k-columnmenu-indicators) {
|
|
1279
|
+
display: flex;
|
|
1280
|
+
align-items: center;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
.k-columnmenu-drag-handle {
|
|
1284
|
+
margin-inline-end: k-spacing(1.5);
|
|
1285
|
+
display: inline-flex;
|
|
1286
|
+
align-items: center;
|
|
1287
|
+
justify-content: center;
|
|
1288
|
+
cursor: move;
|
|
1289
|
+
}
|
|
1269
1290
|
}
|
|
1270
1291
|
.k-column-menu-tabbed {
|
|
1271
1292
|
border-radius: $kendo-tabstrip-item-border-radius $kendo-tabstrip-item-border-radius 0 0;
|
|
@@ -1339,7 +1360,8 @@
|
|
|
1339
1360
|
}
|
|
1340
1361
|
}
|
|
1341
1362
|
|
|
1342
|
-
.k-columnmenu-item-wrapper + .k-columnmenu-item-wrapper
|
|
1363
|
+
.k-columnmenu-item-wrapper + .k-columnmenu-item-wrapper,
|
|
1364
|
+
.k-column-menu-footer {
|
|
1343
1365
|
border-top: 1px solid;
|
|
1344
1366
|
border-top-color: $kendo-popup-border;
|
|
1345
1367
|
}
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
color: $kendo-grid-hover-text;
|
|
91
91
|
background-color: $kendo-grid-hover-bg;
|
|
92
92
|
}
|
|
93
|
-
|
|
93
|
+
|
|
94
94
|
// Selected state
|
|
95
95
|
td.k-selected,
|
|
96
96
|
.k-table-row.k-selected > td,
|
|
@@ -450,6 +450,10 @@
|
|
|
450
450
|
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
+
.k-columnmenu-indicators {
|
|
454
|
+
color: $kendo-grid-sorting-indicator-text;
|
|
455
|
+
}
|
|
456
|
+
|
|
453
457
|
}
|
|
454
458
|
|
|
455
459
|
|