@progress/kendo-theme-material 8.0.0-dev.9 → 8.0.1-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 +224 -93
- package/dist/all.scss +168 -89
- package/dist/meta/sassdoc-data.json +1505 -1019
- package/dist/meta/sassdoc-raw-data.json +686 -461
- package/dist/meta/variables.json +46 -46
- package/lib/swatches/material-aqua-dark.json +1 -1
- package/lib/swatches/material-arctic.json +1 -1
- package/lib/swatches/material-burnt-teal.json +1 -1
- package/lib/swatches/material-dataviz-v4.json +1 -1
- package/lib/swatches/material-eggplant.json +1 -1
- package/lib/swatches/material-lime-dark.json +1 -1
- package/lib/swatches/material-lime.json +1 -1
- package/lib/swatches/material-main-dark.json +1 -1
- package/lib/swatches/material-main.json +1 -1
- package/lib/swatches/material-nova.json +1 -1
- package/lib/swatches/material-pacific-dark.json +1 -1
- package/lib/swatches/material-pacific.json +1 -1
- package/lib/swatches/material-sky-dark.json +1 -1
- package/lib/swatches/material-sky.json +1 -1
- package/lib/swatches/material-smoke.json +1 -1
- package/package.json +6 -6
- package/scss/button/_layout.scss +9 -0
- package/scss/button/_theme.scss +20 -2
- package/scss/button/_variables.scss +7 -7
- package/scss/calendar/_variables.scss +11 -0
- package/scss/checkbox/_variables.scss +1 -1
- package/scss/chip/_theme.scss +3 -3
- package/scss/chip/_variables.scss +1 -1
- package/scss/core/color-system/_swatch-legacy.scss +1 -1
- package/scss/core/color-system/_swatch.scss +1 -1
- package/scss/drawer/_variables.scss +12 -2
- package/scss/switch/_variables.scss +1 -1
- package/scss/timeline/_variables.scss +1 -1
- package/scss/toolbar/_theme.scss +27 -0
package/dist/all.scss
CHANGED
|
@@ -3092,7 +3092,7 @@ $_default-colors: (
|
|
|
3092
3092
|
light-emphasis: k-map-get( $kendo-palette-gray, 5 ),
|
|
3093
3093
|
light-on-subtle: k-map-get( $kendo-palette-gray, 15 ),
|
|
3094
3094
|
on-light: k-map-get( $kendo-palette-gray, black ),
|
|
3095
|
-
light-on-surface: k-map-get( $kendo-palette-gray,
|
|
3095
|
+
light-on-surface: k-map-get( $kendo-palette-gray, 4 ),
|
|
3096
3096
|
// Dark
|
|
3097
3097
|
dark-subtle: k-map-get( $kendo-palette-gray, 7 ),
|
|
3098
3098
|
dark-subtle-hover: k-map-get( $kendo-palette-gray, 8 ),
|
|
@@ -7135,6 +7135,7 @@ $kendo-zindex-loading: 100 !default;
|
|
|
7135
7135
|
@if ($kendo-enable-color-system) {
|
|
7136
7136
|
$kendo-color-primary: k-color( primary );
|
|
7137
7137
|
$kendo-color-primary-contrast: k-color( on-primary );
|
|
7138
|
+
$kendo-color-primary-darker: k-color( primary-active );
|
|
7138
7139
|
$kendo-color-secondary: k-color( secondary );
|
|
7139
7140
|
$kendo-color-secondary-contrast: k-color( on-secondary );
|
|
7140
7141
|
$kendo-color-tertiary: k-color( tertiary );
|
|
@@ -7195,7 +7196,6 @@ $kendo-zindex-loading: 100 !default;
|
|
|
7195
7196
|
"inverse": $kendo-color-inverse,
|
|
7196
7197
|
);
|
|
7197
7198
|
|
|
7198
|
-
|
|
7199
7199
|
}
|
|
7200
7200
|
|
|
7201
7201
|
// #endregion
|
|
@@ -15207,7 +15207,7 @@ $kendo-utils: (
|
|
|
15207
15207
|
/// @contextType css
|
|
15208
15208
|
|
|
15209
15209
|
// stylelint-disable scss/at-function-pattern
|
|
15210
|
-
@function
|
|
15210
|
+
@function _rotate( $val ) {
|
|
15211
15211
|
@return rotate( $val );
|
|
15212
15212
|
}
|
|
15213
15213
|
// stylelint-enable scss/at-function-pattern
|
|
@@ -15216,7 +15216,7 @@ $kendo-utils: (
|
|
|
15216
15216
|
|
|
15217
15217
|
// Rotate utility classes
|
|
15218
15218
|
$kendo-utils-rotate: k-map-get( $kendo-utils, "rotate" ) !default;
|
|
15219
|
-
@include generate-utils( rotate, transform, $kendo-utils-rotate,
|
|
15219
|
+
@include generate-utils( rotate, transform, $kendo-utils-rotate, _rotate );
|
|
15220
15220
|
|
|
15221
15221
|
}
|
|
15222
15222
|
|
|
@@ -15241,13 +15241,13 @@ $kendo-utils: (
|
|
|
15241
15241
|
/// @contextType css
|
|
15242
15242
|
|
|
15243
15243
|
// stylelint-disable scss/at-function-pattern
|
|
15244
|
-
@function
|
|
15244
|
+
@function _scale( $val ) {
|
|
15245
15245
|
@return scale( $val );
|
|
15246
15246
|
}
|
|
15247
|
-
@function
|
|
15247
|
+
@function _scale-x( $val ) {
|
|
15248
15248
|
@return scaleX( $val );
|
|
15249
15249
|
}
|
|
15250
|
-
@function
|
|
15250
|
+
@function _scale-y( $val ) {
|
|
15251
15251
|
@return scaleY( $val );
|
|
15252
15252
|
}
|
|
15253
15253
|
// stylelint-enable scss/at-function-pattern
|
|
@@ -15256,9 +15256,9 @@ $kendo-utils: (
|
|
|
15256
15256
|
|
|
15257
15257
|
// Scale utility classes
|
|
15258
15258
|
$kendo-utils-scale: k-map-get( $kendo-utils, "scale" ) !default;
|
|
15259
|
-
@include generate-utils( scale, transform, $kendo-utils-scale,
|
|
15260
|
-
@include generate-utils( scale-x, transform, $kendo-utils-scale,
|
|
15261
|
-
@include generate-utils( scale-y, transform, $kendo-utils-scale,
|
|
15259
|
+
@include generate-utils( scale, transform, $kendo-utils-scale, _scale );
|
|
15260
|
+
@include generate-utils( scale-x, transform, $kendo-utils-scale, _scale-x );
|
|
15261
|
+
@include generate-utils( scale-y, transform, $kendo-utils-scale, _scale-y );
|
|
15262
15262
|
|
|
15263
15263
|
}
|
|
15264
15264
|
|
|
@@ -15289,10 +15289,10 @@ $kendo-utils: (
|
|
|
15289
15289
|
/// @contextType css
|
|
15290
15290
|
|
|
15291
15291
|
// stylelint-disable scss/at-function-pattern
|
|
15292
|
-
@function
|
|
15292
|
+
@function _skew-x( $val ) {
|
|
15293
15293
|
@return skewX( $val );
|
|
15294
15294
|
}
|
|
15295
|
-
@function
|
|
15295
|
+
@function _skew-y( $val ) {
|
|
15296
15296
|
@return skewY( $val );
|
|
15297
15297
|
}
|
|
15298
15298
|
// stylelint-enable scss/at-function-pattern
|
|
@@ -15301,8 +15301,8 @@ $kendo-utils: (
|
|
|
15301
15301
|
|
|
15302
15302
|
// Transform skew utility classes
|
|
15303
15303
|
$kendo-utils-skew: k-map-get( $kendo-utils, "skew" ) !default;
|
|
15304
|
-
@include generate-utils( skew-x, transform, $kendo-utils-skew,
|
|
15305
|
-
@include generate-utils( skew-y, transform, $kendo-utils-skew,
|
|
15304
|
+
@include generate-utils( skew-x, transform, $kendo-utils-skew, _skew-x );
|
|
15305
|
+
@include generate-utils( skew-y, transform, $kendo-utils-skew, _skew-y );
|
|
15306
15306
|
|
|
15307
15307
|
}
|
|
15308
15308
|
|
|
@@ -15363,13 +15363,13 @@ $kendo-utils: (
|
|
|
15363
15363
|
/// @contextType css
|
|
15364
15364
|
|
|
15365
15365
|
// stylelint-disable scss/at-function-pattern
|
|
15366
|
-
@function
|
|
15366
|
+
@function _translate( $val ) {
|
|
15367
15367
|
@return translate( $val );
|
|
15368
15368
|
}
|
|
15369
|
-
@function
|
|
15369
|
+
@function _translate-x( $val ) {
|
|
15370
15370
|
@return translateX( $val );
|
|
15371
15371
|
}
|
|
15372
|
-
@function
|
|
15372
|
+
@function _translate-y( $val ) {
|
|
15373
15373
|
@return translateY( $val );
|
|
15374
15374
|
}
|
|
15375
15375
|
// stylelint-enable scss/at-function-pattern
|
|
@@ -15389,9 +15389,9 @@ $kendo-utils: (
|
|
|
15389
15389
|
"100-50": ( 100%, 50% ),
|
|
15390
15390
|
"100-100": ( 100%, 100% )
|
|
15391
15391
|
) !default;
|
|
15392
|
-
@include generate-utils( translate, transform, $kendo-utils-translate-xy,
|
|
15393
|
-
@include generate-utils( translate-x, transform, $kendo-utils-translate,
|
|
15394
|
-
@include generate-utils( translate-y, transform, $kendo-utils-translate,
|
|
15392
|
+
@include generate-utils( translate, transform, $kendo-utils-translate-xy, _translate );
|
|
15393
|
+
@include generate-utils( translate-x, transform, $kendo-utils-translate, _translate-x );
|
|
15394
|
+
@include generate-utils( translate-y, transform, $kendo-utils-translate, _translate-y );
|
|
15395
15395
|
|
|
15396
15396
|
}
|
|
15397
15397
|
|
|
@@ -17796,7 +17796,7 @@ $kendo-checkbox-bg: null !default;
|
|
|
17796
17796
|
$kendo-checkbox-text: null !default;
|
|
17797
17797
|
/// The border color of the CheckBox.
|
|
17798
17798
|
/// @group checkbox
|
|
17799
|
-
$kendo-checkbox-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface )
|
|
17799
|
+
$kendo-checkbox-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 44%, transparent), rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .54 )) !default;
|
|
17800
17800
|
|
|
17801
17801
|
/// The background color of the hovered CheckBox.
|
|
17802
17802
|
/// @group checkbox
|
|
@@ -20782,7 +20782,7 @@ $kendo-badge-sizes: (
|
|
|
20782
20782
|
// Outline badges
|
|
20783
20783
|
.k-badge-outline {
|
|
20784
20784
|
border-color: currentColor;
|
|
20785
|
-
background-color:
|
|
20785
|
+
background-color: transparent;
|
|
20786
20786
|
}
|
|
20787
20787
|
|
|
20788
20788
|
@each $name, $color in $kendo-theme-colors {
|
|
@@ -20984,13 +20984,13 @@ $kendo-button-shadow: $box-shadow-depth-2 !default;
|
|
|
20984
20984
|
|
|
20985
20985
|
/// The base background of the hovered Button.
|
|
20986
20986
|
/// @group button
|
|
20987
|
-
$kendo-button-hover-bg: null !default;
|
|
20987
|
+
$kendo-button-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), null) !default;
|
|
20988
20988
|
/// The base text color of the hovered Button.
|
|
20989
20989
|
/// @group button
|
|
20990
20990
|
$kendo-button-hover-text: null !default;
|
|
20991
20991
|
/// The base border color of the hovered Button.
|
|
20992
20992
|
/// @group button
|
|
20993
|
-
$kendo-button-hover-border: null !default;
|
|
20993
|
+
$kendo-button-hover-border: if($kendo-enable-color-system, k-color( base-hover ), null) !default;
|
|
20994
20994
|
/// The base background gradient of the hovered Button.
|
|
20995
20995
|
/// @group button
|
|
20996
20996
|
$kendo-button-hover-gradient: null !default;
|
|
@@ -21000,13 +21000,13 @@ $kendo-button-hover-shadow: null !default;
|
|
|
21000
21000
|
|
|
21001
21001
|
/// The base background color of the active Button.
|
|
21002
21002
|
/// @group button
|
|
21003
|
-
$kendo-button-active-bg: null !default;
|
|
21003
|
+
$kendo-button-active-bg: if($kendo-enable-color-system, k-color( base-active ), null) !default;
|
|
21004
21004
|
/// The base text color of the active Button.
|
|
21005
21005
|
/// @group button
|
|
21006
21006
|
$kendo-button-active-text: null !default;
|
|
21007
21007
|
/// The base border color of the active Button.
|
|
21008
21008
|
/// @group button
|
|
21009
|
-
$kendo-button-active-border: null !default;
|
|
21009
|
+
$kendo-button-active-border: if($kendo-enable-color-system, k-color( base-active ), null) !default;
|
|
21010
21010
|
/// The base background gradient of the active Button.
|
|
21011
21011
|
/// @group button
|
|
21012
21012
|
$kendo-button-active-gradient: null !default;
|
|
@@ -21032,19 +21032,19 @@ $kendo-button-selected-shadow: null !default;
|
|
|
21032
21032
|
|
|
21033
21033
|
/// The base background of the focused Button.
|
|
21034
21034
|
/// @group button
|
|
21035
|
-
$kendo-button-focus-bg: null !default;
|
|
21035
|
+
$kendo-button-focus-bg: if($kendo-enable-color-system, k-color( base-hover ), null) !default;
|
|
21036
21036
|
/// The base text color of the focused Button.
|
|
21037
21037
|
/// @group button
|
|
21038
21038
|
$kendo-button-focus-text: null !default;
|
|
21039
21039
|
/// The base border color of the focused Button.
|
|
21040
21040
|
/// @group button
|
|
21041
|
-
$kendo-button-focus-border: null !default;
|
|
21041
|
+
$kendo-button-focus-border: if($kendo-enable-color-system, k-color( base-hover ), null) !default;
|
|
21042
21042
|
/// The base background gradient of focused Button.
|
|
21043
21043
|
/// @group button
|
|
21044
21044
|
$kendo-button-focus-gradient: null !default;
|
|
21045
21045
|
/// The base shadow of the focused Button.
|
|
21046
21046
|
/// @group button
|
|
21047
|
-
$kendo-button-focus-shadow:
|
|
21047
|
+
$kendo-button-focus-shadow: $box-shadow-depth-3 !default;
|
|
21048
21048
|
|
|
21049
21049
|
/// The base background color of the disabled Button.
|
|
21050
21050
|
/// @group button
|
|
@@ -21262,7 +21262,7 @@ $kendo-chip-solid-selected-text: null !default;
|
|
|
21262
21262
|
$kendo-chip-outline-bg: $kendo-component-bg !default;
|
|
21263
21263
|
/// The base text color of the outline Chip.
|
|
21264
21264
|
/// @group chip
|
|
21265
|
-
$kendo-chip-outline-text: $kendo-chip-solid-text !default;
|
|
21265
|
+
$kendo-chip-outline-text: if($kendo-enable-color-system, k-color( base-on-surface ), $kendo-chip-solid-text) !default;
|
|
21266
21266
|
/// The base border color of the outline Chip.
|
|
21267
21267
|
/// @group chip
|
|
21268
21268
|
$kendo-chip-outline-border: $kendo-chip-outline-text !default;
|
|
@@ -21534,7 +21534,7 @@ $kendo-chip-list-sizes: (
|
|
|
21534
21534
|
@if ($name == "base") {
|
|
21535
21535
|
@include fill(
|
|
21536
21536
|
$kendo-chip-outline-text,
|
|
21537
|
-
|
|
21537
|
+
transparent,
|
|
21538
21538
|
$kendo-chip-outline-border
|
|
21539
21539
|
);
|
|
21540
21540
|
|
|
@@ -21559,8 +21559,8 @@ $kendo-chip-list-sizes: (
|
|
|
21559
21559
|
}
|
|
21560
21560
|
} @else if ($name == "warning") {
|
|
21561
21561
|
@include fill(
|
|
21562
|
-
if($kendo-enable-color-system,
|
|
21563
|
-
if($kendo-enable-color-system,
|
|
21562
|
+
if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, k-color-tint($color, 25%), $kendo-chip-outline-text)),
|
|
21563
|
+
if($kendo-enable-color-system, transparent, if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white )),
|
|
21564
21564
|
if($kendo-enable-color-system, $color, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color))
|
|
21565
21565
|
);
|
|
21566
21566
|
|
|
@@ -21586,7 +21586,7 @@ $kendo-chip-list-sizes: (
|
|
|
21586
21586
|
} @else {
|
|
21587
21587
|
@include fill(
|
|
21588
21588
|
if($kendo-enable-color-system, k-color( #{$name}-on-surface ), k-try-shade( $color, 25% )),
|
|
21589
|
-
if($kendo-enable-color-system,
|
|
21589
|
+
if($kendo-enable-color-system, transparent, if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white )),
|
|
21590
21590
|
if($kendo-enable-color-system, k-color( #{$name}-on-surface ), k-try-shade( $color, 25% ))
|
|
21591
21591
|
);
|
|
21592
21592
|
|
|
@@ -21655,7 +21655,7 @@ $kendo-chip-list-sizes: (
|
|
|
21655
21655
|
}
|
|
21656
21656
|
} @else if ($name == "warning") {
|
|
21657
21657
|
@include fill(
|
|
21658
|
-
$color: if($kendo-enable-color-system,
|
|
21658
|
+
$color: if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), k-color( on-app-surface )))
|
|
21659
21659
|
);
|
|
21660
21660
|
|
|
21661
21661
|
&:focus,
|
|
@@ -21668,14 +21668,14 @@ $kendo-chip-list-sizes: (
|
|
|
21668
21668
|
&.k-hover {
|
|
21669
21669
|
@include fill(
|
|
21670
21670
|
$bg: if($kendo-enable-color-system, k-color( #{$name}-subtle-hover ), k-try-tint( $color, 80% )),
|
|
21671
|
-
$color: if($kendo-enable-color-system,
|
|
21671
|
+
$color: if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), k-color( on-app-surface )))
|
|
21672
21672
|
);
|
|
21673
21673
|
}
|
|
21674
21674
|
|
|
21675
21675
|
&.k-selected {
|
|
21676
21676
|
@include fill(
|
|
21677
21677
|
$bg: if($kendo-enable-color-system, k-color( #{$name}-subtle-active ), k-try-tint( $color, 65% )),
|
|
21678
|
-
$color: if($kendo-enable-color-system,
|
|
21678
|
+
$color: if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), k-color( on-app-surface )))
|
|
21679
21679
|
);
|
|
21680
21680
|
}
|
|
21681
21681
|
} @else {
|
|
@@ -23335,6 +23335,15 @@ $_kendo-module-meta: (
|
|
|
23335
23335
|
}
|
|
23336
23336
|
}
|
|
23337
23337
|
|
|
23338
|
+
// Solid button
|
|
23339
|
+
.k-button-solid {
|
|
23340
|
+
&::before {
|
|
23341
|
+
@if($kendo-enable-color-system) {
|
|
23342
|
+
display: none;
|
|
23343
|
+
}
|
|
23344
|
+
}
|
|
23345
|
+
}
|
|
23346
|
+
|
|
23338
23347
|
// Outline button
|
|
23339
23348
|
.k-button-outline {
|
|
23340
23349
|
background-color: transparent !important; // stylelint-disable-line declaration-no-important
|
|
@@ -23554,9 +23563,9 @@ $_kendo-module-meta: (
|
|
|
23554
23563
|
&.k-hover {
|
|
23555
23564
|
@if $name == "base" {
|
|
23556
23565
|
@include fill(
|
|
23557
|
-
if($kendo-enable-color-system,
|
|
23558
|
-
$color,
|
|
23559
|
-
$color
|
|
23566
|
+
if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $color )),
|
|
23567
|
+
if($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( $color )),
|
|
23568
|
+
if($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( $color ))
|
|
23560
23569
|
);
|
|
23561
23570
|
} @else {
|
|
23562
23571
|
@include fill(
|
|
@@ -23584,9 +23593,9 @@ $_kendo-module-meta: (
|
|
|
23584
23593
|
&.k-active {
|
|
23585
23594
|
@if $name == "base" {
|
|
23586
23595
|
@include fill(
|
|
23587
|
-
if($kendo-enable-color-system,
|
|
23588
|
-
$color,
|
|
23589
|
-
$color
|
|
23596
|
+
if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $color )),
|
|
23597
|
+
if($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( $color )),
|
|
23598
|
+
if($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( $color ))
|
|
23590
23599
|
);
|
|
23591
23600
|
} @else {
|
|
23592
23601
|
@include fill(
|
|
@@ -23601,9 +23610,9 @@ $_kendo-module-meta: (
|
|
|
23601
23610
|
&.k-selected {
|
|
23602
23611
|
@if $name == "base" {
|
|
23603
23612
|
@include fill(
|
|
23604
|
-
if($kendo-enable-color-system,
|
|
23605
|
-
$color,
|
|
23606
|
-
$color
|
|
23613
|
+
if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $color )),
|
|
23614
|
+
if($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( $color )),
|
|
23615
|
+
if($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( $color ))
|
|
23607
23616
|
);
|
|
23608
23617
|
} @else {
|
|
23609
23618
|
@include fill(
|
|
@@ -23626,7 +23635,11 @@ $_kendo-module-meta: (
|
|
|
23626
23635
|
// Flat button
|
|
23627
23636
|
@each $name, $color in k-map-merge( $kendo-button-theme-colors, ( "base": inherit ) ) {
|
|
23628
23637
|
.k-button-flat-#{$name} {
|
|
23629
|
-
|
|
23638
|
+
@if $name == "base" {
|
|
23639
|
+
color: inherit;
|
|
23640
|
+
} @else {
|
|
23641
|
+
color: if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color);
|
|
23642
|
+
}
|
|
23630
23643
|
|
|
23631
23644
|
// Disabled state
|
|
23632
23645
|
&:disabled,
|
|
@@ -23695,7 +23708,7 @@ $_kendo-module-meta: (
|
|
|
23695
23708
|
// Clear button
|
|
23696
23709
|
@each $name, $color in k-map-merge( $kendo-button-theme-colors, ( "base": $kendo-base-text ) ) {
|
|
23697
23710
|
.k-button-clear-#{$name} {
|
|
23698
|
-
color: $color;
|
|
23711
|
+
color: if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color);
|
|
23699
23712
|
|
|
23700
23713
|
&:focus,
|
|
23701
23714
|
&.k-focus,
|
|
@@ -23737,6 +23750,9 @@ $_kendo-module-meta: (
|
|
|
23737
23750
|
@each $name, $color in $kendo-button-theme-colors {
|
|
23738
23751
|
.k-button-solid-#{$name} {
|
|
23739
23752
|
@include box-shadow( $kendo-button-shadow );
|
|
23753
|
+
|
|
23754
|
+
// These 3 lines can be deleted once we
|
|
23755
|
+
// stop supporting the old color system.
|
|
23740
23756
|
color: if( $name == "base", $kendo-button-text, if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-color( $color )) );
|
|
23741
23757
|
background-color: if( $name == "base", $kendo-button-bg, if($kendo-enable-color-system, k-color( $name ), $color) );
|
|
23742
23758
|
border-color: if( $name == "base", $kendo-button-bg, if($kendo-enable-color-system, k-color( $name ), $color) );
|
|
@@ -23750,6 +23766,8 @@ $_kendo-module-meta: (
|
|
|
23750
23766
|
// Focus state
|
|
23751
23767
|
&:focus,
|
|
23752
23768
|
&.k-focus {
|
|
23769
|
+
background-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), null);
|
|
23770
|
+
border-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), null);
|
|
23753
23771
|
@include box-shadow( $kendo-button-focus-shadow );
|
|
23754
23772
|
}
|
|
23755
23773
|
|
|
@@ -23776,7 +23794,14 @@ $_kendo-module-meta: (
|
|
|
23776
23794
|
// Outline button
|
|
23777
23795
|
@each $name, $color in $kendo-button-theme-colors {
|
|
23778
23796
|
.k-button-outline-#{$name} {
|
|
23779
|
-
|
|
23797
|
+
|
|
23798
|
+
// The "base" case can be deleted once we
|
|
23799
|
+
// stop supporting the old color system.
|
|
23800
|
+
@if $name == "base" {
|
|
23801
|
+
color: if($kendo-enable-color-system, k-color( base-on-surface ), $kendo-button-text)
|
|
23802
|
+
} @else {
|
|
23803
|
+
color: if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color)
|
|
23804
|
+
}
|
|
23780
23805
|
|
|
23781
23806
|
&:hover,
|
|
23782
23807
|
&.k-hover,
|
|
@@ -23785,7 +23810,13 @@ $_kendo-module-meta: (
|
|
|
23785
23810
|
&:active,
|
|
23786
23811
|
&.k-active,
|
|
23787
23812
|
&.k-selected {
|
|
23788
|
-
|
|
23813
|
+
// The "base" case can be deleted once we
|
|
23814
|
+
// stop supporting the old color system.
|
|
23815
|
+
@if $name == "base" {
|
|
23816
|
+
color: if($kendo-enable-color-system, k-color( base-on-surface ), $kendo-button-text)
|
|
23817
|
+
} @else {
|
|
23818
|
+
color: if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color)
|
|
23819
|
+
}
|
|
23789
23820
|
}
|
|
23790
23821
|
|
|
23791
23822
|
// Disabled state
|
|
@@ -25215,6 +25246,33 @@ $kendo-toolbar-sizes: (
|
|
|
25215
25246
|
background-color: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-button-bg ));
|
|
25216
25247
|
border-color: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-button-bg ));
|
|
25217
25248
|
|
|
25249
|
+
// Hover state
|
|
25250
|
+
&:hover,
|
|
25251
|
+
&.k-hover {
|
|
25252
|
+
background-color: if($kendo-enable-color-system, k-color( base-subtle-hover ), null);
|
|
25253
|
+
border-color: if($kendo-enable-color-system, k-color( base-subtle-hover ), null);
|
|
25254
|
+
}
|
|
25255
|
+
|
|
25256
|
+
// Focus state
|
|
25257
|
+
&:focus,
|
|
25258
|
+
&.k-focus {
|
|
25259
|
+
background-color: if($kendo-enable-color-system, k-color( base-subtle-hover ), null);
|
|
25260
|
+
border-color: if($kendo-enable-color-system, k-color( base-subtle-hover ), null);
|
|
25261
|
+
}
|
|
25262
|
+
|
|
25263
|
+
// Active state
|
|
25264
|
+
&:active,
|
|
25265
|
+
&.k-active {
|
|
25266
|
+
background-color: if($kendo-enable-color-system, k-color( base-subtle-active ), null);
|
|
25267
|
+
border-color: if($kendo-enable-color-system, k-color( base-subtle-active ), null);
|
|
25268
|
+
}
|
|
25269
|
+
|
|
25270
|
+
// Selected state
|
|
25271
|
+
&.k-selected {
|
|
25272
|
+
background-color: if($kendo-enable-color-system, k-color( base-subtle-active ), null);
|
|
25273
|
+
border-color: if($kendo-enable-color-system, k-color( base-subtle-active ), null);
|
|
25274
|
+
}
|
|
25275
|
+
|
|
25218
25276
|
&.k-input-button,
|
|
25219
25277
|
&.k-input-spinner .k-spinner-increase,
|
|
25220
25278
|
&.k-input-spinner .k-spinner-decrease {
|
|
@@ -31375,8 +31433,15 @@ $_kendo-module-meta: (
|
|
|
31375
31433
|
/// The width of the border around the Calendar.
|
|
31376
31434
|
/// @group calendar
|
|
31377
31435
|
$kendo-calendar-border-width: 1px !default;
|
|
31436
|
+
|
|
31437
|
+
/// The font family of the Calendar.
|
|
31438
|
+
/// @group calendar
|
|
31378
31439
|
$kendo-calendar-font-family: var( --kendo-font-family, inherit ) !default;
|
|
31440
|
+
/// The font size of the Calendar.
|
|
31441
|
+
/// @group calendar
|
|
31379
31442
|
$kendo-calendar-font-size: var( --kendo-font-size, inherit ) !default;
|
|
31443
|
+
/// The line height of the Calendar.
|
|
31444
|
+
/// @group calendar
|
|
31380
31445
|
$kendo-calendar-line-height: k-math-div( 20, 14 ) !default;
|
|
31381
31446
|
|
|
31382
31447
|
/// The size of the cells in the Calendar.
|
|
@@ -31457,7 +31522,11 @@ $kendo-calendar-header-cell-width: $kendo-calendar-cell-size !default;
|
|
|
31457
31522
|
/// The height of the header cells in the Calendar.
|
|
31458
31523
|
/// @group calendar
|
|
31459
31524
|
$kendo-calendar-header-cell-height: $kendo-calendar-cell-size !default;
|
|
31525
|
+
/// The font size of the header cells in the Calendar.
|
|
31526
|
+
/// @group calendar
|
|
31460
31527
|
$kendo-calendar-header-cell-font-size: var( --kendo-font-size-sm, inherit )!default;
|
|
31528
|
+
/// The line height of the header cells in the Calendar.
|
|
31529
|
+
/// @group calendar
|
|
31461
31530
|
$kendo-calendar-header-cell-line-height: 2 !default;
|
|
31462
31531
|
|
|
31463
31532
|
/// The background color of the header cells in the Calendar.
|
|
@@ -32169,9 +32238,6 @@ $kendo-calendar-sizes: (
|
|
|
32169
32238
|
// }
|
|
32170
32239
|
}
|
|
32171
32240
|
|
|
32172
|
-
|
|
32173
|
-
|
|
32174
|
-
|
|
32175
32241
|
// Multiview calendar
|
|
32176
32242
|
.k-calendar-range {
|
|
32177
32243
|
width: auto;
|
|
@@ -32188,25 +32254,34 @@ $kendo-calendar-sizes: (
|
|
|
32188
32254
|
outline: 0;
|
|
32189
32255
|
}
|
|
32190
32256
|
}
|
|
32257
|
+
}
|
|
32191
32258
|
|
|
32192
|
-
|
|
32193
|
-
|
|
32194
|
-
|
|
32195
|
-
|
|
32196
|
-
|
|
32197
|
-
.k-
|
|
32198
|
-
.k-range-end .k-link {
|
|
32259
|
+
// Range Selection
|
|
32260
|
+
.k-range-start {
|
|
32261
|
+
border-radius: $kendo-calendar-range-cell-border-radius 0 0 $kendo-calendar-range-cell-border-radius;
|
|
32262
|
+
|
|
32263
|
+
.k-calendar-cell-inner,
|
|
32264
|
+
.k-link {
|
|
32199
32265
|
border-color: inherit;
|
|
32200
|
-
border-radius:
|
|
32266
|
+
border-radius: inherit;
|
|
32201
32267
|
}
|
|
32202
|
-
|
|
32268
|
+
}
|
|
32269
|
+
.k-range-end {
|
|
32270
|
+
border-radius: 0 $kendo-calendar-range-cell-border-radius $kendo-calendar-range-cell-border-radius 0;
|
|
32271
|
+
|
|
32272
|
+
.k-calendar-cell-inner,
|
|
32273
|
+
.k-link {
|
|
32203
32274
|
border-color: inherit;
|
|
32204
|
-
border-radius:
|
|
32275
|
+
border-radius: inherit;
|
|
32205
32276
|
}
|
|
32206
32277
|
}
|
|
32207
|
-
|
|
32208
|
-
|
|
32209
|
-
|
|
32278
|
+
.k-range-mid {
|
|
32279
|
+
border-color: inherit;
|
|
32280
|
+
border-radius: 0;
|
|
32281
|
+
}
|
|
32282
|
+
.k-range-start.k-range-end {
|
|
32283
|
+
border-radius: $kendo-calendar-range-cell-border-radius;
|
|
32284
|
+
}
|
|
32210
32285
|
|
|
32211
32286
|
// RTL
|
|
32212
32287
|
.k-rtl .k-calendar,
|
|
@@ -32219,21 +32294,14 @@ $kendo-calendar-sizes: (
|
|
|
32219
32294
|
@include hide-scrollbar("left");
|
|
32220
32295
|
}
|
|
32221
32296
|
|
|
32222
|
-
|
|
32223
|
-
|
|
32224
|
-
.k-rtl .k-calendar-range,
|
|
32225
|
-
[dir="rtl"] .k-calendar-range,
|
|
32226
|
-
.k-calendar-range.k-rtl,
|
|
32227
|
-
.k-calendar-range[dir="rtl"] {
|
|
32228
|
-
|
|
32229
|
-
.k-range-start .k-calendar-cell-inner,
|
|
32230
|
-
.k-range-start .k-link {
|
|
32297
|
+
// Range Selection RTL
|
|
32298
|
+
.k-range-start {
|
|
32231
32299
|
border-radius: 0 $kendo-calendar-range-cell-border-radius $kendo-calendar-range-cell-border-radius 0;
|
|
32232
32300
|
}
|
|
32233
|
-
.k-range-end
|
|
32234
|
-
.k-range-end .k-link {
|
|
32301
|
+
.k-range-end {
|
|
32235
32302
|
border-radius: $kendo-calendar-range-cell-border-radius 0 0 $kendo-calendar-range-cell-border-radius;
|
|
32236
32303
|
}
|
|
32304
|
+
|
|
32237
32305
|
}
|
|
32238
32306
|
|
|
32239
32307
|
}
|
|
@@ -32443,11 +32511,6 @@ $kendo-calendar-sizes: (
|
|
|
32443
32511
|
background-color: $kendo-calendar-range-bg;
|
|
32444
32512
|
}
|
|
32445
32513
|
|
|
32446
|
-
.k-range-start.k-range-end {
|
|
32447
|
-
background-image: none;
|
|
32448
|
-
background-color: transparent;
|
|
32449
|
-
}
|
|
32450
|
-
|
|
32451
32514
|
.k-range-start,
|
|
32452
32515
|
.k-range-end {
|
|
32453
32516
|
.k-calendar-cell-inner {
|
|
@@ -37220,7 +37283,7 @@ $kendo-switch-off-thumb-hover-gradient: null !default;
|
|
|
37220
37283
|
|
|
37221
37284
|
/// The background of the track when the Switch is checked.
|
|
37222
37285
|
/// @group switch
|
|
37223
|
-
$kendo-switch-on-track-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( primary )
|
|
37286
|
+
$kendo-switch-on-track-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 44%, transparent), rgba( $kendo-color-primary, .54 )) !default;
|
|
37224
37287
|
/// The text color of the track when the Switch is checked.
|
|
37225
37288
|
/// @group switch
|
|
37226
37289
|
$kendo-switch-on-track-text: null !default;
|
|
@@ -39808,7 +39871,7 @@ $kendo-adaptive-actionsheet-footer-padding-x: k-spacing(4) !default;
|
|
|
39808
39871
|
}
|
|
39809
39872
|
|
|
39810
39873
|
.k-actionsheet-filter {
|
|
39811
|
-
width: calc(
|
|
39874
|
+
width: calc( 360px - #{$kendo-adaptive-actionsheet-titlebar-padding-x} * 2 );
|
|
39812
39875
|
}
|
|
39813
39876
|
.k-actionsheet-content,
|
|
39814
39877
|
.k-actionsheet-footer {
|
|
@@ -40662,13 +40725,23 @@ $kendo-drawer-border: $kendo-component-border !default;
|
|
|
40662
40725
|
/// The border width of the Drawer.
|
|
40663
40726
|
/// @group drawer
|
|
40664
40727
|
$kendo-drawer-border-width: 1px !default;
|
|
40728
|
+
|
|
40729
|
+
/// The font family of the Drawer.
|
|
40730
|
+
/// @group drawer
|
|
40665
40731
|
$kendo-drawer-font-family: var( --kendo-font-family, inherit ) !default;
|
|
40732
|
+
/// The font size of the Drawer.
|
|
40733
|
+
/// @group drawer
|
|
40666
40734
|
$kendo-drawer-font-size: var( --kendo-font-size, inherit ) !default;
|
|
40735
|
+
/// The line height of the Drawer.
|
|
40736
|
+
/// @group drawer
|
|
40667
40737
|
$kendo-drawer-line-height: var( --kendo-line-height, normal ) !default;
|
|
40668
|
-
|
|
40738
|
+
|
|
40739
|
+
/// The horizontal padding of the Drawer content.
|
|
40740
|
+
/// @group drawer
|
|
40741
|
+
$kendo-drawer-content-padding-x: null !default;
|
|
40669
40742
|
/// The vertical padding of the Drawer content.
|
|
40670
40743
|
/// @group drawer
|
|
40671
|
-
$kendo-drawer-content-padding-y:
|
|
40744
|
+
$kendo-drawer-content-padding-y: null !default;
|
|
40672
40745
|
|
|
40673
40746
|
/// The width of the Drawer scrollbar.
|
|
40674
40747
|
/// @group drawer
|
|
@@ -40815,6 +40888,8 @@ $kendo-drawer-selected-hover-text: $kendo-color-secondary !default;
|
|
|
40815
40888
|
.k-drawer-content {
|
|
40816
40889
|
flex: 1 1 auto;
|
|
40817
40890
|
overflow: auto;
|
|
40891
|
+
padding-block: $kendo-drawer-content-padding-y;
|
|
40892
|
+
padding-inline: $kendo-drawer-content-padding-x;
|
|
40818
40893
|
}
|
|
40819
40894
|
|
|
40820
40895
|
|
|
@@ -51273,6 +51348,7 @@ $kendo-listview-item-focus-shadow: null !default;
|
|
|
51273
51348
|
font-family: $kendo-listview-font-family;
|
|
51274
51349
|
font-size: $kendo-listview-font-size;
|
|
51275
51350
|
line-height: $kendo-listview-line-height;
|
|
51351
|
+
display: flex;
|
|
51276
51352
|
flex-flow: column nowrap;
|
|
51277
51353
|
position: relative;
|
|
51278
51354
|
-webkit-touch-callout: none;
|
|
@@ -61892,7 +61968,7 @@ $kendo-timeline-track-start-calc: calc(#{$kendo-timeline-track-arrow-width} - 2
|
|
|
61892
61968
|
$kendo-timeline-track-end-calc: calc(#{$kendo-timeline-track-arrow-width} - 2 * #{$kendo-timeline-track-border-width}) !default;
|
|
61893
61969
|
/// The background color of the Timeline track.
|
|
61894
61970
|
/// @group timeline
|
|
61895
|
-
$kendo-timeline-track-bg: #e0e0e0 !default;
|
|
61971
|
+
$kendo-timeline-track-bg: if($kendo-enable-color-system, k-color( base-subtle ), #e0e0e0) !default;
|
|
61896
61972
|
/// The border color of the Timeline track.
|
|
61897
61973
|
/// @group timeline
|
|
61898
61974
|
$kendo-timeline-track-border-color: $kendo-timeline-track-bg !default;
|
|
@@ -64318,7 +64394,10 @@ $kendo-treemap-line-height: var( --kendo-line-height, normal ) !default;
|
|
|
64318
64394
|
}
|
|
64319
64395
|
|
|
64320
64396
|
|
|
64321
|
-
|
|
64397
|
+
// Sankey labels
|
|
64398
|
+
.k-sankey text {
|
|
64399
|
+
pointer-events: none;
|
|
64400
|
+
}
|
|
64322
64401
|
|
|
64323
64402
|
// Treemap
|
|
64324
64403
|
.k-treemap {
|
|
@@ -64503,7 +64582,7 @@ $kendo-treemap-line-height: var( --kendo-line-height, normal ) !default;
|
|
|
64503
64582
|
series-30: $kendo-series-30,
|
|
64504
64583
|
|
|
64505
64584
|
gauge-pointer: $kendo-color-primary,
|
|
64506
|
-
gauge-track: if($kendo-enable-color-system, k-color( base ), k-try-shade( $kendo-chart-bg ))
|
|
64585
|
+
gauge-track: if($kendo-enable-color-system, k-color( base-emphasis ), k-try-shade( $kendo-chart-bg ))
|
|
64507
64586
|
);
|
|
64508
64587
|
|
|
64509
64588
|
@each $name, $value in $exported {
|