@progress/kendo-theme-material 5.0.1 → 5.1.2-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 +30 -1
- package/dist/all.scss +81 -25
- package/package.json +3 -3
- package/scss/_variables.scss +3 -3
- package/scss/avatar/_variables.scss +1 -1
- package/scss/button/_variables.scss +1 -1
- package/scss/chip/_variables.scss +4 -4
- package/scss/fab/_variables.scss +1 -1
- package/scss/input/_layout.scss +18 -0
- package/scss/input/_variables.scss +11 -1
- package/scss/notification/_variables.scss +1 -1
- package/scss/overlay/_variables.scss +1 -1
package/dist/all.css
CHANGED
|
@@ -13854,6 +13854,23 @@ textarea.k-input-inner {
|
|
|
13854
13854
|
border-bottom-style: dashed;
|
|
13855
13855
|
}
|
|
13856
13856
|
|
|
13857
|
+
.k-input:disabled, .k-input[disabled], .k-input.k-disabled,
|
|
13858
|
+
.k-picker:disabled,
|
|
13859
|
+
.k-picker[disabled],
|
|
13860
|
+
.k-picker.k-disabled {
|
|
13861
|
+
opacity: 1;
|
|
13862
|
+
filter: none;
|
|
13863
|
+
}
|
|
13864
|
+
|
|
13865
|
+
.k-input .k-input-button,
|
|
13866
|
+
.k-input .k-input-spinner .k-spinner-increase,
|
|
13867
|
+
.k-input .k-input-spinner .k-spinner-decrease,
|
|
13868
|
+
.k-picker .k-input-button,
|
|
13869
|
+
.k-picker .k-input-spinner .k-spinner-increase,
|
|
13870
|
+
.k-picker .k-input-spinner .k-spinner-decrease {
|
|
13871
|
+
color: inherit;
|
|
13872
|
+
}
|
|
13873
|
+
|
|
13857
13874
|
.k-floating-label-container::after {
|
|
13858
13875
|
display: block;
|
|
13859
13876
|
z-index: 2;
|
|
@@ -13898,6 +13915,12 @@ textarea.k-input-inner {
|
|
|
13898
13915
|
border-color: #3f51b5;
|
|
13899
13916
|
}
|
|
13900
13917
|
|
|
13918
|
+
.k-input:disabled, .k-input[disabled], .k-input.k-disabled {
|
|
13919
|
+
border-color: rgba(0, 0, 0, 0.06);
|
|
13920
|
+
color: rgba(0, 0, 0, 0.38);
|
|
13921
|
+
background-color: #fafafa;
|
|
13922
|
+
}
|
|
13923
|
+
|
|
13901
13924
|
.k-input.k-invalid, .k-input.ng-invalid.ng-touched, .k-input.ng-invalid.ng-dirty {
|
|
13902
13925
|
border-color: #f31700;
|
|
13903
13926
|
}
|
|
@@ -13924,6 +13947,12 @@ textarea.k-input-inner {
|
|
|
13924
13947
|
border-color: #3f51b5;
|
|
13925
13948
|
}
|
|
13926
13949
|
|
|
13950
|
+
.k-picker:disabled, .k-picker[disabled], .k-picker.k-disabled {
|
|
13951
|
+
border-color: rgba(0, 0, 0, 0.06);
|
|
13952
|
+
color: rgba(0, 0, 0, 0.38);
|
|
13953
|
+
background-color: #fafafa;
|
|
13954
|
+
}
|
|
13955
|
+
|
|
13927
13956
|
.k-picker.k-invalid, .k-picker.ng-invalid.ng-touched, .k-picker.ng-invalid.ng-dirty {
|
|
13928
13957
|
border-color: #f31700;
|
|
13929
13958
|
}
|
|
@@ -24886,7 +24915,7 @@ kendo-card-footer {
|
|
|
24886
24915
|
background-color: rgba(0, 0, 0, 0.04);
|
|
24887
24916
|
}
|
|
24888
24917
|
|
|
24889
|
-
.k-tabstrip-items-wrapper .k-item.k-state-active, .k-tabstrip-items-wrapper .k-item.k-state-selected {
|
|
24918
|
+
.k-tabstrip-items-wrapper .k-item:active, .k-tabstrip-items-wrapper .k-item.k-state-active, .k-tabstrip-items-wrapper .k-item.k-state-selected {
|
|
24890
24919
|
color: rgba(0, 0, 0, 0.87);
|
|
24891
24920
|
}
|
|
24892
24921
|
|
package/dist/all.scss
CHANGED
|
@@ -1968,12 +1968,12 @@ $dark: get-base-hue( gray, 800 ) !default;
|
|
|
1968
1968
|
/// @type Color
|
|
1969
1969
|
$light: get-base-hue( gray, 100 ) !default;
|
|
1970
1970
|
|
|
1971
|
-
/// Inverse color of the theme. Depending on the theme luminance dark or
|
|
1971
|
+
/// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
|
|
1972
1972
|
/// @group color-system
|
|
1973
1973
|
$inverse: if( $dark-theme, $light, $dark ) !default;
|
|
1974
1974
|
|
|
1975
1975
|
|
|
1976
|
-
$theme-colors: (
|
|
1976
|
+
$kendo-theme-colors: (
|
|
1977
1977
|
"primary": $primary,
|
|
1978
1978
|
"secondary": $secondary,
|
|
1979
1979
|
"tertiary": $tertiary,
|
|
@@ -2009,7 +2009,7 @@ $app-border: map-get($theme, component-border) !default;
|
|
|
2009
2009
|
|
|
2010
2010
|
// Component
|
|
2011
2011
|
/// Background color of a component.
|
|
2012
|
-
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !
|
|
2012
|
+
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
|
|
2013
2013
|
/// @group component
|
|
2014
2014
|
$component-bg: map-get($theme, component-bg) !default;
|
|
2015
2015
|
/// Text color of a component.
|
|
@@ -4183,7 +4183,7 @@ $utils-border-radius: (
|
|
|
4183
4183
|
0: 0
|
|
4184
4184
|
) !default;
|
|
4185
4185
|
|
|
4186
|
-
$utils-border-color: $theme-colors !default;
|
|
4186
|
+
$utils-border-color: $kendo-theme-colors !default;
|
|
4187
4187
|
|
|
4188
4188
|
$utils-border-radius-sides: (
|
|
4189
4189
|
default: border-radius,
|
|
@@ -5281,7 +5281,7 @@ $utils-border-radius: (
|
|
|
5281
5281
|
|
|
5282
5282
|
.k-color-inherit { color: inherit; }
|
|
5283
5283
|
|
|
5284
|
-
@each $name, $color in $theme-colors {
|
|
5284
|
+
@each $name, $color in $kendo-theme-colors {
|
|
5285
5285
|
.k-text-#{$name},
|
|
5286
5286
|
.k-color-#{$name} {
|
|
5287
5287
|
color: $color !important;
|
|
@@ -5295,7 +5295,7 @@ $utils-border-radius: (
|
|
|
5295
5295
|
|
|
5296
5296
|
// sass-lint:disable-block no-important
|
|
5297
5297
|
|
|
5298
|
-
@each $name, $bg-color in $theme-colors {
|
|
5298
|
+
@each $name, $bg-color in $kendo-theme-colors {
|
|
5299
5299
|
.k-bg-#{$name} {
|
|
5300
5300
|
background-color: $bg-color !important;
|
|
5301
5301
|
}
|
|
@@ -5312,7 +5312,7 @@ $utils-border-radius: (
|
|
|
5312
5312
|
|
|
5313
5313
|
@include exports( "common/decoration/variant" ) {
|
|
5314
5314
|
|
|
5315
|
-
@each $name, $variant in $theme-colors {
|
|
5315
|
+
@each $name, $variant in $kendo-theme-colors {
|
|
5316
5316
|
.k-state-#{$name} {
|
|
5317
5317
|
@include variant( $variant );
|
|
5318
5318
|
}
|
|
@@ -6824,7 +6824,7 @@ $message-box-link-text-decoration: underline !default;
|
|
|
6824
6824
|
// #region @import "~@progress/kendo-theme-default/scss/messagebox/_theme.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/messagebox/_theme.scss
|
|
6825
6825
|
@include exports("messagebox/theme") {
|
|
6826
6826
|
|
|
6827
|
-
@each $color-name, $color in $theme-colors {
|
|
6827
|
+
@each $color-name, $color in $kendo-theme-colors {
|
|
6828
6828
|
.k-messagebox-#{$color-name} {
|
|
6829
6829
|
@include fill(
|
|
6830
6830
|
color-level( $color, $message-box-text-level ),
|
|
@@ -8252,7 +8252,7 @@ $listgroup-item-border-width: 1px !default;
|
|
|
8252
8252
|
|
|
8253
8253
|
// Component
|
|
8254
8254
|
// #region @import "_variables.scss"; -> packages/material/scss/overlay/_variables.scss
|
|
8255
|
-
$overlay-theme-colors: $theme-colors !default;
|
|
8255
|
+
$overlay-theme-colors: $kendo-theme-colors !default;
|
|
8256
8256
|
|
|
8257
8257
|
$overlay-bg: $black !default;
|
|
8258
8258
|
$overlay-opacity: .32 !default;
|
|
@@ -8795,7 +8795,7 @@ $badge-dot-size-lg: 12px !default;
|
|
|
8795
8795
|
@include exports( "badge/theme" ) {
|
|
8796
8796
|
|
|
8797
8797
|
// Solid badges
|
|
8798
|
-
@each $name, $color in $theme-colors {
|
|
8798
|
+
@each $name, $color in $kendo-theme-colors {
|
|
8799
8799
|
.k-badge-solid.k-badge-#{$name} {
|
|
8800
8800
|
border-color: $color;
|
|
8801
8801
|
color: contrast-wcag( $color );
|
|
@@ -8809,7 +8809,7 @@ $badge-dot-size-lg: 12px !default;
|
|
|
8809
8809
|
background-color: $component-bg;
|
|
8810
8810
|
}
|
|
8811
8811
|
|
|
8812
|
-
@each $name, $color in $theme-colors {
|
|
8812
|
+
@each $name, $color in $kendo-theme-colors {
|
|
8813
8813
|
.k-badge-outline.k-badge-#{$name} {
|
|
8814
8814
|
color: $color;
|
|
8815
8815
|
}
|
|
@@ -8893,7 +8893,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
|
|
|
8893
8893
|
/// Theme colors map for the button.
|
|
8894
8894
|
/// @group button
|
|
8895
8895
|
$kendo-button-theme-colors: map-merge(
|
|
8896
|
-
$theme-colors,
|
|
8896
|
+
$kendo-theme-colors,
|
|
8897
8897
|
( "base": $base-bg )
|
|
8898
8898
|
) !default;
|
|
8899
8899
|
|
|
@@ -10011,6 +10011,12 @@ $kendo-input-focus-text: null !default;
|
|
|
10011
10011
|
$kendo-input-focus-border: $primary !default;
|
|
10012
10012
|
$kendo-input-focus-shadow: null !default;
|
|
10013
10013
|
|
|
10014
|
+
$kendo-input-disabled-bg: try-shade( $component-bg, .25 ) !default;
|
|
10015
|
+
$kendo-input-disabled-text: $disabled-text !default;
|
|
10016
|
+
$kendo-input-disabled-border: rgba( $component-border, (alpha( $component-border ) / 2) ) !default;
|
|
10017
|
+
$kendo-input-disabled-gradient: null !default;
|
|
10018
|
+
$kendo-input-disabled-shadow: null !default;
|
|
10019
|
+
|
|
10014
10020
|
$kendo-picker-bg: $kendo-input-bg !default;
|
|
10015
10021
|
$kendo-picker-text: $kendo-input-text !default;
|
|
10016
10022
|
$kendo-picker-border: $kendo-input-border !default;
|
|
@@ -10029,7 +10035,11 @@ $kendo-picker-focus-border: $kendo-input-focus-border !default;
|
|
|
10029
10035
|
$kendo-picker-focus-gradient: null !default;
|
|
10030
10036
|
$kendo-picker-focus-shadow: $kendo-input-focus-shadow !default;
|
|
10031
10037
|
|
|
10032
|
-
$kendo-
|
|
10038
|
+
$kendo-picker-disabled-bg: $kendo-input-disabled-bg !default;
|
|
10039
|
+
$kendo-picker-disabled-text: $kendo-input-disabled-text !default;
|
|
10040
|
+
$kendo-picker-disabled-border: $kendo-input-disabled-border !default;
|
|
10041
|
+
$kendo-picker-disabled-gradient: null !default;
|
|
10042
|
+
$kendo-picker-disabled-shadow: null !default;
|
|
10033
10043
|
|
|
10034
10044
|
$kendo-input-placeholder-text: $subtle-text !default;
|
|
10035
10045
|
$kendo-input-placeholder-opacity: 1 !default;
|
|
@@ -10514,6 +10524,24 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
|
|
|
10514
10524
|
}
|
|
10515
10525
|
|
|
10516
10526
|
|
|
10527
|
+
// Disabled
|
|
10528
|
+
.k-input,
|
|
10529
|
+
.k-picker {
|
|
10530
|
+
&:disabled,
|
|
10531
|
+
&[disabled],
|
|
10532
|
+
&.k-disabled {
|
|
10533
|
+
opacity: 1;
|
|
10534
|
+
filter: none;
|
|
10535
|
+
}
|
|
10536
|
+
|
|
10537
|
+
.k-input-button,
|
|
10538
|
+
.k-input-spinner .k-spinner-increase,
|
|
10539
|
+
.k-input-spinner .k-spinner-decrease {
|
|
10540
|
+
color: inherit;
|
|
10541
|
+
}
|
|
10542
|
+
}
|
|
10543
|
+
|
|
10544
|
+
|
|
10517
10545
|
// Input ripple
|
|
10518
10546
|
.k-floating-label-container {
|
|
10519
10547
|
@include input-ripple();
|
|
@@ -10563,6 +10591,19 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
|
|
|
10563
10591
|
@include box-shadow( $kendo-input-focus-shadow );
|
|
10564
10592
|
}
|
|
10565
10593
|
|
|
10594
|
+
//Disabled
|
|
10595
|
+
&:disabled,
|
|
10596
|
+
&[disabled],
|
|
10597
|
+
&.k-disabled {
|
|
10598
|
+
@include fill(
|
|
10599
|
+
$kendo-input-disabled-text,
|
|
10600
|
+
$kendo-input-disabled-bg,
|
|
10601
|
+
$kendo-input-disabled-border,
|
|
10602
|
+
$kendo-input-disabled-gradient
|
|
10603
|
+
);
|
|
10604
|
+
@include box-shadow( $kendo-input-disabled-shadow );
|
|
10605
|
+
}
|
|
10606
|
+
|
|
10566
10607
|
// Invalid
|
|
10567
10608
|
&.k-invalid,
|
|
10568
10609
|
&.ng-invalid.ng-touched,
|
|
@@ -10626,6 +10667,19 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
|
|
|
10626
10667
|
@include box-shadow( $kendo-picker-focus-shadow );
|
|
10627
10668
|
}
|
|
10628
10669
|
|
|
10670
|
+
//Disabled
|
|
10671
|
+
&:disabled,
|
|
10672
|
+
&[disabled],
|
|
10673
|
+
&.k-disabled {
|
|
10674
|
+
@include fill(
|
|
10675
|
+
$kendo-picker-disabled-text,
|
|
10676
|
+
$kendo-picker-disabled-bg,
|
|
10677
|
+
$kendo-picker-disabled-border,
|
|
10678
|
+
$kendo-picker-disabled-gradient
|
|
10679
|
+
);
|
|
10680
|
+
@include box-shadow( $kendo-picker-disabled-shadow );
|
|
10681
|
+
}
|
|
10682
|
+
|
|
10629
10683
|
// Invalid
|
|
10630
10684
|
&.k-invalid,
|
|
10631
10685
|
&.ng-invalid.ng-touched,
|
|
@@ -11926,7 +11980,7 @@ $kendo-avatar-sizes: (
|
|
|
11926
11980
|
|
|
11927
11981
|
/// Theme colors map of the avatar.
|
|
11928
11982
|
/// @group avatar
|
|
11929
|
-
$kendo-avatar-theme-colors: $theme-colors !default;
|
|
11983
|
+
$kendo-avatar-theme-colors: $kendo-theme-colors !default;
|
|
11930
11984
|
|
|
11931
11985
|
// #endregion
|
|
11932
11986
|
// #region @import "_layout.scss"; -> packages/material/scss/avatar/_layout.scss
|
|
@@ -12130,10 +12184,10 @@ $kendo-chip-base-bg: if( $dark-theme, $white, $kendo-button-text ) !default;
|
|
|
12130
12184
|
/// @group chip
|
|
12131
12185
|
$kendo-chip-theme-colors: (
|
|
12132
12186
|
"base": $kendo-chip-base-bg,
|
|
12133
|
-
"error": map-get( $theme-colors, "error" ),
|
|
12134
|
-
"info": map-get( $theme-colors, "info" ),
|
|
12135
|
-
"warning": map-get( $theme-colors, "warning" ),
|
|
12136
|
-
"success": map-get( $theme-colors, "success" )
|
|
12187
|
+
"error": map-get( $kendo-theme-colors, "error" ),
|
|
12188
|
+
"info": map-get( $kendo-theme-colors, "info" ),
|
|
12189
|
+
"warning": map-get( $kendo-theme-colors, "warning" ),
|
|
12190
|
+
"success": map-get( $kendo-theme-colors, "success" )
|
|
12137
12191
|
) !default;
|
|
12138
12192
|
|
|
12139
12193
|
/// The base background color of solid chip.
|
|
@@ -13222,7 +13276,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
|
|
|
13222
13276
|
// #region @import "~@progress/kendo-theme-default/scss/loader/_theme.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/loader/_theme.scss
|
|
13223
13277
|
@include exports( "loader/theme" ) {
|
|
13224
13278
|
|
|
13225
|
-
@each $name, $color in $theme-colors {
|
|
13279
|
+
@each $name, $color in $kendo-theme-colors {
|
|
13226
13280
|
.k-loader-#{$name} {
|
|
13227
13281
|
@if $name == "secondary" {
|
|
13228
13282
|
color: $loader-secondary-bg;
|
|
@@ -23082,7 +23136,7 @@ $appbar-bottom-box-shadow: 0px -2px 3px rgba(0, 0, 0, .24) !default;
|
|
|
23082
23136
|
|
|
23083
23137
|
|
|
23084
23138
|
// AppBar theme colors
|
|
23085
|
-
@each $name, $color in $theme-colors {
|
|
23139
|
+
@each $name, $color in $kendo-theme-colors {
|
|
23086
23140
|
.k-appbar-#{$name} {
|
|
23087
23141
|
@if $name == "light" {
|
|
23088
23142
|
color: $appbar-light-text;
|
|
@@ -23221,7 +23275,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
|
|
|
23221
23275
|
|
|
23222
23276
|
/// Theme colors map for the FAB.
|
|
23223
23277
|
/// @group floating-action-button
|
|
23224
|
-
$kendo-fab-theme-colors: $theme-colors !default;
|
|
23278
|
+
$kendo-fab-theme-colors: $kendo-theme-colors !default;
|
|
23225
23279
|
|
|
23226
23280
|
/// The base shadow of the FAB.
|
|
23227
23281
|
/// @group floating-action-button
|
|
@@ -24763,7 +24817,7 @@ $notification-themes: () !default;
|
|
|
24763
24817
|
// sass-lint:enable indentation
|
|
24764
24818
|
}
|
|
24765
24819
|
|
|
24766
|
-
@each $theme, $props in $theme-colors {
|
|
24820
|
+
@each $theme, $props in $kendo-theme-colors {
|
|
24767
24821
|
$notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
|
|
24768
24822
|
}
|
|
24769
24823
|
|
|
@@ -25477,7 +25531,7 @@ $card-focus-callout-box-shadow-w: null !default;
|
|
|
25477
25531
|
|
|
25478
25532
|
|
|
25479
25533
|
// Card theme colors
|
|
25480
|
-
@each $name, $color in $theme-colors {
|
|
25534
|
+
@each $name, $color in $kendo-theme-colors {
|
|
25481
25535
|
.k-card-#{$name} {
|
|
25482
25536
|
background-color: tint($color, 10);
|
|
25483
25537
|
color: shade($color, 6);
|
|
@@ -25978,7 +26032,7 @@ $bottom-nav-flat-border: $component-border !default;
|
|
|
25978
26032
|
@include exports("bottom-navigation/theme") {
|
|
25979
26033
|
|
|
25980
26034
|
// Solid
|
|
25981
|
-
@each $name, $color in $theme-colors {
|
|
26035
|
+
@each $name, $color in $kendo-theme-colors {
|
|
25982
26036
|
.k-bottom-nav-solid.k-bottom-nav-#{$name} {
|
|
25983
26037
|
@include fill(
|
|
25984
26038
|
$color: true-mix( $color, contrast-wcag( $color ), 35%),
|
|
@@ -26011,7 +26065,7 @@ $bottom-nav-flat-border: $component-border !default;
|
|
|
26011
26065
|
@include fill( $bg: rgba($bottom-nav-flat-text, .05) );
|
|
26012
26066
|
}
|
|
26013
26067
|
|
|
26014
|
-
@each $name, $color in $theme-colors {
|
|
26068
|
+
@each $name, $color in $kendo-theme-colors {
|
|
26015
26069
|
&.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
|
|
26016
26070
|
@if $name == "secondary" or $name == "light" {
|
|
26017
26071
|
@include fill( $color: try-shade($color, 3) );
|
|
@@ -28068,6 +28122,7 @@ $tabstrip-content-border-focused: $component-text !default;
|
|
|
28068
28122
|
);
|
|
28069
28123
|
}
|
|
28070
28124
|
|
|
28125
|
+
&:active,
|
|
28071
28126
|
&.k-state-active,
|
|
28072
28127
|
&.k-state-selected {
|
|
28073
28128
|
@include fill(
|
|
@@ -28078,6 +28133,7 @@ $tabstrip-content-border-focused: $component-text !default;
|
|
|
28078
28133
|
);
|
|
28079
28134
|
}
|
|
28080
28135
|
|
|
28136
|
+
&:focus,
|
|
28081
28137
|
&.k-state-focused {
|
|
28082
28138
|
@include box-shadow( $tabstrip-item-focused-shadow );
|
|
28083
28139
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-material",
|
|
3
3
|
"description": "Material theme for Kendo UI",
|
|
4
|
-
"version": "5.0
|
|
4
|
+
"version": "5.1.2-dev.0",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"postpublish": "echo 'no postpublish for material theme'"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@progress/kendo-theme-default": "^5.0
|
|
53
|
+
"@progress/kendo-theme-default": "^5.1.2-dev.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "c492bbaeca2d104534c4b4329c41afd762bb563b"
|
|
56
56
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -230,12 +230,12 @@ $dark: get-base-hue( gray, 800 ) !default;
|
|
|
230
230
|
/// @type Color
|
|
231
231
|
$light: get-base-hue( gray, 100 ) !default;
|
|
232
232
|
|
|
233
|
-
/// Inverse color of the theme. Depending on the theme luminance dark or
|
|
233
|
+
/// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
|
|
234
234
|
/// @group color-system
|
|
235
235
|
$inverse: if( $dark-theme, $light, $dark ) !default;
|
|
236
236
|
|
|
237
237
|
|
|
238
|
-
$theme-colors: (
|
|
238
|
+
$kendo-theme-colors: (
|
|
239
239
|
"primary": $primary,
|
|
240
240
|
"secondary": $secondary,
|
|
241
241
|
"tertiary": $tertiary,
|
|
@@ -271,7 +271,7 @@ $app-border: map-get($theme, component-border) !default;
|
|
|
271
271
|
|
|
272
272
|
// Component
|
|
273
273
|
/// Background color of a component.
|
|
274
|
-
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !
|
|
274
|
+
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
|
|
275
275
|
/// @group component
|
|
276
276
|
$component-bg: map-get($theme, component-bg) !default;
|
|
277
277
|
/// Text color of a component.
|
|
@@ -66,10 +66,10 @@ $kendo-chip-base-bg: if( $dark-theme, $white, $kendo-button-text ) !default;
|
|
|
66
66
|
/// @group chip
|
|
67
67
|
$kendo-chip-theme-colors: (
|
|
68
68
|
"base": $kendo-chip-base-bg,
|
|
69
|
-
"error": map-get( $theme-colors, "error" ),
|
|
70
|
-
"info": map-get( $theme-colors, "info" ),
|
|
71
|
-
"warning": map-get( $theme-colors, "warning" ),
|
|
72
|
-
"success": map-get( $theme-colors, "success" )
|
|
69
|
+
"error": map-get( $kendo-theme-colors, "error" ),
|
|
70
|
+
"info": map-get( $kendo-theme-colors, "info" ),
|
|
71
|
+
"warning": map-get( $kendo-theme-colors, "warning" ),
|
|
72
|
+
"success": map-get( $kendo-theme-colors, "success" )
|
|
73
73
|
) !default;
|
|
74
74
|
|
|
75
75
|
/// The base background color of solid chip.
|
package/scss/fab/_variables.scss
CHANGED
|
@@ -88,7 +88,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
|
|
|
88
88
|
|
|
89
89
|
/// Theme colors map for the FAB.
|
|
90
90
|
/// @group floating-action-button
|
|
91
|
-
$kendo-fab-theme-colors: $theme-colors !default;
|
|
91
|
+
$kendo-fab-theme-colors: $kendo-theme-colors !default;
|
|
92
92
|
|
|
93
93
|
/// The base shadow of the FAB.
|
|
94
94
|
/// @group floating-action-button
|
package/scss/input/_layout.scss
CHANGED
|
@@ -32,6 +32,24 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
|
|
35
|
+
// Disabled
|
|
36
|
+
.k-input,
|
|
37
|
+
.k-picker {
|
|
38
|
+
&:disabled,
|
|
39
|
+
&[disabled],
|
|
40
|
+
&.k-disabled {
|
|
41
|
+
opacity: 1;
|
|
42
|
+
filter: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.k-input-button,
|
|
46
|
+
.k-input-spinner .k-spinner-increase,
|
|
47
|
+
.k-input-spinner .k-spinner-decrease {
|
|
48
|
+
color: inherit;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
35
53
|
// Input ripple
|
|
36
54
|
.k-floating-label-container {
|
|
37
55
|
@include input-ripple();
|
|
@@ -71,6 +71,12 @@ $kendo-input-focus-text: null !default;
|
|
|
71
71
|
$kendo-input-focus-border: $primary !default;
|
|
72
72
|
$kendo-input-focus-shadow: null !default;
|
|
73
73
|
|
|
74
|
+
$kendo-input-disabled-bg: try-shade( $component-bg, .25 ) !default;
|
|
75
|
+
$kendo-input-disabled-text: $disabled-text !default;
|
|
76
|
+
$kendo-input-disabled-border: rgba( $component-border, (alpha( $component-border ) / 2) ) !default;
|
|
77
|
+
$kendo-input-disabled-gradient: null !default;
|
|
78
|
+
$kendo-input-disabled-shadow: null !default;
|
|
79
|
+
|
|
74
80
|
$kendo-picker-bg: $kendo-input-bg !default;
|
|
75
81
|
$kendo-picker-text: $kendo-input-text !default;
|
|
76
82
|
$kendo-picker-border: $kendo-input-border !default;
|
|
@@ -89,7 +95,11 @@ $kendo-picker-focus-border: $kendo-input-focus-border !default;
|
|
|
89
95
|
$kendo-picker-focus-gradient: null !default;
|
|
90
96
|
$kendo-picker-focus-shadow: $kendo-input-focus-shadow !default;
|
|
91
97
|
|
|
92
|
-
$kendo-
|
|
98
|
+
$kendo-picker-disabled-bg: $kendo-input-disabled-bg !default;
|
|
99
|
+
$kendo-picker-disabled-text: $kendo-input-disabled-text !default;
|
|
100
|
+
$kendo-picker-disabled-border: $kendo-input-disabled-border !default;
|
|
101
|
+
$kendo-picker-disabled-gradient: null !default;
|
|
102
|
+
$kendo-picker-disabled-shadow: null !default;
|
|
93
103
|
|
|
94
104
|
$kendo-input-placeholder-text: $subtle-text !default;
|
|
95
105
|
$kendo-input-placeholder-opacity: 1 !default;
|
|
@@ -29,6 +29,6 @@ $notification-themes: () !default;
|
|
|
29
29
|
// sass-lint:enable indentation
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
@each $theme, $props in $theme-colors {
|
|
32
|
+
@each $theme, $props in $kendo-theme-colors {
|
|
33
33
|
$notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
|
|
34
34
|
}
|