@progress/kendo-theme-default 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 +3 -3
- package/dist/all.scss +65 -25
- package/package.json +2 -2
- package/scss/_variables.scss +3 -2
- package/scss/appbar/_theme.scss +1 -1
- package/scss/avatar/_variables.scss +1 -1
- package/scss/badge/_theme.scss +2 -2
- package/scss/bottom-navigation/_theme.scss +2 -2
- package/scss/button/_variables.scss +1 -1
- package/scss/card/_theme.scss +1 -1
- package/scss/chip/_variables.scss +4 -4
- package/scss/core/functions/_misc.scss +1 -0
- package/scss/fab/_variables.scss +1 -1
- package/scss/input/_layout.scss +2 -2
- package/scss/input/_theme.scss +26 -0
- package/scss/input/_variables.scss +12 -0
- package/scss/loader/_theme.scss +1 -1
- package/scss/messagebox/_theme.scss +1 -1
- package/scss/notification/_variables.scss +1 -1
- package/scss/overlay/_variables.scss +1 -1
- package/scss/utils/_border.scss +1 -1
- package/scss/utils/_theme-colors.scss +3 -3
package/dist/all.css
CHANGED
|
@@ -13193,11 +13193,11 @@ textarea.k-input-inner {
|
|
|
13193
13193
|
}
|
|
13194
13194
|
|
|
13195
13195
|
.k-input-spinner .k-spinner-increase .k-icon {
|
|
13196
|
-
bottom:
|
|
13196
|
+
bottom: auto;
|
|
13197
13197
|
}
|
|
13198
13198
|
|
|
13199
13199
|
.k-input-spinner .k-spinner-decrease .k-icon {
|
|
13200
|
-
top:
|
|
13200
|
+
top: auto;
|
|
13201
13201
|
}
|
|
13202
13202
|
|
|
13203
13203
|
.k-searchbar {
|
|
@@ -16747,7 +16747,7 @@ kendo-label > .k-label {
|
|
|
16747
16747
|
|
|
16748
16748
|
.k-radio:checked,
|
|
16749
16749
|
.k-radio.k-checked {
|
|
16750
|
-
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3e%3ccircle cx='50%' cy='50%' r='4' fill='white'/%3e%3c/svg%3e");
|
|
16750
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3e%3ccircle cx='50%25' cy='50%25' r='4' fill='white'/%3e%3c/svg%3e");
|
|
16751
16751
|
}
|
|
16752
16752
|
|
|
16753
16753
|
.k-radio:disabled,
|
package/dist/all.scss
CHANGED
|
@@ -457,6 +457,7 @@ $wcag-light: white !default;
|
|
|
457
457
|
// #endregion
|
|
458
458
|
// #region @import "_misc.scss"; -> packages/default/scss/core/functions/_misc.scss
|
|
459
459
|
$svg-escaped-characters: (
|
|
460
|
+
("%", "%25"),
|
|
460
461
|
("<", "%3c"),
|
|
461
462
|
(">", "%3e"),
|
|
462
463
|
("#", "%23"),
|
|
@@ -996,6 +997,7 @@ $enable-grid-classes: true !default;
|
|
|
996
997
|
$use-calc-badge-size: true !default;
|
|
997
998
|
$use-input-button-width: true !default;
|
|
998
999
|
$use-input-spinner-width: true !default;
|
|
1000
|
+
$use-input-spinner-icon-offset: false !default;
|
|
999
1001
|
$use-picker-select-width: true !default;
|
|
1000
1002
|
|
|
1001
1003
|
|
|
@@ -1186,7 +1188,7 @@ $light: #ebebeb !default;
|
|
|
1186
1188
|
$inverse: if( $dark-theme, $light, $dark ) !default;
|
|
1187
1189
|
|
|
1188
1190
|
|
|
1189
|
-
$theme-colors: (
|
|
1191
|
+
$kendo-theme-colors: (
|
|
1190
1192
|
"primary": $primary,
|
|
1191
1193
|
"secondary": $secondary,
|
|
1192
1194
|
"tertiary": $tertiary,
|
|
@@ -1223,7 +1225,7 @@ $app-border: rgba( $black, .08 ) !default;
|
|
|
1223
1225
|
|
|
1224
1226
|
// Component
|
|
1225
1227
|
/// Background color of a component.
|
|
1226
|
-
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !
|
|
1228
|
+
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
|
|
1227
1229
|
/// @group component
|
|
1228
1230
|
$component-bg: $body-bg !default;
|
|
1229
1231
|
/// Text color of a component.
|
|
@@ -3320,7 +3322,7 @@ $display4-letter-spacing: null !default;
|
|
|
3320
3322
|
0: 0
|
|
3321
3323
|
) !default;
|
|
3322
3324
|
|
|
3323
|
-
$utils-border-color: $theme-colors !default;
|
|
3325
|
+
$utils-border-color: $kendo-theme-colors !default;
|
|
3324
3326
|
|
|
3325
3327
|
$utils-border-radius-sides: (
|
|
3326
3328
|
default: border-radius,
|
|
@@ -4376,7 +4378,7 @@ $display4-letter-spacing: null !default;
|
|
|
4376
4378
|
|
|
4377
4379
|
.k-color-inherit { color: inherit; }
|
|
4378
4380
|
|
|
4379
|
-
@each $name, $color in $theme-colors {
|
|
4381
|
+
@each $name, $color in $kendo-theme-colors {
|
|
4380
4382
|
.k-text-#{$name},
|
|
4381
4383
|
.k-color-#{$name} {
|
|
4382
4384
|
color: $color !important;
|
|
@@ -4390,7 +4392,7 @@ $display4-letter-spacing: null !default;
|
|
|
4390
4392
|
|
|
4391
4393
|
// sass-lint:disable-block no-important
|
|
4392
4394
|
|
|
4393
|
-
@each $name, $bg-color in $theme-colors {
|
|
4395
|
+
@each $name, $bg-color in $kendo-theme-colors {
|
|
4394
4396
|
.k-bg-#{$name} {
|
|
4395
4397
|
background-color: $bg-color !important;
|
|
4396
4398
|
}
|
|
@@ -4407,7 +4409,7 @@ $display4-letter-spacing: null !default;
|
|
|
4407
4409
|
|
|
4408
4410
|
@include exports( "common/decoration/variant" ) {
|
|
4409
4411
|
|
|
4410
|
-
@each $name, $variant in $theme-colors {
|
|
4412
|
+
@each $name, $variant in $kendo-theme-colors {
|
|
4411
4413
|
.k-state-#{$name} {
|
|
4412
4414
|
@include variant( $variant );
|
|
4413
4415
|
}
|
|
@@ -5895,7 +5897,7 @@ $message-box-link-text-decoration: underline !default;
|
|
|
5895
5897
|
// #region @import "_theme.scss"; -> packages/default/scss/messagebox/_theme.scss
|
|
5896
5898
|
@include exports("messagebox/theme") {
|
|
5897
5899
|
|
|
5898
|
-
@each $color-name, $color in $theme-colors {
|
|
5900
|
+
@each $color-name, $color in $kendo-theme-colors {
|
|
5899
5901
|
.k-messagebox-#{$color-name} {
|
|
5900
5902
|
@include fill(
|
|
5901
5903
|
color-level( $color, $message-box-text-level ),
|
|
@@ -7286,7 +7288,7 @@ $listgroup-item-border-width: 1px !default;
|
|
|
7286
7288
|
|
|
7287
7289
|
// Component
|
|
7288
7290
|
// #region @import "_variables.scss"; -> packages/default/scss/overlay/_variables.scss
|
|
7289
|
-
$overlay-theme-colors: $theme-colors !default;
|
|
7291
|
+
$overlay-theme-colors: $kendo-theme-colors !default;
|
|
7290
7292
|
|
|
7291
7293
|
$overlay-bg: $black !default;
|
|
7292
7294
|
$overlay-opacity: .5 !default;
|
|
@@ -7807,7 +7809,7 @@ $badge-dot-size-lg: 12px !default;
|
|
|
7807
7809
|
@include exports( "badge/theme" ) {
|
|
7808
7810
|
|
|
7809
7811
|
// Solid badges
|
|
7810
|
-
@each $name, $color in $theme-colors {
|
|
7812
|
+
@each $name, $color in $kendo-theme-colors {
|
|
7811
7813
|
.k-badge-solid.k-badge-#{$name} {
|
|
7812
7814
|
border-color: $color;
|
|
7813
7815
|
color: contrast-wcag( $color );
|
|
@@ -7821,7 +7823,7 @@ $badge-dot-size-lg: 12px !default;
|
|
|
7821
7823
|
background-color: $component-bg;
|
|
7822
7824
|
}
|
|
7823
7825
|
|
|
7824
|
-
@each $name, $color in $theme-colors {
|
|
7826
|
+
@each $name, $color in $kendo-theme-colors {
|
|
7825
7827
|
.k-badge-outline.k-badge-#{$name} {
|
|
7826
7828
|
color: $color;
|
|
7827
7829
|
}
|
|
@@ -7903,7 +7905,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
|
|
|
7903
7905
|
/// Theme colors map for the button.
|
|
7904
7906
|
/// @group button
|
|
7905
7907
|
$kendo-button-theme-colors: map-merge(
|
|
7906
|
-
$theme-colors,
|
|
7908
|
+
$kendo-theme-colors,
|
|
7907
7909
|
( "base": #f5f5f5 )
|
|
7908
7910
|
) !default;
|
|
7909
7911
|
|
|
@@ -8811,6 +8813,12 @@ $kendo-input-focus-text: null !default;
|
|
|
8811
8813
|
$kendo-input-focus-border: $kendo-input-hover-border !default;
|
|
8812
8814
|
$kendo-input-focus-shadow: 0 0 0 2px rgba( $kendo-input-focus-border, .08 ) !default;
|
|
8813
8815
|
|
|
8816
|
+
$kendo-input-disabled-bg: null !default;
|
|
8817
|
+
$kendo-input-disabled-text: null !default;
|
|
8818
|
+
$kendo-input-disabled-border: null !default;
|
|
8819
|
+
$kendo-input-disabled-gradient: null !default;
|
|
8820
|
+
$kendo-input-disabled-shadow: null !default;
|
|
8821
|
+
|
|
8814
8822
|
$kendo-picker-bg: $kendo-button-bg !default;
|
|
8815
8823
|
$kendo-picker-text: $kendo-button-text !default;
|
|
8816
8824
|
$kendo-picker-border: $kendo-button-border !default;
|
|
@@ -8829,6 +8837,12 @@ $kendo-picker-focus-border: $kendo-button-focus-border !default;
|
|
|
8829
8837
|
$kendo-picker-focus-gradient: $kendo-button-focus-gradient !default;
|
|
8830
8838
|
$kendo-picker-focus-shadow: $kendo-button-focus-shadow !default;
|
|
8831
8839
|
|
|
8840
|
+
$kendo-picker-disabled-bg: null !default;
|
|
8841
|
+
$kendo-picker-disabled-text: null !default;
|
|
8842
|
+
$kendo-picker-disabled-border: null !default;
|
|
8843
|
+
$kendo-picker-disabled-gradient: null !default;
|
|
8844
|
+
$kendo-picker-disabled-shadow: null !default;
|
|
8845
|
+
|
|
8832
8846
|
$kendo-input-placeholder-text: $subtle-text !default;
|
|
8833
8847
|
$kendo-input-placeholder-opacity: 1 !default;
|
|
8834
8848
|
|
|
@@ -9130,10 +9144,10 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
|
|
|
9130
9144
|
}
|
|
9131
9145
|
}
|
|
9132
9146
|
.k-spinner-increase .k-icon {
|
|
9133
|
-
bottom:
|
|
9147
|
+
bottom: if( $use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
|
|
9134
9148
|
}
|
|
9135
9149
|
.k-spinner-decrease .k-icon {
|
|
9136
|
-
top:
|
|
9150
|
+
top: if( $use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
|
|
9137
9151
|
}
|
|
9138
9152
|
}
|
|
9139
9153
|
|
|
@@ -9318,6 +9332,19 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
|
|
|
9318
9332
|
@include box-shadow( $kendo-input-focus-shadow );
|
|
9319
9333
|
}
|
|
9320
9334
|
|
|
9335
|
+
//Disabled
|
|
9336
|
+
&:disabled,
|
|
9337
|
+
&[disabled],
|
|
9338
|
+
&.k-disabled {
|
|
9339
|
+
@include fill(
|
|
9340
|
+
$kendo-input-disabled-text,
|
|
9341
|
+
$kendo-input-disabled-bg,
|
|
9342
|
+
$kendo-input-disabled-border,
|
|
9343
|
+
$kendo-input-disabled-gradient
|
|
9344
|
+
);
|
|
9345
|
+
@include box-shadow( $kendo-input-disabled-shadow );
|
|
9346
|
+
}
|
|
9347
|
+
|
|
9321
9348
|
// Invalid
|
|
9322
9349
|
&.k-invalid,
|
|
9323
9350
|
&.ng-invalid.ng-touched,
|
|
@@ -9381,6 +9408,19 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
|
|
|
9381
9408
|
@include box-shadow( $kendo-picker-focus-shadow );
|
|
9382
9409
|
}
|
|
9383
9410
|
|
|
9411
|
+
//Disabled
|
|
9412
|
+
&:disabled,
|
|
9413
|
+
&[disabled],
|
|
9414
|
+
&.k-disabled {
|
|
9415
|
+
@include fill(
|
|
9416
|
+
$kendo-picker-disabled-text,
|
|
9417
|
+
$kendo-picker-disabled-bg,
|
|
9418
|
+
$kendo-picker-disabled-border,
|
|
9419
|
+
$kendo-picker-disabled-gradient
|
|
9420
|
+
);
|
|
9421
|
+
@include box-shadow( $kendo-picker-disabled-shadow );
|
|
9422
|
+
}
|
|
9423
|
+
|
|
9384
9424
|
// Invalid
|
|
9385
9425
|
&.k-invalid,
|
|
9386
9426
|
&.ng-invalid.ng-touched,
|
|
@@ -10617,7 +10657,7 @@ $kendo-avatar-sizes: (
|
|
|
10617
10657
|
|
|
10618
10658
|
/// Theme colors map of the avatar.
|
|
10619
10659
|
/// @group avatar
|
|
10620
|
-
$kendo-avatar-theme-colors: $theme-colors !default;
|
|
10660
|
+
$kendo-avatar-theme-colors: $kendo-theme-colors !default;
|
|
10621
10661
|
|
|
10622
10662
|
// #endregion
|
|
10623
10663
|
// #region @import "_layout.scss"; -> packages/default/scss/avatar/_layout.scss
|
|
@@ -10815,10 +10855,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
|
|
|
10815
10855
|
/// @group chip
|
|
10816
10856
|
$kendo-chip-theme-colors: (
|
|
10817
10857
|
"base": $kendo-chip-base-bg,
|
|
10818
|
-
"error": map-get($theme-colors, "error"),
|
|
10819
|
-
"info": map-get($theme-colors, "info"),
|
|
10820
|
-
"warning": map-get($theme-colors, "warning"),
|
|
10821
|
-
"success": map-get($theme-colors, "success")
|
|
10858
|
+
"error": map-get($kendo-theme-colors, "error"),
|
|
10859
|
+
"info": map-get($kendo-theme-colors, "info"),
|
|
10860
|
+
"warning": map-get($kendo-theme-colors, "warning"),
|
|
10861
|
+
"success": map-get($kendo-theme-colors, "success")
|
|
10822
10862
|
) !default;
|
|
10823
10863
|
|
|
10824
10864
|
/// The base background color of solid chip.
|
|
@@ -11847,7 +11887,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
|
|
|
11847
11887
|
// #region @import "_theme.scss"; -> packages/default/scss/loader/_theme.scss
|
|
11848
11888
|
@include exports( "loader/theme" ) {
|
|
11849
11889
|
|
|
11850
|
-
@each $name, $color in $theme-colors {
|
|
11890
|
+
@each $name, $color in $kendo-theme-colors {
|
|
11851
11891
|
.k-loader-#{$name} {
|
|
11852
11892
|
@if $name == "secondary" {
|
|
11853
11893
|
color: $loader-secondary-bg;
|
|
@@ -20832,7 +20872,7 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
|
|
|
20832
20872
|
|
|
20833
20873
|
|
|
20834
20874
|
// AppBar theme colors
|
|
20835
|
-
@each $name, $color in $theme-colors {
|
|
20875
|
+
@each $name, $color in $kendo-theme-colors {
|
|
20836
20876
|
.k-appbar-#{$name} {
|
|
20837
20877
|
@if $name == "light" {
|
|
20838
20878
|
color: $appbar-light-text;
|
|
@@ -20968,7 +21008,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
|
|
|
20968
21008
|
|
|
20969
21009
|
/// Theme colors map for the FAB.
|
|
20970
21010
|
/// @group floating-action-button
|
|
20971
|
-
$kendo-fab-theme-colors: $theme-colors !default;
|
|
21011
|
+
$kendo-fab-theme-colors: $kendo-theme-colors !default;
|
|
20972
21012
|
|
|
20973
21013
|
/// The base shadow of the FAB.
|
|
20974
21014
|
/// @group floating-action-button
|
|
@@ -22404,7 +22444,7 @@ $notification-themes: () !default;
|
|
|
22404
22444
|
// sass-lint:enable indentation
|
|
22405
22445
|
}
|
|
22406
22446
|
|
|
22407
|
-
@each $theme, $props in $theme-colors {
|
|
22447
|
+
@each $theme, $props in $kendo-theme-colors {
|
|
22408
22448
|
$notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
|
|
22409
22449
|
}
|
|
22410
22450
|
|
|
@@ -23105,7 +23145,7 @@ $card-focus-callout-box-shadow-w: 2px -1px 4px 0 rgba( black, .06) !default;
|
|
|
23105
23145
|
|
|
23106
23146
|
|
|
23107
23147
|
// Card theme colors
|
|
23108
|
-
@each $name, $color in $theme-colors {
|
|
23148
|
+
@each $name, $color in $kendo-theme-colors {
|
|
23109
23149
|
.k-card-#{$name} {
|
|
23110
23150
|
background-color: tint($color, 10);
|
|
23111
23151
|
color: shade($color, 6);
|
|
@@ -23593,7 +23633,7 @@ $bottom-nav-flat-border: $component-border !default;
|
|
|
23593
23633
|
@include exports("bottom-navigation/theme") {
|
|
23594
23634
|
|
|
23595
23635
|
// Solid
|
|
23596
|
-
@each $name, $color in $theme-colors {
|
|
23636
|
+
@each $name, $color in $kendo-theme-colors {
|
|
23597
23637
|
.k-bottom-nav-solid.k-bottom-nav-#{$name} {
|
|
23598
23638
|
@include fill(
|
|
23599
23639
|
$color: true-mix( $color, contrast-wcag( $color ), 35%),
|
|
@@ -23626,7 +23666,7 @@ $bottom-nav-flat-border: $component-border !default;
|
|
|
23626
23666
|
@include fill( $bg: rgba($bottom-nav-flat-text, .05) );
|
|
23627
23667
|
}
|
|
23628
23668
|
|
|
23629
|
-
@each $name, $color in $theme-colors {
|
|
23669
|
+
@each $name, $color in $kendo-theme-colors {
|
|
23630
23670
|
&.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
|
|
23631
23671
|
@if $name == "secondary" or $name == "light" {
|
|
23632
23672
|
@include fill( $color: try-shade($color, 3) );
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-default",
|
|
3
3
|
"description": "SASS resources for the default Kendo UI theme",
|
|
4
|
-
"version": "5.1.
|
|
4
|
+
"version": "5.1.2-dev.2",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"prepublishOnly": "echo 'no prebublish for default theme'",
|
|
48
48
|
"postpublish": "echo 'no postpublish for default theme'"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "df4c6f46ad3f3c8f20146b0301c4f9c2e4b8fa26"
|
|
51
51
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -13,6 +13,7 @@ $enable-grid-classes: true !default;
|
|
|
13
13
|
$use-calc-badge-size: true !default;
|
|
14
14
|
$use-input-button-width: true !default;
|
|
15
15
|
$use-input-spinner-width: true !default;
|
|
16
|
+
$use-input-spinner-icon-offset: false !default;
|
|
16
17
|
$use-picker-select-width: true !default;
|
|
17
18
|
|
|
18
19
|
|
|
@@ -203,7 +204,7 @@ $light: #ebebeb !default;
|
|
|
203
204
|
$inverse: if( $dark-theme, $light, $dark ) !default;
|
|
204
205
|
|
|
205
206
|
|
|
206
|
-
$theme-colors: (
|
|
207
|
+
$kendo-theme-colors: (
|
|
207
208
|
"primary": $primary,
|
|
208
209
|
"secondary": $secondary,
|
|
209
210
|
"tertiary": $tertiary,
|
|
@@ -240,7 +241,7 @@ $app-border: rgba( $black, .08 ) !default;
|
|
|
240
241
|
|
|
241
242
|
// Component
|
|
242
243
|
/// Background color of a component.
|
|
243
|
-
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !
|
|
244
|
+
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
|
|
244
245
|
/// @group component
|
|
245
246
|
$component-bg: $body-bg !default;
|
|
246
247
|
/// Text color of a component.
|
package/scss/appbar/_theme.scss
CHANGED
package/scss/badge/_theme.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@include exports( "badge/theme" ) {
|
|
2
2
|
|
|
3
3
|
// Solid badges
|
|
4
|
-
@each $name, $color in $theme-colors {
|
|
4
|
+
@each $name, $color in $kendo-theme-colors {
|
|
5
5
|
.k-badge-solid.k-badge-#{$name} {
|
|
6
6
|
border-color: $color;
|
|
7
7
|
color: contrast-wcag( $color );
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
background-color: $component-bg;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
@each $name, $color in $theme-colors {
|
|
18
|
+
@each $name, $color in $kendo-theme-colors {
|
|
19
19
|
.k-badge-outline.k-badge-#{$name} {
|
|
20
20
|
color: $color;
|
|
21
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@include exports("bottom-navigation/theme") {
|
|
2
2
|
|
|
3
3
|
// Solid
|
|
4
|
-
@each $name, $color in $theme-colors {
|
|
4
|
+
@each $name, $color in $kendo-theme-colors {
|
|
5
5
|
.k-bottom-nav-solid.k-bottom-nav-#{$name} {
|
|
6
6
|
@include fill(
|
|
7
7
|
$color: true-mix( $color, contrast-wcag( $color ), 35%),
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
@include fill( $bg: rgba($bottom-nav-flat-text, .05) );
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
@each $name, $color in $theme-colors {
|
|
37
|
+
@each $name, $color in $kendo-theme-colors {
|
|
38
38
|
&.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
|
|
39
39
|
@if $name == "secondary" or $name == "light" {
|
|
40
40
|
@include fill( $color: try-shade($color, 3) );
|
package/scss/card/_theme.scss
CHANGED
|
@@ -66,10 +66,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
|
|
|
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
|
@@ -266,10 +266,10 @@
|
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
.k-spinner-increase .k-icon {
|
|
269
|
-
bottom:
|
|
269
|
+
bottom: if( $use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
|
|
270
270
|
}
|
|
271
271
|
.k-spinner-decrease .k-icon {
|
|
272
|
-
top:
|
|
272
|
+
top: if( $use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
|
package/scss/input/_theme.scss
CHANGED
|
@@ -37,6 +37,19 @@
|
|
|
37
37
|
@include box-shadow( $kendo-input-focus-shadow );
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
//Disabled
|
|
41
|
+
&:disabled,
|
|
42
|
+
&[disabled],
|
|
43
|
+
&.k-disabled {
|
|
44
|
+
@include fill(
|
|
45
|
+
$kendo-input-disabled-text,
|
|
46
|
+
$kendo-input-disabled-bg,
|
|
47
|
+
$kendo-input-disabled-border,
|
|
48
|
+
$kendo-input-disabled-gradient
|
|
49
|
+
);
|
|
50
|
+
@include box-shadow( $kendo-input-disabled-shadow );
|
|
51
|
+
}
|
|
52
|
+
|
|
40
53
|
// Invalid
|
|
41
54
|
&.k-invalid,
|
|
42
55
|
&.ng-invalid.ng-touched,
|
|
@@ -100,6 +113,19 @@
|
|
|
100
113
|
@include box-shadow( $kendo-picker-focus-shadow );
|
|
101
114
|
}
|
|
102
115
|
|
|
116
|
+
//Disabled
|
|
117
|
+
&:disabled,
|
|
118
|
+
&[disabled],
|
|
119
|
+
&.k-disabled {
|
|
120
|
+
@include fill(
|
|
121
|
+
$kendo-picker-disabled-text,
|
|
122
|
+
$kendo-picker-disabled-bg,
|
|
123
|
+
$kendo-picker-disabled-border,
|
|
124
|
+
$kendo-picker-disabled-gradient
|
|
125
|
+
);
|
|
126
|
+
@include box-shadow( $kendo-picker-disabled-shadow );
|
|
127
|
+
}
|
|
128
|
+
|
|
103
129
|
// Invalid
|
|
104
130
|
&.k-invalid,
|
|
105
131
|
&.ng-invalid.ng-touched,
|
|
@@ -71,6 +71,12 @@ $kendo-input-focus-text: null !default;
|
|
|
71
71
|
$kendo-input-focus-border: $kendo-input-hover-border !default;
|
|
72
72
|
$kendo-input-focus-shadow: 0 0 0 2px rgba( $kendo-input-focus-border, .08 ) !default;
|
|
73
73
|
|
|
74
|
+
$kendo-input-disabled-bg: null !default;
|
|
75
|
+
$kendo-input-disabled-text: null !default;
|
|
76
|
+
$kendo-input-disabled-border: null !default;
|
|
77
|
+
$kendo-input-disabled-gradient: null !default;
|
|
78
|
+
$kendo-input-disabled-shadow: null !default;
|
|
79
|
+
|
|
74
80
|
$kendo-picker-bg: $kendo-button-bg !default;
|
|
75
81
|
$kendo-picker-text: $kendo-button-text !default;
|
|
76
82
|
$kendo-picker-border: $kendo-button-border !default;
|
|
@@ -89,6 +95,12 @@ $kendo-picker-focus-border: $kendo-button-focus-border !default;
|
|
|
89
95
|
$kendo-picker-focus-gradient: $kendo-button-focus-gradient !default;
|
|
90
96
|
$kendo-picker-focus-shadow: $kendo-button-focus-shadow !default;
|
|
91
97
|
|
|
98
|
+
$kendo-picker-disabled-bg: null !default;
|
|
99
|
+
$kendo-picker-disabled-text: null !default;
|
|
100
|
+
$kendo-picker-disabled-border: null !default;
|
|
101
|
+
$kendo-picker-disabled-gradient: null !default;
|
|
102
|
+
$kendo-picker-disabled-shadow: null !default;
|
|
103
|
+
|
|
92
104
|
$kendo-input-placeholder-text: $subtle-text !default;
|
|
93
105
|
$kendo-input-placeholder-opacity: 1 !default;
|
|
94
106
|
|
package/scss/loader/_theme.scss
CHANGED
|
@@ -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
|
}
|
package/scss/utils/_border.scss
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
.k-color-inherit { color: inherit; }
|
|
12
12
|
|
|
13
|
-
@each $name, $color in $theme-colors {
|
|
13
|
+
@each $name, $color in $kendo-theme-colors {
|
|
14
14
|
.k-text-#{$name},
|
|
15
15
|
.k-color-#{$name} {
|
|
16
16
|
color: $color !important;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
// sass-lint:disable-block no-important
|
|
26
26
|
|
|
27
|
-
@each $name, $bg-color in $theme-colors {
|
|
27
|
+
@each $name, $bg-color in $kendo-theme-colors {
|
|
28
28
|
.k-bg-#{$name} {
|
|
29
29
|
background-color: $bg-color !important;
|
|
30
30
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
@include exports( "common/decoration/variant" ) {
|
|
43
43
|
|
|
44
|
-
@each $name, $variant in $theme-colors {
|
|
44
|
+
@each $name, $variant in $kendo-theme-colors {
|
|
45
45
|
.k-state-#{$name} {
|
|
46
46
|
@include variant( $variant );
|
|
47
47
|
}
|