@progress/kendo-theme-core 10.6.0-dev.6 → 11.0.0-dev.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 +1 -1
- package/dist/meta/variables.json +0 -8
- package/package.json +2 -2
- package/scss/_variables.scss +0 -1
- package/scss/color-system/_functions.import.scss +22 -22
- package/scss/color-system/_palettes.scss +0 -2
- package/scss/color-system/_swatch.scss +4 -6
- package/scss/components/adaptive/_theme.scss +4 -4
- package/scss/components/appbar/_theme.scss +2 -3
- package/scss/components/appbar/_variables.scss +4 -0
- package/scss/components/avatar/_theme.scss +1 -1
- package/scss/components/avatar/_variables.scss +2 -0
- package/scss/components/badge/_layout.scss +3 -3
- package/scss/components/badge/_theme.scss +4 -5
- package/scss/components/badge/_variables.scss +3 -1
- package/scss/components/bottom-navigation/_theme.scss +7 -8
- package/scss/components/bottom-navigation/_variables.scss +4 -0
- package/scss/components/breadcrumb/_layout.scss +1 -2
- package/scss/components/button/_layout.scss +1 -9
- package/scss/components/button/_theme.scss +36 -37
- package/scss/components/calendar/_theme.scss +2 -3
- package/scss/components/card/_theme.scss +8 -5
- package/scss/components/card/_variables.scss +2 -0
- package/scss/components/chat/_theme.scss +3 -4
- package/scss/components/checkbox/_layout.scss +1 -8
- package/scss/components/chip/_theme.scss +24 -24
- package/scss/components/dataviz/_layout.scss +11 -12
- package/scss/components/dataviz/_theme.scss +11 -12
- package/scss/components/dataviz/_variables.scss +8 -0
- package/scss/components/dialog/_theme.scss +1 -1
- package/scss/components/editor/_theme.scss +7 -7
- package/scss/components/editor/_variables.scss +4 -0
- package/scss/components/fab/_theme.scss +15 -15
- package/scss/components/filter/_theme.scss +3 -3
- package/scss/components/floating-label/_theme.scss +2 -2
- package/scss/components/forms/_layout.scss +8 -2
- package/scss/components/forms/_theme.scss +5 -5
- package/scss/components/gantt/_theme.scss +3 -4
- package/scss/components/grid/_theme.scss +10 -21
- package/scss/components/input/_layout.scss +1 -21
- package/scss/components/input/_theme.scss +7 -7
- package/scss/components/list/_theme.scss +1 -1
- package/scss/components/listbox/_theme.scss +2 -2
- package/scss/components/loader/_theme.scss +2 -2
- package/scss/components/loader/_variables.scss +2 -0
- package/scss/components/marquee/_index.scss +16 -0
- package/scss/components/marquee/_layout.scss +21 -0
- package/scss/components/marquee/_theme.scss +27 -0
- package/scss/components/marquee/_variables.scss +3 -0
- package/scss/components/mediaplayer/_theme.scss +1 -1
- package/scss/components/messagebox/_theme.scss +7 -8
- package/scss/components/messagebox/_variables.scss +2 -0
- package/scss/components/notification/_variables.scss +1 -1
- package/scss/components/panel/_theme.scss +4 -4
- package/scss/components/pivotgrid/_theme.scss +7 -7
- package/scss/components/progressbar/_theme.scss +1 -1
- package/scss/components/radio/_layout.scss +1 -5
- package/scss/components/rating/_theme.scss +2 -2
- package/scss/components/scheduler/_theme.scss +9 -10
- package/scss/components/scheduler/_variables.scss +2 -0
- package/scss/components/slider/_theme.scss +2 -2
- package/scss/components/spreadsheet/_theme.scss +2 -2
- package/scss/components/stepper/_theme.scss +30 -54
- package/scss/components/switch/_theme.scss +3 -2
- package/scss/components/taskboard/_theme.scss +2 -2
- package/scss/components/timeline/_theme.scss +3 -3
- package/scss/components/timeselector/_theme.scss +4 -4
- package/scss/components/timeselector/_variables.scss +3 -0
- package/scss/components/toolbar/_layout.scss +6 -0
- package/scss/components/tooltip/_variables.scss +1 -1
- package/scss/components/typography/_theme.scss +3 -3
- package/scss/components/upload/_theme.scss +3 -3
- package/scss/components/window/_theme.scss +1 -1
- package/scss/styles/_base.scss +9 -8
- package/scss/styles/index.import.scss +0 -3
- package/scss/color-system/_swatch-legacy.scss +0 -150
- package/scss/styles/_selection.scss +0 -36
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@use "sass:meta";
|
|
3
3
|
@use "../../mixins/index.import.scss" as *;
|
|
4
4
|
@use "../../functions/index.import.scss" as *;
|
|
5
|
-
@use "../../color-system/_swatch-legacy.scss" as *;
|
|
6
5
|
@use "../../color-system/_functions.import.scss" as *;
|
|
7
6
|
@use "../../_variables.scss" as *;
|
|
8
7
|
@use "./_variables.scss" as *;
|
|
@@ -77,17 +76,17 @@
|
|
|
77
76
|
|
|
78
77
|
@each $name, $color in $kendo-button-theme-colors {
|
|
79
78
|
@if ($name != "base") {
|
|
80
|
-
$_button-text:
|
|
81
|
-
$_button-bg:
|
|
82
|
-
$_button-border:
|
|
79
|
+
$_button-text: k-color(on-#{$name});
|
|
80
|
+
$_button-bg: k-color($name);
|
|
81
|
+
$_button-border: k-color($name);
|
|
83
82
|
|
|
84
83
|
$_button-hover-text: null;
|
|
85
|
-
$_button-hover-bg:
|
|
86
|
-
$_button-hover-border:
|
|
84
|
+
$_button-hover-bg: k-color(#{$name}-hover);
|
|
85
|
+
$_button-hover-border: k-color(#{$name}-hover);
|
|
87
86
|
|
|
88
87
|
$_button-active-text: null;
|
|
89
|
-
$_button-active-bg:
|
|
90
|
-
$_button-active-border:
|
|
88
|
+
$_button-active-bg: k-color(#{$name}-active);
|
|
89
|
+
$_button-active-border: k-color(#{$name}-active);
|
|
91
90
|
|
|
92
91
|
.k-button-solid-#{$name} {
|
|
93
92
|
@include fill(
|
|
@@ -111,7 +110,7 @@
|
|
|
111
110
|
&:focus,
|
|
112
111
|
&.k-focus {
|
|
113
112
|
@if ( $kendo-solid-button-shadow ) {
|
|
114
|
-
@include focus-indicator( 0 0 $kendo-solid-button-shadow-blur $kendo-solid-button-shadow-spread
|
|
113
|
+
@include focus-indicator( 0 0 $kendo-solid-button-shadow-blur $kendo-solid-button-shadow-spread color-mix(in srgb, k-color( $name ) ( $kendo-solid-button-shadow-opacity * 100% ), transparent), true, true );
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
116
|
|
|
@@ -151,11 +150,11 @@
|
|
|
151
150
|
|
|
152
151
|
|
|
153
152
|
// Outline button
|
|
154
|
-
@each $name, $color in map.merge( $kendo-button-theme-colors, ( "base":
|
|
153
|
+
@each $name, $color in map.merge( $kendo-button-theme-colors, ( "base": k-color( on-app-surface ) ) ) {
|
|
155
154
|
.k-button-outline-#{$name} {
|
|
156
155
|
@include box-shadow( none );
|
|
157
156
|
border-color: currentColor;
|
|
158
|
-
color:
|
|
157
|
+
color: k-color(#{$name}-on-surface);
|
|
159
158
|
background-color: transparent;
|
|
160
159
|
|
|
161
160
|
// Hover state
|
|
@@ -163,13 +162,13 @@
|
|
|
163
162
|
&.k-hover {
|
|
164
163
|
@if $name == "base" {
|
|
165
164
|
@include fill(
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
165
|
+
k-color( base ),
|
|
166
|
+
k-color( on-base ),
|
|
167
|
+
k-color( on-base )
|
|
169
168
|
);
|
|
170
169
|
} @else {
|
|
171
170
|
@include fill(
|
|
172
|
-
|
|
171
|
+
k-color( on-#{$name} ),
|
|
173
172
|
$color,
|
|
174
173
|
$color
|
|
175
174
|
);
|
|
@@ -181,9 +180,9 @@
|
|
|
181
180
|
&.k-focus {
|
|
182
181
|
@if $kendo-outline-button-shadow {
|
|
183
182
|
@if $name == "base" {
|
|
184
|
-
@include focus-indicator( 0 0 $kendo-outline-button-shadow-blur $kendo-outline-button-shadow-spread
|
|
183
|
+
@include focus-indicator( 0 0 $kendo-outline-button-shadow-blur $kendo-outline-button-shadow-spread color-mix(in srgb, k-color( on-app-surface ) ( $kendo-outline-button-shadow-opacity * 100% ), transparent), true, true );
|
|
185
184
|
} @else {
|
|
186
|
-
@include focus-indicator( 0 0 $kendo-outline-button-shadow-blur $kendo-outline-button-shadow-spread
|
|
185
|
+
@include focus-indicator( 0 0 $kendo-outline-button-shadow-blur $kendo-outline-button-shadow-spread color-mix(in srgb, k-color( $name ) ( $kendo-outline-button-shadow-opacity * 100% ), transparent), true, true );
|
|
187
186
|
}
|
|
188
187
|
}
|
|
189
188
|
}
|
|
@@ -193,13 +192,13 @@
|
|
|
193
192
|
&.k-active {
|
|
194
193
|
@if $name == "base" {
|
|
195
194
|
@include fill(
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
195
|
+
k-color( base ),
|
|
196
|
+
k-color( on-base ),
|
|
197
|
+
k-color( on-base )
|
|
199
198
|
);
|
|
200
199
|
} @else {
|
|
201
200
|
@include fill(
|
|
202
|
-
|
|
201
|
+
k-color( on-#{$name} ),
|
|
203
202
|
$color,
|
|
204
203
|
$color
|
|
205
204
|
);
|
|
@@ -210,13 +209,13 @@
|
|
|
210
209
|
&.k-selected {
|
|
211
210
|
@if $name == "base" {
|
|
212
211
|
@include fill(
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
212
|
+
k-color( base ),
|
|
213
|
+
k-color( on-base ),
|
|
214
|
+
k-color( on-base )
|
|
216
215
|
);
|
|
217
216
|
} @else {
|
|
218
217
|
@include fill(
|
|
219
|
-
|
|
218
|
+
k-color( on-#{$name} ),
|
|
220
219
|
$color,
|
|
221
220
|
$color
|
|
222
221
|
);
|
|
@@ -238,7 +237,7 @@
|
|
|
238
237
|
@if $name == "base" {
|
|
239
238
|
color: inherit;
|
|
240
239
|
} @else {
|
|
241
|
-
color:
|
|
240
|
+
color: k-color(#{$name}-on-surface);
|
|
242
241
|
}
|
|
243
242
|
|
|
244
243
|
// Disabled state
|
|
@@ -251,7 +250,7 @@
|
|
|
251
250
|
|
|
252
251
|
|
|
253
252
|
// Link button
|
|
254
|
-
@each $name, $color in map.merge( $kendo-button-theme-colors, ( "base":
|
|
253
|
+
@each $name, $color in map.merge( $kendo-button-theme-colors, ( "base": k-color( on-app-surface ) ) ) {
|
|
255
254
|
.k-button-link-#{$name} {
|
|
256
255
|
color: $color;
|
|
257
256
|
|
|
@@ -259,9 +258,9 @@
|
|
|
259
258
|
&:hover,
|
|
260
259
|
&.k-hover {
|
|
261
260
|
@if $name == "base" {
|
|
262
|
-
color:
|
|
261
|
+
color: k-color(on-app-surface);
|
|
263
262
|
} @else {
|
|
264
|
-
color:
|
|
263
|
+
color: k-color(#{$name}-hover);
|
|
265
264
|
}
|
|
266
265
|
}
|
|
267
266
|
|
|
@@ -270,9 +269,9 @@
|
|
|
270
269
|
&.k-focus {
|
|
271
270
|
@if ( $kendo-link-button-shadow ) {
|
|
272
271
|
@if $name == "base" {
|
|
273
|
-
@include focus-indicator( 0 0 $kendo-link-button-shadow-blur $kendo-link-button-shadow-spread
|
|
272
|
+
@include focus-indicator( 0 0 $kendo-link-button-shadow-blur $kendo-link-button-shadow-spread color-mix(in srgb, k-color( on-app-surface ) ( $kendo-link-button-shadow-opacity * 100% ), transparent), true, true );
|
|
274
273
|
} @else {
|
|
275
|
-
@include focus-indicator( 0 0 $kendo-link-button-shadow-blur $kendo-link-button-shadow-spread
|
|
274
|
+
@include focus-indicator( 0 0 $kendo-link-button-shadow-blur $kendo-link-button-shadow-spread color-mix(in srgb, k-color( $name ) ( $kendo-link-button-shadow-opacity * 100% ), transparent), true, true );
|
|
276
275
|
}
|
|
277
276
|
}
|
|
278
277
|
}
|
|
@@ -281,18 +280,18 @@
|
|
|
281
280
|
&:active,
|
|
282
281
|
&.k-active {
|
|
283
282
|
@if $name == "base" {
|
|
284
|
-
color:
|
|
283
|
+
color: k-color(on-app-surface);
|
|
285
284
|
} @else {
|
|
286
|
-
color:
|
|
285
|
+
color: k-color(#{$name}-active);
|
|
287
286
|
}
|
|
288
287
|
}
|
|
289
288
|
|
|
290
289
|
// Selected
|
|
291
290
|
&.k-selected {
|
|
292
291
|
@if $name == "base" {
|
|
293
|
-
color:
|
|
292
|
+
color: k-color(on-app-surface);
|
|
294
293
|
} @else {
|
|
295
|
-
color:
|
|
294
|
+
color: k-color(#{$name}-active);
|
|
296
295
|
}
|
|
297
296
|
}
|
|
298
297
|
|
|
@@ -306,9 +305,9 @@
|
|
|
306
305
|
|
|
307
306
|
|
|
308
307
|
// Clear button
|
|
309
|
-
@each $name, $color in map.merge( $kendo-button-theme-colors, ( "base":
|
|
308
|
+
@each $name, $color in map.merge( $kendo-button-theme-colors, ( "base": k-color( on-app-surface ) ) ) {
|
|
310
309
|
.k-button-clear-#{$name} {
|
|
311
|
-
color:
|
|
310
|
+
color: k-color(#{$name}-on-surface);
|
|
312
311
|
|
|
313
312
|
&:focus,
|
|
314
313
|
&.k-focus,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@use "../../mixins/index.import.scss" as *;
|
|
2
|
-
@use "../../color-system/_swatch-legacy.scss" as *;
|
|
3
2
|
@use "../../color-system/_functions.import.scss" as *;
|
|
4
3
|
@use "../../_variables.scss" as *;
|
|
5
4
|
@use "./variables.scss" as *;
|
|
@@ -134,7 +133,7 @@
|
|
|
134
133
|
&.k-invalid:hover,
|
|
135
134
|
&.ng-invalid.ng-touched,
|
|
136
135
|
&.ng-invalid.ng-dirty {
|
|
137
|
-
border-color:
|
|
136
|
+
border-color: k-color(error);
|
|
138
137
|
}
|
|
139
138
|
}
|
|
140
139
|
|
|
@@ -160,7 +159,7 @@
|
|
|
160
159
|
.k-calendar { // stylelint-disable-line
|
|
161
160
|
|
|
162
161
|
$kendo-calendar-range-gap: k-spacing(1px) !default;
|
|
163
|
-
$kendo-calendar-range-bg:
|
|
162
|
+
$kendo-calendar-range-bg: color-mix(in srgb, k-color(primary) 25%, transparent);
|
|
164
163
|
$kendo-calendar-range-split-size: 5px !default;
|
|
165
164
|
|
|
166
165
|
.k-range-start,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@use "../../mixins/index.import.scss" as *;
|
|
2
2
|
@use "../../functions/index.import.scss" as *;
|
|
3
|
-
@use "../../color-system/_swatch-legacy.scss" as *;
|
|
4
3
|
@use "../../color-system/_functions.import.scss" as *;
|
|
5
4
|
@use "../../_variables.scss" as *;
|
|
6
5
|
@use "./variables.scss" as *;
|
|
@@ -54,6 +53,10 @@
|
|
|
54
53
|
@include fill( $kendo-card-footer-text, $kendo-card-footer-bg, $kendo-card-footer-border );
|
|
55
54
|
}
|
|
56
55
|
|
|
56
|
+
// Body
|
|
57
|
+
.k-card-body {
|
|
58
|
+
border-color: inherit;
|
|
59
|
+
}
|
|
57
60
|
|
|
58
61
|
// Separator
|
|
59
62
|
.k-card-separator,
|
|
@@ -69,11 +72,11 @@
|
|
|
69
72
|
|
|
70
73
|
|
|
71
74
|
// Card theme colors
|
|
72
|
-
@each $name, $color in $kendo-theme-colors {
|
|
75
|
+
@each $name, $color in $kendo-card-theme-colors {
|
|
73
76
|
.k-card-#{$name} {
|
|
74
|
-
background-color:
|
|
75
|
-
color:
|
|
76
|
-
border-color:
|
|
77
|
+
background-color: k-color(#{$name}-subtle);
|
|
78
|
+
color: k-color(#{$name}-on-subtle);
|
|
79
|
+
border-color: k-color(#{$name}-emphasis);
|
|
77
80
|
|
|
78
81
|
.k-card-subtitle {
|
|
79
82
|
color: inherit;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@use "../../mixins/index.import.scss" as *;
|
|
2
|
-
@use "../../color-system/_swatch-legacy.scss" as *;
|
|
3
2
|
@use "../../motion/index.import.scss" as *;
|
|
4
3
|
@use "../../color-system/_functions.import.scss" as *;
|
|
5
4
|
@use "../../_variables.scss" as *;
|
|
@@ -39,8 +38,8 @@
|
|
|
39
38
|
transition: $kendo-transition;
|
|
40
39
|
order: -1;
|
|
41
40
|
|
|
42
|
-
a { color:
|
|
43
|
-
a:hover { color:
|
|
41
|
+
a { color: k-color(primary); }
|
|
42
|
+
a:hover { color: k-color(primary-hover); }
|
|
44
43
|
}
|
|
45
44
|
.k-chat-bubble:hover {
|
|
46
45
|
@include box-shadow( $kendo-chat-bubble-hover-shadow );
|
|
@@ -84,7 +83,7 @@
|
|
|
84
83
|
|
|
85
84
|
&:focus,
|
|
86
85
|
&.k-focus {
|
|
87
|
-
@include focus-indicator( 0 0 $kendo-chat-quick-reply-shadow-blur $kendo-chat-quick-reply-shadow-spread
|
|
86
|
+
@include focus-indicator( 0 0 $kendo-chat-quick-reply-shadow-blur $kendo-chat-quick-reply-shadow-spread color-mix(in srgb, k-color( 'primary' ) ( $kendo-chat-quick-reply-shadow-opacity * 100% ), transparent), true, true );
|
|
88
87
|
}
|
|
89
88
|
}
|
|
90
89
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../../mixins/index.import.scss" as *;
|
|
3
|
-
@use "../../color-system/_swatch-legacy.scss" as *;
|
|
4
3
|
@use "../../spacing/index.import.scss" as *;
|
|
4
|
+
@use "../../_variables.scss" as *;
|
|
5
5
|
@use "./_variables.scss" as *;
|
|
6
6
|
|
|
7
7
|
@mixin kendo-checkbox--layout-base() {
|
|
@@ -86,13 +86,6 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
// Disabled state
|
|
90
|
-
.k-checkbox:disabled,
|
|
91
|
-
.k-checkbox.k-disabled {
|
|
92
|
-
@include disabled( $kendo-disabled-styling... );
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
89
|
// Checkbox wrap
|
|
97
90
|
.k-checkbox-wrap {
|
|
98
91
|
flex: none;
|
|
@@ -35,24 +35,24 @@
|
|
|
35
35
|
}
|
|
36
36
|
} @else {
|
|
37
37
|
@include fill(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
k-color( #{$name}-on-subtle ),
|
|
39
|
+
k-color( #{$name}-subtle ),
|
|
40
|
+
k-color( #{$name}-emphasis ),
|
|
41
41
|
$kendo-chip-solid-gradient
|
|
42
42
|
);
|
|
43
43
|
|
|
44
44
|
&:focus,
|
|
45
45
|
&.k-focus {
|
|
46
|
-
@include focus-indicator( 0 0 0 2px
|
|
46
|
+
@include focus-indicator( 0 0 0 2px color-mix(in srgb, k-color( $name ) 16%, transparent));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
&:hover,
|
|
50
50
|
&.k-hover {
|
|
51
|
-
@include fill( $bg:
|
|
51
|
+
@include fill( $bg: k-color( #{$name}-subtle-hover ));
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
&.k-selected {
|
|
55
|
-
@include fill( $bg:
|
|
55
|
+
@include fill( $bg: k-color( #{$name}-subtle-active ));
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -90,56 +90,56 @@
|
|
|
90
90
|
}
|
|
91
91
|
} @else if ($name == "warning") {
|
|
92
92
|
@include fill(
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
k-color( on-app-surface ),
|
|
94
|
+
transparent,
|
|
95
|
+
$color
|
|
96
96
|
);
|
|
97
97
|
|
|
98
98
|
&:focus,
|
|
99
99
|
&.k-focus {
|
|
100
|
-
@include focus-indicator( 0 0 0 2px
|
|
100
|
+
@include focus-indicator( 0 0 0 2px color-mix(in srgb, k-color( $name ) 16%, transparent));
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
&:hover,
|
|
104
104
|
&.k-hover {
|
|
105
105
|
@include fill(
|
|
106
|
-
$color:
|
|
107
|
-
$bg:
|
|
106
|
+
$color: k-color( on-#{$name} ),
|
|
107
|
+
$bg: $color
|
|
108
108
|
);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
&.k-selected {
|
|
112
112
|
@include fill(
|
|
113
|
-
$color:
|
|
114
|
-
$bg:
|
|
113
|
+
$color: k-color( on-#{$name} ),
|
|
114
|
+
$bg: $color
|
|
115
115
|
);
|
|
116
116
|
}
|
|
117
117
|
} @else {
|
|
118
118
|
@include fill(
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
k-color( #{$name}-on-surface ),
|
|
120
|
+
transparent,
|
|
121
|
+
k-color( #{$name}-on-surface )
|
|
122
122
|
);
|
|
123
123
|
|
|
124
124
|
&:focus,
|
|
125
125
|
&.k-focus {
|
|
126
|
-
@include focus-indicator( 0 0 0 2px
|
|
126
|
+
@include focus-indicator( 0 0 0 2px color-mix(in srgb, k-color( $name ) 16%, transparent));
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
&:hover,
|
|
130
130
|
&.k-hover {
|
|
131
131
|
@include fill(
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
k-color( on-#{$name} ),
|
|
133
|
+
k-color( #{$name}-hover ),
|
|
134
|
+
k-color( #{$name}-hover )
|
|
135
135
|
);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
&.k-selected {
|
|
139
139
|
@include fill(
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
k-color( on-#{$name} ),
|
|
141
|
+
k-color( #{$name}-active ),
|
|
142
|
+
k-color( #{$name}-active )
|
|
143
143
|
);
|
|
144
144
|
}
|
|
145
145
|
}
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
@use "../../border-radii/index.import.scss" as *;
|
|
8
8
|
@use "../../mixins/index.import.scss" as *;
|
|
9
9
|
@use "../../functions/index.import.scss" as *;
|
|
10
|
-
@use "../../color-system/_swatch-legacy.scss" as *;
|
|
11
10
|
@use "../../_variables.scss" as *;
|
|
12
11
|
@use "./variables.scss" as *;
|
|
13
12
|
@use "../tooltip/_variables.scss" as *;
|
|
@@ -415,13 +414,13 @@
|
|
|
415
414
|
// export variables to allow use in scripts
|
|
416
415
|
// TODO: remove in favor of $_css-vars once all suites are updated
|
|
417
416
|
$exported: (
|
|
418
|
-
primary:
|
|
419
|
-
primary-contrast:
|
|
420
|
-
base:
|
|
417
|
+
primary: k-color(primary),
|
|
418
|
+
primary-contrast: k-color(on-primary),
|
|
419
|
+
base: k-color(surface),
|
|
421
420
|
background: $kendo-chart-bg,
|
|
422
421
|
|
|
423
|
-
normal-background:
|
|
424
|
-
normal-text-color:
|
|
422
|
+
normal-background: k-color(surface),
|
|
423
|
+
normal-text-color: k-color(on-app-surface),
|
|
425
424
|
|
|
426
425
|
series-a: $kendo-series-a,
|
|
427
426
|
series-b: $kendo-series-b,
|
|
@@ -461,8 +460,8 @@
|
|
|
461
460
|
series-29: $kendo-series-29,
|
|
462
461
|
series-30: $kendo-series-30,
|
|
463
462
|
|
|
464
|
-
gauge-pointer:
|
|
465
|
-
gauge-track:
|
|
463
|
+
gauge-pointer: k-color(primary),
|
|
464
|
+
gauge-track: k-color(base-emphasis),
|
|
466
465
|
|
|
467
466
|
chart-font-size: $kendo-chart-font-size,
|
|
468
467
|
chart-title-font-size: $kendo-chart-title-font-size,
|
|
@@ -504,8 +503,8 @@
|
|
|
504
503
|
}
|
|
505
504
|
|
|
506
505
|
$_css-vars: (
|
|
507
|
-
chart-primary-bg:
|
|
508
|
-
chart-primary-contrast:
|
|
506
|
+
chart-primary-bg: k-color(primary),
|
|
507
|
+
chart-primary-contrast: k-color(on-primary),
|
|
509
508
|
chart-bg: $kendo-chart-bg,
|
|
510
509
|
chart-text: $kendo-chart-text,
|
|
511
510
|
|
|
@@ -558,8 +557,8 @@
|
|
|
558
557
|
chart-series-29: $kendo-series-29,
|
|
559
558
|
chart-series-30: $kendo-series-30,
|
|
560
559
|
|
|
561
|
-
chart-gauge-pointer:
|
|
562
|
-
chart-gauge-track:
|
|
560
|
+
chart-gauge-pointer: k-color(primary),
|
|
561
|
+
chart-gauge-track: k-color(base-emphasis)
|
|
563
562
|
|
|
564
563
|
);
|
|
565
564
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
@use "../../mixins/index.import.scss" as *;
|
|
3
3
|
@use "../../color-system/_constants.scss" as *;
|
|
4
|
-
@use "../../color-system/
|
|
4
|
+
@use "../../color-system/_functions.import.scss" as *;
|
|
5
5
|
@use "./variables.scss" as *;
|
|
6
6
|
@use "../button/_variables.scss" as *;
|
|
7
7
|
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.k-mask {
|
|
77
|
-
background-color:
|
|
77
|
+
background-color: k-color(surface-alt);
|
|
78
78
|
opacity: .8;
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -86,31 +86,30 @@
|
|
|
86
86
|
// Treemap
|
|
87
87
|
.k-treemap {
|
|
88
88
|
@include fill(
|
|
89
|
-
$kendo-
|
|
90
|
-
$kendo-
|
|
91
|
-
$kendo-
|
|
89
|
+
$kendo-treemap-text,
|
|
90
|
+
$kendo-treemap-bg,
|
|
91
|
+
$kendo-treemap-border
|
|
92
92
|
);
|
|
93
93
|
|
|
94
94
|
// Title
|
|
95
95
|
.k-treemap-title {
|
|
96
96
|
@include fill(
|
|
97
|
-
$kendo-
|
|
98
|
-
$kendo-
|
|
99
|
-
$kendo-
|
|
100
|
-
$kendo-component-header-gradient
|
|
97
|
+
$kendo-treemap-title-text,
|
|
98
|
+
$kendo-treemap-title-bg,
|
|
99
|
+
$kendo-treemap-title-border
|
|
101
100
|
);
|
|
102
101
|
}
|
|
103
102
|
|
|
104
103
|
// Leaf
|
|
105
104
|
.k-leaf {
|
|
106
|
-
color:
|
|
105
|
+
color: k-color(surface-alt);
|
|
107
106
|
}
|
|
108
107
|
.k-leaf.k-inverse {
|
|
109
|
-
color:
|
|
108
|
+
color: k-color(on-app-surface);
|
|
110
109
|
}
|
|
111
110
|
.k-leaf:hover,
|
|
112
111
|
.k-leaf.k-hover {
|
|
113
|
-
box-shadow: inset 0 0 0 3px
|
|
112
|
+
box-shadow: inset 0 0 0 3px k-color(border);
|
|
114
113
|
}
|
|
115
114
|
}
|
|
116
115
|
|
|
@@ -120,6 +120,14 @@ $kendo-treemap-line-height: null !default;
|
|
|
120
120
|
$kendo-treemap-padding-x: null !default;
|
|
121
121
|
$kendo-treemap-padding-y: null !default;
|
|
122
122
|
|
|
123
|
+
$kendo-treemap-text: null !default;
|
|
124
|
+
$kendo-treemap-bg: null !default;
|
|
125
|
+
$kendo-treemap-border: null !default;
|
|
126
|
+
|
|
127
|
+
$kendo-treemap-title-text: null !default;
|
|
128
|
+
$kendo-treemap-title-bg: null !default;
|
|
129
|
+
$kendo-treemap-title-border: null !default;
|
|
130
|
+
|
|
123
131
|
// Chart Overlay
|
|
124
132
|
$kendo-chart-overlay-bg: null !default;
|
|
125
133
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// Dialog theme colors
|
|
19
19
|
@each $name, $color in $kendo-dialog-theme-colors {
|
|
20
20
|
.k-dialog-#{$name} .k-dialog-titlebar {
|
|
21
|
-
color:
|
|
21
|
+
color: k-color(on-#{$name});
|
|
22
22
|
background-color: $color;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
@use "../../mixins/index.import.scss" as *;
|
|
2
|
-
@use "../../color-system/
|
|
2
|
+
@use "../../color-system/_functions.import.scss" as *;
|
|
3
3
|
@use "./variables.scss" as *;
|
|
4
4
|
|
|
5
5
|
@mixin kendo-editor--theme-base() {
|
|
6
6
|
|
|
7
7
|
.k-editor {
|
|
8
8
|
@include fill(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
k-color( on-app-surface ),
|
|
10
|
+
k-color( surface-alt ),
|
|
11
|
+
k-color( border )
|
|
12
12
|
);
|
|
13
13
|
|
|
14
14
|
&.k-readonly {
|
|
15
15
|
.k-editor-content.k-focus {
|
|
16
|
-
outline-color:
|
|
16
|
+
outline-color: k-color(on-app-surface);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
&:hover,
|
|
52
52
|
&.k-hover,
|
|
53
53
|
&.k-active {
|
|
54
|
-
border-color:
|
|
54
|
+
border-color: k-color(border);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
// Insert table
|
|
69
69
|
.k-ct-popup {
|
|
70
70
|
.k-selected {
|
|
71
|
-
@include fill( $kendo-
|
|
71
|
+
@include fill( $kendo-editor-ct-cell-text, $kendo-editor-ct-cell-bg, $kendo-editor-ct-cell-border, none );
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -30,3 +30,7 @@ $kendo-editor-filebrowser-tiles-padding-x: null !default;
|
|
|
30
30
|
$kendo-editor-filebrowser-tiles-padding-y: null !default;
|
|
31
31
|
|
|
32
32
|
$kendo-editor-content-padding: null !default;
|
|
33
|
+
|
|
34
|
+
$kendo-editor-ct-cell-text: null !default;
|
|
35
|
+
$kendo-editor-ct-cell-bg: null !default;
|
|
36
|
+
$kendo-editor-ct-cell-border: null !default;
|