@progress/kendo-theme-core 12.3.1-dev.9 → 13.0.0-dev.1
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 +155 -105
- package/scss/components/grid/_theme.scss +9 -0
- package/scss/components/grid/_variables.scss +47 -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/spreadsheet/_layout.scss +1 -0
- 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
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use "sass:list";
|
|
3
3
|
@use "../../color-system/_constants.scss" as *;
|
|
4
4
|
@use "../../mixins/index.scss" as *;
|
|
5
|
+
@use "../../functions/index.scss" as *;
|
|
5
6
|
@use "./variables.scss" as *;
|
|
6
7
|
@use "../button/_variables.scss" as *;
|
|
7
8
|
@use "../../z-index/index.scss" as *;
|
|
@@ -15,8 +16,6 @@
|
|
|
15
16
|
box-sizing: border-box;
|
|
16
17
|
outline: 0;
|
|
17
18
|
font-family: $kendo-time-selector-font-family;
|
|
18
|
-
font-size: $kendo-time-selector-font-size;
|
|
19
|
-
line-height: $kendo-time-selector-line-height;
|
|
20
19
|
position: relative;
|
|
21
20
|
overflow: hidden;
|
|
22
21
|
display: flex;
|
|
@@ -24,6 +23,39 @@
|
|
|
24
23
|
user-select: none;
|
|
25
24
|
-webkit-touch-callout: none;
|
|
26
25
|
-webkit-tap-highlight-color: $kendo-color-rgba-transparent;
|
|
26
|
+
|
|
27
|
+
// Time selector sizes
|
|
28
|
+
@each $size, $size-props in $kendo-time-selector-sizes {
|
|
29
|
+
$_font-size: map.get( $size-props, font-size );
|
|
30
|
+
$_line-height: map.get( $size-props, line-height );
|
|
31
|
+
$_list-item-padding-x: map.get( $size-props, list-item-padding-x );
|
|
32
|
+
$_list-item-padding-y: map.get( $size-props, list-item-padding-y );
|
|
33
|
+
$_highlight-height: calc( calc( #{$_font-size} * #{$_line-height} ) + calc( #{ $_list-item-padding-y} * 2 ) );
|
|
34
|
+
|
|
35
|
+
#{k-when-default( $kendo-time-selector-default-size, $size)}
|
|
36
|
+
&.k-timeselector-#{$size} {
|
|
37
|
+
font-size: $_font-size;
|
|
38
|
+
line-height: $_line-height;
|
|
39
|
+
|
|
40
|
+
.k-time-highlight,
|
|
41
|
+
.k-time-list-highlight {
|
|
42
|
+
height: $_highlight-height;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.k-time-separator {
|
|
46
|
+
height: $_highlight-height;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.k-time-list-item,
|
|
50
|
+
.k-time-list .k-item {
|
|
51
|
+
padding-block: $_list-item-padding-y;
|
|
52
|
+
padding-inline: $_list-item-padding-x;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
font-size: $kendo-time-selector-font-size;
|
|
58
|
+
line-height: $kendo-time-selector-line-height;
|
|
27
59
|
}
|
|
28
60
|
|
|
29
61
|
.k-popup > .k-timeselector {
|
|
@@ -215,36 +247,4 @@
|
|
|
215
247
|
z-index: k-z-index("base", 1);
|
|
216
248
|
inset-block-start: calc( #{list.slash( $kendo-time-list-title-height, 2 )} );
|
|
217
249
|
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
// Time selector sizes
|
|
221
|
-
@each $size, $size-props in $kendo-time-selector-sizes {
|
|
222
|
-
$_font-size: map.get( $size-props, font-size );
|
|
223
|
-
$_line-height: map.get( $size-props, line-height );
|
|
224
|
-
$_list-item-padding-x: map.get( $size-props, list-item-padding-x );
|
|
225
|
-
$_list-item-padding-y: map.get( $size-props, list-item-padding-y );
|
|
226
|
-
$_highlight-height: calc( calc( #{$_font-size} * #{$_line-height} ) + calc( #{ $_list-item-padding-y} * 2 ) );
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
.k-timeselector-#{$size} {
|
|
230
|
-
font-size: $_font-size;
|
|
231
|
-
line-height: $_line-height;
|
|
232
|
-
|
|
233
|
-
.k-time-highlight,
|
|
234
|
-
.k-time-list-highlight {
|
|
235
|
-
height: $_highlight-height;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.k-time-separator {
|
|
239
|
-
height: $_highlight-height;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.k-time-list-item,
|
|
243
|
-
.k-time-list .k-item {
|
|
244
|
-
padding-block: $_list-item-padding-y;
|
|
245
|
-
padding-inline: $_list-item-padding-x;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
250
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// Time selector
|
|
2
2
|
|
|
3
|
+
$kendo-time-selector-default-size: null !default;
|
|
4
|
+
|
|
3
5
|
$kendo-time-selector-border-width: null !default;
|
|
4
6
|
$kendo-time-selector-font-family: null !default;
|
|
5
7
|
$kendo-time-selector-font-size: null !default;
|
|
@@ -54,7 +56,28 @@ $kendo-time-selector-lg-line-height: null !default;
|
|
|
54
56
|
$kendo-time-selector-lg-list-item-padding-x: null !default;
|
|
55
57
|
$kendo-time-selector-lg-list-item-padding-y: null !default;
|
|
56
58
|
|
|
57
|
-
|
|
59
|
+
/// The sizes map of the TimeSelector.
|
|
60
|
+
/// @group time-selector
|
|
61
|
+
$kendo-time-selector-sizes: (
|
|
62
|
+
sm: (
|
|
63
|
+
font-size: $kendo-time-selector-sm-font-size,
|
|
64
|
+
line-height: $kendo-time-selector-sm-line-height,
|
|
65
|
+
list-item-padding-x: $kendo-time-selector-sm-list-item-padding-x,
|
|
66
|
+
list-item-padding-y: $kendo-time-selector-sm-list-item-padding-y
|
|
67
|
+
),
|
|
68
|
+
md: (
|
|
69
|
+
font-size: $kendo-time-selector-md-font-size,
|
|
70
|
+
line-height: $kendo-time-selector-md-line-height,
|
|
71
|
+
list-item-padding-x: $kendo-time-selector-md-list-item-padding-x,
|
|
72
|
+
list-item-padding-y: $kendo-time-selector-md-list-item-padding-y
|
|
73
|
+
),
|
|
74
|
+
lg: (
|
|
75
|
+
font-size: $kendo-time-selector-lg-font-size,
|
|
76
|
+
line-height: $kendo-time-selector-lg-line-height,
|
|
77
|
+
list-item-padding-x: $kendo-time-selector-lg-list-item-padding-x,
|
|
78
|
+
list-item-padding-y: $kendo-time-selector-lg-list-item-padding-y
|
|
79
|
+
)
|
|
80
|
+
) !default;
|
|
58
81
|
|
|
59
82
|
$kendo-time-selector-now-button-text: null !default;
|
|
60
83
|
$kendo-time-selector-now-button-hover-text: null !default;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use "../../color-system/_constants.scss" as *;
|
|
3
3
|
@use "../../typography/index.scss" as *;
|
|
4
4
|
@use "../../spacing/index.scss" as *;
|
|
5
|
+
@use "../../functions/index.scss" as *;
|
|
5
6
|
@use "../../mixins/index.scss" as *;
|
|
6
7
|
@use "./_variables.scss" as *;
|
|
7
8
|
@use "../button/_variables.scss" as *;
|
|
@@ -13,8 +14,6 @@
|
|
|
13
14
|
// Base
|
|
14
15
|
.k-toolbar {
|
|
15
16
|
margin: 0;
|
|
16
|
-
padding-block: $kendo-toolbar-md-padding-y;
|
|
17
|
-
padding-inline: $kendo-toolbar-md-padding-x;
|
|
18
17
|
border-width: $kendo-toolbar-border-width;
|
|
19
18
|
border-style: solid;
|
|
20
19
|
box-sizing: border-box;
|
|
@@ -25,7 +24,6 @@
|
|
|
25
24
|
list-style: none;
|
|
26
25
|
display: flex;
|
|
27
26
|
flex-flow: row wrap;
|
|
28
|
-
gap: $kendo-toolbar-md-spacing;
|
|
29
27
|
align-items: center;
|
|
30
28
|
justify-content: flex-start;
|
|
31
29
|
position: relative;
|
|
@@ -85,23 +83,6 @@
|
|
|
85
83
|
}
|
|
86
84
|
}
|
|
87
85
|
|
|
88
|
-
|
|
89
|
-
// Button
|
|
90
|
-
.k-button {}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
// Toggle button
|
|
94
|
-
.k-toggle-button {}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
// Button group
|
|
98
|
-
.k-button-group {}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
// Split button
|
|
102
|
-
.k-split-button {}
|
|
103
|
-
|
|
104
|
-
|
|
105
86
|
// Input
|
|
106
87
|
.k-input,
|
|
107
88
|
.k-picker {
|
|
@@ -115,6 +96,7 @@
|
|
|
115
96
|
// Overflow anchor
|
|
116
97
|
.k-toolbar-overflow-button {
|
|
117
98
|
margin-inline-start: auto;
|
|
99
|
+
border-radius: 0;
|
|
118
100
|
}
|
|
119
101
|
|
|
120
102
|
// Overflow separator
|
|
@@ -155,7 +137,6 @@
|
|
|
155
137
|
.k-toolbar-items {
|
|
156
138
|
display: flex;
|
|
157
139
|
flex-flow: row nowrap;
|
|
158
|
-
gap: $kendo-toolbar-md-spacing;
|
|
159
140
|
align-items: center;
|
|
160
141
|
justify-content: flex-start;
|
|
161
142
|
flex: 1 1 auto;
|
|
@@ -174,7 +155,6 @@
|
|
|
174
155
|
.k-toolbar-items-list {
|
|
175
156
|
display: flex;
|
|
176
157
|
flex-flow: row wrap;
|
|
177
|
-
gap: $kendo-toolbar-md-spacing;
|
|
178
158
|
align-items: center;
|
|
179
159
|
justify-content: flex-start;
|
|
180
160
|
flex: 1 1 auto;
|
|
@@ -211,65 +191,83 @@
|
|
|
211
191
|
$_spacing: map.get( $size-props, spacing );
|
|
212
192
|
$_separator-height: map.get( $size-props, separator-height );
|
|
213
193
|
|
|
214
|
-
.k-toolbar
|
|
215
|
-
padding-block: $_padding-y;
|
|
216
|
-
padding-inline: $_padding-x;
|
|
217
|
-
gap: $_spacing;
|
|
194
|
+
.k-toolbar {
|
|
218
195
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
196
|
+
#{k-when-default($kendo-toolbar-default-size, $size)}
|
|
197
|
+
&.k-toolbar-#{$size} {
|
|
198
|
+
padding-block: $_padding-y;
|
|
199
|
+
padding-inline: $_padding-x;
|
|
200
|
+
gap: $_spacing;
|
|
223
201
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
202
|
+
// Remove once we decide to not size empty containers
|
|
203
|
+
&::before {
|
|
204
|
+
margin-inline-start: calc( #{$_spacing} * -1 );
|
|
205
|
+
}
|
|
227
206
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
207
|
+
&.k-toolbar-scrollable-overlay::before {
|
|
208
|
+
inset-inline-start: $_spacing;
|
|
209
|
+
}
|
|
231
210
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
211
|
+
> * > label {
|
|
212
|
+
margin-inline-end: $_spacing;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.k-toolbar-items {
|
|
216
|
+
gap: $_spacing;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.k-toolbar-button-separator {
|
|
220
|
+
height: $_separator-height;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.k-toolbar-items-scroll {
|
|
224
|
+
padding-block: $_padding-y;
|
|
225
|
+
margin-block: calc( #{$_padding-y} * -1 );
|
|
226
|
+
padding-inline: $_padding-x;
|
|
227
|
+
margin-inline: calc( #{$_padding-x} * -1 );
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
&.k-toolbar-scrollable-overlay .k-toolbar-items-scroll:only-child,
|
|
231
|
+
.k-toolbar-items-scroll:not(:only-child) {
|
|
232
|
+
padding-inline-end: 0;
|
|
233
|
+
margin-inline-end: 0;
|
|
234
|
+
}
|
|
235
235
|
|
|
236
|
-
.k-toolbar-button-separator {
|
|
237
|
-
height: $_separator-height;
|
|
238
236
|
}
|
|
239
237
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
238
|
+
// Remove once we decide to not size empty containers
|
|
239
|
+
#{k-when-default($kendo-toolbar-default-size, "sm")}
|
|
240
|
+
&.k-toolbar-sm {
|
|
241
|
+
&::before {
|
|
242
|
+
height: $kendo-button-sm-calc-size;
|
|
243
|
+
}
|
|
245
244
|
}
|
|
246
245
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
246
|
+
#{k-when-default($kendo-toolbar-default-size, "md")}
|
|
247
|
+
&.k-toolbar-md {
|
|
248
|
+
&::before {
|
|
249
|
+
height: $kendo-button-md-calc-size;
|
|
250
|
+
}
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
+
#{k-when-default($kendo-toolbar-default-size, "lg")}
|
|
254
|
+
&.k-toolbar-lg {
|
|
255
|
+
&::before {
|
|
256
|
+
height: $kendo-button-lg-calc-size;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
253
259
|
}
|
|
254
260
|
|
|
255
|
-
.k-toolbar-items-list
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
261
|
+
.k-toolbar-items-list {
|
|
262
|
+
#{k-when-default($kendo-toolbar-default-size, $size)}
|
|
263
|
+
&.k-toolbar-items-list-#{$size} {
|
|
264
|
+
padding-block: $_padding-y;
|
|
265
|
+
padding-inline: $_padding-x;
|
|
266
|
+
gap: $_spacing;
|
|
267
|
+
}
|
|
259
268
|
}
|
|
260
269
|
}
|
|
261
270
|
|
|
262
|
-
// Remove once we decide to not size empty containers
|
|
263
|
-
.k-toolbar-sm::before {
|
|
264
|
-
height: $kendo-button-sm-calc-size;
|
|
265
|
-
}
|
|
266
|
-
.k-toolbar-md::before {
|
|
267
|
-
height: $kendo-button-md-calc-size;
|
|
268
|
-
}
|
|
269
|
-
.k-toolbar-lg::before {
|
|
270
|
-
height: $kendo-button-lg-calc-size;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
271
|
.k-floating-toolbar,
|
|
274
272
|
.k-window-content:where(.editorToolbarWindow) { // stylelint-disable-line
|
|
275
273
|
padding-block: $kendo-toolbar-md-padding-y !important; // stylelint-disable-line declaration-no-important
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "../../mixins/index.scss" as *;
|
|
2
|
+
@use "../../functions/index.scss" as *;
|
|
2
3
|
@use "./_variables.scss" as *;
|
|
3
4
|
@use "../menu/_variables.scss" as *;
|
|
4
5
|
|
|
@@ -12,97 +13,104 @@
|
|
|
12
13
|
@include focus-indicator( $kendo-toolbar-item-shadow );
|
|
13
14
|
}
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
$kendo-toolbar-text,
|
|
35
|
-
$kendo-toolbar-bg,
|
|
36
|
-
$kendo-toolbar-border,
|
|
37
|
-
$kendo-toolbar-gradient
|
|
38
|
-
);
|
|
39
|
-
@include box-shadow( $kendo-toolbar-shadow );
|
|
40
|
-
|
|
41
|
-
&.k-toolbar-scrollable-overlay {
|
|
42
|
-
&::before {
|
|
43
|
-
background: linear-gradient(90deg, $kendo-toolbar-scroll-overlay);
|
|
16
|
+
// Solid Toolbar
|
|
17
|
+
#{k-when-default($kendo-toolbar-default-fill-mode, "solid")}
|
|
18
|
+
&.k-toolbar-solid {
|
|
19
|
+
@include fill(
|
|
20
|
+
$kendo-toolbar-text,
|
|
21
|
+
$kendo-toolbar-bg,
|
|
22
|
+
$kendo-toolbar-border,
|
|
23
|
+
$kendo-toolbar-gradient
|
|
24
|
+
);
|
|
25
|
+
@include box-shadow( $kendo-toolbar-shadow );
|
|
26
|
+
|
|
27
|
+
&.k-toolbar-scrollable-overlay {
|
|
28
|
+
&::before {
|
|
29
|
+
background: linear-gradient(90deg, $kendo-toolbar-scroll-overlay);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&::after {
|
|
33
|
+
background: linear-gradient(270deg, $kendo-toolbar-scroll-overlay);
|
|
34
|
+
}
|
|
44
35
|
}
|
|
36
|
+
}
|
|
45
37
|
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
// Outline Toolbar
|
|
39
|
+
#{k-when-default($kendo-toolbar-default-fill-mode, "outline")}
|
|
40
|
+
&.k-toolbar-outline {
|
|
41
|
+
@include fill(
|
|
42
|
+
$kendo-toolbar-outline-text,
|
|
43
|
+
transparent,
|
|
44
|
+
$kendo-toolbar-outline-border
|
|
45
|
+
);
|
|
46
|
+
@include box-shadow( $kendo-toolbar-outline-shadow );
|
|
47
|
+
|
|
48
|
+
&.k-toolbar-scrollable-overlay {
|
|
49
|
+
&::before {
|
|
50
|
+
background: linear-gradient(90deg, $kendo-toolbar-outline-scroll-overlay);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&::after {
|
|
54
|
+
background: linear-gradient(270deg, $kendo-toolbar-outline-scroll-overlay);
|
|
55
|
+
}
|
|
48
56
|
}
|
|
49
57
|
}
|
|
50
|
-
}
|
|
51
58
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
59
|
+
// Flat Toolbar
|
|
60
|
+
#{k-when-default($kendo-toolbar-default-fill-mode, "flat")}
|
|
61
|
+
&.k-toolbar-flat {
|
|
62
|
+
@include fill(
|
|
63
|
+
$color: $kendo-toolbar-flat-text,
|
|
64
|
+
$border: $kendo-toolbar-flat-border
|
|
65
|
+
);
|
|
66
|
+
@include box-shadow( $kendo-toolbar-flat-shadow );
|
|
55
67
|
|
|
56
|
-
// Outline Toolbar
|
|
57
|
-
.k-toolbar-outline {
|
|
58
|
-
@include fill(
|
|
59
|
-
$color: $kendo-toolbar-outline-text,
|
|
60
|
-
$border: $kendo-toolbar-outline-border
|
|
61
|
-
);
|
|
62
|
-
@include box-shadow( $kendo-toolbar-outline-shadow );
|
|
63
68
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
69
|
+
> .k-separator,
|
|
70
|
+
.k-toolbar-separator {
|
|
71
|
+
border-inline-color: $kendo-toolbar-flat-border;
|
|
67
72
|
}
|
|
68
73
|
|
|
69
|
-
|
|
70
|
-
|
|
74
|
+
&.k-toolbar-scrollable-overlay {
|
|
75
|
+
&::before {
|
|
76
|
+
background: linear-gradient(90deg, $kendo-toolbar-flat-scroll-overlay);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&::after {
|
|
80
|
+
background: linear-gradient(270deg, $kendo-toolbar-flat-scroll-overlay);
|
|
81
|
+
}
|
|
71
82
|
}
|
|
72
83
|
}
|
|
84
|
+
|
|
73
85
|
}
|
|
74
86
|
|
|
75
|
-
.k-toolbar-items
|
|
76
|
-
border-color:
|
|
87
|
+
.k-toolbar-items {
|
|
88
|
+
border-color: inherit;
|
|
77
89
|
}
|
|
78
90
|
|
|
79
|
-
//
|
|
80
|
-
.k-toolbar-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
);
|
|
85
|
-
@include box-shadow( $kendo-toolbar-flat-shadow );
|
|
91
|
+
// Separator
|
|
92
|
+
.k-toolbar .k-separator,
|
|
93
|
+
.k-toolbar-separator {
|
|
94
|
+
border-color: $kendo-toolbar-separator-border;
|
|
95
|
+
}
|
|
86
96
|
|
|
87
97
|
|
|
88
|
-
|
|
89
|
-
.k-toolbar-separator {
|
|
90
|
-
border-inline-color: $kendo-toolbar-flat-border;
|
|
91
|
-
}
|
|
98
|
+
.k-toolbar-items-list {
|
|
92
99
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
100
|
+
#{k-when-default($kendo-toolbar-default-fill-mode, "solid")}
|
|
101
|
+
&.k-toolbar-items-list-solid {
|
|
102
|
+
border-color: $kendo-toolbar-border;
|
|
103
|
+
}
|
|
97
104
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
105
|
+
#{k-when-default($kendo-toolbar-default-fill-mode, "outline")}
|
|
106
|
+
&.k-toolbar-items-list-outline {
|
|
107
|
+
border-color: $kendo-toolbar-outline-border;
|
|
101
108
|
}
|
|
102
|
-
}
|
|
103
109
|
|
|
104
|
-
|
|
105
|
-
|
|
110
|
+
#{k-when-default($kendo-toolbar-default-fill-mode, "flat")}
|
|
111
|
+
&.k-toolbar-items-list-flat {
|
|
112
|
+
border-color: $kendo-toolbar-flat-border;
|
|
113
|
+
}
|
|
106
114
|
}
|
|
107
115
|
|
|
108
116
|
.k-floating-toolbar,
|
|
@@ -165,6 +173,7 @@
|
|
|
165
173
|
background: linear-gradient(90deg, $kendo-toolbar-scroll-overlay);
|
|
166
174
|
}
|
|
167
175
|
|
|
176
|
+
#{k-when-default($kendo-toolbar-default-fill-mode, "outline")}
|
|
168
177
|
&.k-toolbar-outline {
|
|
169
178
|
&::before {
|
|
170
179
|
background: linear-gradient(270deg, $kendo-toolbar-outline-scroll-overlay);
|
|
@@ -175,6 +184,7 @@
|
|
|
175
184
|
}
|
|
176
185
|
}
|
|
177
186
|
|
|
187
|
+
#{k-when-default($kendo-toolbar-default-fill-mode, "flat")}
|
|
178
188
|
&.k-toolbar-flat {
|
|
179
189
|
&::before {
|
|
180
190
|
background: linear-gradient(270deg, $kendo-toolbar-flat-scroll-overlay);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// Toolbar
|
|
2
2
|
|
|
3
|
+
$kendo-toolbar-default-size: null !default;
|
|
4
|
+
$kendo-toolbar-default-fill-mode: null !default;
|
|
5
|
+
|
|
3
6
|
$kendo-toolbar-sm-padding-x: null !default;
|
|
4
7
|
$kendo-toolbar-md-padding-x: null !default;
|
|
5
8
|
$kendo-toolbar-lg-padding-x: null !default;
|
|
@@ -52,4 +55,25 @@ $kendo-toolbar-overflow-container-line-height: null !default;
|
|
|
52
55
|
$kendo-toolbar-overflow-button-padding-y: null !default;
|
|
53
56
|
$kendo-toolbar-overflow-button-padding-x: null !default;
|
|
54
57
|
|
|
55
|
-
|
|
58
|
+
/// The sizes map of the ToolBar.
|
|
59
|
+
/// @group toolbar
|
|
60
|
+
$kendo-toolbar-sizes: (
|
|
61
|
+
sm: (
|
|
62
|
+
padding-x: $kendo-toolbar-sm-padding-x,
|
|
63
|
+
padding-y: $kendo-toolbar-sm-padding-y,
|
|
64
|
+
spacing: $kendo-toolbar-sm-spacing,
|
|
65
|
+
separator-height: $kendo-toolbar-sm-separator-height
|
|
66
|
+
),
|
|
67
|
+
md: (
|
|
68
|
+
padding-x: $kendo-toolbar-md-padding-x,
|
|
69
|
+
padding-y: $kendo-toolbar-md-padding-y,
|
|
70
|
+
spacing: $kendo-toolbar-md-spacing,
|
|
71
|
+
separator-height: $kendo-toolbar-md-separator-height
|
|
72
|
+
),
|
|
73
|
+
lg: (
|
|
74
|
+
padding-x: $kendo-toolbar-lg-padding-x,
|
|
75
|
+
padding-y: $kendo-toolbar-lg-padding-y,
|
|
76
|
+
spacing: $kendo-toolbar-lg-spacing,
|
|
77
|
+
separator-height: $kendo-toolbar-lg-separator-height
|
|
78
|
+
)
|
|
79
|
+
) !default;
|
|
@@ -20,19 +20,5 @@ $kendo-tooltip-border: null !default;
|
|
|
20
20
|
|
|
21
21
|
$kendo-tooltip-shadow: null !default;
|
|
22
22
|
|
|
23
|
-
@function tooltip-theme( $colors ) {
|
|
24
|
-
$_theme: ();
|
|
25
|
-
|
|
26
|
-
@each $name, $color in $colors {
|
|
27
|
-
$_theme: map.merge(( $name: (
|
|
28
|
-
color: k-color(on-#{$name}),
|
|
29
|
-
background-color: $color,
|
|
30
|
-
border: $color,
|
|
31
|
-
)), $_theme );
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@return $_theme;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
23
|
$kendo-tooltip-theme-colors: null !default;
|
|
38
24
|
$kendo-tooltip-theme: null !default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../../color-system/_constants.scss" as *;
|
|
3
3
|
@use "../../mixins/index.scss" as *;
|
|
4
|
+
@use "../../functions/index.scss" as *;
|
|
4
5
|
@use "../../spacing/index.scss" as *;
|
|
5
6
|
@use "../../motion/index.scss" as *;
|
|
6
7
|
@use "./variables.scss" as *;
|
|
@@ -17,8 +18,6 @@
|
|
|
17
18
|
box-sizing: border-box;
|
|
18
19
|
outline: 0;
|
|
19
20
|
font-family: $kendo-treeview-font-family;
|
|
20
|
-
font-size: $kendo-treeview-font-size;
|
|
21
|
-
line-height: $kendo-treeview-line-height;
|
|
22
21
|
display: block;
|
|
23
22
|
cursor: default;
|
|
24
23
|
overflow: auto;
|
|
@@ -31,6 +30,34 @@
|
|
|
31
30
|
*::after {
|
|
32
31
|
box-sizing: border-box;
|
|
33
32
|
}
|
|
33
|
+
|
|
34
|
+
@each $size, $size-props in $kendo-treeview-sizes {
|
|
35
|
+
$_font-size: map.get( $size-props, font-size);
|
|
36
|
+
$_line-height: map.get( $size-props, line-height);
|
|
37
|
+
$_item-padding-x: map.get( $size-props, item-padding-x);
|
|
38
|
+
$_item-padding-y: map.get( $size-props, item-padding-y);
|
|
39
|
+
$_checkbox-padding-x: map.get( $size-props, checkbox-padding-x );
|
|
40
|
+
$_checkbox-padding-y: map.get( $size-props, checkbox-padding-y );
|
|
41
|
+
|
|
42
|
+
#{k-when-default($kendo-treeview-default-size, $size)}
|
|
43
|
+
&.k-treeview-#{$size} {
|
|
44
|
+
font-size: $_font-size;
|
|
45
|
+
line-height: $_line-height;
|
|
46
|
+
|
|
47
|
+
.k-treeview-leaf {
|
|
48
|
+
padding-block: $_item-padding-y;
|
|
49
|
+
padding-inline: $_item-padding-x;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.k-checkbox-wrap {
|
|
53
|
+
padding-block: $_checkbox-padding-y;
|
|
54
|
+
padding-inline: $_checkbox-padding-x;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
font-size: $kendo-treeview-font-size;
|
|
60
|
+
line-height: $kendo-treeview-line-height;
|
|
34
61
|
}
|
|
35
62
|
|
|
36
63
|
|
|
@@ -147,28 +174,4 @@
|
|
|
147
174
|
}
|
|
148
175
|
}
|
|
149
176
|
|
|
150
|
-
@each $size, $size-props in $kendo-treeview-sizes {
|
|
151
|
-
$_font-size: map.get( $size-props, font-size);
|
|
152
|
-
$_line-height: map.get( $size-props, line-height);
|
|
153
|
-
$_item-padding-x: map.get( $size-props, item-padding-x);
|
|
154
|
-
$_item-padding-y: map.get( $size-props, item-padding-y);
|
|
155
|
-
$_checkbox-padding-x: map.get( $size-props, checkbox-padding-x );
|
|
156
|
-
$_checkbox-padding-y: map.get( $size-props, checkbox-padding-y );
|
|
157
|
-
|
|
158
|
-
.k-treeview-#{$size} {
|
|
159
|
-
font-size: $_font-size;
|
|
160
|
-
line-height: $_line-height;
|
|
161
|
-
|
|
162
|
-
.k-treeview-leaf {
|
|
163
|
-
padding-block: $_item-padding-y;
|
|
164
|
-
padding-inline: $_item-padding-x;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.k-checkbox-wrap {
|
|
168
|
-
padding-block: $_checkbox-padding-y;
|
|
169
|
-
padding-inline: $_checkbox-padding-x;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
177
|
}
|