@progress/kendo-theme-default 5.6.1-dev.5 → 5.7.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.
Files changed (106) hide show
  1. package/dist/all.css +770 -930
  2. package/dist/all.scss +398 -649
  3. package/lib/swatches/default-blue.json +1 -1
  4. package/lib/swatches/default-dataviz-v4.json +1 -1
  5. package/lib/swatches/default-green.json +1 -1
  6. package/lib/swatches/default-main-dark.json +1 -1
  7. package/lib/swatches/default-main.json +1 -1
  8. package/lib/swatches/default-nordic.json +1 -1
  9. package/lib/swatches/default-ocean-blue.json +1 -1
  10. package/lib/swatches/default-orange.json +1 -1
  11. package/lib/swatches/default-purple.json +1 -1
  12. package/lib/swatches/default-turquoise.json +1 -1
  13. package/lib/swatches/default-urban.json +1 -1
  14. package/package.json +3 -3
  15. package/scss/action-sheet/_theme.scss +0 -3
  16. package/scss/adaptive/_layout.scss +2 -1
  17. package/scss/adaptive/_theme.scss +0 -2
  18. package/scss/badge/_layout.scss +18 -69
  19. package/scss/badge/_theme.scss +2 -2
  20. package/scss/badge/_variables.scss +70 -35
  21. package/scss/bottom-navigation/_layout.scss +0 -1
  22. package/scss/bottom-navigation/_theme.scss +0 -8
  23. package/scss/breadcrumb/_theme.scss +0 -5
  24. package/scss/button/_variables.scss +1 -1
  25. package/scss/calendar/_layout.scss +0 -1
  26. package/scss/calendar/_theme.scss +9 -22
  27. package/scss/card/_layout.scss +6 -5
  28. package/scss/card/_theme.scss +11 -27
  29. package/scss/card/_variables.scss +0 -10
  30. package/scss/chat/_layout.scss +0 -3
  31. package/scss/chat/_theme.scss +0 -2
  32. package/scss/coloreditor/_theme.scss +0 -1
  33. package/scss/colorgradient/_layout.scss +1 -1
  34. package/scss/colorgradient/_theme.scss +3 -5
  35. package/scss/colorpalette/_layout.scss +0 -4
  36. package/scss/colorpalette/_theme.scss +0 -5
  37. package/scss/common/_base.scss +1 -3
  38. package/scss/dataviz/_layout.scss +1 -1
  39. package/scss/dataviz/_theme.scss +1 -1
  40. package/scss/drawer/_theme.scss +0 -5
  41. package/scss/editor/_layout.scss +2 -3
  42. package/scss/editor/_theme.scss +1 -3
  43. package/scss/expansion-panel/_theme.scss +0 -4
  44. package/scss/filemanager/_theme.scss +0 -1
  45. package/scss/floating-label/_layout.scss +0 -7
  46. package/scss/floating-label/_theme.scss +1 -2
  47. package/scss/forms/_variables.scss +1 -1
  48. package/scss/gantt/_layout.scss +2 -5
  49. package/scss/gantt/_theme.scss +0 -7
  50. package/scss/grid/_layout.scss +3 -1
  51. package/scss/grid/_theme.scss +7 -62
  52. package/scss/input/_layout.scss +2 -4
  53. package/scss/listview/_theme.scss +0 -2
  54. package/scss/loader/_theme.scss +5 -2
  55. package/scss/notification/_layout.scss +4 -2
  56. package/scss/notification/_theme.scss +2 -1
  57. package/scss/orgchart/_theme.scss +1 -5
  58. package/scss/pager/_layout.scss +4 -3
  59. package/scss/pager/_theme.scss +1 -13
  60. package/scss/panelbar/_layout.scss +4 -0
  61. package/scss/panelbar/_theme.scss +5 -54
  62. package/scss/pdf-viewer/_index.scss +3 -0
  63. package/scss/pdf-viewer/_layout.scss +80 -28
  64. package/scss/pdf-viewer/_theme.scss +21 -0
  65. package/scss/pdf-viewer/_variables.scss +14 -1
  66. package/scss/pivotgrid/_theme.scss +7 -11
  67. package/scss/popover/_layout.scss +10 -5
  68. package/scss/popover/_theme.scss +8 -6
  69. package/scss/popover/_variables.scss +0 -5
  70. package/scss/progressbar/_layout.scss +0 -12
  71. package/scss/progressbar/_theme.scss +0 -1
  72. package/scss/radio/_layout.scss +0 -1
  73. package/scss/radio/_theme.scss +0 -5
  74. package/scss/rating/_layout.scss +1 -1
  75. package/scss/rating/_theme.scss +0 -6
  76. package/scss/scheduler/_layout.scss +2 -5
  77. package/scss/scheduler/_theme.scss +1 -12
  78. package/scss/scrollview/_theme.scss +0 -4
  79. package/scss/signature/_layout.scss +9 -6
  80. package/scss/signature/_variables.scss +23 -21
  81. package/scss/slider/_layout.scss +2 -3
  82. package/scss/slider/_theme.scss +0 -3
  83. package/scss/splitter/_layout.scss +1 -1
  84. package/scss/splitter/_theme.scss +0 -4
  85. package/scss/spreadsheet/_layout.scss +1 -4
  86. package/scss/spreadsheet/_theme.scss +1 -7
  87. package/scss/stepper/_theme.scss +0 -1
  88. package/scss/tabstrip/_layout.scss +0 -7
  89. package/scss/tabstrip/_theme.scss +0 -6
  90. package/scss/taskboard/_layout.scss +1 -3
  91. package/scss/taskboard/_theme.scss +6 -13
  92. package/scss/tilelayout/_theme.scss +0 -3
  93. package/scss/timeline/_theme.scss +0 -2
  94. package/scss/timeselector/_layout.scss +0 -1
  95. package/scss/timeselector/_theme.scss +0 -1
  96. package/scss/toolbar/_layout.scss +6 -0
  97. package/scss/toolbar/_theme.scss +7 -0
  98. package/scss/treelist/_layout.scss +0 -1
  99. package/scss/typography/_variables.scss +1 -1
  100. package/scss/upload/_layout.scss +0 -1
  101. package/scss/upload/_theme.scss +0 -3
  102. package/scss/utils/_position.scss +3 -0
  103. package/scss/utils/_theme-colors.scss +14 -48
  104. package/scss/window/_theme.scss +0 -1
  105. package/scss/wizard/_layout.scss +0 -1
  106. package/scss/wizard/_theme.scss +2 -2
