@progress/kendo-theme-default 5.1.2-dev.2 → 5.1.2-dev.6

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.
@@ -185,7 +185,9 @@
185
185
  // Input with icon styles
186
186
  .k-input-icon,
187
187
  .k-input-validation-icon,
188
- .k-input-loading-icon {
188
+ .k-input-loading-icon,
189
+ .k-input-prefix > .k-icon,
190
+ .k-input-suffix > .k-icon {
189
191
  flex: none;
190
192
  align-self: center;
191
193
  display: inline-flex;
@@ -359,7 +361,9 @@
359
361
  .k-input-icon,
360
362
  .k-input-validation-icon,
361
363
  .k-input-loading-icon,
362
- .k-clear-value {
364
+ .k-clear-value,
365
+ .k-input-prefix > .k-icon,
366
+ .k-input-suffix > .k-icon {
363
367
  width: $_icon-size;
364
368
  height: $_icon-size;
365
369
  }
@@ -80,14 +80,11 @@
80
80
  $kendo-menu-popup-item-expanded-gradient
81
81
  );
82
82
  }
83
-
84
- &.k-focus {
85
- @include box-shadow( $kendo-menu-popup-item-focus-shadow );
86
- }
87
83
  }
88
84
 
89
85
  .k-item {
90
- &:focus {
86
+ &:focus,
87
+ &.k-focus {
91
88
  @include box-shadow( $kendo-menu-popup-item-focus-shadow );
92
89
  }
93
90
  }
@@ -17,11 +17,13 @@
17
17
  box-shadow: $notification-shadow;
18
18
  }
19
19
 
20
- @each $theme, $props in $notification-themes {
21
- .k-notification-#{$theme} {
22
- border-color: map-get( $props, border );
23
- color: map-get( $props, color );
24
- background-color: map-get( $props, bg );
20
+ @each $name, $props in $kendo-notification-theme {
21
+ .k-notification-#{$name} {
22
+ @include fill(
23
+ map-get( $props, color ),
24
+ map-get( $props, background-color ),
25
+ map-get( $props, border )
26
+ );
25
27
  }
26
28
  }
27
29
 
@@ -17,18 +17,19 @@ $notification-bg: $component-bg !default;
17
17
  $notification-text: $component-text !default;
18
18
  $notification-border: $component-border !default;
19
19
 
20
- $notification-themes: () !default;
21
-
22
- @function notification-theme($name: null, $color: null) {
23
- // sass-lint:disable indentation
24
- @return (
25
- border: $color,
26
- color: contrast-wcag( $color ),
27
- bg: $color
28
- );
29
- // sass-lint:enable indentation
30
- }
20
+ @function notification-theme( $colors ) {
21
+ $_theme: ();
22
+
23
+ @each $name, $color in $colors {
24
+ $_theme: map-merge(( $name: (
25
+ color: contrast-wcag( $color ),
26
+ background-color: $color,
27
+ border: $color,
28
+ )), $_theme );
29
+ }
31
30
 
32
- @each $theme, $props in $kendo-theme-colors {
33
- $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
31
+ @return $_theme;
34
32
  }
33
+
34
+ $kendo-notification-theme-colors: $kendo-theme-colors !default;
35
+ $kendo-notification-theme: notification-theme( $kendo-notification-theme-colors ) !default;
@@ -134,6 +134,7 @@
134
134
 
135
135
  .k-pivotgrid-cell .k-icon {
136
136
  cursor: pointer;
137
+ padding-inline-end: $pivotgrid-icon-spacing;
137
138
  }
138
139
 
139
140
  .k-pivotgrid-total {
@@ -6,6 +6,7 @@ $pivotgrid-font-family: $font-family !default;
6
6
  $pivotgrid-font-size: $font-size !default;
7
7
  $pivotgrid-line-height: $line-height !default;
8
8
  $pivotgrid-border-width: 1px !default;
9
+ $pivotgrid-icon-spacing: 8px !default;
9
10
 
10
11
  $pivotgrid-row-header-width: 300px !default;
11
12
  $pivotgrid-column-header-height: 75px !default;
@@ -1,8 +1,6 @@
1
1
  @include exports( "textarea/layout" ) {
2
2
 
3
3
  // Textarea
4
- .k-textarea {
5
- display: flex;
6
- }
4
+ .k-textarea {}
7
5
 
8
6
  }
@@ -46,16 +46,22 @@
46
46
  // sass-lint:disable no-important
47
47
  @if $utils-overflow {
48
48
  @each $overflow in $utils-overflow {
49
- .k-overflow-#{$overflow} { overflow: $overflow !important; }
50
- .k-overflow-x-#{$overflow} { overflow-x: $overflow !important; }
51
- .k-overflow-y-#{$overflow} { overflow-y: $overflow !important; }
49
+ .k-overflow-#{$overflow} { overflow: $overflow; }
50
+ .k-overflow-x-#{$overflow} { overflow-x: $overflow; }
51
+ .k-overflow-y-#{$overflow} { overflow-y: $overflow; }
52
+
53
+ .\!k-overflow-#{$overflow} { overflow: $overflow !important; }
54
+ .\!k-overflow-x-#{$overflow} { overflow-x: $overflow !important; }
55
+ .\!k-overflow-y-#{$overflow} { overflow-y: $overflow !important; }
52
56
  }
53
57
 
54
58
 
55
59
  @each $overflow-x in $utils-overflow {
56
60
  @each $overflow-y in $utils-overflow {
57
61
  @if $overflow-x != $overflow-y {
58
- .k-overflow-#{$overflow-x}-#{$overflow-y} { overflow: $overflow-x $overflow-y !important; }
62
+ .k-overflow-#{$overflow-x}-#{$overflow-y} { overflow: $overflow-x $overflow-y; }
63
+
64
+ .\!k-overflow-#{$overflow-x}-#{$overflow-y} { overflow: $overflow-x $overflow-y !important; }
59
65
  }
60
66
  }
61
67
  }
@@ -27,8 +27,10 @@
27
27
 
28
28
  @if $utils-resize {
29
29
  @each $resize in $utils-resize {
30
+ .k-resize-#{$resize} { resize: $resize; }
31
+
30
32
  // sass-lint:disable-block no-important
31
- .k-resize-#{$resize} { resize: $resize !important; }
33
+ .\!k-resize-#{$resize} { resize: $resize !important; }
32
34
  }
33
35
  }
34
36