@progress/kendo-theme-core 14.7.0-dev.6 → 14.7.0-dev.8
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
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "../../color-system/_constants.scss" as *;
|
|
2
|
+
@use "../../z-index/index.scss" as *;
|
|
2
3
|
@use "./variables.scss" as *;
|
|
3
4
|
|
|
4
5
|
@mixin kendo-listbox--layout-base() {
|
|
@@ -20,7 +21,45 @@
|
|
|
20
21
|
|
|
21
22
|
.k-listbox-actions {
|
|
22
23
|
display: flex;
|
|
24
|
+
flex: none;
|
|
23
25
|
gap: $kendo-listbox-button-spacing;
|
|
26
|
+
position: relative;
|
|
27
|
+
min-width: 0;
|
|
28
|
+
min-height: 0;
|
|
29
|
+
|
|
30
|
+
&.k-listbox-actions-scrollable {
|
|
31
|
+
&::before,
|
|
32
|
+
&::after {
|
|
33
|
+
content: "";
|
|
34
|
+
aspect-ratio: 1;
|
|
35
|
+
position: absolute;
|
|
36
|
+
z-index: k-z-index("base", 3);
|
|
37
|
+
pointer-events: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.k-listbox-actions-scrollable-start::before,
|
|
41
|
+
&.k-listbox-actions-scrollable-end::after {
|
|
42
|
+
display: none;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.k-listbox-actions-items {
|
|
48
|
+
padding: $kendo-listbox-actions-scroll-padding;
|
|
49
|
+
display: flex;
|
|
50
|
+
flex: 1 1 auto;
|
|
51
|
+
gap: $kendo-listbox-button-spacing;
|
|
52
|
+
min-width: 0;
|
|
53
|
+
min-height: 0;
|
|
54
|
+
scrollbar-width: none;
|
|
55
|
+
|
|
56
|
+
&::-webkit-scrollbar {
|
|
57
|
+
display: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
> * {
|
|
61
|
+
flex-shrink: 0;
|
|
62
|
+
}
|
|
24
63
|
}
|
|
25
64
|
|
|
26
65
|
&.k-listbox-actions-left,
|
|
@@ -29,6 +68,28 @@
|
|
|
29
68
|
|
|
30
69
|
.k-listbox-actions {
|
|
31
70
|
flex-direction: column;
|
|
71
|
+
|
|
72
|
+
&.k-listbox-actions-scrollable {
|
|
73
|
+
&::before,
|
|
74
|
+
&::after {
|
|
75
|
+
height: 15px;
|
|
76
|
+
width: 100%;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&::before {
|
|
80
|
+
inset-block-start: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&::after {
|
|
84
|
+
inset-block-end: 0;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.k-listbox-actions-items {
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
overflow-x: hidden;
|
|
92
|
+
overflow-y: auto;
|
|
32
93
|
}
|
|
33
94
|
}
|
|
34
95
|
|
|
@@ -42,6 +103,29 @@
|
|
|
42
103
|
|
|
43
104
|
.k-listbox-actions {
|
|
44
105
|
flex-direction: row;
|
|
106
|
+
|
|
107
|
+
&.k-listbox-actions-scrollable {
|
|
108
|
+
&::before,
|
|
109
|
+
&::after {
|
|
110
|
+
inset-block-start: 0;
|
|
111
|
+
height: 100%;
|
|
112
|
+
width: 15px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&::before {
|
|
116
|
+
inset-inline-start: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&::after {
|
|
120
|
+
inset-inline-end: 0;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.k-listbox-actions-items {
|
|
126
|
+
flex-direction: row;
|
|
127
|
+
overflow-x: auto;
|
|
128
|
+
overflow-y: hidden;
|
|
45
129
|
}
|
|
46
130
|
}
|
|
47
131
|
|
|
@@ -16,6 +16,44 @@
|
|
|
16
16
|
.k-drop-hint {
|
|
17
17
|
border-block-start-color: k-color(primary);
|
|
18
18
|
}
|
|
19
|
+
|
|
20
|
+
&.k-listbox-actions-left,
|
|
21
|
+
&.k-listbox-actions-right {
|
|
22
|
+
.k-listbox-actions-scrollable {
|
|
23
|
+
&::before {
|
|
24
|
+
background: linear-gradient(180deg, $kendo-listbox-actions-scroll-overlay);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&::after {
|
|
28
|
+
background: linear-gradient(0deg, $kendo-listbox-actions-scroll-overlay);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.k-listbox-actions-top,
|
|
34
|
+
&.k-listbox-actions-bottom {
|
|
35
|
+
.k-listbox-actions-scrollable {
|
|
36
|
+
&::before {
|
|
37
|
+
background: linear-gradient(90deg, $kendo-listbox-actions-scroll-overlay);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&::after {
|
|
41
|
+
background: linear-gradient(270deg, $kendo-listbox-actions-scroll-overlay);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// RTL: reverse gradient directions for horizontal scrolling
|
|
48
|
+
:is(.k-rtl, [dir="rtl"]) .k-listbox:is(.k-listbox-actions-top, .k-listbox-actions-bottom) .k-listbox-actions-scrollable,
|
|
49
|
+
.k-listbox:is(.k-listbox-actions-top, .k-listbox-actions-bottom):is(.k-rtl, [dir="rtl"]) .k-listbox-actions-scrollable {
|
|
50
|
+
&::before {
|
|
51
|
+
background: linear-gradient(270deg, $kendo-listbox-actions-scroll-overlay);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&::after {
|
|
55
|
+
background: linear-gradient(90deg, $kendo-listbox-actions-scroll-overlay);
|
|
56
|
+
}
|
|
19
57
|
}
|
|
20
58
|
|
|
21
59
|
}
|
|
@@ -15,6 +15,9 @@ $kendo-listbox-border: null !default;
|
|
|
15
15
|
|
|
16
16
|
$kendo-listbox-drop-hint-width: null !default;
|
|
17
17
|
|
|
18
|
+
$kendo-listbox-actions-scroll-padding: null !default;
|
|
19
|
+
$kendo-listbox-actions-scroll-overlay: null !default;
|
|
20
|
+
|
|
18
21
|
$kendo-listbox-scroller-padding-x: null !default;
|
|
19
22
|
$kendo-listbox-scroller-padding-y: null !default;
|
|
20
23
|
$kendo-listbox-border-radius: null !default;
|
|
@@ -112,18 +112,22 @@
|
|
|
112
112
|
// Events
|
|
113
113
|
.k-event {
|
|
114
114
|
@include fill(
|
|
115
|
-
$kendo-scheduler-event-text,
|
|
116
|
-
$kendo-scheduler-event-bg,
|
|
115
|
+
var(--kendo-scheduler-on-event, $kendo-scheduler-event-text),
|
|
116
|
+
var(--kendo-scheduler-event-bg, $kendo-scheduler-event-bg),
|
|
117
117
|
$kendo-scheduler-event-border,
|
|
118
118
|
$kendo-scheduler-event-gradient
|
|
119
119
|
);
|
|
120
120
|
@include box-shadow( $kendo-scheduler-event-shadow );
|
|
121
121
|
|
|
122
|
+
--kendo-scheduler-event-bg: var(--kendo-scheduler-event-color);
|
|
123
|
+
--kendo-scheduler-on-event: oklch(from var(--kendo-scheduler-event-bg) clamp(0.10, (0.75 - l) * 99999, 1) 0 h);
|
|
124
|
+
|
|
125
|
+
|
|
122
126
|
&:hover,
|
|
123
127
|
&.k-hover {
|
|
124
128
|
@include fill(
|
|
125
|
-
$kendo-scheduler-event-hover-text,
|
|
126
|
-
$kendo-scheduler-event-hover-bg,
|
|
129
|
+
var(--kendo-scheduler-on-event, $kendo-scheduler-event-hover-text),
|
|
130
|
+
var(--kendo-scheduler-event-bg, $kendo-scheduler-event-hover-bg),
|
|
127
131
|
$kendo-scheduler-event-hover-border,
|
|
128
132
|
$kendo-scheduler-event-hover-gradient
|
|
129
133
|
);
|
|
@@ -132,8 +136,8 @@
|
|
|
132
136
|
|
|
133
137
|
&.k-selected {
|
|
134
138
|
@include fill(
|
|
135
|
-
$kendo-scheduler-event-selected-text,
|
|
136
|
-
$kendo-scheduler-event-selected-bg,
|
|
139
|
+
var(--kendo-scheduler-on-event, $kendo-scheduler-event-selected-text),
|
|
140
|
+
var(--kendo-scheduler-event-bg, $kendo-scheduler-event-selected-bg),
|
|
137
141
|
$kendo-scheduler-event-selected-border,
|
|
138
142
|
$kendo-scheduler-event-selected-gradient
|
|
139
143
|
);
|
|
@@ -39,8 +39,8 @@ $kendo-scheduler-event-border: null !default;
|
|
|
39
39
|
$kendo-scheduler-event-gradient: null !default;
|
|
40
40
|
$kendo-scheduler-event-shadow: null !default;
|
|
41
41
|
|
|
42
|
-
$kendo-scheduler-event-hover-bg:
|
|
43
|
-
$kendo-scheduler-event-hover-text:
|
|
42
|
+
$kendo-scheduler-event-hover-bg: $kendo-scheduler-event-bg !default;
|
|
43
|
+
$kendo-scheduler-event-hover-text: $kendo-scheduler-event-text !default;
|
|
44
44
|
$kendo-scheduler-event-hover-border: null !default;
|
|
45
45
|
$kendo-scheduler-event-hover-gradient: null !default;
|
|
46
46
|
$kendo-scheduler-event-hover-shadow: null !default;
|