@@ -2,7 +2,7 @@
2
2
 
3
3
  .k-signature {
4
4
  width: $kendo-signature-width;
5
- height: $kendo-signature-height;
5
+ min-height: $kendo-signature-height;
6
6
  position: relative;
7
7
  box-sizing: border-box;
8
8
  display: flex;
@@ -39,25 +39,28 @@
39
39
 
40
40
  .k-signature-line {
41
41
  position: absolute;
42
- z-index: 0;
42
+ bottom: $kendo-signature-line-bottom-offset;
43
+ z-index: 2;
44
+ pointer-events: none;
43
45
  border-bottom-width: $kendo-signature-line-width;
44
46
  border-bottom-style: $kendo-signature-line-style;
45
47
  }
46
48
 
47
49
  // Sizes
48
50
  @each $size, $size-props in $kendo-signature-sizes {
49
- $_padding: map-get($size-props, padding);
51
+ $_padding-x: map-get($size-props, padding-x);
52
+ $_padding-y: map-get($size-props, padding-y);
50
53
  $_line-size: map-get($size-props, line-size);
51
54
  $_line-offset: map-get($size-props, line-offset);
52
55
 
53
56
  .k-signature-#{$size} {
54
- padding: $_padding;
57
+ padding-inline: $_padding-x;
58
+ padding-block: $_padding-y;
55
59
 
56
60
  .k-signature-line {
57
61
  width: $_line-size;
58
- bottom: $_line-offset;
59
62
  }
60
63
  }
61
-
62
64
  }
