@progress/kendo-theme-default 7.1.0-dev.8 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all.css +74 -31
- package/dist/all.scss +1489 -594
- package/dist/meta/sassdoc-data.json +1450 -1504
- package/dist/meta/sassdoc-raw-data.json +683 -708
- package/dist/meta/variables.json +216 -160
- package/lib/swatches/default-blue.json +1 -1
- package/lib/swatches/default-dataviz-v4.json +1 -1
- package/lib/swatches/default-green.json +1 -1
- package/lib/swatches/default-main-dark.json +1 -1
- package/lib/swatches/default-main.json +1 -1
- package/lib/swatches/default-nordic.json +1 -1
- package/lib/swatches/default-ocean-blue-a11y.json +1 -1
- package/lib/swatches/default-ocean-blue.json +1 -1
- package/lib/swatches/default-orange.json +1 -1
- package/lib/swatches/default-purple.json +1 -1
- package/lib/swatches/default-turquoise.json +1 -1
- package/lib/swatches/default-urban.json +1 -1
- package/package.json +4 -4
- package/scss/_variables.scss +1 -222
- package/scss/adaptive/_variables.scss +1 -1
- package/scss/appbar/_theme.scss +1 -1
- package/scss/appbar/_variables.scss +2 -2
- package/scss/avatar/_theme.scss +1 -1
- package/scss/badge/_theme.scss +1 -1
- package/scss/bottom-navigation/_theme.scss +5 -5
- package/scss/button/_theme.scss +74 -30
- package/scss/button/_variables.scss +10 -10
- package/scss/calendar/_theme.scss +1 -1
- package/scss/card/_layout.scss +4 -0
- package/scss/card/_theme.scss +3 -3
- package/scss/chat/_variables.scss +1 -1
- package/scss/checkbox/_variables.scss +2 -2
- package/scss/chip/_theme.scss +24 -22
- package/scss/chip/_variables.scss +5 -5
- package/scss/core/_index.scss +6 -0
- package/scss/core/color-system/_palettes.scss +256 -0
- package/scss/core/color-system/_swatch-legacy.scss +62 -0
- package/scss/core/color-system/_swatch.scss +397 -0
- package/scss/dataviz/_layout.scss +2 -2
- package/scss/dataviz/_variables.scss +42 -42
- package/scss/dialog/_theme.scss +1 -1
- package/scss/dock-manager/_variables.scss +1 -1
- package/scss/dropzone/_variables.scss +1 -1
- package/scss/editor/_variables.scss +1 -1
- package/scss/fab/_theme.scss +15 -15
- package/scss/filemanager/_layout.scss +5 -0
- package/scss/filemanager/_variables.scss +2 -2
- package/scss/floating-label/_layout.scss +11 -11
- package/scss/forms/_variables.scss +1 -1
- package/scss/gantt/_layout.scss +13 -5
- package/scss/gantt/_variables.scss +10 -10
- package/scss/grid/_layout.scss +10 -0
- package/scss/grid/_theme.scss +54 -6
- package/scss/grid/_variables.scss +10 -7
- package/scss/input/_layout.scss +7 -2
- package/scss/input/_variables.scss +8 -8
- package/scss/list/_theme.scss +1 -1
- package/scss/listview/_variables.scss +1 -1
- package/scss/map/_variables.scss +1 -1
- package/scss/mediaplayer/_theme.scss +1 -1
- package/scss/mediaplayer/_variables.scss +1 -1
- package/scss/messagebox/_theme.scss +13 -5
- package/scss/notification/_variables.scss +1 -1
- package/scss/panelbar/_variables.scss +4 -4
- package/scss/pivotgrid/_variables.scss +5 -5
- package/scss/progressbar/_theme.scss +1 -1
- package/scss/progressbar/_variables.scss +3 -3
- package/scss/scheduler/_theme.scss +3 -3
- package/scss/scheduler/_variables.scss +4 -4
- package/scss/signature/_variables.scss +1 -1
- package/scss/skeleton/_variables.scss +2 -5
- package/scss/slider/_variables.scss +6 -6
- package/scss/splitter/_variables.scss +1 -1
- package/scss/spreadsheet/_variables.scss +4 -4
- package/scss/stepper/_layout.scss +11 -0
- package/scss/stepper/_theme.scss +51 -15
- package/scss/stepper/_variables.scss +8 -8
- package/scss/switch/_theme.scss +2 -2
- package/scss/switch/_variables.scss +4 -4
- package/scss/table/_variables.scss +3 -4
- package/scss/taskboard/_variables.scss +7 -7
- package/scss/timeline/_variables.scss +4 -4
- package/scss/tooltip/_variables.scss +4 -4
- package/scss/window/_theme.scss +1 -1
- package/scss/core/color-system/index.import.scss +0 -1
package/scss/fab/_theme.scss
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
outline: $kendo-fab-border-width $kendo-fab-outline-style $color;
|
|
8
8
|
outline-offset: -$kendo-fab-border-width;
|
|
9
9
|
border-color: $color;
|
|
10
|
-
color: k-contrast-legacy( $color );
|
|
10
|
+
color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
|
|
11
11
|
background-color: $color;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
@each $name, $color in $kendo-fab-theme-colors {
|
|
17
17
|
.k-hover.k-fab-solid-#{$name},
|
|
18
18
|
.k-fab-solid-#{$name}:hover {
|
|
19
|
-
border-color: k-try-shade( $color, .5 );
|
|
20
|
-
background-color: k-try-shade( $color, .5 );
|
|
19
|
+
border-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, .5 ));
|
|
20
|
+
background-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, .5 ));
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
@if $kendo-enable-focus-contrast {
|
|
29
29
|
@include box-shadow( inset 0 0 0 2px currentColor );
|
|
30
30
|
} @else {
|
|
31
|
-
outline: $kendo-fab-outline-style $kendo-fab-outline-width rgba( $color, .3 );
|
|
31
|
+
outline: $kendo-fab-outline-style $kendo-fab-outline-width if($kendo-enable-color-system, rgba( k-color( $name, true ), .3 ), rgba( $color, .3 ));
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
.k-selected.k-fab-solid-#{$name},
|
|
40
40
|
.k-fab-solid-#{$name}:active {
|
|
41
41
|
@include box-shadow($kendo-fab-active-shadow);
|
|
42
|
-
border-color: k-try-shade( $color, 1.5);
|
|
43
|
-
background-color: k-try-shade( $color, 1.5);
|
|
42
|
+
border-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 1.5));
|
|
43
|
+
background-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 1.5));
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
.k-disabled.k-fab-solid-#{$name},
|
|
50
50
|
.k-fab-solid-#{$name}:disabled {
|
|
51
51
|
@include box-shadow($kendo-fab-disabled-shadow);
|
|
52
|
-
background-color: k-try-tint( $color, 5 );
|
|
53
|
-
color: k-try-tint( k-contrast-legacy( $color ), 5 );
|
|
52
|
+
background-color: if($kendo-enable-color-system, rgba( k-color( $name, true ), .6 ), k-try-tint( $color, 5 ));
|
|
53
|
+
color: if($kendo-enable-color-system, rgba( k-color( on-#{$name}, true ), .6 ), k-try-tint( k-contrast-legacy( $color ), 5 ));
|
|
54
54
|
opacity: 1;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
// Hover state
|
|
80
80
|
.k-fab-item.k-hover .k-fab-item-icon,
|
|
81
81
|
.k-fab-item:hover .k-fab-item-icon {
|
|
82
|
-
border-color: k-try-shade( $kendo-fab-item-icon-border, .5 );
|
|
83
|
-
background-color: k-try-shade( $kendo-fab-item-icon-bg, .5 );
|
|
82
|
+
border-color: if($kendo-enable-color-system, k-color( border ), k-try-shade( $kendo-fab-item-icon-border, .5 ));
|
|
83
|
+
background-color: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-fab-item-icon-bg, .5 ));
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
// Focus state
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
.k-fab-item.k-focus .k-fab-item-text,
|
|
90
90
|
.k-fab-item.k-focus .k-fab-item-icon {
|
|
91
91
|
@if $kendo-enable-focus-contrast {
|
|
92
|
-
@include box-shadow( inset 0 0 0 2px if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ) );
|
|
92
|
+
@include box-shadow( inset 0 0 0 2px if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )) );
|
|
93
93
|
} @else {
|
|
94
94
|
outline: $kendo-fab-item-outline-style $kendo-fab-item-outline-width $kendo-fab-item-outline-color;
|
|
95
95
|
}
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
.k-fab-item.k-active .k-fab-item-icon,
|
|
100
100
|
.k-fab-item:active .k-fab-item-icon {
|
|
101
101
|
@include box-shadow($kendo-fab-item-active-shadow);
|
|
102
|
-
border-color: k-try-shade( $kendo-fab-item-icon-border, 1);
|
|
103
|
-
background-color: k-try-shade( $kendo-fab-item-icon-bg, 1);
|
|
102
|
+
border-color: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-fab-item-icon-border, 1 ));
|
|
103
|
+
background-color: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-fab-item-icon-bg, 1 ));
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
// Disabled state
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
.k-fab-item-text,
|
|
112
112
|
.k-fab-item-icon {
|
|
113
113
|
@include box-shadow($kendo-fab-item-disabled-shadow);
|
|
114
|
-
background-color: k-try-tint( $kendo-fab-item-bg, 5 );
|
|
115
|
-
color: k-try-tint( $kendo-fab-item-text, 5 );
|
|
114
|
+
background-color: if($kendo-enable-color-system, rgba( k-color( base, true ), .6 ), k-try-tint( $kendo-fab-item-bg, 5 ));
|
|
115
|
+
color: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .6 ), k-try-tint( $kendo-fab-item-text, 5 ));
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
border-bottom-width: $kendo-file-manager-toolbar-border-width;
|
|
23
23
|
border-color: inherit;
|
|
24
24
|
flex-shrink: 0;
|
|
25
|
+
z-index: 1;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
|
|
@@ -36,6 +37,10 @@
|
|
|
36
37
|
overflow: hidden;
|
|
37
38
|
}
|
|
38
39
|
|
|
40
|
+
.k-filemanager-splitter {
|
|
41
|
+
border-width: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
39
44
|
|
|
40
45
|
// Navigation
|
|
41
46
|
.k-filemanager-navigation {
|
|
@@ -119,7 +119,7 @@ $kendo-file-manager-listview-item-border: null !default;
|
|
|
119
119
|
$kendo-file-manager-listview-item-icon-bg: null !default;
|
|
120
120
|
/// The text color of the FileManager ListView item icon.
|
|
121
121
|
/// @group filemanager
|
|
122
|
-
$kendo-file-manager-listview-item-icon-text: k-try-tint($kendo-file-manager-text, 4) !default;
|
|
122
|
+
$kendo-file-manager-listview-item-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint($kendo-file-manager-text, 4)) !default;
|
|
123
123
|
/// The border color of the FileManager ListView item icon.
|
|
124
124
|
/// @group filemanager
|
|
125
125
|
$kendo-file-manager-listview-item-icon-border: null !default;
|
|
@@ -176,7 +176,7 @@ $kendo-file-manager-preview-border: null !default;
|
|
|
176
176
|
$kendo-file-manager-preview-icon-bg: null !default;
|
|
177
177
|
/// The text color of the FileManager preview icon.
|
|
178
178
|
/// @group filemanager
|
|
179
|
-
$kendo-file-manager-preview-icon-text: k-try-tint($kendo-file-manager-text, 4) !default;
|
|
179
|
+
$kendo-file-manager-preview-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint($kendo-file-manager-text, 4)) !default;
|
|
180
180
|
/// The border color of the FileManager preview icon.
|
|
181
181
|
/// @group filemanager
|
|
182
182
|
$kendo-file-manager-preview-icon-border: null !default;
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
white-space: nowrap;
|
|
25
25
|
text-overflow: ellipsis;
|
|
26
26
|
position: absolute;
|
|
27
|
-
top: $kendo-floating-label-offset-y;
|
|
28
|
-
left: $kendo-floating-label-offset-x;
|
|
27
|
+
top: var(--kendo-floating-label-offset-y, #{$kendo-floating-label-offset-y});
|
|
28
|
+
left: var(--kendo-floating-label-offset-x, #{$kendo-floating-label-offset-x});
|
|
29
29
|
overflow: hidden;
|
|
30
30
|
cursor: text;
|
|
31
31
|
transform-origin: left center;
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
|
|
40
40
|
&.k-empty {
|
|
41
41
|
> .k-label {
|
|
42
|
-
top: $kendo-floating-label-offset-y;
|
|
43
|
-
left: $kendo-floating-label-offset-x;
|
|
42
|
+
top: var(--kendo-floating-label-offset-y, #{$kendo-floating-label-offset-y});
|
|
43
|
+
left: var(--kendo-floating-label-offset-x, #{$kendo-floating-label-offset-x});
|
|
44
44
|
transform: scale( $kendo-floating-label-scale );
|
|
45
45
|
pointer-events: none;
|
|
46
46
|
}
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
|
|
49
49
|
> .k-label,
|
|
50
50
|
&.k-focus > .k-label {
|
|
51
|
-
top: $kendo-floating-label-focus-offset-y;
|
|
52
|
-
left: $kendo-floating-label-focus-offset-x;
|
|
51
|
+
top: var(--kendo-floating-label-focus-offset-y, #{$kendo-floating-label-focus-offset-y});
|
|
52
|
+
left: var(--kendo-floating-label-focus-offset-x, #{$kendo-floating-label-focus-offset-x});
|
|
53
53
|
transform: scale( $kendo-floating-label-focus-scale );
|
|
54
54
|
}
|
|
55
55
|
&:focus-within > .k-label {
|
|
56
|
-
top: $kendo-floating-label-focus-offset-y;
|
|
57
|
-
left: $kendo-floating-label-focus-offset-x;
|
|
56
|
+
top: var(--kendo-floating-label-focus-offset-y, #{$kendo-floating-label-focus-offset-y});
|
|
57
|
+
left: var(--kendo-floating-label-focus-offset-x, #{$kendo-floating-label-focus-offset-x});
|
|
58
58
|
transform: scale( $kendo-floating-label-focus-scale );
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -74,18 +74,18 @@
|
|
|
74
74
|
&.k-empty {
|
|
75
75
|
> .k-label {
|
|
76
76
|
left: auto;
|
|
77
|
-
right: $kendo-floating-label-offset-x;
|
|
77
|
+
right: var(--kendo-floating-label-offset-x, #{$kendo-floating-label-offset-x});
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
> .k-label,
|
|
82
82
|
&.k-focus > .k-label {
|
|
83
83
|
left: auto;
|
|
84
|
-
right: $kendo-floating-label-focus-offset-x;
|
|
84
|
+
right: var(--kendo-floating-label-focus-offset-x, #{$kendo-floating-label-focus-offset-x});
|
|
85
85
|
}
|
|
86
86
|
&:focus-within > .k-label {
|
|
87
87
|
left: auto;
|
|
88
|
-
right: $kendo-floating-label-focus-offset-x;
|
|
88
|
+
right: var(--kendo-floating-label-focus-offset-x, #{$kendo-floating-label-focus-offset-x});
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -151,7 +151,7 @@ $kendo-fieldset-border: null !default;
|
|
|
151
151
|
$kendo-fieldset-legend-bg: null !default;
|
|
152
152
|
/// The text color of the Form legend.
|
|
153
153
|
/// @group form
|
|
154
|
-
$kendo-fieldset-legend-text: k-try-shade( $kendo-body-text, 2 ) !default;
|
|
154
|
+
$kendo-fieldset-legend-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-try-shade( $kendo-body-text, 2 )) !default;
|
|
155
155
|
/// The border color of the Form legend.
|
|
156
156
|
/// @group form
|
|
157
157
|
$kendo-fieldset-legend-border: null !default;
|
package/scss/gantt/_layout.scss
CHANGED
|
@@ -291,12 +291,20 @@
|
|
|
291
291
|
|
|
292
292
|
|
|
293
293
|
// Timeline
|
|
294
|
-
.k-gantt-timeline {
|
|
294
|
+
.k-gantt-timeline-pane {
|
|
295
295
|
|
|
296
|
-
.k-timeline {
|
|
296
|
+
.k-gantt-timeline {
|
|
297
297
|
height: 100%;
|
|
298
298
|
border-width: 0;
|
|
299
299
|
display: flex;
|
|
300
|
+
|
|
301
|
+
*,
|
|
302
|
+
*::before,
|
|
303
|
+
*::after,
|
|
304
|
+
&::before,
|
|
305
|
+
&::after {
|
|
306
|
+
box-sizing: border-box;
|
|
307
|
+
}
|
|
300
308
|
}
|
|
301
309
|
.k-grid-header {}
|
|
302
310
|
.k-grid-content {
|
|
@@ -772,7 +780,7 @@
|
|
|
772
780
|
}
|
|
773
781
|
|
|
774
782
|
.k-gantt,
|
|
775
|
-
.k-gantt-timeline,
|
|
783
|
+
.k-gantt-timeline-pane,
|
|
776
784
|
.k-gantt-dependencies {
|
|
777
785
|
width: auto !important; // stylelint-disable-line declaration-no-important
|
|
778
786
|
height: auto !important; // stylelint-disable-line declaration-no-important
|
|
@@ -817,7 +825,7 @@
|
|
|
817
825
|
margin-inline: -26px;
|
|
818
826
|
}
|
|
819
827
|
|
|
820
|
-
.k-gantt-timeline {
|
|
828
|
+
.k-gantt-timeline-pane {
|
|
821
829
|
.k-header {
|
|
822
830
|
border-width: 0 $kendo-grid-cell-vertical-border-width 1px 0;
|
|
823
831
|
}
|
|
@@ -877,7 +885,7 @@
|
|
|
877
885
|
margin-right: $kendo-gantt-rtl-milestone-planned-moment-margin-x;
|
|
878
886
|
}
|
|
879
887
|
|
|
880
|
-
.k-gantt-timeline .k-milestone-wrap .k-task-start {
|
|
888
|
+
.k-gantt-timeline-pane .k-milestone-wrap .k-task-start {
|
|
881
889
|
right: $kendo-gantt-rtl-milestone-dot-start-margin-x;
|
|
882
890
|
}
|
|
883
891
|
|
|
@@ -16,12 +16,12 @@ $kendo-gantt-treelist-bg: null !default;
|
|
|
16
16
|
$kendo-gantt-treelist-text: null !default;
|
|
17
17
|
$kendo-gantt-treelist-border: null !default;
|
|
18
18
|
|
|
19
|
-
$kendo-gantt-nonwork-bg: rgba( k-contrast-legacy( $kendo-gantt-bg ), .025 ) !default;
|
|
19
|
+
$kendo-gantt-nonwork-bg: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .03 ), rgba( k-contrast-legacy( $kendo-gantt-bg ), .025 )) !default;
|
|
20
20
|
$kendo-gantt-nonwork-text: null !default;
|
|
21
21
|
$kendo-gantt-nonwork-border: null !default;
|
|
22
22
|
|
|
23
23
|
$kendo-gantt-line-size: 2px !default;
|
|
24
|
-
$kendo-gantt-line-fill: k-contrast-legacy( $kendo-gantt-bg ) !default;
|
|
24
|
+
$kendo-gantt-line-fill: if($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( $kendo-gantt-bg )) !default;
|
|
25
25
|
$kendo-gantt-line-selected-fill: $kendo-color-primary !default;
|
|
26
26
|
|
|
27
27
|
$kendo-gantt-dot-size: 8px !default;
|
|
@@ -36,19 +36,19 @@ $kendo-gantt-milestone-border: $kendo-gantt-border !default;
|
|
|
36
36
|
$kendo-gantt-milestone-selected-bg: $kendo-selected-bg !default;
|
|
37
37
|
$kendo-gantt-milestone-selected-border: $kendo-selected-border !default;
|
|
38
38
|
|
|
39
|
-
$kendo-gantt-summary-bg: k-try-tint( $kendo-gantt-text, 1 ) !default;
|
|
40
|
-
$kendo-gantt-summary-progress-bg: k-try-shade( $kendo-gantt-text, 5 ) !default;
|
|
41
|
-
$kendo-gantt-summary-selected-bg: k-try-tint( $kendo-selected-bg, 6 ) !default;
|
|
39
|
+
$kendo-gantt-summary-bg: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-gantt-text, 1 )) !default;
|
|
40
|
+
$kendo-gantt-summary-progress-bg: if($kendo-enable-color-system, k-color( on-base ), k-try-shade( $kendo-gantt-text, 5 )) !default;
|
|
41
|
+
$kendo-gantt-summary-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-try-tint( $kendo-selected-bg, 6 )) !default;
|
|
42
42
|
$kendo-gantt-summary-progress-selected-bg: $kendo-selected-bg !default;
|
|
43
43
|
|
|
44
44
|
$kendo-gantt-task-border-width: 0px !default;
|
|
45
45
|
$kendo-gantt-task-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
|
|
46
46
|
$kendo-gantt-task-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
|
|
47
|
-
$kendo-gantt-task-bg: k-try-tint( $kendo-gantt-text, 2 ) !default;
|
|
48
|
-
$kendo-gantt-task-text: k-contrast-legacy( $kendo-gantt-text ) !default;
|
|
47
|
+
$kendo-gantt-task-bg: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-gantt-text, 2 )) !default;
|
|
48
|
+
$kendo-gantt-task-text: if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $kendo-gantt-text )) !default;
|
|
49
49
|
$kendo-gantt-task-border: null !default;
|
|
50
50
|
$kendo-gantt-task-progress-bg: $kendo-gantt-text !default;
|
|
51
|
-
$kendo-gantt-task-selected-bg: k-try-tint( $kendo-selected-bg, 6 ) !default;
|
|
51
|
+
$kendo-gantt-task-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-try-tint( $kendo-selected-bg, 6 )) !default;
|
|
52
52
|
$kendo-gantt-task-selected-text: $kendo-selected-text !default;
|
|
53
53
|
$kendo-gantt-task-selected-border: null !default;
|
|
54
54
|
$kendo-gantt-task-progress-selected-bg: $kendo-selected-bg !default;
|
|
@@ -82,10 +82,10 @@ $kendo-gantt-planned-bg: $kendo-color-primary !default;
|
|
|
82
82
|
$kendo-gantt-planned-border: $kendo-gantt-planned-bg !default;
|
|
83
83
|
|
|
84
84
|
$kendo-gantt-delayed-bg: $kendo-color-error !default;
|
|
85
|
-
$kendo-gantt-delayed-bg-lighter: k-color-tint($kendo-gantt-delayed-bg, 5) !default;
|
|
85
|
+
$kendo-gantt-delayed-bg-lighter: if($kendo-enable-color-system, k-color( error-emphasis ), k-color-tint($kendo-gantt-delayed-bg, 5)) !default;
|
|
86
86
|
|
|
87
87
|
$kendo-gantt-advanced-bg: $kendo-color-success !default;
|
|
88
|
-
$kendo-gantt-advanced-bg-lighter: k-color-tint($kendo-gantt-advanced-bg, 5) !default;
|
|
88
|
+
$kendo-gantt-advanced-bg-lighter: if($kendo-enable-color-system, k-color( success-emphasis ), k-color-tint($kendo-gantt-advanced-bg, 5)) !default;
|
|
89
89
|
|
|
90
90
|
$kendo-gantt-action-on-offset-text: #000000 !default;
|
|
91
91
|
$kendo-gantt-offset-resize-handler-top: 50% !default;
|
package/scss/grid/_layout.scss
CHANGED
|
@@ -778,6 +778,16 @@
|
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
780
|
|
|
781
|
+
.k-master-row .k-grid-content-sticky::before {
|
|
782
|
+
content: "";
|
|
783
|
+
width: 100%;
|
|
784
|
+
height: 100%;
|
|
785
|
+
position: absolute;
|
|
786
|
+
top: 0;
|
|
787
|
+
left: 0;
|
|
788
|
+
z-index: -1;
|
|
789
|
+
}
|
|
790
|
+
|
|
781
791
|
kendo-grid {
|
|
782
792
|
.k-table-row.k-grid-row-sticky {
|
|
783
793
|
border: 0;
|
package/scss/grid/_theme.scss
CHANGED
|
@@ -270,14 +270,30 @@
|
|
|
270
270
|
&.k-table-row.k-selected .k-table-td.k-grid-row-sticky,
|
|
271
271
|
&.k-table-row td.k-grid-content-sticky.k-selected,
|
|
272
272
|
&.k-table-row .k-table-td.k-grid-content-sticky.k-selected {
|
|
273
|
-
@
|
|
273
|
+
@if($kendo-enable-color-system) {
|
|
274
|
+
@include fill( $bg: $kendo-grid-sticky-bg );
|
|
275
|
+
|
|
276
|
+
&::before {
|
|
277
|
+
@include fill( $bg: $kendo-grid-sticky-selected-bg );
|
|
278
|
+
}
|
|
279
|
+
} @else {
|
|
280
|
+
@include fill( $bg: $kendo-grid-sticky-selected-bg );
|
|
281
|
+
}
|
|
274
282
|
}
|
|
275
283
|
|
|
276
284
|
&.k-selected.k-table-alt-row td.k-grid-content-sticky,
|
|
277
285
|
&.k-selected.k-table-alt-row .k-table-td.k-grid-row-sticky,
|
|
278
286
|
&.k-table-alt-row td.k-grid-content-sticky.k-selected,
|
|
279
287
|
&.k-table-alt-row .k-table-td.k-grid-content-sticky.k-selected {
|
|
280
|
-
@
|
|
288
|
+
@if($kendo-enable-color-system) {
|
|
289
|
+
@include fill( $bg: $kendo-grid-sticky-alt-bg );
|
|
290
|
+
|
|
291
|
+
&::before {
|
|
292
|
+
@include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
|
|
293
|
+
}
|
|
294
|
+
} @else {
|
|
295
|
+
@include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
|
|
296
|
+
}
|
|
281
297
|
}
|
|
282
298
|
|
|
283
299
|
|
|
@@ -299,7 +315,15 @@
|
|
|
299
315
|
&.k-hover td.k-grid-content-sticky.k-selected,
|
|
300
316
|
&:hover .k-table-td.k-grid-content-sticky.k-selected,
|
|
301
317
|
&.k-hover .k-table-td.k-grid-content-sticky.k-selected {
|
|
302
|
-
|
|
318
|
+
@if($kendo-enable-color-system) {
|
|
319
|
+
background-color: $kendo-grid-sticky-hover-bg;
|
|
320
|
+
|
|
321
|
+
&::before {
|
|
322
|
+
background-color: $kendo-grid-sticky-selected-hover-bg;
|
|
323
|
+
}
|
|
324
|
+
} @else {
|
|
325
|
+
background-color: $kendo-grid-sticky-selected-hover-bg;
|
|
326
|
+
}
|
|
303
327
|
}
|
|
304
328
|
}
|
|
305
329
|
|
|
@@ -345,14 +369,30 @@
|
|
|
345
369
|
.k-selected.k-grid-row-sticky .k-table-td,
|
|
346
370
|
.k-grid-row-sticky .k-table-td.k-selected,
|
|
347
371
|
.k-selected.k-grid-content-sticky {
|
|
348
|
-
@
|
|
372
|
+
@if($kendo-enable-color-system) {
|
|
373
|
+
@include fill( $bg: $kendo-grid-sticky-bg );
|
|
374
|
+
|
|
375
|
+
&::before {
|
|
376
|
+
@include fill( $bg: $kendo-grid-sticky-selected-bg );
|
|
377
|
+
}
|
|
378
|
+
} @else {
|
|
379
|
+
@include fill( $bg: $kendo-grid-sticky-selected-bg );
|
|
380
|
+
}
|
|
349
381
|
}
|
|
350
382
|
|
|
351
383
|
.k-table-row.k-selected.k-table-alt-row .k-grid-content-sticky,
|
|
352
384
|
.k-selected.k-table-alt-row.k-grid-row-sticky td,
|
|
353
385
|
.k-selected.k-table-alt-row.k-grid-row-sticky .k-table-td,
|
|
354
386
|
.k-table-alt-row .k-selected.k-grid-content-sticky {
|
|
355
|
-
@
|
|
387
|
+
@if($kendo-enable-color-system) {
|
|
388
|
+
@include fill( $bg: $kendo-grid-sticky-alt-bg );
|
|
389
|
+
|
|
390
|
+
&::before {
|
|
391
|
+
@include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
|
|
392
|
+
}
|
|
393
|
+
} @else {
|
|
394
|
+
@include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
|
|
395
|
+
}
|
|
356
396
|
}
|
|
357
397
|
|
|
358
398
|
// Hover state
|
|
@@ -390,7 +430,15 @@
|
|
|
390
430
|
.k-grid-row-sticky.k-hover .k-table-td.k-selected,
|
|
391
431
|
.k-table-row:hover .k-grid-content-sticky.k-selected,
|
|
392
432
|
.k-table-row.k-hover .k-grid-content-sticky.k-selected {
|
|
393
|
-
|
|
433
|
+
@if($kendo-enable-color-system) {
|
|
434
|
+
background-color: $kendo-grid-sticky-hover-bg;
|
|
435
|
+
|
|
436
|
+
&::before {
|
|
437
|
+
background-color: $kendo-grid-sticky-selected-hover-bg;
|
|
438
|
+
}
|
|
439
|
+
} @else {
|
|
440
|
+
background-color: $kendo-grid-sticky-selected-hover-bg;
|
|
441
|
+
}
|
|
394
442
|
}
|
|
395
443
|
}
|
|
396
444
|
|
|
@@ -222,7 +222,7 @@ $kendo-grid-grouping-row-bg: $kendo-base-bg !default;
|
|
|
222
222
|
$kendo-grid-grouping-row-text: $kendo-grid-text !default;
|
|
223
223
|
|
|
224
224
|
$kendo-grid-sorted-icon-spacing: calc( #{$kendo-padding-md-x} - 1px ) !default;
|
|
225
|
-
$kendo-grid-sorted-bg: rgba( k-contrast-legacy( $kendo-grid-bg ), .02 ) !default;
|
|
225
|
+
$kendo-grid-sorted-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .03 ), rgba( k-contrast-legacy( $kendo-grid-bg ), .02 )) !default;
|
|
226
226
|
$kendo-grid-sorting-indicator-text: $kendo-color-primary !default;
|
|
227
227
|
$kendo-grid-sorting-index-font-size: $kendo-font-size-sm !default;
|
|
228
228
|
$kendo-grid-sorting-index-height: $kendo-icon-size !default;
|
|
@@ -236,11 +236,13 @@ $kendo-grid-command-cell-button-spacing: k-map-get( $kendo-spacing, 2 ) !default
|
|
|
236
236
|
// be cautious when changing the next line; see https://github.com/MoOx/reduce-css-calc/issues/38
|
|
237
237
|
$kendo-grid-command-cell-padding-y: calc( #{$kendo-grid-cell-padding-y} - (#{$kendo-button-calc-size} - #{$kendo-line-height-em}) / 2 ) !default;
|
|
238
238
|
|
|
239
|
+
// Must be a solid color
|
|
239
240
|
$kendo-grid-sticky-bg: $kendo-component-bg !default;
|
|
240
241
|
$kendo-grid-sticky-text: $kendo-grid-text !default;
|
|
241
242
|
$kendo-grid-sticky-border: rgba( black, .3 ) !default;
|
|
242
243
|
|
|
243
|
-
|
|
244
|
+
// Must be a solid color
|
|
245
|
+
$kendo-grid-sticky-alt-bg: if($kendo-enable-color-system, k-color( base ), k-color-shade($kendo-grid-bg, 3.5%)) !default;
|
|
244
246
|
|
|
245
247
|
$kendo-grid-sticky-header-bg: $kendo-grid-header-bg !default;
|
|
246
248
|
$kendo-grid-sticky-header-text: $kendo-grid-header-text !default;
|
|
@@ -249,11 +251,12 @@ $kendo-grid-sticky-header-border: $kendo-grid-sticky-border !default;
|
|
|
249
251
|
$kendo-grid-sticky-footer-bg: $kendo-grid-header-bg !default;
|
|
250
252
|
$kendo-grid-sticky-footer-hover-bg: $kendo-grid-hover-bg !default;
|
|
251
253
|
|
|
252
|
-
$kendo-grid-sticky-selected-bg: k-color-mix($kendo-selected-bg, #ffffff, 25%) !default;
|
|
253
|
-
$kendo-grid-sticky-selected-alt-bg: k-color-shade($kendo-grid-sticky-selected-bg, .4) !default;
|
|
254
|
+
$kendo-grid-sticky-selected-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), k-color-mix($kendo-selected-bg, #ffffff, 25%)) !default;
|
|
255
|
+
$kendo-grid-sticky-selected-alt-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .24 ), k-color-shade($kendo-grid-sticky-selected-bg, .4)) !default;
|
|
254
256
|
|
|
255
|
-
|
|
256
|
-
$kendo-grid-sticky-
|
|
257
|
+
// Must be a solid color
|
|
258
|
+
$kendo-grid-sticky-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-color-darken($kendo-grid-bg, 8%)) !default;
|
|
259
|
+
$kendo-grid-sticky-selected-hover-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .24 ), k-color-shade($kendo-grid-sticky-selected-bg, .7)) !default;
|
|
257
260
|
|
|
258
261
|
$kendo-grid-column-menu-width: 230px !default;
|
|
259
262
|
$kendo-grid-column-menu-max-width: 320px !default;
|
|
@@ -304,7 +307,7 @@ $kendo-grid-group-footer-second-cell-border: 1px !default;
|
|
|
304
307
|
|
|
305
308
|
/// Background color of the grid row resize indicator
|
|
306
309
|
/// @group grid
|
|
307
|
-
$kendo-grid-row-resizer-hover-bg: rgba( k-contrast-color( $kendo-grid-bg ), .12 ) !default;
|
|
310
|
+
$kendo-grid-row-resizer-hover-bg: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .2 ), rgba( k-contrast-color( $kendo-grid-bg ), .12 )) !default;
|
|
308
311
|
/// Active background color of the grid row resize indicator
|
|
309
312
|
/// @group grid
|
|
310
313
|
$kendo-grid-row-resizer-active-bg: $kendo-color-primary !default;
|
package/scss/input/_layout.scss
CHANGED
|
@@ -213,16 +213,21 @@
|
|
|
213
213
|
margin: 0;
|
|
214
214
|
border-style: solid;
|
|
215
215
|
border-color: inherit;
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
border-width: 0 0 0 1px;
|
|
217
|
+
height: $kendo-icon-size;
|
|
218
|
+
align-self: center;
|
|
218
219
|
|
|
219
220
|
&-horizontal {
|
|
221
|
+
height: auto;
|
|
220
222
|
margin-inline: $kendo-input-md-padding-y;
|
|
223
|
+
align-self: stretch;
|
|
221
224
|
border-width: 1px 0 0;
|
|
222
225
|
}
|
|
223
226
|
|
|
224
227
|
&-vertical {
|
|
228
|
+
height: auto;
|
|
225
229
|
margin-block: $kendo-input-md-padding-y;
|
|
230
|
+
align-self: stretch;
|
|
226
231
|
border-width: 0 0 0 1px;
|
|
227
232
|
}
|
|
228
233
|
}
|
|
@@ -118,7 +118,7 @@ $kendo-input-hover-bg: null !default;
|
|
|
118
118
|
$kendo-input-hover-text: null !default;
|
|
119
119
|
/// The border color of the hovered Input components.
|
|
120
120
|
/// @group input
|
|
121
|
-
$kendo-input-hover-border: rgba( $kendo-input-border, .16 ) !default;
|
|
121
|
+
$kendo-input-hover-border: if($kendo-enable-color-system, k-color( border-alt ), rgba( $kendo-input-border, .16 )) !default;
|
|
122
122
|
/// The shadow of the hovered Input components.
|
|
123
123
|
/// @group input
|
|
124
124
|
$kendo-input-hover-shadow: null !default;
|
|
@@ -134,7 +134,7 @@ $kendo-input-focus-text: null !default;
|
|
|
134
134
|
$kendo-input-focus-border: $kendo-input-hover-border !default;
|
|
135
135
|
/// The shadow of the focused Input components.
|
|
136
136
|
/// @group input
|
|
137
|
-
$kendo-input-focus-shadow: 0 0 0 2px rgba( $kendo-input-focus-border, .08 ) !default;
|
|
137
|
+
$kendo-input-focus-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08 ), rgba( $kendo-input-focus-border, .08 )) !default;
|
|
138
138
|
|
|
139
139
|
/// The background color of the selected Input components.
|
|
140
140
|
/// @group input
|
|
@@ -167,7 +167,7 @@ $kendo-input-outline-bg: null !default;
|
|
|
167
167
|
$kendo-input-outline-text: $kendo-input-text !default;
|
|
168
168
|
/// The border color of the outline Input components.
|
|
169
169
|
/// @group input
|
|
170
|
-
$kendo-input-outline-border: rgba( $kendo-button-text, .5) !default;
|
|
170
|
+
$kendo-input-outline-border: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .5 ), rgba( $kendo-button-text, .5)) !default;
|
|
171
171
|
|
|
172
172
|
/// The background color of the outline hovered Input components.
|
|
173
173
|
/// @group input
|
|
@@ -177,7 +177,7 @@ $kendo-input-outline-hover-bg: null !default;
|
|
|
177
177
|
$kendo-input-outline-hover-text: null !default;
|
|
178
178
|
/// The border color of the outline hovered Input components.
|
|
179
179
|
/// @group input
|
|
180
|
-
$kendo-input-outline-hover-border: rgba( $kendo-button-text, .8) !default;
|
|
180
|
+
$kendo-input-outline-hover-border: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .8 ), rgba( $kendo-button-text, .8)) !default;
|
|
181
181
|
|
|
182
182
|
/// The background color of the outline focused Input components.
|
|
183
183
|
/// @group input
|
|
@@ -372,14 +372,14 @@ $kendo-picker-outline-bg: null !default;
|
|
|
372
372
|
$kendo-picker-outline-text: $kendo-button-text !default;
|
|
373
373
|
/// The border color of the outline Picker components.
|
|
374
374
|
/// @group picker
|
|
375
|
-
$kendo-picker-outline-border: rgba( $kendo-picker-outline-text, .5) !default;
|
|
375
|
+
$kendo-picker-outline-border: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .5 ), rgba( $kendo-picker-outline-text, .5)) !default;
|
|
376
376
|
|
|
377
377
|
/// The background color of the outline hovered Picker components.
|
|
378
378
|
/// @group picker
|
|
379
379
|
$kendo-picker-outline-hover-bg: $kendo-picker-outline-text !default;
|
|
380
380
|
/// The text color of the outline hovered Picker components.
|
|
381
381
|
/// @group picker
|
|
382
|
-
$kendo-picker-outline-hover-text: k-contrast-legacy( $kendo-picker-outline-hover-bg ) !default;
|
|
382
|
+
$kendo-picker-outline-hover-text: if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $kendo-picker-outline-hover-bg )) !default;
|
|
383
383
|
/// The border color of the outline hovered Picker components.
|
|
384
384
|
/// @group picker
|
|
385
385
|
$kendo-picker-outline-hover-border: $kendo-picker-outline-hover-bg !default;
|
|
@@ -419,13 +419,13 @@ $kendo-picker-flat-border: $kendo-button-border !default;
|
|
|
419
419
|
|
|
420
420
|
/// The background color of the flat hovered Picker components.
|
|
421
421
|
/// @group picker
|
|
422
|
-
$kendo-picker-flat-hover-bg: rgba( $kendo-button-text, .04 ) !default;
|
|
422
|
+
$kendo-picker-flat-hover-bg: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .04 ), rgba( $kendo-button-text, .04 )) !default;
|
|
423
423
|
/// The text color of the flat hovered Picker components.
|
|
424
424
|
/// @group picker
|
|
425
425
|
$kendo-picker-flat-hover-text: null !default;
|
|
426
426
|
/// The border color of the flat hovered Picker components.
|
|
427
427
|
/// @group picker
|
|
428
|
-
$kendo-picker-flat-hover-border: rgba( $kendo-button-border, .16 ) !default;
|
|
428
|
+
$kendo-picker-flat-hover-border: if($kendo-enable-color-system, k-color( border-alt ), rgba( $kendo-button-border, .16 )) !default;
|
|
429
429
|
|
|
430
430
|
/// The background color of the flat focused Picker components.
|
|
431
431
|
/// @group picker
|
package/scss/list/_theme.scss
CHANGED
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
&.k-selected:hover,
|
|
59
59
|
&.k-selected.k-hover {
|
|
60
60
|
color: $kendo-list-item-selected-text;
|
|
61
|
-
background-color: k-color-shade( $kendo-list-item-selected-bg );
|
|
61
|
+
background-color: if($kendo-enable-color-system, k-color( primary-hover ), k-color-shade( $kendo-list-item-selected-bg ));
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -41,7 +41,7 @@ $kendo-listview-item-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
|
|
|
41
41
|
$kendo-listview-item-selected-text: null !default;
|
|
42
42
|
/// The background color of the selected ListView items.
|
|
43
43
|
/// @group listview
|
|
44
|
-
$kendo-listview-item-selected-bg: rgba( $kendo-selected-bg, .25
|
|
44
|
+
$kendo-listview-item-selected-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba($kendo-selected-bg, .25)) !default;
|
|
45
45
|
/// The border color of the selected ListView items.
|
|
46
46
|
/// @group listview
|
|
47
47
|
$kendo-listview-item-selected-border: null !default;
|
package/scss/map/_variables.scss
CHANGED
|
@@ -25,6 +25,6 @@ $kendo-map-zoom-control-button-padding-y: $kendo-map-zoom-control-button-padding
|
|
|
25
25
|
$kendo-map-attribution-padding-x: $kendo-padding-sm-x !default;
|
|
26
26
|
$kendo-map-attribution-padding-y: $kendo-padding-sm-y !default;
|
|
27
27
|
$kendo-map-attribution-font-size: ($kendo-map-font-size * .75) !default;
|
|
28
|
-
$kendo-map-attribution-bg: rgba( $kendo-map-bg, .8 ) !default;
|
|
28
|
+
$kendo-map-attribution-bg: if($kendo-enable-color-system, rgba( k-color( app-surface, true ), .8 ), rgba( $kendo-map-bg, .8 )) !default;
|
|
29
29
|
|
|
30
30
|
$kendo-map-marker-fill: $kendo-color-primary !default;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
.k-mediaplayer-titlebar {
|
|
15
15
|
color: $kendo-media-player-titlebar-text;
|
|
16
16
|
background-image: linear-gradient( $kendo-media-player-titlebar-gradient );
|
|
17
|
-
text-shadow: 0 0 2px rgba( $kendo-media-player-text, .5 );
|
|
17
|
+
text-shadow: 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .5 ), rgba( $kendo-media-player-text, .5 ));
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
}
|
|
@@ -13,4 +13,4 @@ $kendo-media-player-titlebar-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
|
|
|
13
13
|
$kendo-media-player-titlebar-bg: null !default;
|
|
14
14
|
$kendo-media-player-titlebar-text: $kendo-media-player-bg !default;
|
|
15
15
|
$kendo-media-player-titlebar-border: null !default;
|
|
16
|
-
$kendo-media-player-titlebar-gradient: rgba( $kendo-media-player-text, .7 ), rgba( $kendo-media-player-text, 0 ) !default;
|
|
16
|
+
$kendo-media-player-titlebar-gradient: if($kendo-enable-color-system, ( rgba( k-color( on-app-surface, true ), .7 ), rgba( k-color( on-app-surface, true ), 0 ) ), ( rgba( $kendo-media-player-text, .7 ), rgba( $kendo-media-player-text, 0 ) )) !default;
|
|
@@ -2,11 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
@each $color-name, $color in $kendo-theme-colors {
|
|
4
4
|
.k-messagebox-#{$color-name} {
|
|
5
|
-
@
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
@if $color-name == "inverse" {
|
|
6
|
+
@include fill(
|
|
7
|
+
if($kendo-enable-color-system, k-color( dark-on-subtle ), k-color-level( $color, $kendo-message-box-text-level )),
|
|
8
|
+
if($kendo-enable-color-system, k-color( dark-subtle ), k-color-level( $color, $kendo-message-box-bg-level )),
|
|
9
|
+
if($kendo-enable-color-system, k-color( dark-hover ), k-color-level( $color, $kendo-message-box-border-level ))
|
|
10
|
+
);
|
|
11
|
+
} @else {
|
|
12
|
+
@include fill(
|
|
13
|
+
if($kendo-enable-color-system, k-color( #{$color-name}-on-subtle ), k-color-level( $color, $kendo-message-box-text-level )),
|
|
14
|
+
if($kendo-enable-color-system, k-color( #{$color-name}-subtle ), k-color-level( $color, $kendo-message-box-bg-level )),
|
|
15
|
+
if($kendo-enable-color-system, k-color( #{$color-name}-emphasis ), k-color-level( $color, $kendo-message-box-border-level ))
|
|
16
|
+
);
|
|
17
|
+
}
|
|
10
18
|
}
|
|
11
19
|
}
|
|
12
20
|
|
|
@@ -47,7 +47,7 @@ $kendo-notification-icon-spacing: $kendo-icon-spacing !default;
|
|
|
47
47
|
|
|
48
48
|
@each $name, $color in $colors {
|
|
49
49
|
$_theme: k-map-merge(( $name: (
|
|
50
|
-
color: k-contrast-legacy( $color ),
|
|
50
|
+
color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
|
|
51
51
|
background-color: $color,
|
|
52
52
|
border: $color,
|
|
53
53
|
)), $_theme );
|