@progress/kendo-theme-fluent 8.1.0-dev.0 → 8.1.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/fluent-main-dark.css +1 -0
- package/dist/fluent-main-dark.scss +156 -0
- package/dist/fluent-main.css +1 -1
- package/dist/meta/sassdoc-data.json +1676 -381
- package/dist/meta/sassdoc-raw-data.json +790 -237
- package/dist/meta/variables.json +105 -18
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main-dark.json +768 -0
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +4 -4
- package/scss/bottom-navigation/_variables.scss +1 -1
- package/scss/button/_theme.scss +6 -0
- package/scss/chat/_layout.scss +4 -4
- package/scss/chat/_variables.scss +16 -2
- package/scss/core/_index.scss +3 -5
- package/scss/core/color-system/_swatch-legacy.scss +10 -2
- package/scss/core/color-system/_swatch.scss +9 -3
- package/scss/core/module-system/_components.scss +2 -1
- package/scss/daterangepicker/_theme.scss +1 -1
- package/scss/fab/_theme.scss +1 -1
- package/scss/forms/_theme.scss +6 -0
- package/scss/gantt/index.scss +2 -1
- package/scss/grid/_theme.scss +2 -2
- package/scss/index.scss +6 -0
- package/scss/loader/_layout.scss +130 -0
- package/scss/loader/_variables.scss +14 -0
- package/scss/loader/index.scss +1 -0
- package/scss/panel/_layout.scss +29 -0
- package/scss/panel/_theme.scss +22 -0
- package/scss/panel/_variables.scss +36 -0
- package/scss/panel/index.scss +23 -0
- package/scss/popup/_layout.scss +25 -8
- package/scss/rating/_theme.scss +1 -1
- package/scss/scheduler/index.scss +2 -1
- package/scss/time-marker/_layout.scss +19 -0
- package/scss/time-marker/_theme.scss +21 -0
- package/scss/time-marker/_variables.scss +6 -0
- package/scss/time-marker/index.scss +22 -0
- package/scss/typography/_layout.scss +4 -0
- package/scss/core/helpers/_animations.scss +0 -706
- package/scss/core/helpers/_asp-fallback.scss +0 -4
- package/scss/core/helpers/_extra.scss +0 -22
- package/scss/core/helpers/_index.scss +0 -9
- package/scss/core/helpers/_indicators.scss +0 -33
- package/scss/core/helpers/_normalize.scss +0 -11
- package/scss/core/helpers/_reset.scss +0 -19
- package/scss/core/helpers/_resizing.scss +0 -120
- package/scss/core/helpers/_scrollbar.scss +0 -25
- package/scss/core/helpers/_spacer.scss +0 -13
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-fluent",
|
|
3
3
|
"description": "A css variables based theme for Kendo UI that follows the Fluent design system guidelines.",
|
|
4
|
-
"version": "8.1.0-dev.
|
|
4
|
+
"version": "8.1.0-dev.2",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@progress/kendo-svg-icons": "3.0.0",
|
|
56
|
-
"@progress/kendo-theme-core": "8.1.0-dev.
|
|
57
|
-
"@progress/kendo-theme-utils": "8.1.0-dev.
|
|
56
|
+
"@progress/kendo-theme-core": "8.1.0-dev.2",
|
|
57
|
+
"@progress/kendo-theme-utils": "8.1.0-dev.2"
|
|
58
58
|
},
|
|
59
59
|
"directories": {
|
|
60
60
|
"doc": "docs",
|
|
61
61
|
"lib": "lib"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "a8611dd8fc7fb5f348432f88bbb672c6f0049fa4"
|
|
64
64
|
}
|
|
@@ -21,7 +21,7 @@ $kendo-bottom-nav-font-family: var( --kendo-font-family, inherit) !default;
|
|
|
21
21
|
$kendo-bottom-nav-font-size: var( --kendo-font-size, 1rem ) !default;
|
|
22
22
|
/// The line height of the BottomNavigation.
|
|
23
23
|
/// @group bottom-navigation
|
|
24
|
-
$kendo-bottom-nav-line-height: var( --kendo-line-height, normal ) !default;
|
|
24
|
+
$kendo-bottom-nav-line-height: var( --kendo-line-height-xs, normal ) !default;
|
|
25
25
|
/// The letter spacing of the BottomNavigation.
|
|
26
26
|
/// @group bottom-navigation
|
|
27
27
|
$kendo-bottom-nav-letter-spacing: .2px !default;
|
package/scss/button/_theme.scss
CHANGED
package/scss/chat/_layout.scss
CHANGED
|
@@ -117,8 +117,8 @@
|
|
|
117
117
|
// Message meta
|
|
118
118
|
.k-message-time,
|
|
119
119
|
.k-message-status {
|
|
120
|
-
font-size:
|
|
121
|
-
line-height:
|
|
120
|
+
font-size: $kendo-chat-message-meta-font-size;
|
|
121
|
+
line-height: $kendo-chat-message-meta-line-height;
|
|
122
122
|
white-space: nowrap;
|
|
123
123
|
pointer-events: none;
|
|
124
124
|
position: absolute;
|
|
@@ -200,8 +200,8 @@
|
|
|
200
200
|
// Author
|
|
201
201
|
.k-author {
|
|
202
202
|
margin: 0;
|
|
203
|
-
font-size:
|
|
204
|
-
line-height:
|
|
203
|
+
font-size: $kendo-chat-author-font-size;
|
|
204
|
+
line-height: $kendo-chat-author-line-height;
|
|
205
205
|
}
|
|
206
206
|
.k-chat .k-author {
|
|
207
207
|
margin: 0; // Duplicate styles because of typography module
|
|
@@ -64,10 +64,10 @@ $kendo-chat-message-list-spacing: $kendo-chat-item-spacing-y !default;
|
|
|
64
64
|
|
|
65
65
|
/// The font size of the Chat timestamp.
|
|
66
66
|
/// @group chat
|
|
67
|
-
$kendo-chat-timestamp-font-size:
|
|
67
|
+
$kendo-chat-timestamp-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
68
68
|
/// The line height of the Chat timestamp.
|
|
69
69
|
/// @group chat
|
|
70
|
-
$kendo-chat-timestamp-line-height: var( --kendo-line-height, normal ) !default;
|
|
70
|
+
$kendo-chat-timestamp-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
71
71
|
/// The text transform of the Chat timestamp.
|
|
72
72
|
/// @group chat
|
|
73
73
|
$kendo-chat-timestamp-transform: uppercase !default;
|
|
@@ -78,6 +78,20 @@ $kendo-chat-timestamp-text: var( --kendo-subtle-text, inherit ) !default;
|
|
|
78
78
|
/// @group chat
|
|
79
79
|
$kendo-chat-timestamp-bg: normal !default;
|
|
80
80
|
|
|
81
|
+
/// The font size of the Chat message meta text.
|
|
82
|
+
/// @group chat
|
|
83
|
+
$kendo-chat-message-meta-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
84
|
+
/// The line height of the Chat message meta text.
|
|
85
|
+
/// @group chat
|
|
86
|
+
$kendo-chat-message-meta-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
87
|
+
|
|
88
|
+
/// The font size of the Chat author text.
|
|
89
|
+
/// @group chat
|
|
90
|
+
$kendo-chat-author-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
91
|
+
/// The line height of the Chat author text.
|
|
92
|
+
/// @group chat
|
|
93
|
+
$kendo-chat-author-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
94
|
+
|
|
81
95
|
/// The horizontal padding of the Chat bubble message.
|
|
82
96
|
/// @group chat
|
|
83
97
|
$kendo-chat-bubble-padding-x: k-spacing(3) !default;
|
package/scss/core/_index.scss
CHANGED
|
@@ -51,8 +51,9 @@
|
|
|
51
51
|
$kendo-disabled-bg: $kendo-disabled-bg !default,
|
|
52
52
|
$kendo-disabled-text: $kendo-disabled-text !default,
|
|
53
53
|
$kendo-disabled-border: $kendo-disabled-border !default,
|
|
54
|
-
$kendo-
|
|
55
|
-
$kendo-
|
|
54
|
+
$kendo-disabled-opacity: $kendo-disabled-opacity !default,
|
|
55
|
+
$kendo-disabled-filter: $kendo-disabled-filter !default,
|
|
56
|
+
$kendo-disabled-styling: $kendo-disabled-styling !default,
|
|
56
57
|
// Elevation
|
|
57
58
|
$_default-elevation: $kendo-elevation,
|
|
58
59
|
$kendo-elevation: $kendo-elevation !default,
|
|
@@ -68,9 +69,6 @@
|
|
|
68
69
|
|
|
69
70
|
@forward "./color-system/swatch-legacy";
|
|
70
71
|
|
|
71
|
-
// Helpers
|
|
72
|
-
@use "./helpers";
|
|
73
|
-
|
|
74
72
|
// Module System
|
|
75
73
|
@use "./module-system/" as module;
|
|
76
74
|
|
|
@@ -26,8 +26,6 @@
|
|
|
26
26
|
core.$kendo-disabled-bg: core.k-color( base-subtle );
|
|
27
27
|
core.$kendo-disabled-text: color-mix(in srgb, core.k-color( on-app-surface ) 46%, transparent);
|
|
28
28
|
core.$kendo-disabled-border: transparent;
|
|
29
|
-
core.$kendo-loading-bg: core.$kendo-component-bg;
|
|
30
|
-
core.$kendo-loading-text: currentColor;
|
|
31
29
|
|
|
32
30
|
core.$kendo-theme-colors: (
|
|
33
31
|
primary: (
|
|
@@ -56,6 +54,14 @@
|
|
|
56
54
|
border: core.k-color( error-subtle ),
|
|
57
55
|
),
|
|
58
56
|
);
|
|
57
|
+
|
|
58
|
+
core.$kendo-disabled-styling: (
|
|
59
|
+
bg: core.$kendo-disabled-bg,
|
|
60
|
+
color: core.$kendo-disabled-text,
|
|
61
|
+
border: core.$kendo-disabled-border,
|
|
62
|
+
opacity: core.$kendo-disabled-opacity,
|
|
63
|
+
filter: core.$kendo-disabled-filter,
|
|
64
|
+
);
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
:root {
|
|
@@ -72,6 +78,8 @@
|
|
|
72
78
|
--kendo-disabled-bg: #{core.$kendo-disabled-bg};
|
|
73
79
|
--kendo-disabled-text: #{core.$kendo-disabled-text};
|
|
74
80
|
--kendo-disabled-border: #{core.$kendo-disabled-border};
|
|
81
|
+
--kendo-disabled-opacity: #{core.$kendo-disabled-opacity};
|
|
82
|
+
--kendo-disabled-filter: #{core.$kendo-disabled-filter};
|
|
75
83
|
|
|
76
84
|
--kendo-hover-bg: #{core.$kendo-hover-bg};
|
|
77
85
|
--kendo-hover-text: #{core.$kendo-hover-text};
|
|
@@ -475,10 +475,16 @@ $kendo-valid-shadow: null !default;
|
|
|
475
475
|
$kendo-disabled-bg: functions.k-get-theme-color-var(neutral-20) !default;
|
|
476
476
|
$kendo-disabled-text: functions.k-get-theme-color-var(neutral-90) !default;
|
|
477
477
|
$kendo-disabled-border: transparent !default;
|
|
478
|
+
$kendo-disabled-opacity: null !default;
|
|
479
|
+
$kendo-disabled-filter: null !default;
|
|
478
480
|
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
$kendo-
|
|
481
|
+
$kendo-disabled-styling: (
|
|
482
|
+
bg: $kendo-disabled-bg,
|
|
483
|
+
color: $kendo-disabled-text,
|
|
484
|
+
border: $kendo-disabled-border,
|
|
485
|
+
opacity: $kendo-disabled-opacity,
|
|
486
|
+
filter: $kendo-disabled-filter,
|
|
487
|
+
) !default;
|
|
482
488
|
|
|
483
489
|
$kendo-theme-colors: (
|
|
484
490
|
primary: (
|
|
@@ -24,10 +24,10 @@ $components: (
|
|
|
24
24
|
"badge",
|
|
25
25
|
"color-preview",
|
|
26
26
|
"loader",
|
|
27
|
-
"loading",
|
|
28
27
|
"color-preview",
|
|
29
28
|
"skeleton",
|
|
30
29
|
"tooltip",
|
|
30
|
+
"time-marker",
|
|
31
31
|
|
|
32
32
|
// Native forms
|
|
33
33
|
"button",
|
|
@@ -105,6 +105,7 @@ $components: (
|
|
|
105
105
|
// Layout & containers
|
|
106
106
|
"card",
|
|
107
107
|
"expansion-panel",
|
|
108
|
+
"panel",
|
|
108
109
|
"panelbar",
|
|
109
110
|
"splitter",
|
|
110
111
|
"tilelayout",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
&:disabled,
|
|
9
9
|
&[disabled],
|
|
10
10
|
&.k-disabled {
|
|
11
|
-
@include disabled
|
|
11
|
+
@include disabled(
|
|
12
12
|
$color: var( --kendo-daterange-picker-disabled-text, var( --kendo-disabled-text, inherit ) ),
|
|
13
13
|
$bg: var( --kendo-daterange-picker-disabled-bg, transparent ),
|
|
14
14
|
$border: var( --kendo-daterange-picker-disabled-border, currentColor )
|
package/scss/fab/_theme.scss
CHANGED
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
&.k-disabled .k-fab-item-icon,
|
|
186
186
|
&:disabled .k-fab-item-text,
|
|
187
187
|
&.k-disabled .k-fab-item-text {
|
|
188
|
-
@include disabled
|
|
188
|
+
@include disabled(
|
|
189
189
|
var( --kendo-disabled-text, inherit ),
|
|
190
190
|
var( --kendo-disabled-bg, inherit ),
|
|
191
191
|
var( --kendo-disabled-border, inherit )
|
package/scss/forms/_theme.scss
CHANGED
package/scss/gantt/index.scss
CHANGED
package/scss/grid/_theme.scss
CHANGED
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
|
|
542
542
|
&.k-disabled .k-link,
|
|
543
543
|
&.k-disabled .k-icon {
|
|
544
|
-
@include disabled
|
|
544
|
+
@include disabled(
|
|
545
545
|
var( --kendo-disabled-text, inherit )
|
|
546
546
|
);
|
|
547
547
|
}
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
|
|
562
562
|
.k-listgroup-item {
|
|
563
563
|
&.k-disabled {
|
|
564
|
-
@include disabled
|
|
564
|
+
@include disabled(
|
|
565
565
|
$bg: var( --kendo-disabled-bg, inherit )
|
|
566
566
|
);
|
|
567
567
|
}
|
package/scss/index.scss
CHANGED
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
@forward "./loader";
|
|
57
57
|
@forward "./skeleton";
|
|
58
58
|
@forward "./tooltip";
|
|
59
|
+
@forward "./time-marker";
|
|
59
60
|
|
|
60
61
|
|
|
61
62
|
// Form helpers
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
// Layout & containers
|
|
116
117
|
@forward "./card";
|
|
117
118
|
@forward "./expansion-panel";
|
|
119
|
+
@forward "./panel";
|
|
118
120
|
@forward "./panelbar";
|
|
119
121
|
@forward "./splitter";
|
|
120
122
|
@forward "./tilelayout";
|
|
@@ -193,6 +195,7 @@
|
|
|
193
195
|
@use "./loader" as *;
|
|
194
196
|
@use "./skeleton" as *;
|
|
195
197
|
@use "./tooltip" as *;
|
|
198
|
+
@use "./time-marker" as *;
|
|
196
199
|
|
|
197
200
|
|
|
198
201
|
// Form helpers
|
|
@@ -277,6 +280,7 @@
|
|
|
277
280
|
// Layout & containers
|
|
278
281
|
@use "./card" as *;
|
|
279
282
|
@use "./expansion-panel" as *;
|
|
283
|
+
@use "./panel" as *;
|
|
280
284
|
@use "./panelbar" as *;
|
|
281
285
|
@use "./splitter" as *;
|
|
282
286
|
@use "./tilelayout" as *;
|
|
@@ -379,6 +383,7 @@
|
|
|
379
383
|
@include loader-styles();
|
|
380
384
|
@include skeleton-styles();
|
|
381
385
|
@include tooltip-styles();
|
|
386
|
+
@include time-marker-styles();
|
|
382
387
|
|
|
383
388
|
|
|
384
389
|
// Form helpers
|
|
@@ -463,6 +468,7 @@
|
|
|
463
468
|
// Layout & containers
|
|
464
469
|
@include card-styles();
|
|
465
470
|
@include expansion-panel-styles();
|
|
471
|
+
@include panel-styles();
|
|
466
472
|
@include panelbar-styles();
|
|
467
473
|
@include splitter-styles();
|
|
468
474
|
@include tilelayout-styles();
|
package/scss/loader/_layout.scss
CHANGED
|
@@ -457,3 +457,133 @@
|
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
}
|
|
460
|
+
|
|
461
|
+
@mixin kendo-loading--layout() {
|
|
462
|
+
|
|
463
|
+
// Loading mask
|
|
464
|
+
.k-loading-mask,
|
|
465
|
+
.k-loading-image,
|
|
466
|
+
.k-loading-color {
|
|
467
|
+
width: 100%;
|
|
468
|
+
height: 100%;
|
|
469
|
+
box-sizing: border-box;
|
|
470
|
+
position: absolute;
|
|
471
|
+
top: 0;
|
|
472
|
+
left: 0;
|
|
473
|
+
|
|
474
|
+
*,
|
|
475
|
+
*::before,
|
|
476
|
+
*::after,
|
|
477
|
+
&::before,
|
|
478
|
+
&::after {
|
|
479
|
+
box-sizing: border-box;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.k-loading-mask {
|
|
484
|
+
z-index: var( --kendo-zindex-loading, #{$kendo-zindex-loading} );
|
|
485
|
+
|
|
486
|
+
&.k-opaque {
|
|
487
|
+
.k-loading-color {
|
|
488
|
+
opacity: 1;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
.k-loading-text {
|
|
493
|
+
text-indent: -4000px;
|
|
494
|
+
text-align: center;
|
|
495
|
+
position: absolute;
|
|
496
|
+
color: var( --kendo-loading-text, #{$kendo-loading-text} );
|
|
497
|
+
}
|
|
498
|
+
.k-loading-image {
|
|
499
|
+
z-index: 2;
|
|
500
|
+
color: var( --kendo-loading-text, #{$kendo-loading-text} );
|
|
501
|
+
}
|
|
502
|
+
.k-loading-color {
|
|
503
|
+
background-color: var( --kendo-loading-bg, #{$kendo-loading-bg} );
|
|
504
|
+
opacity: var( --kendo-loading-opacity, #{$kendo-loading-opacity} );
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
// Loading indicator
|
|
508
|
+
.k-i-loading {
|
|
509
|
+
width: 1em;
|
|
510
|
+
height: 1em;
|
|
511
|
+
line-height: 1;
|
|
512
|
+
display: inline-flex;
|
|
513
|
+
flex-flow: row nowrap;
|
|
514
|
+
align-items: center;
|
|
515
|
+
justify-content: center;
|
|
516
|
+
vertical-align: middle;
|
|
517
|
+
position: relative;
|
|
518
|
+
background-color: transparent;
|
|
519
|
+
box-sizing: border-box;
|
|
520
|
+
color: var( --kendo-loading-text, #{$kendo-loading-text} );
|
|
521
|
+
|
|
522
|
+
&::before,
|
|
523
|
+
&::after {
|
|
524
|
+
box-sizing: border-box;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.k-i-loading::before,
|
|
529
|
+
.k-i-loading::after,
|
|
530
|
+
.k-loading-image::before,
|
|
531
|
+
.k-loading-image::after {
|
|
532
|
+
position: absolute;
|
|
533
|
+
top: 50%;
|
|
534
|
+
left: 50%;
|
|
535
|
+
display: inline-block;
|
|
536
|
+
content: "";
|
|
537
|
+
box-sizing: inherit;
|
|
538
|
+
border-radius: 50%;
|
|
539
|
+
border-width: .05em;
|
|
540
|
+
border-style: solid;
|
|
541
|
+
border-color: currentColor;
|
|
542
|
+
border-top-color: transparent;
|
|
543
|
+
border-bottom-color: transparent;
|
|
544
|
+
background-color: transparent;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.k-icon.k-i-loading::before,
|
|
548
|
+
.k-icon.k-i-loading::after {
|
|
549
|
+
content: "";
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.k-i-loading::before,
|
|
553
|
+
.k-loading-image::before {
|
|
554
|
+
margin-top: -.5em;
|
|
555
|
+
margin-left: -.5em;
|
|
556
|
+
width: 1em;
|
|
557
|
+
height: 1em;
|
|
558
|
+
animation: k-loading-animation .7s linear infinite;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.k-i-loading::after,
|
|
562
|
+
.k-loading-image::after {
|
|
563
|
+
margin-top: -.25em;
|
|
564
|
+
margin-left: -.25em;
|
|
565
|
+
width: .5em;
|
|
566
|
+
height: .5em;
|
|
567
|
+
animation: k-loading-animation reverse 1.4s linear infinite;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.k-loading-image::before,
|
|
571
|
+
.k-loading-image::after {
|
|
572
|
+
content: "";
|
|
573
|
+
// See https://github.com/telerik/kendo-themes/issues/1925
|
|
574
|
+
border-width: 1px; // TODO: Remove once we drop IE support
|
|
575
|
+
border-width: clamp( .015em, 1px, 1px );
|
|
576
|
+
font-size: 4em;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
// Loading animation
|
|
580
|
+
@keyframes k-loading-animation {
|
|
581
|
+
0% {
|
|
582
|
+
transform: rotate(0deg);
|
|
583
|
+
}
|
|
584
|
+
100% {
|
|
585
|
+
transform: rotate(360deg);
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
}
|
|
@@ -187,3 +187,17 @@ $kendo-loader-theme-colors: () !default;
|
|
|
187
187
|
k-generate-theme-variation( light, if($kendo-enable-color-system, light, neutral), $ui-states )
|
|
188
188
|
);
|
|
189
189
|
}
|
|
190
|
+
|
|
191
|
+
// Loading indicator
|
|
192
|
+
/// The background color of the Loading indicator.
|
|
193
|
+
/// @group loading
|
|
194
|
+
$kendo-loading-bg: var( --kendo-component-bg, initial ) !default;
|
|
195
|
+
/// The text color of the Loading indicator.
|
|
196
|
+
/// @group loading
|
|
197
|
+
$kendo-loading-text: currentColor !default;
|
|
198
|
+
/// The opacity of the Loading indicator.
|
|
199
|
+
/// @group loading
|
|
200
|
+
$kendo-loading-opacity: .3 !default;
|
|
201
|
+
/// The z-index of the Loading indicator.
|
|
202
|
+
/// @group loading
|
|
203
|
+
$kendo-zindex-loading: 100 !default;
|
package/scss/loader/index.scss
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use "../core/" as *;
|
|
2
|
+
@use "./_variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
@mixin kendo-panel--layout() {
|
|
5
|
+
// Panels
|
|
6
|
+
.k-block,
|
|
7
|
+
.k-panel {
|
|
8
|
+
@include border-radius( $kendo-panel-border-radius );
|
|
9
|
+
padding: 0;
|
|
10
|
+
border-width: $kendo-panel-border-width;
|
|
11
|
+
border-style: $kendo-panel-border-style;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
|
|
14
|
+
> .k-header {
|
|
15
|
+
@include border-top-radius( $kendo-panel-border-radius );
|
|
16
|
+
@include fill(
|
|
17
|
+
var( --kendo-component-text, #{$kendo-component-text} ),
|
|
18
|
+
var( --kendo-component-bg, #{$kendo-component-bg} ),
|
|
19
|
+
var( --kendo-component-border, #{$kendo-component-border} )
|
|
20
|
+
);
|
|
21
|
+
padding-inline: $kendo-panel-header-padding-inline;
|
|
22
|
+
padding-block: $kendo-panel-header-padding-block;
|
|
23
|
+
}
|
|
24
|
+
> .k-content {
|
|
25
|
+
padding-inline: $kendo-panel-content-padding-inline;
|
|
26
|
+
padding-block: $kendo-panel-content-padding-block;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@use "../core/" as *;
|
|
2
|
+
@use "./_variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
@mixin kendo-panel--theme() {
|
|
5
|
+
// Panels
|
|
6
|
+
.k-block,
|
|
7
|
+
.k-panel {
|
|
8
|
+
@include fill(
|
|
9
|
+
var( --kendo-panel-text, #{$kendo-panel-text} ),
|
|
10
|
+
var( --kendo-panel-bg, #{$kendo-panel-bg} ),
|
|
11
|
+
var( --kendo-panel-border, #{$kendo-panel-border} )
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:where(.k-content) {
|
|
16
|
+
@include fill(
|
|
17
|
+
var( --kendo-panel-text, #{$kendo-panel-text} ),
|
|
18
|
+
var( --kendo-panel-bg, #{$kendo-panel-bg} ),
|
|
19
|
+
var( --kendo-panel-border, #{$kendo-panel-border} )
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../core/" as *;
|
|
3
|
+
|
|
4
|
+
/// The border radius of the Panel.
|
|
5
|
+
/// @group panel
|
|
6
|
+
$kendo-panel-border-radius: k-border-radius(md);
|
|
7
|
+
/// The width of the border around the Panel.
|
|
8
|
+
/// @group panel
|
|
9
|
+
$kendo-panel-border-width: 1px;
|
|
10
|
+
/// The style of the border around the Panel.
|
|
11
|
+
/// @group panel
|
|
12
|
+
$kendo-panel-border-style: solid;
|
|
13
|
+
|
|
14
|
+
/// The inline padding of the Panel header.
|
|
15
|
+
/// @group panel
|
|
16
|
+
$kendo-panel-header-padding-inline: k-spacing(2);
|
|
17
|
+
/// The block padding of the Panel header.
|
|
18
|
+
/// @group panel
|
|
19
|
+
$kendo-panel-header-padding-block: k-spacing(1);
|
|
20
|
+
|
|
21
|
+
/// The inline padding of the Panel content.
|
|
22
|
+
/// @group panel
|
|
23
|
+
$kendo-panel-content-padding-inline: k-spacing(2);
|
|
24
|
+
/// The block padding of the Panel content.
|
|
25
|
+
/// @group panel
|
|
26
|
+
$kendo-panel-content-padding-block: k-spacing(1);
|
|
27
|
+
|
|
28
|
+
/// The text color of the Panel.
|
|
29
|
+
/// @group panel
|
|
30
|
+
$kendo-panel-text: var(--kendo-component-text, #{$kendo-component-text});
|
|
31
|
+
/// The background color of the Panel.
|
|
32
|
+
/// @group panel
|
|
33
|
+
$kendo-panel-bg: var(--kendo-component-bg, #{$kendo-component-bg});
|
|
34
|
+
/// The color of the border around the Panel.
|
|
35
|
+
/// @group panel
|
|
36
|
+
$kendo-panel-border: var(--kendo-component-border, #{$kendo-component-border});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Module meta
|
|
2
|
+
$_kendo-module-meta: (
|
|
3
|
+
name: "panel",
|
|
4
|
+
dependencies: ()
|
|
5
|
+
);
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
// Component
|
|
9
|
+
@forward "./_variables.scss";
|
|
10
|
+
@use "./_layout.scss" as *;
|
|
11
|
+
@use "./_theme.scss" as *;
|
|
12
|
+
|
|
13
|
+
// Register
|
|
14
|
+
@use "../core/module-system/" as module;
|
|
15
|
+
@include module.register( $_kendo-module-meta... );
|
|
16
|
+
|
|
17
|
+
// Expose
|
|
18
|
+
@mixin panel-styles() {
|
|
19
|
+
@include module.render( "panel" ) {
|
|
20
|
+
@include kendo-panel--layout();
|
|
21
|
+
@include kendo-panel--theme();
|
|
22
|
+
}
|
|
23
|
+
}
|
package/scss/popup/_layout.scss
CHANGED
|
@@ -3,6 +3,31 @@
|
|
|
3
3
|
|
|
4
4
|
@mixin kendo-popup--layout() {
|
|
5
5
|
|
|
6
|
+
// Animation Container
|
|
7
|
+
.k-animation-container {
|
|
8
|
+
position: absolute;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
z-index: 100;
|
|
11
|
+
|
|
12
|
+
&-fixed {
|
|
13
|
+
position: fixed;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-relative {
|
|
17
|
+
position: relative;
|
|
18
|
+
display: inline-block;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.k-animation-container {
|
|
23
|
+
@include border-bottom-radius-only( var( --kendo-popup-border-radius, #{$kendo-popup-border-radius} ) );
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.k-animation-container-shown {
|
|
27
|
+
overflow: visible;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Popup
|
|
6
31
|
.k-popup {
|
|
7
32
|
margin: 0;
|
|
8
33
|
padding-inline: var( --kendo-popup-padding-x, #{$kendo-popup-padding-x} );
|
|
@@ -22,14 +47,6 @@
|
|
|
22
47
|
}
|
|
23
48
|
}
|
|
24
49
|
|
|
25
|
-
.k-animation-container {
|
|
26
|
-
@include border-bottom-radius-only( var( --kendo-popup-border-radius, #{$kendo-popup-border-radius} ) );
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.k-animation-container-shown {
|
|
30
|
-
overflow: visible;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
50
|
.k-popup > .k-colorpalette {
|
|
34
51
|
padding-inline: var( --kendo-popup-content-padding-x, #{$kendo-popup-content-padding-x} );
|
|
35
52
|
padding-block: var( --kendo-popup-content-padding-y, #{$kendo-popup-content-padding-y} );
|
package/scss/rating/_theme.scss
CHANGED