65
+
63
66
  }
@@ -4,40 +4,42 @@ $kendo-signature-height: 84px !default;
4
4
  $kendo-signature-maximized-width: 750px !default;
5
5
  $kendo-signature-maximized-height: 252px !default;
6
6
 
7
- $kendo-signature-padding: map-get( $spacing, 1 ) !default;
8
- $kendo-signature-padding-sm: map-get( $spacing, 1 ) - map-get($spacing, thin) !default;
9
- $kendo-signature-padding-md: $kendo-signature-padding !default;
10
- $kendo-signature-padding-lg: map-get( $spacing, 1 ) + map-get($spacing, thin) !default;
7
+ $kendo-signature-padding-x: map-get( $spacing, 1 ) !default;
8
+ $kendo-signature-padding-x-sm: map-get( $spacing, 1 ) - map-get($spacing, thin) !default;
9
+ $kendo-signature-padding-x-md: $kendo-signature-padding-x !default;
10
+ $kendo-signature-padding-x-lg: map-get( $spacing, 2 ) !default;
11
+
12
+ $kendo-signature-padding-y: $kendo-signature-padding-x !default;
13
+ $kendo-signature-padding-y-sm: $kendo-signature-padding-x-sm !default;
14
+ $kendo-signature-padding-y-md: $kendo-signature-padding-x-md !default;
15
+ $kendo-signature-padding-y-lg: $kendo-signature-padding-x-lg !default;
11
16
 
12
17
  $kendo-signature-line-width: 1px !default;
13
18
  $kendo-signature-line-style: dashed !default;
14
19
  $kendo-signature-line-color: rgba( $info, .24 ) !default;
15
20
 
