@progress/kendo-theme-bootstrap 13.0.0-dev.0 → 13.0.0-dev.2
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/bootstrap-3-dark.css +1 -1
- package/dist/bootstrap-3.css +1 -1
- package/dist/bootstrap-4-dark.css +1 -1
- package/dist/bootstrap-4.css +1 -1
- package/dist/bootstrap-dataviz-v4.css +1 -1
- package/dist/bootstrap-main-dark.css +1 -1
- package/dist/bootstrap-main.css +1 -1
- package/dist/bootstrap-nordic.css +1 -1
- package/dist/bootstrap-turquoise-dark.css +1 -1
- package/dist/bootstrap-turquoise.css +1 -1
- package/dist/bootstrap-urban.css +1 -1
- package/dist/bootstrap-vintage.css +1 -1
- package/dist/meta/sassdoc-data.json +7160 -2668
- package/dist/meta/sassdoc-raw-data.json +3284 -1250
- package/dist/meta/variables.json +461 -106
- package/lib/swatches/bootstrap-3-dark.json +1 -1
- package/lib/swatches/bootstrap-3.json +1 -1
- package/lib/swatches/bootstrap-4-dark.json +1 -1
- package/lib/swatches/bootstrap-4.json +1 -1
- package/lib/swatches/bootstrap-dataviz-v4.json +1 -1
- package/lib/swatches/bootstrap-main-dark.json +1 -1
- package/lib/swatches/bootstrap-main.json +1 -1
- package/lib/swatches/bootstrap-nordic.json +1 -1
- package/lib/swatches/bootstrap-turquoise-dark.json +1 -1
- package/lib/swatches/bootstrap-turquoise.json +1 -1
- package/lib/swatches/bootstrap-urban.json +1 -1
- package/lib/swatches/bootstrap-vintage.json +1 -1
- package/package.json +5 -5
- package/scss/bubble/_variables.scss +1 -1
- package/scss/chat/_index.scss +2 -0
- package/scss/chat/_variables.scss +35 -62
- package/scss/core/motion/index.scss +1 -0
- package/scss/dropdowntree/_variables.scss +12 -3
- package/scss/file-box/_index.scss +16 -0
- package/scss/file-box/_layout.scss +6 -0
- package/scss/file-box/_theme.scss +6 -0
- package/scss/file-box/_variables.scss +73 -0
- package/scss/grid/_index.scss +2 -0
- package/scss/grid/_theme.scss +9 -0
- package/scss/grid/_variables.scss +11 -1
- package/scss/icons/_variables.scss +5 -1
- package/scss/index.scss +12 -0
- package/scss/list/_variables.scss +53 -13
- package/scss/prompt-box/_index.scss +16 -0
- package/scss/prompt-box/_layout.scss +6 -0
- package/scss/prompt-box/_theme.scss +6 -0
- package/scss/prompt-box/_variables.scss +34 -0
- package/scss/segmented-control/_index.scss +16 -0
- package/scss/segmented-control/_layout.scss +6 -0
- package/scss/segmented-control/_theme.scss +6 -0
- package/scss/segmented-control/_variables.scss +144 -0
- package/scss/smart-box/_index.scss +24 -0
- package/scss/smart-box/_layout.scss +6 -0
- package/scss/smart-box/_theme.scss +13 -0
- package/scss/smart-box/_variables.scss +71 -0
- package/scss/suggestion/_variables.scss +12 -2
- package/scss/toolbar/_variables.scss +4 -0
- package/scss/treeview/_theme.scss +13 -0
- package/scss/treeview/_variables.scss +14 -1
|
@@ -12,6 +12,13 @@ $kendo-list-default-size: "md" !default;
|
|
|
12
12
|
/// @group list
|
|
13
13
|
$kendo-list-font-family: var( --kendo-font-family, inherit ) !default;
|
|
14
14
|
|
|
15
|
+
/// The horizontal padding of the List container.
|
|
16
|
+
/// @group list
|
|
17
|
+
$kendo-list-container-padding-inline: 0 !default;
|
|
18
|
+
/// The vertical padding of the List container.
|
|
19
|
+
/// @group list
|
|
20
|
+
$kendo-list-container-padding-block: k-spacing(2) !default;
|
|
21
|
+
|
|
15
22
|
/// The font size of the List component, if no size is set.
|
|
16
23
|
/// @group list
|
|
17
24
|
$kendo-list-font-size: null !default;
|
|
@@ -159,6 +166,14 @@ $kendo-list-md-item-line-height: null !default;
|
|
|
159
166
|
/// @group list
|
|
160
167
|
$kendo-list-lg-item-line-height: null !default;
|
|
161
168
|
|
|
169
|
+
/// The gap of the List item components.
|
|
170
|
+
/// @group list
|
|
171
|
+
$kendo-list-item-gap: k-spacing(2) !default;
|
|
172
|
+
|
|
173
|
+
/// The spacing between the List items.
|
|
174
|
+
/// @group list
|
|
175
|
+
$kendo-list-item-spacing: k-spacing(0.5) !default;
|
|
176
|
+
|
|
162
177
|
/// The horizontal padding of the small List group item.
|
|
163
178
|
/// @group list
|
|
164
179
|
$kendo-list-sm-group-item-padding-x: k-spacing(4) !default;
|
|
@@ -171,43 +186,47 @@ $kendo-list-lg-group-item-padding-x: k-spacing(4) !default;
|
|
|
171
186
|
|
|
172
187
|
/// The vertical padding of the small List group item.
|
|
173
188
|
/// @group list
|
|
174
|
-
$kendo-list-sm-group-item-padding-y: k-spacing(0
|
|
189
|
+
$kendo-list-sm-group-item-padding-y: k-spacing(0) !default;
|
|
175
190
|
/// The vertical padding of the medium List group item.
|
|
176
191
|
/// @group list
|
|
177
|
-
$kendo-list-md-group-item-padding-y: k-spacing(
|
|
192
|
+
$kendo-list-md-group-item-padding-y: k-spacing(0.5) !default;
|
|
178
193
|
/// The vertical padding of the large List group item.
|
|
179
194
|
/// @group list
|
|
180
195
|
$kendo-list-lg-group-item-padding-y: k-spacing(1.5) !default;
|
|
181
196
|
|
|
197
|
+
/// The border width of the List group items.
|
|
198
|
+
/// @group list
|
|
199
|
+
$kendo-list-group-item-border-width: 0 !default;
|
|
200
|
+
|
|
182
201
|
/// The border width of the List group items.
|
|
183
202
|
/// @group list
|
|
184
203
|
$kendo-list-group-item-border-width: 1px 0 0 !default;
|
|
185
204
|
|
|
186
205
|
/// The font size of the List group items, if no size is set.
|
|
187
206
|
/// @group list
|
|
188
|
-
$kendo-list-group-item-font-size:
|
|
207
|
+
$kendo-list-group-item-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
189
208
|
/// The font size of the small List group item.
|
|
190
209
|
/// @group list
|
|
191
|
-
$kendo-list-sm-group-item-font-size:
|
|
210
|
+
$kendo-list-sm-group-item-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
192
211
|
/// The font size of the medium List group item.
|
|
193
212
|
/// @group list
|
|
194
|
-
$kendo-list-md-group-item-font-size:
|
|
213
|
+
$kendo-list-md-group-item-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
195
214
|
/// The font size of the large List group item.
|
|
196
215
|
/// @group list
|
|
197
|
-
$kendo-list-lg-group-item-font-size:
|
|
216
|
+
$kendo-list-lg-group-item-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
198
217
|
|
|
199
218
|
/// The line height of the List group items, if no size is set.
|
|
200
219
|
/// @group list
|
|
201
|
-
$kendo-list-group-item-line-height:
|
|
220
|
+
$kendo-list-group-item-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
202
221
|
/// The line height of the small List group item.
|
|
203
222
|
/// @group list
|
|
204
|
-
$kendo-list-sm-group-item-line-height:
|
|
223
|
+
$kendo-list-sm-group-item-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
205
224
|
/// The line height of the medium List group item.
|
|
206
225
|
/// @group list
|
|
207
|
-
$kendo-list-md-group-item-line-height:
|
|
226
|
+
$kendo-list-md-group-item-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
208
227
|
/// The line height of the large List group item.
|
|
209
228
|
/// @group list
|
|
210
|
-
$kendo-list-lg-group-item-line-height:
|
|
229
|
+
$kendo-list-lg-group-item-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
211
230
|
|
|
212
231
|
/// The font weight of a List group item.
|
|
213
232
|
/// @group list
|
|
@@ -284,6 +303,9 @@ $kendo-list-item-bg: null !default;
|
|
|
284
303
|
/// The text color of the List items.
|
|
285
304
|
/// @group list
|
|
286
305
|
$kendo-list-item-text: null !default;
|
|
306
|
+
/// The border-radius of the List items.
|
|
307
|
+
/// @group list
|
|
308
|
+
$kendo-list-item-border-radius: null !default;
|
|
287
309
|
|
|
288
310
|
/// The background color of the hovered List items.
|
|
289
311
|
/// @group list
|
|
@@ -321,22 +343,34 @@ $kendo-list-item-selected-hover-text: k-color(on-primary) !default;
|
|
|
321
343
|
$kendo-list-group-item-bg: null !default;
|
|
322
344
|
/// The text color of the List group items.
|
|
323
345
|
/// @group list
|
|
324
|
-
$kendo-list-group-item-text:
|
|
346
|
+
$kendo-list-group-item-text: k-color(subtle) !default;
|
|
325
347
|
/// The border color of the List group items..
|
|
326
348
|
/// @group list
|
|
327
349
|
$kendo-list-group-item-border: inherit !default;
|
|
328
350
|
/// The base shadow of the List group items.
|
|
329
351
|
/// @group list
|
|
330
|
-
$kendo-list-group-item-shadow:
|
|
352
|
+
$kendo-list-group-item-shadow: inset 0 1px 0 k-color(border) !default;
|
|
331
353
|
|
|
332
354
|
/// The color of the 'Option Label' text.
|
|
333
355
|
/// @group list
|
|
334
356
|
$kendo-list-option-label-text: k-color(subtle) !default;
|
|
335
357
|
|
|
358
|
+
/// The font size of the List item description.
|
|
359
|
+
/// @group list
|
|
360
|
+
$kendo-list-item-description-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
361
|
+
/// The line of the list item description.
|
|
362
|
+
/// @group list
|
|
363
|
+
$kendo-list-item-description-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
364
|
+
/// The text color of the list item description.
|
|
365
|
+
/// @group list
|
|
366
|
+
$kendo-list-item-description-text: k-color(subtle) !default;
|
|
367
|
+
|
|
336
368
|
|
|
337
369
|
@forward "@progress/kendo-theme-core/scss/components/list/_variables.scss" with (
|
|
338
370
|
$kendo-list-default-size: $kendo-list-default-size,
|
|
339
371
|
$kendo-list-font-family: $kendo-list-font-family,
|
|
372
|
+
$kendo-list-container-padding-inline: $kendo-list-container-padding-inline,
|
|
373
|
+
$kendo-list-container-padding-block: $kendo-list-container-padding-block,
|
|
340
374
|
$kendo-list-font-size: $kendo-list-font-size,
|
|
341
375
|
$kendo-list-sm-font-size: $kendo-list-sm-font-size,
|
|
342
376
|
$kendo-list-md-font-size: $kendo-list-md-font-size,
|
|
@@ -375,6 +409,8 @@ $kendo-list-option-label-text: k-color(subtle) !default;
|
|
|
375
409
|
$kendo-list-sm-item-line-height: $kendo-list-sm-item-line-height,
|
|
376
410
|
$kendo-list-md-item-line-height: $kendo-list-md-item-line-height,
|
|
377
411
|
$kendo-list-lg-item-line-height: $kendo-list-lg-item-line-height,
|
|
412
|
+
$kendo-list-item-gap: $kendo-list-item-gap,
|
|
413
|
+
$kendo-list-item-spacing: $kendo-list-item-spacing,
|
|
378
414
|
$kendo-list-sm-group-item-padding-x: $kendo-list-sm-group-item-padding-x,
|
|
379
415
|
$kendo-list-md-group-item-padding-x: $kendo-list-md-group-item-padding-x,
|
|
380
416
|
$kendo-list-lg-group-item-padding-x: $kendo-list-lg-group-item-padding-x,
|
|
@@ -418,6 +454,7 @@ $kendo-list-option-label-text: k-color(subtle) !default;
|
|
|
418
454
|
$kendo-list-header-shadow: $kendo-list-header-shadow,
|
|
419
455
|
$kendo-list-item-bg: $kendo-list-item-bg,
|
|
420
456
|
$kendo-list-item-text: $kendo-list-item-text,
|
|
457
|
+
$kendo-list-item-border-radius: $kendo-list-item-border-radius,
|
|
421
458
|
$kendo-list-item-hover-bg: $kendo-list-item-hover-bg,
|
|
422
459
|
$kendo-list-item-hover-text: $kendo-list-item-hover-text,
|
|
423
460
|
$kendo-list-item-focus-bg: $kendo-list-item-focus-bg,
|
|
@@ -431,5 +468,8 @@ $kendo-list-option-label-text: k-color(subtle) !default;
|
|
|
431
468
|
$kendo-list-group-item-text: $kendo-list-group-item-text,
|
|
432
469
|
$kendo-list-group-item-border: $kendo-list-group-item-border,
|
|
433
470
|
$kendo-list-group-item-shadow: $kendo-list-group-item-shadow,
|
|
434
|
-
$kendo-list-option-label-text: $kendo-list-option-label-text
|
|
471
|
+
$kendo-list-option-label-text: $kendo-list-option-label-text,
|
|
472
|
+
$kendo-list-item-description-text: $kendo-list-item-description-text,
|
|
473
|
+
$kendo-list-item-description-font-size: $kendo-list-item-description-font-size,
|
|
474
|
+
$kendo-list-item-description-line-height: $kendo-list-item-description-line-height
|
|
435
475
|
);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Dependencies
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
|
|
4
|
+
// Component
|
|
5
|
+
@forward "./_variables.scss";
|
|
6
|
+
@use "./_layout.scss" as *;
|
|
7
|
+
@use "./_theme.scss" as *;
|
|
8
|
+
|
|
9
|
+
// Expose
|
|
10
|
+
@mixin kendo-prompt-box--styles() {
|
|
11
|
+
@include import-once( "prompt-box" ) {
|
|
12
|
+
@include core-styles();
|
|
13
|
+
@include kendo-prompt-box--layout();
|
|
14
|
+
@include kendo-prompt-box--theme();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@use "../core/_index.scss" as *;
|
|
2
|
+
|
|
3
|
+
// Prompt box
|
|
4
|
+
|
|
5
|
+
/// The border radius of the PromptBox.
|
|
6
|
+
/// @group prompt-box
|
|
7
|
+
$kendo-prompt-box-border-radius: k-border-radius(xl) !default;
|
|
8
|
+
|
|
9
|
+
/// The box shadow of the PromptBox.
|
|
10
|
+
/// @group prompt-box
|
|
11
|
+
$kendo-prompt-box-box-shadow: k-elevation(1) !default;
|
|
12
|
+
|
|
13
|
+
/// The padding of the PromptBox header.
|
|
14
|
+
/// @group prompt-box
|
|
15
|
+
$kendo-prompt-box-header-padding: k-spacing(2) !default;
|
|
16
|
+
/// The inner padding of the PromptBox input.
|
|
17
|
+
/// @group prompt-box
|
|
18
|
+
$kendo-prompt-box-input-inner-padding: k-spacing(3) !default;
|
|
19
|
+
/// The padding of the PromptBox affix.
|
|
20
|
+
/// @group prompt-box
|
|
21
|
+
$kendo-prompt-box-affix-padding: k-spacing(2) !default;
|
|
22
|
+
|
|
23
|
+
/// The spacing between the PromptBox affixes.
|
|
24
|
+
/// @group prompt-box
|
|
25
|
+
$kendo-prompt-box-affix-spacing: k-spacing(1) !default;
|
|
26
|
+
|
|
27
|
+
@forward "@progress/kendo-theme-core/scss/components/prompt-box/_variables.scss" with (
|
|
28
|
+
$kendo-prompt-box-border-radius: $kendo-prompt-box-border-radius,
|
|
29
|
+
$kendo-prompt-box-box-shadow: $kendo-prompt-box-box-shadow,
|
|
30
|
+
$kendo-prompt-box-header-padding: $kendo-prompt-box-header-padding,
|
|
31
|
+
$kendo-prompt-box-input-inner-padding: $kendo-prompt-box-input-inner-padding,
|
|
32
|
+
$kendo-prompt-box-affix-padding: $kendo-prompt-box-affix-padding,
|
|
33
|
+
$kendo-prompt-box-affix-spacing: $kendo-prompt-box-affix-spacing
|
|
34
|
+
);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Dependencies
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
|
|
4
|
+
// Component
|
|
5
|
+
@forward "./_variables.scss";
|
|
6
|
+
@use "./_layout.scss" as *;
|
|
7
|
+
@use "./_theme.scss" as *;
|
|
8
|
+
|
|
9
|
+
// Expose
|
|
10
|
+
@mixin kendo-segmented-control--styles() {
|
|
11
|
+
@include import-once( "segmented-control" ) {
|
|
12
|
+
@include core-styles();
|
|
13
|
+
@include kendo-segmented-control--layout();
|
|
14
|
+
@include kendo-segmented-control--theme();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:math";
|
|
3
|
+
@use "../core/_index.scss" as *;
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
// Segmented control
|
|
7
|
+
|
|
8
|
+
/// The default size of the Segmented control.
|
|
9
|
+
/// @group segmented-control
|
|
10
|
+
/// @role default
|
|
11
|
+
$kendo-segmented-control-default-size: "md" !default;
|
|
12
|
+
|
|
13
|
+
/// The horizontal padding of the Segmented Control.
|
|
14
|
+
/// @group segmented-control
|
|
15
|
+
$kendo-segmented-control-padding-x: k-spacing(0.5) !default;
|
|
16
|
+
/// The vertical padding of the Segmented Control.
|
|
17
|
+
/// @group segmented-control
|
|
18
|
+
$kendo-segmented-control-padding-y: k-spacing(0.5) !default;
|
|
19
|
+
/// The border radius of the Segmented Control.
|
|
20
|
+
/// @group segmented-control
|
|
21
|
+
$kendo-segmented-control-border-radius: k-border-radius(full) !default;
|
|
22
|
+
|
|
23
|
+
/// The background color of the Segmented Control.
|
|
24
|
+
/// @group segmented-control
|
|
25
|
+
$kendo-segmented-control-bg: k-color(base-subtle) !default;
|
|
26
|
+
/// The text color of the Segmented Control.
|
|
27
|
+
/// @group segmented-control
|
|
28
|
+
$kendo-segmented-control-text: k-color(on-base) !default;
|
|
29
|
+
|
|
30
|
+
/// The font size of the small Segmented Control.
|
|
31
|
+
/// @group segmented-control
|
|
32
|
+
$kendo-segmented-control-sm-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
33
|
+
/// The font size of the medium Segmented Control.
|
|
34
|
+
/// @group segmented-control
|
|
35
|
+
$kendo-segmented-control-md-font-size: var( --kendo-font-size, inherit ) !default;
|
|
36
|
+
/// The font size of the large Segmented Control.
|
|
37
|
+
/// @group segmented-control
|
|
38
|
+
$kendo-segmented-control-lg-font-size: var( --kendo-font-size-lg, inherit ) !default;
|
|
39
|
+
|
|
40
|
+
/// The font family of the Segmented Control.
|
|
41
|
+
/// @group segmented-control
|
|
42
|
+
$kendo-segmented-control-font-family: var( --kendo-font-family, inherit ) !default;
|
|
43
|
+
|
|
44
|
+
/// The line height of the small Segmented Control.
|
|
45
|
+
/// @group segmented-control
|
|
46
|
+
$kendo-segmented-control-sm-line-height: math.div( 20, 14 ) !default;
|
|
47
|
+
/// The line height of the medium Segmented Control.
|
|
48
|
+
/// @group segmented-control
|
|
49
|
+
$kendo-segmented-control-md-line-height: var( --kendo-line-height, normal ) !default;
|
|
50
|
+
/// The line height of the large Segmented Control.
|
|
51
|
+
/// @group segmented-control
|
|
52
|
+
$kendo-segmented-control-lg-line-height: var( --kendo-line-height, normal ) !default;
|
|
53
|
+
|
|
54
|
+
/// The border radius of the Segmented Control thumb.
|
|
55
|
+
/// @group segmented-control
|
|
56
|
+
$kendo-segmented-control-thumb-border-radius: $kendo-segmented-control-border-radius !default;
|
|
57
|
+
/// The box shadow of the Segmented Control thumb.
|
|
58
|
+
/// @group segmented-control
|
|
59
|
+
$kendo-segmented-control-thumb-shadow: none !default;
|
|
60
|
+
/// The background of the Segmented Control thumb.
|
|
61
|
+
/// @group segmented-control
|
|
62
|
+
$kendo-segmented-control-thumb-bg: k-color(surface-alt) !default;
|
|
63
|
+
/// The text color of the Segmented Control thumb.
|
|
64
|
+
/// @group segmented-control
|
|
65
|
+
$kendo-segmented-control-thumb-text: $kendo-segmented-control-text !default;
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
/// The horizontal padding of the small Segmented Control button.
|
|
69
|
+
/// @group segmented-control
|
|
70
|
+
$kendo-segmented-control-sm-button-padding-x: k-spacing(3) !default;
|
|
71
|
+
/// The horizontal padding of the medium Segmented Control button.
|
|
72
|
+
/// @group segmented-control
|
|
73
|
+
$kendo-segmented-control-md-button-padding-x: k-spacing(3) !default;
|
|
74
|
+
/// The horizontal padding of the large Segmented Control button.
|
|
75
|
+
/// @group segmented-control
|
|
76
|
+
$kendo-segmented-control-lg-button-padding-x: k-spacing(3) !default;
|
|
77
|
+
|
|
78
|
+
/// The vertical padding of the small Segmented Control button.
|
|
79
|
+
/// @group segmented-control
|
|
80
|
+
$kendo-segmented-control-sm-button-padding-y: calc( #{k-spacing(.5)} + 1px ) !default;
|
|
81
|
+
/// The vertical padding of the medium Segmented Control button.
|
|
82
|
+
/// @group segmented-control
|
|
83
|
+
$kendo-segmented-control-md-button-padding-y: calc( #{k-spacing(1)} + 1px ) !default;
|
|
84
|
+
/// The vertical padding of the large Segmented Control button.
|
|
85
|
+
/// @group segmented-control
|
|
86
|
+
$kendo-segmented-control-lg-button-padding-y: calc( #{k-spacing(1.5)} + 1px ) !default;
|
|
87
|
+
|
|
88
|
+
/// The width of the border around the Segmented Control button.
|
|
89
|
+
/// @group segmented-control
|
|
90
|
+
$kendo-segmented-control-button-border-width: 0px !default;
|
|
91
|
+
/// The border radius of the Segmented Control button.
|
|
92
|
+
/// @group segmented-control
|
|
93
|
+
$kendo-segmented-control-button-border-radius: $kendo-segmented-control-thumb-border-radius !default;
|
|
94
|
+
|
|
95
|
+
/// The gap of the items inside the small Segmented Control buttons.
|
|
96
|
+
/// @group segmented-control
|
|
97
|
+
$kendo-segmented-control-sm-button-gap: k-spacing(1.5) !default;
|
|
98
|
+
/// The gap of the items inside the medium Segmented Control buttons.
|
|
99
|
+
/// @group segmented-control
|
|
100
|
+
$kendo-segmented-control-md-button-gap: k-spacing(1.5) !default;
|
|
101
|
+
/// The gap of the items inside the large Segmented Control buttons.
|
|
102
|
+
/// @group segmented-control
|
|
103
|
+
$kendo-segmented-control-lg-button-gap: k-spacing(2) !default;
|
|
104
|
+
|
|
105
|
+
/// The background color of the hovered button inside Segmented Control.
|
|
106
|
+
/// @group segmented-control
|
|
107
|
+
$kendo-segmented-control-button-hover-bg: k-color(base-hover) !default;
|
|
108
|
+
/// The indication of the focused button inside Segmented Control.
|
|
109
|
+
/// @group segmented-control
|
|
110
|
+
$kendo-segmented-control-button-focus-indicator: inset 0 0 0 2px color-mix(in srgb, currentColor 16%, transparent) !default;
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
@forward "@progress/kendo-theme-core/scss/components/segmented-control/_variables.scss" with (
|
|
114
|
+
$kendo-segmented-control-default-size: $kendo-segmented-control-default-size,
|
|
115
|
+
$kendo-segmented-control-padding-x: $kendo-segmented-control-padding-x,
|
|
116
|
+
$kendo-segmented-control-padding-y: $kendo-segmented-control-padding-y,
|
|
117
|
+
$kendo-segmented-control-border-radius: $kendo-segmented-control-border-radius,
|
|
118
|
+
$kendo-segmented-control-bg: $kendo-segmented-control-bg,
|
|
119
|
+
$kendo-segmented-control-text: $kendo-segmented-control-text,
|
|
120
|
+
$kendo-segmented-control-sm-font-size: $kendo-segmented-control-sm-font-size,
|
|
121
|
+
$kendo-segmented-control-md-font-size: $kendo-segmented-control-md-font-size,
|
|
122
|
+
$kendo-segmented-control-lg-font-size: $kendo-segmented-control-lg-font-size,
|
|
123
|
+
$kendo-segmented-control-font-family: $kendo-segmented-control-font-family,
|
|
124
|
+
$kendo-segmented-control-sm-line-height: $kendo-segmented-control-sm-line-height,
|
|
125
|
+
$kendo-segmented-control-md-line-height: $kendo-segmented-control-md-line-height,
|
|
126
|
+
$kendo-segmented-control-lg-line-height: $kendo-segmented-control-lg-line-height,
|
|
127
|
+
$kendo-segmented-control-thumb-border-radius: $kendo-segmented-control-thumb-border-radius,
|
|
128
|
+
$kendo-segmented-control-thumb-shadow: $kendo-segmented-control-thumb-shadow,
|
|
129
|
+
$kendo-segmented-control-thumb-bg: $kendo-segmented-control-thumb-bg,
|
|
130
|
+
$kendo-segmented-control-thumb-text: $kendo-segmented-control-thumb-text,
|
|
131
|
+
$kendo-segmented-control-sm-button-padding-x: $kendo-segmented-control-sm-button-padding-x,
|
|
132
|
+
$kendo-segmented-control-md-button-padding-x: $kendo-segmented-control-md-button-padding-x,
|
|
133
|
+
$kendo-segmented-control-lg-button-padding-x: $kendo-segmented-control-lg-button-padding-x,
|
|
134
|
+
$kendo-segmented-control-sm-button-padding-y: $kendo-segmented-control-sm-button-padding-y,
|
|
135
|
+
$kendo-segmented-control-md-button-padding-y: $kendo-segmented-control-md-button-padding-y,
|
|
136
|
+
$kendo-segmented-control-lg-button-padding-y: $kendo-segmented-control-lg-button-padding-y,
|
|
137
|
+
$kendo-segmented-control-button-border-width: $kendo-segmented-control-button-border-width,
|
|
138
|
+
$kendo-segmented-control-button-border-radius: $kendo-segmented-control-button-border-radius,
|
|
139
|
+
$kendo-segmented-control-sm-button-gap: $kendo-segmented-control-sm-button-gap,
|
|
140
|
+
$kendo-segmented-control-md-button-gap: $kendo-segmented-control-md-button-gap,
|
|
141
|
+
$kendo-segmented-control-lg-button-gap: $kendo-segmented-control-lg-button-gap,
|
|
142
|
+
$kendo-segmented-control-button-hover-bg: $kendo-segmented-control-button-hover-bg,
|
|
143
|
+
$kendo-segmented-control-button-focus-indicator: $kendo-segmented-control-button-focus-indicator
|
|
144
|
+
);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Dependencies
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
@use "../input/_index.scss" as *;
|
|
4
|
+
@use "../popup/_index.scss" as *;
|
|
5
|
+
@use "../list/_index.scss" as *;
|
|
6
|
+
@use "../segmented-control/_index.scss" as *;
|
|
7
|
+
|
|
8
|
+
// Component
|
|
9
|
+
@forward "./_variables.scss";
|
|
10
|
+
@use "./_layout.scss" as *;
|
|
11
|
+
@use "./_theme.scss" as *;
|
|
12
|
+
|
|
13
|
+
// Expose
|
|
14
|
+
@mixin kendo-smart-box--styles() {
|
|
15
|
+
@include import-once( "smart-box" ) {
|
|
16
|
+
@include core-styles();
|
|
17
|
+
@include kendo-input--styles();
|
|
18
|
+
@include kendo-popup--styles();
|
|
19
|
+
@include kendo-list--styles();
|
|
20
|
+
@include kendo-segmented-control--styles();
|
|
21
|
+
@include kendo-smart-box--layout();
|
|
22
|
+
@include kendo-smart-box--theme();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use "@progress/kendo-theme-core/scss/components/smart-box/_theme.scss" as *;
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
@mixin kendo-smart-box--theme() {
|
|
5
|
+
@include kendo-smart-box--theme-base();
|
|
6
|
+
|
|
7
|
+
.k-smart-box {
|
|
8
|
+
.k-input-prefix,
|
|
9
|
+
.k-input-suffix {
|
|
10
|
+
background: transparent;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
|
|
4
|
+
// Smart box
|
|
5
|
+
|
|
6
|
+
/// The default size of the SmartBox.
|
|
7
|
+
/// @group smart-box
|
|
8
|
+
/// @role default
|
|
9
|
+
$kendo-smart-box-default-size: "md" !default;
|
|
10
|
+
/// The default roundness of the SmartBox.
|
|
11
|
+
/// @group smart-box
|
|
12
|
+
/// @role default
|
|
13
|
+
$kendo-smart-box-default-roundness: "full" !default;
|
|
14
|
+
|
|
15
|
+
/// The spacing between elements in the suffix of the Smart box.
|
|
16
|
+
/// @group smart-box
|
|
17
|
+
$kendo-smart-box-suffix-spacing: k-spacing(1) !default;
|
|
18
|
+
|
|
19
|
+
/// The horizontal padding of the small Smart box.
|
|
20
|
+
/// @group smart-box
|
|
21
|
+
$kendo-smart-box-sm-padding-x: 0 !default;
|
|
22
|
+
/// The horizontal padding of the medium Smart box.
|
|
23
|
+
/// @group smart-box
|
|
24
|
+
$kendo-smart-box-md-padding-x: k-spacing(1) !default;
|
|
25
|
+
/// The horizontal padding of the large Smart box.
|
|
26
|
+
/// @group smart-box
|
|
27
|
+
$kendo-smart-box-lg-padding-x: calc( #{k-spacing(2)} + 1px) !default;
|
|
28
|
+
|
|
29
|
+
/// The horizontal margin of the prefix icon in the small Smart box.
|
|
30
|
+
/// @group smart-box
|
|
31
|
+
$kendo-smart-box-sm-prefix-margin-x: 0 !default;
|
|
32
|
+
/// The horizontal margin of the prefix icon in the medium Smart box.
|
|
33
|
+
/// @group smart-box
|
|
34
|
+
$kendo-smart-box-md-prefix-margin-x: k-spacing(0) !default;
|
|
35
|
+
/// The horizontal margin of the prefix icon in the large Smart box.
|
|
36
|
+
/// @group smart-box
|
|
37
|
+
$kendo-smart-box-lg-prefix-margin-x: k-spacing(0) !default;
|
|
38
|
+
|
|
39
|
+
/// The inline padding of the popup of the Smart box.
|
|
40
|
+
/// @group smart-box
|
|
41
|
+
$kendo-smart-box-popup-padding-inline: 0 !default;
|
|
42
|
+
/// The block padding of the popup of the Smart box.
|
|
43
|
+
/// @group smart-box
|
|
44
|
+
$kendo-smart-box-popup-padding-block: k-spacing(2) !default;
|
|
45
|
+
/// The border radius of the popup of the Smart box.
|
|
46
|
+
/// @group smart-box
|
|
47
|
+
$kendo-smart-box-popup-border-radius: k-border-radius(md) !default;
|
|
48
|
+
/// The spacing of the popup of the Smart box.
|
|
49
|
+
/// @group smart-box
|
|
50
|
+
$kendo-smart-box-popup-spacing: k-spacing(2) !default;
|
|
51
|
+
/// The margin of the segmented control in the popup of the Smart box.
|
|
52
|
+
/// @group smart-box
|
|
53
|
+
$kendo-smart-box-popup-segmented-control-margin: k-spacing(2) !default;
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
@forward "@progress/kendo-theme-core/scss/components/smart-box/_variables.scss" with (
|
|
57
|
+
$kendo-smart-box-default-size: $kendo-smart-box-default-size,
|
|
58
|
+
$kendo-smart-box-default-roundness: $kendo-smart-box-default-roundness,
|
|
59
|
+
$kendo-smart-box-suffix-spacing: $kendo-smart-box-suffix-spacing,
|
|
60
|
+
$kendo-smart-box-sm-padding-x: $kendo-smart-box-sm-padding-x,
|
|
61
|
+
$kendo-smart-box-md-padding-x: $kendo-smart-box-md-padding-x,
|
|
62
|
+
$kendo-smart-box-lg-padding-x: $kendo-smart-box-lg-padding-x,
|
|
63
|
+
$kendo-smart-box-sm-prefix-margin-x: $kendo-smart-box-sm-prefix-margin-x,
|
|
64
|
+
$kendo-smart-box-md-prefix-margin-x: $kendo-smart-box-md-prefix-margin-x,
|
|
65
|
+
$kendo-smart-box-lg-prefix-margin-x: $kendo-smart-box-lg-prefix-margin-x,
|
|
66
|
+
$kendo-smart-box-popup-padding-inline: $kendo-smart-box-popup-padding-inline,
|
|
67
|
+
$kendo-smart-box-popup-padding-block: $kendo-smart-box-popup-padding-block,
|
|
68
|
+
$kendo-smart-box-popup-border-radius: $kendo-smart-box-popup-border-radius,
|
|
69
|
+
$kendo-smart-box-popup-spacing: $kendo-smart-box-popup-spacing,
|
|
70
|
+
$kendo-smart-box-popup-segmented-control-margin: $kendo-smart-box-popup-segmented-control-margin,
|
|
71
|
+
);
|
|
@@ -17,12 +17,16 @@ $kendo-suggestion-border-width: 1px !default;
|
|
|
17
17
|
/// @group suggestion
|
|
18
18
|
$kendo-suggestion-border-style: solid !default;
|
|
19
19
|
|
|
20
|
+
/// The font size of the Suggestion.
|
|
21
|
+
/// @group suggestion
|
|
22
|
+
$kendo-suggestion-font-size: var( --kendo-font-size, inherit ) !default;
|
|
23
|
+
|
|
20
24
|
/// The line height of the Suggestion.
|
|
21
25
|
/// @group suggestion
|
|
22
26
|
$kendo-suggestion-line-height: var( --kendo-line-height, normal ) !default;
|
|
23
27
|
/// The border radius of the Suggestion.
|
|
24
28
|
/// @group suggestion
|
|
25
|
-
$kendo-suggestion-border-radius: k-border-radius(
|
|
29
|
+
$kendo-suggestion-border-radius: k-border-radius(full) !default;
|
|
26
30
|
|
|
27
31
|
/// The shadow blur of the focused Suggestion.
|
|
28
32
|
/// @group suggestion
|
|
@@ -39,16 +43,22 @@ $kendo-suggestion-focus-shadow-color: color-mix(in srgb, k-color(on-app-surface)
|
|
|
39
43
|
/// @role default
|
|
40
44
|
$kendo-suggestion-default-theme-color: "base" !default;
|
|
41
45
|
|
|
46
|
+
/// The gradient used for scroll indicators in the Suggestion group.
|
|
47
|
+
/// @group suggestion
|
|
48
|
+
$kendo-suggestion-scroll-gradient: rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 1) 100% !default;
|
|
49
|
+
|
|
42
50
|
@forward "@progress/kendo-theme-core/scss/components/suggestion/_variables.scss" with (
|
|
43
51
|
$kendo-suggestion-padding-y: $kendo-suggestion-padding-y,
|
|
44
52
|
$kendo-suggestion-padding-x: $kendo-suggestion-padding-x,
|
|
45
53
|
$kendo-suggestion-spacing: $kendo-suggestion-spacing,
|
|
46
54
|
$kendo-suggestion-border-width: $kendo-suggestion-border-width,
|
|
47
55
|
$kendo-suggestion-border-style: $kendo-suggestion-border-style,
|
|
56
|
+
$kendo-suggestion-font-size: $kendo-suggestion-font-size,
|
|
48
57
|
$kendo-suggestion-line-height: $kendo-suggestion-line-height,
|
|
49
58
|
$kendo-suggestion-border-radius: $kendo-suggestion-border-radius,
|
|
50
59
|
$kendo-suggestion-focus-shadow-blur: $kendo-suggestion-focus-shadow-blur,
|
|
51
60
|
$kendo-suggestion-focus-shadow-spread: $kendo-suggestion-focus-shadow-spread,
|
|
52
61
|
$kendo-suggestion-focus-shadow-color: $kendo-suggestion-focus-shadow-color,
|
|
53
|
-
$kendo-suggestion-default-theme-color: $kendo-suggestion-default-theme-color
|
|
62
|
+
$kendo-suggestion-default-theme-color: $kendo-suggestion-default-theme-color,
|
|
63
|
+
$kendo-suggestion-scroll-gradient: $kendo-suggestion-scroll-gradient
|
|
54
64
|
);
|
|
@@ -128,6 +128,9 @@ $kendo-toolbar-separator-border: inherit !default;
|
|
|
128
128
|
/// The width of the input in the Toolbar.
|
|
129
129
|
/// @group toolbar
|
|
130
130
|
$kendo-toolbar-input-width: 10em !default;
|
|
131
|
+
/// The minimum width of the Smart ToolBox in the Toolbar.
|
|
132
|
+
/// @group toolbar
|
|
133
|
+
$kendo-toolbar-smart-box-min-width: 350px !default;
|
|
131
134
|
|
|
132
135
|
/// The box shadow of the focused Toolbar item.
|
|
133
136
|
/// @group toolbar
|
|
@@ -180,6 +183,7 @@ $kendo-toolbar-overflow-button-padding-x: $kendo-menu-popup-md-item-padding-x !d
|
|
|
180
183
|
$kendo-toolbar-flat-shadow: $kendo-toolbar-flat-shadow,
|
|
181
184
|
$kendo-toolbar-separator-border: $kendo-toolbar-separator-border,
|
|
182
185
|
$kendo-toolbar-input-width: $kendo-toolbar-input-width,
|
|
186
|
+
$kendo-toolbar-smart-box-min-width: $kendo-toolbar-smart-box-min-width,
|
|
183
187
|
$kendo-toolbar-item-shadow: $kendo-toolbar-item-shadow,
|
|
184
188
|
$kendo-toolbar-scroll-overlay: $kendo-toolbar-scroll-overlay,
|
|
185
189
|
$kendo-toolbar-flat-scroll-overlay: $kendo-toolbar-flat-scroll-overlay,
|
|
@@ -1,6 +1,19 @@
|
|
|
1
|
+
@use "../core/_index.scss" as *;
|
|
1
2
|
@use "@progress/kendo-theme-core/scss/components/treeview/_theme.scss" as *;
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
@mixin kendo-treeview--theme() {
|
|
5
6
|
@include kendo-treeview--theme-base();
|
|
7
|
+
|
|
8
|
+
.k-treeview-item-content.k-selected {
|
|
9
|
+
|
|
10
|
+
.k-checkbox:checked,
|
|
11
|
+
.k-checkbox.k-checked,
|
|
12
|
+
.k-checkbox:indeterminate,
|
|
13
|
+
.k-checkbox.k-indeterminate {
|
|
14
|
+
border-color: k-color(on-primary);
|
|
15
|
+
background-color: k-color(on-primary);
|
|
16
|
+
color: k-color(primary);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
6
19
|
}
|
|
@@ -9,6 +9,12 @@
|
|
|
9
9
|
/// @group treeview
|
|
10
10
|
/// @role default
|
|
11
11
|
$kendo-treeview-default-size: "md" !default;
|
|
12
|
+
/// The gap of the TreeView.
|
|
13
|
+
/// @group treeview
|
|
14
|
+
$kendo-treeview-gap: k-spacing(0.5) !default;
|
|
15
|
+
/// The border radius of the TreeView.
|
|
16
|
+
/// @group treeview
|
|
17
|
+
$kendo-treeview-border-radius: null !default;
|
|
12
18
|
|
|
13
19
|
/// The font family of the TreeView.
|
|
14
20
|
/// @group treeview
|
|
@@ -65,7 +71,7 @@ $kendo-treeview-lg-item-padding-y: k-spacing(2) !default;
|
|
|
65
71
|
$kendo-treeview-item-border-width: 0px !default;
|
|
66
72
|
/// The border radius of the TreeView items.
|
|
67
73
|
/// @group treeview
|
|
68
|
-
$kendo-treeview-item-border-radius:
|
|
74
|
+
$kendo-treeview-item-border-radius: null !default;
|
|
69
75
|
|
|
70
76
|
/// The horizontal padding of the checkbox in the small TreeView.
|
|
71
77
|
/// @group treeview
|
|
@@ -123,6 +129,10 @@ $kendo-treeview-item-selected-border: $kendo-treeview-item-selected-bg !default;
|
|
|
123
129
|
/// @group treeview
|
|
124
130
|
$kendo-treeview-item-selected-gradient: null !default;
|
|
125
131
|
|
|
132
|
+
/// The background color of selected and hovered TreeView items.
|
|
133
|
+
/// @group treeview
|
|
134
|
+
$kendo-treeview-item-selected-hover-bg: k-color(primary-hover) !default;
|
|
135
|
+
|
|
126
136
|
/// The box shadow of focused TreeView items.
|
|
127
137
|
/// @group treeview
|
|
128
138
|
$kendo-treeview-item-focus-shadow: inset 0 0 0 2px color-mix(in srgb, k-color(on-app-surface) 15%, transparent) !default;
|
|
@@ -164,6 +174,8 @@ $kendo-treeview-loadmore-focus-shadow: $kendo-treeview-item-focus-shadow !defaul
|
|
|
164
174
|
|
|
165
175
|
@forward "@progress/kendo-theme-core/scss/components/treeview/_variables.scss" with (
|
|
166
176
|
$kendo-treeview-default-size: $kendo-treeview-default-size,
|
|
177
|
+
$kendo-treeview-gap: $kendo-treeview-gap,
|
|
178
|
+
$kendo-treeview-border-radius: $kendo-treeview-border-radius,
|
|
167
179
|
$kendo-treeview-font-family: $kendo-treeview-font-family,
|
|
168
180
|
$kendo-treeview-font-size: $kendo-treeview-font-size,
|
|
169
181
|
$kendo-treeview-sm-font-size: $kendo-treeview-sm-font-size,
|
|
@@ -199,6 +211,7 @@ $kendo-treeview-loadmore-focus-shadow: $kendo-treeview-item-focus-shadow !defaul
|
|
|
199
211
|
$kendo-treeview-item-selected-text: $kendo-treeview-item-selected-text,
|
|
200
212
|
$kendo-treeview-item-selected-border: $kendo-treeview-item-selected-border,
|
|
201
213
|
$kendo-treeview-item-selected-gradient: $kendo-treeview-item-selected-gradient,
|
|
214
|
+
$kendo-treeview-item-selected-hover-bg: $kendo-treeview-item-selected-hover-bg,
|
|
202
215
|
$kendo-treeview-item-focus-shadow: $kendo-treeview-item-focus-shadow,
|
|
203
216
|
$kendo-treeview-loadmore-bg: $kendo-treeview-loadmore-bg,
|
|
204
217
|
$kendo-treeview-loadmore-text: $kendo-treeview-loadmore-text,
|