@progress/kendo-theme-material 5.1.0 → 5.1.2-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/all.css CHANGED
@@ -13567,11 +13567,11 @@ textarea.k-input-inner {
13567
13567
  }
13568
13568
 
13569
13569
  .k-input-spinner .k-spinner-increase .k-icon {
13570
- bottom: -;
13570
+ bottom: auto;
13571
13571
  }
13572
13572
 
13573
13573
  .k-input-spinner .k-spinner-decrease .k-icon {
13574
- top: -;
13574
+ top: auto;
13575
13575
  }
13576
13576
 
13577
13577
  .k-searchbar {
@@ -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
  }
@@ -17509,7 +17538,7 @@ kendo-label > .k-label {
17509
17538
 
17510
17539
  .k-radio:checked,
17511
17540
  .k-radio.k-checked {
17512
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3ccircle cx='50%' cy='50%' r='4' fill='%233f51b5'/%3e%3c/svg%3e");
17541
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3ccircle cx='50%25' cy='50%25' r='4' fill='%233f51b5'/%3e%3c/svg%3e");
17513
17542
  }
17514
17543
 
17515
17544
  .k-radio:disabled,
@@ -17524,7 +17553,7 @@ kendo-label > .k-label {
17524
17553
 
17525
17554
  .k-radio:disabled:checked,
17526
17555
  .k-radio.k-disabled.k-checked {
17527
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3ccircle cx='50%' cy='50%' r='4' fill='%23adadad'/%3e%3c/svg%3e");
17556
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3ccircle cx='50%25' cy='50%25' r='4' fill='%23adadad'/%3e%3c/svg%3e");
17528
17557
  }
17529
17558
 
17530
17559
  .k-radio-wrap {
package/dist/all.scss CHANGED
@@ -458,6 +458,7 @@ $wcag-light: white !default;
458
458
  // #endregion
459
459
  // #region @import "_misc.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/core/functions/_misc.scss
460
460
  $svg-escaped-characters: (
461
+ ("%", "%25"),
461
462
  ("<", "%3c"),
462
463
  (">", "%3e"),
463
464
  ("#", "%23"),
@@ -1751,6 +1752,7 @@ $enable-grid-classes: true !default;
1751
1752
  $use-calc-badge-size: true !default;
1752
1753
  $use-input-button-width: false !default;
1753
1754
  $use-input-spinner-width: false !default;
1755
+ $use-input-spinner-icon-offset: false !default;
1754
1756
  $use-picker-select-width: false !default;
1755
1757
 
1756
1758
 
@@ -1968,12 +1970,12 @@ $dark: get-base-hue( gray, 800 ) !default;
1968
1970
  /// @type Color
1969
1971
  $light: get-base-hue( gray, 100 ) !default;
1970
1972
 
1971
- /// Inverse color of the theme. Depending on the theme luminance dark or lught, it will be light or dark
1973
+ /// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
1972
1974
  /// @group color-system
1973
1975
  $inverse: if( $dark-theme, $light, $dark ) !default;
1974
1976
 
1975
1977
 
1976
- $theme-colors: (
1978
+ $kendo-theme-colors: (
1977
1979
  "primary": $primary,
1978
1980
  "secondary": $secondary,
1979
1981
  "tertiary": $tertiary,
@@ -2009,7 +2011,7 @@ $app-border: map-get($theme, component-border) !default;
2009
2011
 
2010
2012
  // Component
2011
2013
  /// 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 !defualt;`.
2014
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
2013
2015
  /// @group component
2014
2016
  $component-bg: map-get($theme, component-bg) !default;
2015
2017
  /// Text color of a component.
@@ -4183,7 +4185,7 @@ $utils-border-radius: (
4183
4185
  0: 0
4184
4186
  ) !default;
4185
4187
 
4186
- $utils-border-color: $theme-colors !default;
4188
+ $utils-border-color: $kendo-theme-colors !default;
4187
4189
 
4188
4190
  $utils-border-radius-sides: (
4189
4191
  default: border-radius,
@@ -5281,7 +5283,7 @@ $utils-border-radius: (
5281
5283
 
5282
5284
  .k-color-inherit { color: inherit; }
5283
5285
 
5284
- @each $name, $color in $theme-colors {
5286
+ @each $name, $color in $kendo-theme-colors {
5285
5287
  .k-text-#{$name},
5286
5288
  .k-color-#{$name} {
5287
5289
  color: $color !important;
@@ -5295,7 +5297,7 @@ $utils-border-radius: (
5295
5297
 
5296
5298
  // sass-lint:disable-block no-important
5297
5299
 
5298
- @each $name, $bg-color in $theme-colors {
5300
+ @each $name, $bg-color in $kendo-theme-colors {
5299
5301
  .k-bg-#{$name} {
5300
5302
  background-color: $bg-color !important;
5301
5303
  }
@@ -5312,7 +5314,7 @@ $utils-border-radius: (
5312
5314
 
5313
5315
  @include exports( "common/decoration/variant" ) {
5314
5316
 
5315
- @each $name, $variant in $theme-colors {
5317
+ @each $name, $variant in $kendo-theme-colors {
5316
5318
  .k-state-#{$name} {
5317
5319
  @include variant( $variant );
5318
5320
  }
@@ -6824,7 +6826,7 @@ $message-box-link-text-decoration: underline !default;
6824
6826
  // #region @import "~@progress/kendo-theme-default/scss/messagebox/_theme.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/messagebox/_theme.scss
6825
6827
  @include exports("messagebox/theme") {
6826
6828
 
6827
- @each $color-name, $color in $theme-colors {
6829
+ @each $color-name, $color in $kendo-theme-colors {
6828
6830
  .k-messagebox-#{$color-name} {
6829
6831
  @include fill(
6830
6832
  color-level( $color, $message-box-text-level ),
@@ -8252,7 +8254,7 @@ $listgroup-item-border-width: 1px !default;
8252
8254
 
8253
8255
  // Component
8254
8256
  // #region @import "_variables.scss"; -> packages/material/scss/overlay/_variables.scss
8255
- $overlay-theme-colors: $theme-colors !default;
8257
+ $overlay-theme-colors: $kendo-theme-colors !default;
8256
8258
 
8257
8259
  $overlay-bg: $black !default;
8258
8260
  $overlay-opacity: .32 !default;
@@ -8795,7 +8797,7 @@ $badge-dot-size-lg: 12px !default;
8795
8797
  @include exports( "badge/theme" ) {
8796
8798
 
8797
8799
  // Solid badges
8798
- @each $name, $color in $theme-colors {
8800
+ @each $name, $color in $kendo-theme-colors {
8799
8801
  .k-badge-solid.k-badge-#{$name} {
8800
8802
  border-color: $color;
8801
8803
  color: contrast-wcag( $color );
@@ -8809,7 +8811,7 @@ $badge-dot-size-lg: 12px !default;
8809
8811
  background-color: $component-bg;
8810
8812
  }
8811
8813
 
8812
- @each $name, $color in $theme-colors {
8814
+ @each $name, $color in $kendo-theme-colors {
8813
8815
  .k-badge-outline.k-badge-#{$name} {
8814
8816
  color: $color;
8815
8817
  }
@@ -8893,7 +8895,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
8893
8895
  /// Theme colors map for the button.
8894
8896
  /// @group button
8895
8897
  $kendo-button-theme-colors: map-merge(
8896
- $theme-colors,
8898
+ $kendo-theme-colors,
8897
8899
  ( "base": $base-bg )
8898
8900
  ) !default;
8899
8901
 
@@ -10011,6 +10013,12 @@ $kendo-input-focus-text: null !default;
10011
10013
  $kendo-input-focus-border: $primary !default;
10012
10014
  $kendo-input-focus-shadow: null !default;
10013
10015
 
10016
+ $kendo-input-disabled-bg: try-shade( $component-bg, .25 ) !default;
10017
+ $kendo-input-disabled-text: $disabled-text !default;
10018
+ $kendo-input-disabled-border: rgba( $component-border, (alpha( $component-border ) / 2) ) !default;
10019
+ $kendo-input-disabled-gradient: null !default;
10020
+ $kendo-input-disabled-shadow: null !default;
10021
+
10014
10022
  $kendo-picker-bg: $kendo-input-bg !default;
10015
10023
  $kendo-picker-text: $kendo-input-text !default;
10016
10024
  $kendo-picker-border: $kendo-input-border !default;
@@ -10029,7 +10037,11 @@ $kendo-picker-focus-border: $kendo-input-focus-border !default;
10029
10037
  $kendo-picker-focus-gradient: null !default;
10030
10038
  $kendo-picker-focus-shadow: $kendo-input-focus-shadow !default;
10031
10039
 
10032
- $kendo-input-disabled-bg: rgb(189, 189, 189) !default;
10040
+ $kendo-picker-disabled-bg: $kendo-input-disabled-bg !default;
10041
+ $kendo-picker-disabled-text: $kendo-input-disabled-text !default;
10042
+ $kendo-picker-disabled-border: $kendo-input-disabled-border !default;
10043
+ $kendo-picker-disabled-gradient: null !default;
10044
+ $kendo-picker-disabled-shadow: null !default;
10033
10045
 
10034
10046
  $kendo-input-placeholder-text: $subtle-text !default;
10035
10047
  $kendo-input-placeholder-opacity: 1 !default;
@@ -10333,10 +10345,10 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
10333
10345
  }
10334
10346
  }
10335
10347
  .k-spinner-increase .k-icon {
10336
- bottom: -$kendo-input-spinner-icon-offset;
10348
+ bottom: if( $use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
10337
10349
  }
10338
10350
  .k-spinner-decrease .k-icon {
10339
- top: -$kendo-input-spinner-icon-offset;
10351
+ top: if( $use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
10340
10352
  }
10341
10353
  }
10342
10354
 
@@ -10514,6 +10526,24 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
10514
10526
  }
10515
10527
 
10516
10528
 
10529
+ // Disabled
10530
+ .k-input,
10531
+ .k-picker {
10532
+ &:disabled,
10533
+ &[disabled],
10534
+ &.k-disabled {
10535
+ opacity: 1;
10536
+ filter: none;
10537
+ }
10538
+
10539
+ .k-input-button,
10540
+ .k-input-spinner .k-spinner-increase,
10541
+ .k-input-spinner .k-spinner-decrease {
10542
+ color: inherit;
10543
+ }
10544
+ }
10545
+
10546
+
10517
10547
  // Input ripple
10518
10548
  .k-floating-label-container {
10519
10549
  @include input-ripple();
@@ -10563,6 +10593,19 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
10563
10593
  @include box-shadow( $kendo-input-focus-shadow );
10564
10594
  }
10565
10595
 
10596
+ //Disabled
10597
+ &:disabled,
10598
+ &[disabled],
10599
+ &.k-disabled {
10600
+ @include fill(
10601
+ $kendo-input-disabled-text,
10602
+ $kendo-input-disabled-bg,
10603
+ $kendo-input-disabled-border,
10604
+ $kendo-input-disabled-gradient
10605
+ );
10606
+ @include box-shadow( $kendo-input-disabled-shadow );
10607
+ }
10608
+
10566
10609
  // Invalid
10567
10610
  &.k-invalid,
10568
10611
  &.ng-invalid.ng-touched,
@@ -10626,6 +10669,19 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
10626
10669
  @include box-shadow( $kendo-picker-focus-shadow );
10627
10670
  }
10628
10671
 
10672
+ //Disabled
10673
+ &:disabled,
10674
+ &[disabled],
10675
+ &.k-disabled {
10676
+ @include fill(
10677
+ $kendo-picker-disabled-text,
10678
+ $kendo-picker-disabled-bg,
10679
+ $kendo-picker-disabled-border,
10680
+ $kendo-picker-disabled-gradient
10681
+ );
10682
+ @include box-shadow( $kendo-picker-disabled-shadow );
10683
+ }
10684
+
10629
10685
  // Invalid
10630
10686
  &.k-invalid,
10631
10687
  &.ng-invalid.ng-touched,
@@ -11926,7 +11982,7 @@ $kendo-avatar-sizes: (
11926
11982
 
11927
11983
  /// Theme colors map of the avatar.
11928
11984
  /// @group avatar
11929
- $kendo-avatar-theme-colors: $theme-colors !default;
11985
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
11930
11986
 
11931
11987
  // #endregion
11932
11988
  // #region @import "_layout.scss"; -> packages/material/scss/avatar/_layout.scss
@@ -12130,10 +12186,10 @@ $kendo-chip-base-bg: if( $dark-theme, $white, $kendo-button-text ) !default;
12130
12186
  /// @group chip
12131
12187
  $kendo-chip-theme-colors: (
12132
12188
  "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" )
12189
+ "error": map-get( $kendo-theme-colors, "error" ),
12190
+ "info": map-get( $kendo-theme-colors, "info" ),
12191
+ "warning": map-get( $kendo-theme-colors, "warning" ),
12192
+ "success": map-get( $kendo-theme-colors, "success" )
12137
12193
  ) !default;
12138
12194
 
12139
12195
  /// The base background color of solid chip.
@@ -13222,7 +13278,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
13222
13278
  // #region @import "~@progress/kendo-theme-default/scss/loader/_theme.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/loader/_theme.scss
13223
13279
  @include exports( "loader/theme" ) {
13224
13280
 
13225
- @each $name, $color in $theme-colors {
13281
+ @each $name, $color in $kendo-theme-colors {
13226
13282
  .k-loader-#{$name} {
13227
13283
  @if $name == "secondary" {
13228
13284
  color: $loader-secondary-bg;
@@ -23082,7 +23138,7 @@ $appbar-bottom-box-shadow: 0px -2px 3px rgba(0, 0, 0, .24) !default;
23082
23138
 
23083
23139
 
23084
23140
  // AppBar theme colors
23085
- @each $name, $color in $theme-colors {
23141
+ @each $name, $color in $kendo-theme-colors {
23086
23142
  .k-appbar-#{$name} {
23087
23143
  @if $name == "light" {
23088
23144
  color: $appbar-light-text;
@@ -23221,7 +23277,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
23221
23277
 
23222
23278
  /// Theme colors map for the FAB.
23223
23279
  /// @group floating-action-button
23224
- $kendo-fab-theme-colors: $theme-colors !default;
23280
+ $kendo-fab-theme-colors: $kendo-theme-colors !default;
23225
23281
 
23226
23282
  /// The base shadow of the FAB.
23227
23283
  /// @group floating-action-button
@@ -24763,7 +24819,7 @@ $notification-themes: () !default;
24763
24819
  // sass-lint:enable indentation
24764
24820
  }
24765
24821
 
24766
- @each $theme, $props in $theme-colors {
24822
+ @each $theme, $props in $kendo-theme-colors {
24767
24823
  $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
24768
24824
  }
24769
24825
 
@@ -25477,7 +25533,7 @@ $card-focus-callout-box-shadow-w: null !default;
25477
25533
 
25478
25534
 
25479
25535
  // Card theme colors
25480
- @each $name, $color in $theme-colors {
25536
+ @each $name, $color in $kendo-theme-colors {
25481
25537
  .k-card-#{$name} {
25482
25538
  background-color: tint($color, 10);
25483
25539
  color: shade($color, 6);
@@ -25978,7 +26034,7 @@ $bottom-nav-flat-border: $component-border !default;
25978
26034
  @include exports("bottom-navigation/theme") {
25979
26035
 
25980
26036
  // Solid
25981
- @each $name, $color in $theme-colors {
26037
+ @each $name, $color in $kendo-theme-colors {
25982
26038
  .k-bottom-nav-solid.k-bottom-nav-#{$name} {
25983
26039
  @include fill(
25984
26040
  $color: true-mix( $color, contrast-wcag( $color ), 35%),
@@ -26011,7 +26067,7 @@ $bottom-nav-flat-border: $component-border !default;
26011
26067
  @include fill( $bg: rgba($bottom-nav-flat-text, .05) );
26012
26068
  }
26013
26069
 
26014
- @each $name, $color in $theme-colors {
26070
+ @each $name, $color in $kendo-theme-colors {
26015
26071
  &.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
26016
26072
  @if $name == "secondary" or $name == "light" {
26017
26073
  @include fill( $color: try-shade($color, 3) );
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.1.0",
4
+ "version": "5.1.2-dev.2",
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.1.0"
53
+ "@progress/kendo-theme-default": "^5.1.2-dev.2"
54
54
  },
55
- "gitHead": "279941cb925d750fc123f66c3e15ce1e2b666191"
55
+ "gitHead": "df4c6f46ad3f3c8f20146b0301c4f9c2e4b8fa26"
56
56
  }
@@ -13,6 +13,7 @@ $enable-grid-classes: true !default;
13
13
  $use-calc-badge-size: true !default;
14
14
  $use-input-button-width: false !default;
15
15
  $use-input-spinner-width: false !default;
16
+ $use-input-spinner-icon-offset: false !default;
16
17
  $use-picker-select-width: false !default;
17
18
 
18
19
 
@@ -230,12 +231,12 @@ $dark: get-base-hue( gray, 800 ) !default;
230
231
  /// @type Color
231
232
  $light: get-base-hue( gray, 100 ) !default;
232
233
 
233
- /// Inverse color of the theme. Depending on the theme luminance dark or lught, it will be light or dark
234
+ /// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
234
235
  /// @group color-system
235
236
  $inverse: if( $dark-theme, $light, $dark ) !default;
236
237
 
237
238
 
238
- $theme-colors: (
239
+ $kendo-theme-colors: (
239
240
  "primary": $primary,
240
241
  "secondary": $secondary,
241
242
  "tertiary": $tertiary,
@@ -271,7 +272,7 @@ $app-border: map-get($theme, component-border) !default;
271
272
 
272
273
  // Component
273
274
  /// 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 !defualt;`.
275
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
275
276
  /// @group component
276
277
  $component-bg: map-get($theme, component-bg) !default;
277
278
  /// Text color of a component.
@@ -24,4 +24,4 @@ $kendo-avatar-sizes: (
24
24
 
25
25
  /// Theme colors map of the avatar.
26
26
  /// @group avatar
27
- $kendo-avatar-theme-colors: $theme-colors !default;
27
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
@@ -54,7 +54,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
54
54
  /// Theme colors map for the button.
55
55
  /// @group button
56
56
  $kendo-button-theme-colors: map-merge(
57
- $theme-colors,
57
+ $kendo-theme-colors,
58
58
  ( "base": $base-bg )
59
59
  ) !default;
60
60
 
@@ -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.
@@ -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
@@ -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-input-disabled-bg: rgb(189, 189, 189) !default;
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
  }
@@ -1,4 +1,4 @@
1
- $overlay-theme-colors: $theme-colors !default;
1
+ $overlay-theme-colors: $kendo-theme-colors !default;
2
2
 
3
3
  $overlay-bg: $black !default;
4
4
  $overlay-opacity: .32 !default;