16
- $kendo-signature-line-size: calc( 100% - 2 * #{$kendo-signature-padding} ) !default;
17
- $kendo-signature-line-size-sm: calc( 100% - 2 * #{$kendo-signature-padding-sm} ) !default;
18
- $kendo-signature-line-size-md: calc( 100% - 2 * #{$kendo-signature-padding-md} ) !default;
19
- $kendo-signature-line-size-lg: calc( 100% - 2 * #{$kendo-signature-padding-lg} ) !default;
21
+ $kendo-signature-line-size: calc( 100% - 2 * #{$kendo-signature-padding-x} ) !default;
22
+ $kendo-signature-line-size-sm: calc( 100% - 2 * #{$kendo-signature-padding-x-sm} ) !default;
23
+ $kendo-signature-line-size-md: calc( 100% - 2 * #{$kendo-signature-padding-x-md} ) !default;
24
+ $kendo-signature-line-size-lg: calc( 100% - 2 * #{$kendo-signature-padding-x-lg} ) !default;
20
25
 
21
- $kendo-signature-line-bottom-offset: calc( #{$kendo-button-calc-size} + #{$kendo-signature-padding} ) !default;
22
- $kendo-signature-line-bottom-offset-sm: calc( #{$kendo-button-calc-size} + #{$kendo-signature-padding-sm} ) !default;
23
- $kendo-signature-line-bottom-offset-md: calc( #{$kendo-button-calc-size} + #{$kendo-signature-padding-md} ) !default;
24
- $kendo-signature-line-bottom-offset-lg: calc( #{$kendo-button-calc-size} + #{$kendo-signature-padding-lg} ) !default;
26
+ $kendo-signature-line-bottom-offset: 33% !default;
25
27
 
26
28
  $kendo-signature-sizes: (
27
29
  sm: (
28
- padding: $kendo-signature-padding-sm,
29
- line-size: $kendo-signature-line-size-sm,
30
- line-offset: $kendo-signature-line-bottom-offset-sm
30
+ padding-x: $kendo-signature-padding-x-sm,
31
+ padding-y: $kendo-signature-padding-y-sm,
32
+ line-size: $kendo-signature-line-size-sm
31
33
  ),
32
34
  md: (
33
- padding: $kendo-signature-padding-md,
34
- line-size: $kendo-signature-line-size-md,
35
- line-offset: $kendo-signature-line-bottom-offset-md
35
+ padding-x: $kendo-signature-padding-x-md,
36
+ padding-y: $kendo-signature-padding-y-md,
37
+ line-size: $kendo-signature-line-size-md
36
38
  ),
37
39
  lg: (
38
- padding: $kendo-signature-padding-lg,
39
- line-size: $kendo-signature-line-size-lg,
40
- line-offset: $kendo-signature-line-bottom-offset-lg
40
+ padding-x: $kendo-signature-padding-x-lg,
41
+ padding-y: $kendo-signature-padding-y-lg,
42
+ line-size: $kendo-signature-line-size-lg
41
43
  )
42
44
  ) !default;
43
45
 
@@ -44,7 +44,6 @@
44
44
  }
45
45
 
46
46
 
47
- &.k-state-disabled,
48
47
  &.k-disabled {
49
48
  .k-tick,
50
49
  .k-slider-track,
@@ -338,8 +337,8 @@
338
337
  left: auto;
339
338
  }
340
339
 
341
- .k-button .k-i-arrow-e,
342
- .k-button .k-i-arrow-w {
340
+ .k-button-increase .k-icon,
341
+ .k-button-decrease .k-icon {
343
342
  transform: scaleX(-1);
344
343
  }
345
344
  }
@@ -47,20 +47,17 @@
47
47
  }
48
48
 
49
49
  &:focus,
50
- &.k-state-focused,
51
50
  &.k-focus {
52
51
  @include box-shadow( $slider-draghandle-focused-shadow );
53
52
  }
54
53
  }
55
54
 
56
- &.k-state-focused,
57
55
  &.k-focus {
58
56
  .k-draghandle {
59
57
  @include box-shadow( $slider-draghandle-focused-shadow );
60
58
  }
61
59
  }
62
60
 
63
- &.k-state-disabled,
64
61
  &.k-disabled {
65
62
  opacity: $slider-disabled-opacity;
66
63
  }
@@ -172,7 +172,7 @@
172
172
 
173
173
  .k-pane,
174
174
  .k-pane-flex {
175
- &.k-state-hidden,
175
+ &.k-hidden,
176
176
  &[hidden] {
177
177
  // sass-lint:disable-block no-important
178
178
  // hidden panes need to be zero-width to allow pane animation
@@ -14,7 +14,6 @@
14
14
  background-color: $splitbar-bg;
15
15
  }
16
16
  .k-splitbar:hover,
17
- .k-splitbar.k-state-hover,
18
17
  .k-splitbar.k-hover,
19
18
  .k-splitbar-horizontal-hover,
20
19
  .k-splitbar-vertical-hover {
@@ -22,9 +21,6 @@
22
21
  background-color: $splitbar-hover-bg;
23
22
  }
24
23
  .k-splitbar:focus,
25
- .k-splitbar.k-state-focus,
26
- .k-splitbar.k-focus,
27
- .k-splitbar.k-state-focused,
28
24
  .k-splitbar.k-focus {
29
25
  color: $splitbar-selected-text;
30
26
  background: $splitbar-selected-bg;
@@ -88,7 +88,7 @@
88
88
  [data-tool="merge"],
89
89
  [data-tool="freeze"] {
90
90
  width: auto;
91
- min-width: $form-line-height * 1em;
91
+ min-width: calc( #{$form-line-height} * 1em );
92
92
  }
93
93
 
94
94
  .k-color-picker {
@@ -257,7 +257,6 @@
257
257
  overflow: hidden;
258
258
 
259
259
  // disabled cells in the Spreadsheet should allow navigation if link is used
260
- .k-state-disabled,
261
260
  .k-disabled {
262
261
  pointer-events: auto;
263
262
  }
@@ -819,7 +818,6 @@
819
818
  background-position: 50% 50%;
820
819
 
821
820
  &:hover div,
822
- &.k-state-hovered div,
823
821
  &.k-hover div {
824
822
  margin: 0;
825
823
  align-self: center;
@@ -885,7 +883,6 @@
885
883
  .k-spreadsheet-insert-image-dialog {
886
884
  .k-spreadsheet-has-image {
887
885
  &:hover,
888
- &.k-state-hovered,
889
886
  &.k-hover {
890
887
  border-radius: $spreadsheet-insert-image-dialog-preview-overlay-border-radius;
891
888
  }
@@ -142,7 +142,6 @@
142
142
  );
143
143
  }
144
144
 
145
- &.k-state-active,
146
145
  &.k-active {
147
146
  @include fill(
148
147
  $kendo-button-active-text,
@@ -160,7 +159,7 @@
160
159
  > .k-menu,
161
160
  > .k-menu:not(.k-context-menu) {
162
161
 
163
- .k-item.k-state-hover,
162
+ .k-item:hover,
164
163
  .k-item.k-hover {
165
164
  @include fill(
166
165
  $kendo-list-item-hover-text,
@@ -191,7 +190,6 @@
191
190
  .k-button {}
192
191
 
193
192
  .k-button:hover,
194
- .k-button.k-state-hover,
195
193
  .k-button.k-hover {
196
194
  @include fill(
197
195
  $kendo-list-item-hover-text,
@@ -199,9 +197,7 @@
199
197
  );
200
198
  }
201
199
  .k-button:active,
202
- .k-button.k-state-active,
203
200
  .k-button.k-active,
204
- .k-button.k-state-selected,
205
201
  .k-button.k-selected {
206
202
  @include fill(
207
203
  $kendo-list-item-selected-text,
@@ -223,13 +219,11 @@
223
219
 
224
220
  .k-spreadsheet-has-image {
225
221
  &:hover,
226
- &.k-state-hovered,
227
222
  &.k-hover {
228
223
  box-shadow: $spreadsheet-insert-image-dialog-preview-overlay-shadow;
229
224
  }
230
225
 
231
226
  &:hover div,
232
- &.k-state-hovered div,
233
227
  &.k-hover div {
234
228
  color: $spreadsheet-insert-image-dialog-overlay-hovered-text;
235
229
  }
@@ -191,7 +191,6 @@
191
191
  $bg: $stepper-progressbar-bg
192
192
  );
193
193
 
194
- .k-state-selected,
195
194
  .k-selected {
196
195
  @include fill(
197
196
  $color: $stepper-progressbar-fill-text,
@@ -97,13 +97,11 @@
97
97
  position: relative;
98
98
  z-index: 1;
99
99
 
100
- &.k-state-active,
101
100
  &.k-active {
102
101
  display: block;
103
102
  }
104
103
 
105
104
  &:focus,
106
- &.k-state-focused,
107
105
  &.k-focus {
108
106
  outline-width: 1px;
109
107
  outline-style: dotted;
@@ -192,7 +190,6 @@
192
190
  margin-left: $tabstrip-item-gap;
193
191
  }
194
192
 
195
- .k-item.k-state-active,
196
193
  .k-item.k-active {
197
194
  border-bottom-color: transparent;
198
195
  }
@@ -222,7 +219,6 @@
222
219
  margin-left: $tabstrip-item-gap;
223
220
  }
224
221
 
225
- .k-item.k-state-active,
226
222
  .k-item.k-active {
227
223
  border-top-color: transparent;
228
224
  }
@@ -256,7 +252,6 @@
256
252
  margin-top: $tabstrip-item-gap;
257
253
  }
258
254
 
259
- .k-item.k-state-active,
260
255
  .k-item.k-active {
261
256
  border-right-color: transparent;
262
257
  }
@@ -292,7 +287,6 @@
292
287
  margin-top: $tabstrip-item-gap;
293
288
  }
294
289
 
295
- .k-item.k-state-active,
296
290
  .k-item.k-active {
297
291
  border-left-color: transparent;
298
292
  }
@@ -338,7 +332,6 @@
338
332
  border-left-width: $tabstrip-indicator-size;
339
333
  }
340
334
  }
341
- .k-item.k-state-active::after,
342
335
  .k-item.k-active::after {
343
336
  display: block;
344
337
  }
@@ -27,7 +27,6 @@
27
27
  );
28
28
 
29
29
  &:hover,
30
- &.k-state-hover,
31
30
  &.k-hover {
32
31
  @include fill(
33
32
  $tabstrip-item-hovered-text,
@@ -38,9 +37,7 @@
38
37
  }
39
38
 
40
39
  &:active,
41
- &.k-state-active,
42
40
  &.k-active,
43
- &.k-state-selected,
44
41
  &.k-selected {
45
42
  @include fill(
46
43
  $tabstrip-item-selected-text,
@@ -51,7 +48,6 @@
51
48
  }
52
49
 
53
50
  &:focus,
54
- &.k-state-focused,
55
51
  &.k-focus {
56
52
  @include box-shadow( $tabstrip-item-focused-shadow );
57
53
  }
@@ -74,7 +70,6 @@
74
70
  );
75
71
 
76
72
  &:focus,
77
- &.k-state-focused,
78
73
  &.k-focus {
79
74
  outline-color: $tabstrip-content-border-focused;
80
75
  }
@@ -85,7 +80,6 @@
85
80
  @if ($tabstrip-indicator-size) {
86
81
 
87
82
  .k-tabstrip-items-wrapper {
88
- .k-item.k-state-active::after,
89
83
  .k-item.k-active::after {
90
84
  border-color: $tabstrip-indicator-color;
91
85
  }
@@ -182,10 +182,8 @@
182
182
 
183
183
  &:focus,
184
184
  &.k-focus,
185
- &.k-state-focus,
186
185
  &:hover,
187
- &.k-hover,
188
- &.k-state-hover {
186
+ &.k-hover {
189
187
  text-decoration: underline;
190
188
  }
191
189
  }
@@ -28,7 +28,6 @@
28
28
  );
29
29
  }
30
30
  .k-taskboard-column:focus,
31
- .k-taskboard-column.k-state-focus,
32
31
  .k-taskboard-column.k-focus {
33
32
  @include fill(
34
33
  $taskboard-column-focus-text,
@@ -67,39 +66,33 @@
67
66
  @include fill( $color: $taskboard-card-header-text );
68
67
 
69
68
  &:focus,
70
- &.k-focus,
71
- &.k-state-focus {
69
+ &.k-focus {
72
70
  @include fill( $color: $taskboard-card-header-focus-text );
73
71
  }
74
72
 
75
73
  &:hover,
76
- &.k-hover,
77
- &.k-state-hover {
74
+ &.k-hover {
78
75
  @include fill( $color: $taskboard-card-header-hover-text );
79
76
  }
80
77
  }
81
78
 
82
79
  &:focus,
83
- &.k-focus,
84
- &.k-state-focus {
80
+ &.k-focus {
85
81
  @include fill( $border: $taskboard-card-focus-border );
86
82
  @include box-shadow( $taskboard-card-focus-shadow );
87
83
  }
88
84
 
89
85
  &:hover,
90
- &.k-hover,
91
- &.k-state-hover {
86
+ &.k-hover {
92
87
  @include fill( $border: $taskboard-card-hover-border );
93
88
  }
94
89
 
95
- &.k-selected,
96
- &.k-state-selected {
90
+ &.k-selected {
97
91
  @include fill( $border: $taskboard-card-selected-border );
98
92
  @include box-shadow( $taskboard-card-selected-shadow );
99
93
  }
100
94
 
101
- &.k-disabled,
102
- &.k-state-disabled {
95
+ &.k-disabled {
103
96
  @include disabled( $disabled-styling );
104
97
  }
105
98
  }
@@ -7,9 +7,6 @@
7
7
  }
8
8
 
9
9
  .k-tilelayout-item:focus,
10
- .k-tilelayout-item.k-focus,
11
- .k-tilelayout-item.k-state-focus,
12
- .k-tilelayout-item.k-state-focused,
13
10
  .k-tilelayout-item.k-focus {
14
11
  @include box-shadow($tilelayout-card-focus-shadow);
15
12
  }
@@ -41,7 +41,6 @@
41
41
  color: $body-text;
42
42
  }
43
43
 
44
- .k-timeline-arrow.k-state-disabled,
45
44
  .k-timeline-arrow.k-disabled {
46
45
  opacity: 1; // The arrow button in disabled mode should have a solid background
47
46
  color: $timeline-track-arrow-disabled-text;
@@ -62,7 +61,6 @@
62
61
  background-color: $timeline-flag-bg;
63
62
  }
64
63
 
65
- .k-timeline-track-item.k-state-focus .k-timeline-circle,
66
64
  .k-timeline-track-item.k-focus .k-timeline-circle {
67
65
  @include box-shadow( $timeline-track-item-focus-shadow );
68
66
  }
@@ -100,7 +100,6 @@
100
100
  display: block;
101
101
  }
102
102
 
103
- &.k-state-focused,
104
103
  &.k-focus {
105
104
  &::before,
106
105
  &::after {
@@ -30,7 +30,6 @@
30
30
  color: $time-list-title-text;
31
31
  }
32
32
 
33
- &.k-state-focused,
34
33
  &.k-focus {
35
34
  .k-title {
36
35
  color: $time-list-title-focus-text;
@@ -117,6 +117,12 @@
117
117
  align-items: center;
118
118
  }
119
119
 
120
+ // Template item
121
+ .k-toolbar-item:focus {
122
+ text-decoration: none;
123
+ outline: 0;
124
+ }
125
+
120
126
  }
121
127
 
122
128
 
@@ -17,6 +17,13 @@
17
17
  }
18
18
 
19
19
 
20
+ // Template item
21
+ .k-toolbar-item:focus,
22
+ .k-toolbar-item.k-focus {
23
+ @include box-shadow( $kendo-button-focus-shadow );
24
+ }
25
+
26
+
20
27
  // Button group
21
28
  .k-button-group {}
22
29
 
@@ -25,7 +25,6 @@
25
25
  }
26
26
 
27
27
  .k-treelist-dragging,
28
- .k-treelist-dragging .k-state-hover,
29
28
  .k-treelist-dragging .k-hover {
30
29
  cursor: default;
31
30
  }
@@ -28,7 +28,7 @@ $line-height-xs: 1 !default;
28
28
  $line-height-sm: 1.25 !default;
29
29
  $line-height-md: $line-height !default;
30
30
  $line-height-lg: 1.5 !default;
31
- $line-height-em: $line-height * 1em !default;
31
+ $line-height-em: calc( #{$line-height} * 1em ) !default;
32
32
 
33
33
 
34
34
  // Font weight
@@ -422,7 +422,6 @@
422
422
  z-index: 1;
423
423
  }
424
424
  input[disabled],
425
- input.k-state-disabled,
426
425
  input.k-disabled {
427
426
  visibility: hidden;
428
427
  }
@@ -33,12 +33,10 @@
33
33
 
34
34
  .k-file {
35
35
 
36
- &.k-state-focused,
37
36
  &.k-focus {
38
37
  box-shadow: inset $upload-focused-shadow;
39
38
  }
40
39
 
41
- .k-upload-action.k-state-focused,
42
40
  .k-upload-action.k-focus {
43
41
  box-shadow: $upload-focused-shadow;
44
42
  }
@@ -130,7 +128,6 @@
130
128
  }
131
129
 
132
130
  // Invalid,
133
- &.k-state-invalid,
134
131
  &.k-invalid,
135
132
  &.ng-invalid.ng-touched,
136
133
  &.ng-invalid.ng-dirty {
@@ -25,6 +25,9 @@
25
25
  @each $pos in (static, relative, absolute, fixed, sticky) {
26
26
  .k-#{$pos},
27
27
  .k-pos-#{$pos} { position: $pos !important; } // sass-lint:disable-line brace-style no-important
28
+
29
+ .\!k-#{$pos},
30
+ .\!k-pos-#{$pos} { position: $pos !important; } // sass-lint:disable-line brace-style no-important
28
31
  }
29
32
 
30
33
  /// @name k-pos-top
@@ -1,18 +1,28 @@
1
1
  @include exports( "common/decoration/color" ) {
2
2
 
3
3
  // sass-lint:disable-block no-important
4
+ // sass-lint:disable-block class-name-format
4
5
  // stylelint-disable block-opening-brace-space-before
5
6
 
6
7
  .k-text-base,
7
8
  .k-color-base {
8
9
  color: $base-text;
9
10
  }
11
+ .\!k-text-base,
12
+ .\!k-color-base {
13
+ color: $base-text !important;
14
+ }
10
15
 
11
16
  .k-color-inherit { color: inherit; }
17
+ .\!k-color-inherit { color: inherit !important; }
12
18
 
13
19
  @each $name, $color in $kendo-theme-colors {
14
20
  .k-text-#{$name},
15
21
  .k-color-#{$name} {
22
+ color: $color;
23
+ }
24
+ .\!k-text-#{$name},
25
+ .\!k-color-#{$name} {
16
26
  color: $color !important;
17
27
  }
18
28
  }
@@ -23,59 +33,15 @@
23
33
  @include exports( "common/decoration/background" ) {
24
34
 
25
35
  // sass-lint:disable-block no-important
36
+ // sass-lint:disable-block class-name-format
26
37
 
27
38
  @each $name, $bg-color in $kendo-theme-colors {
28
39
  .k-bg-#{$name} {
29
- background-color: $bg-color !important;
40
+ background-color: $bg-color;
30
41
  }
31
- }
32
-
33
- }
34
-
35
-
36
- @mixin variant( $base ) {
37
- background-color: tint($base, 10);
38
- color: shade($base, 6);
39
- border-color: tint($base, 9);
40
- }
41
-
42
- @include exports( "common/decoration/variant" ) {
43
-
44
- @each $name, $variant in $kendo-theme-colors {
45
- .k-state-#{$name} {
46
- @include variant( $variant );
42
+ .\!k-bg-#{$name} {
43
+ background-color: $bg-color !important;
47
44
  }
48
45
  }
49
- }
50
-
51
-
52
- @include exports( "common/decoration/legacy" ) {
53
-
54
- .k-info-colored {
55
- color: #50607f;
56
- border-color: #d0d9df;
57
- background-color: #f0f9ff;
58
- }
59
-
60
- .k-success-colored {
61
- color: #507f50;
62
- border-color: #d0dfd0;
63
- background-color: #f0fff0;
64
- }
65
-
66
- .k-error-colored {
67
- color: #7f5050;
68
- border-color: #dfd0d0;
69
- background-color: #fff0f0;
70
- }
71
-
72
- .k-shadow {
73
- // Shadow moved to popup/_layout.scss due to variable flow
74
- // box-shadow: $popup-shadow;
75
- }
76
-
77
- .k-inset {
78
- box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .03), inset 0 4px 5px 0 rgba(0, 0, 0, .04);
79
- }
80
46
 
81
47
  }
@@ -12,7 +12,6 @@
12
12
 
13
13
  .k-window {
14
14
  &:focus,
15
- &.k-state-focused,
16
15
  &.k-focus {
17
16
  @include box-shadow( $window-focused-shadow );
18
17
  }
@@ -31,7 +31,6 @@
31
31
  justify-content: space-between;
32
32
 
33
33
  &:focus,
34
- &.k-state-focused,
35
34
  &.k-focus {
36
35
  outline-width: 1px;
37
36
  outline-style: dotted;