@progress/kendo-theme-default 5.0.0-beta.3 → 5.0.0-beta.4

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 (64) hide show
  1. package/dist/all.css +981 -1029
  2. package/dist/all.scss +1122 -1263
  3. package/dist/default-dataviz-v4.scss +8 -0
  4. package/dist/default-main.scss +6 -6
  5. package/lib/swatches/default-dataviz-v4.json +51 -0
  6. package/lib/swatches/default-main.json +6 -6
  7. package/package.json +2 -2
  8. package/scss/adaptive/_layout.scss +47 -68
  9. package/scss/adaptive/_theme.scss +0 -9
  10. package/scss/appbar/_layout.scss +4 -1
  11. package/scss/appbar/_variables.scss +1 -1
  12. package/scss/autocomplete/_theme.scss +1 -1
  13. package/scss/autocomplete/_variables.scss +0 -19
  14. package/scss/button/_layout.scss +84 -98
  15. package/scss/button/_theme.scss +175 -204
  16. package/scss/button/_variables.scss +58 -31
  17. package/scss/calendar/_layout.scss +2 -2
  18. package/scss/chat/_layout.scss +8 -6
  19. package/scss/chat/_theme.scss +0 -13
  20. package/scss/chat/_variables.scss +0 -5
  21. package/scss/checkbox/_layout.scss +73 -141
  22. package/scss/checkbox/_theme.scss +6 -4
  23. package/scss/checkbox/_variables.scss +63 -66
  24. package/scss/chip/_variables.scss +1 -1
  25. package/scss/colorgradient/_layout.scss +0 -4
  26. package/scss/colorpicker/_layout.scss +6 -1
  27. package/scss/colorpicker/_theme.scss +1 -1
  28. package/scss/common/_loading.scss +1 -13
  29. package/scss/daterangepicker/_layout.scss +15 -0
  30. package/scss/dropdownlist/_layout.scss +15 -0
  31. package/scss/editor/_layout.scss +2 -6
  32. package/scss/filter/_layout.scss +4 -0
  33. package/scss/forms/_layout.scss +7 -8
  34. package/scss/gantt/_layout.scss +1 -1
  35. package/scss/grid/_layout.scss +43 -11
  36. package/scss/grid/_theme.scss +0 -6
  37. package/scss/grid/_variables.scss +2 -2
  38. package/scss/input/_layout.scss +19 -1
  39. package/scss/input/_theme.scss +30 -4
  40. package/scss/list/_layout.scss +10 -7
  41. package/scss/list/_variables.scss +19 -19
  42. package/scss/listbox/_layout.scss +9 -0
  43. package/scss/mediaplayer/_layout.scss +8 -1
  44. package/scss/menu/_variables.scss +44 -46
  45. package/scss/numerictextbox/_variables.scss +1 -1
  46. package/scss/radio/_layout.scss +84 -142
  47. package/scss/radio/_theme.scss +4 -4
  48. package/scss/radio/_variables.scss +67 -82
  49. package/scss/scheduler/_layout.scss +25 -12
  50. package/scss/skeleton/_layout.scss +1 -1
  51. package/scss/slider/_layout.scss +69 -127
  52. package/scss/slider/_theme.scss +0 -6
  53. package/scss/spreadsheet/_layout.scss +6 -2
  54. package/scss/table/_layout.scss +1 -1
  55. package/scss/table/_variables.scss +8 -8
  56. package/scss/tabstrip/_layout.scss +5 -1
  57. package/scss/textarea/_layout.scss +3 -1
  58. package/scss/timeselector/_layout.scss +3 -2
  59. package/scss/toolbar/_layout.scss +5 -1
  60. package/scss/treelist/_layout.scss +4 -0
  61. package/scss/treeview/_layout.scss +21 -25
  62. package/scss/treeview/_theme.scss +1 -0
  63. package/scss/treeview/_variables.scss +44 -45
  64. package/scss/window/_layout.scss +12 -2
@@ -1,126 +1,124 @@
1
1
  // Radio button
2
2
 
3
- /// The Sizes of the radio button.
4
- /// @group radio
5
- $kendo-radio-sizes: (
6
- sm: map-get( $spacing, 3),
7
- md: map-get( $spacing, 4),
8
- lg: map-get( $spacing, 6)
9
- ) !default;
10
-
11
- /// The Border radius of the radio button.
3
+ /// Border radius of radio button.
12
4
  /// @group radio
13
5
  $kendo-radio-radius: 50% !default;
14
- /// The Border width of the radio button.
6
+ /// Border width of radio button.
15
7
  /// @group radio
16
8
  $kendo-radio-border-width: 1px !default;
17
- /// The Line height of the radio button.
18
- /// @group radio
19
- $kendo-radio-line-height: calc( #{map-get( $kendo-radio-sizes, "md" )} + #{$kendo-radio-border-width} ) !default;
20
9
 
21
- /// The Background of the radio button.
10
+ // Radio button sizes
11
+ $kendo-radio-sizes: (
12
+ sm: (
13
+ size: map-get( $spacing, 3 ),
14
+ glyph-size: ( map-get( $spacing, 3 ) - map-get( $spacing, thin ) ),
15
+ ripple-size: map-get( $spacing, 3 ) * 3
16
+ ),
17
+ md: (
18
+ size: map-get( $spacing, 4 ),
19
+ glyph-size: ( map-get( $spacing, 4 ) - map-get( $spacing, thin ) ),
20
+ ripple-size: map-get( $spacing, 4 ) * 3
21
+ ),
22
+ lg: (
23
+ size: map-get( $spacing, 5 ),
24
+ glyph-size: ( map-get( $spacing, 5 ) - map-get( $spacing, thin ) ),
25
+ ripple-size: map-get( $spacing, 5 ) * 3
26
+ )
27
+ ) !default;
28
+
29
+ /// Background color of radio button.
22
30
  /// @group radio
23
31
  $kendo-radio-bg: $kendo-checkbox-bg !default;
24
- /// The Text of the radio button.
32
+ /// Color of radio button.
25
33
  /// @group radio
26
34
  $kendo-radio-text: $kendo-checkbox-text !default;
27
- /// The Border of the radio button.
35
+ /// Border color of radio button.
28
36
  /// @group radio
29
37
  $kendo-radio-border: $kendo-checkbox-border !default;
30
38
 
31
- /// The background of hovered radio button.
39
+ /// Background color of hovered radio button.
32
40
  /// @group radio
33
41
  $kendo-radio-hover-bg: $kendo-checkbox-hover-bg !default;
34
- /// The text of hovered radio button.
42
+ /// Color of hovered radio button.
35
43
  /// @group radio
36
44
  $kendo-radio-hover-text: $kendo-checkbox-hover-text !default;
37
- /// The border of hovered radio button.
45
+ /// Border color of hovered radio button.
38
46
  /// @group radio
39
47
  $kendo-radio-hover-border: $kendo-checkbox-hover-border !default;
40
48
 
41
- /// The background of checked radio button.
49
+ /// Background color of checked radio button.
42
50
  /// @group radio
43
51
  $kendo-radio-checked-bg: $kendo-checkbox-checked-bg !default;
44
- /// The text of checked radio button.
52
+ /// Color of checked radio button.
45
53
  /// @group radio
46
54
  $kendo-radio-checked-text: $kendo-checkbox-checked-text !default;
47
- /// The border of checked radio button.
55
+ /// Border color of checked radio button.
48
56
  /// @group radio
49
57
  $kendo-radio-checked-border: $kendo-checkbox-checked-border !default;
50
58
 
51
- /// The background of indeterminate radio button.
59
+ /// Border color of focused radio button.
52
60
  /// @group radio
53
- $kendo-radio-indeterminate-bg: $kendo-radio-checked-bg !default;
54
- /// The text of indeterminate radio button
55
- /// @group radio
56
- $kendo-radio-indeterminate-text: $kendo-radio-checked-text !default;
57
- /// The border of indeterminate radio button.
58
- /// @group radio
59
- $kendo-radio-indeterminate-border: $kendo-radio-checked-border !default;
60
-
61
- /// The border of focused radio button.
62
- /// @group radio
63
- $kendo-radio-focus-border: $kendo-checkbox-hover-border !default;
64
- /// The shadow of focused radio button.
61
+ $kendo-radio-focus-border: $kendo-checkbox-focus-border !default;
62
+ /// Box shadow of focused radio button.
65
63
  /// @group radio
66
64
  $kendo-radio-focus-shadow: $kendo-checkbox-focus-shadow !default;
67
- /// The border of focused and checked radio button.
65
+ /// Border color of focused and checked radio button.
68
66
  /// @group radio
69
- $kendo-radio-focus-checked-border: $kendo-checkbox-checked-border !default;
70
- /// The shadow of focused and checked radio button.
67
+ $kendo-radio-focus-checked-border: $kendo-checkbox-focus-checked-border !default;
68
+ /// Box shadow of focused and checked radio button.
71
69
  /// @group radio
72
70
  $kendo-radio-focus-checked-shadow: $kendo-checkbox-focus-checked-shadow !default;
73
71
 
74
- /// The background of disabled radio button.
72
+ /// Background color of disabled radio button.
75
73
  /// @group radio
76
- $kendo-radio-disabled-bg: null !default;
77
- /// The text of disabled radio button.
74
+ $kendo-radio-disabled-bg: $kendo-checkbox-disabled-bg !default;
75
+ /// Color of disabled radio button.
78
76
  /// @group radio
79
- $kendo-radio-disabled-text: null !default;
80
- /// The border of disabled radio button.
77
+ $kendo-radio-disabled-text: $kendo-checkbox-disabled-text !default;
78
+ /// Border color of disabled radio button.
81
79
  /// @group radio
82
- $kendo-radio-disabled-border: null !default;
80
+ $kendo-radio-disabled-border: $kendo-checkbox-disabled-border !default;
83
81
 
84
- /// The background of diasbled and checked radio button.
82
+ /// Background color of disabled and checked radio button.
85
83
  /// @group radio
86
- $kendo-radio-disabled-checked-bg: null !default;
87
- /// The text of disabled and checked radio button.
84
+ $kendo-radio-disabled-checked-bg: $kendo-checkbox-disabled-checked-bg !default;
85
+ /// Color of disabled and checked radio button.
88
86
  /// @group radio
89
- $kendo-radio-disabled-checked-text: null !default;
90
- /// The border of disabled and checked radio button.
87
+ $kendo-radio-disabled-checked-text: $kendo-checkbox-disabled-checked-text !default;
88
+ /// Border color of disabled and checked radio button.
91
89
  /// @group radio
92
- $kendo-radio-disabled-checked-border: null !default;
90
+ $kendo-radio-disabled-checked-border: $kendo-checkbox-disabled-checked-border !default;
93
91
 
94
- /// The background of invalid radio button.
92
+ /// Background color of invalid radio button.
95
93
  /// @group radio
96
- $kendo-radio-invalid-bg: null !default;
97
- /// The text of invalid radio button.
94
+ $kendo-radio-invalid-bg: $kendo-checkbox-invalid-bg !default;
95
+ /// Color of invalid radio button.
98
96
  /// @group radio
99
- $kendo-radio-invalid-text: $invalid-text !default;
100
- /// The border of invalid radio button.
97
+ $kendo-radio-invalid-text: $kendo-checkbox-invalid-text !default;
98
+ /// Border color of invalid radio button.
101
99
  /// @group radio
102
- $kendo-radio-invalid-border: $invalid-border !default;
100
+ $kendo-radio-invalid-border: $kendo-checkbox-invalid-border !default;
103
101
 
104
102
 
105
103
  // Radio indicator
106
104
 
107
- /// The icon type of radio button.
105
+ /// Type of radio button indicator.
108
106
  /// @group radio
109
- $kendo-radio-icon-type: marker !default;
107
+ $kendo-radio-indicator-type: image !default;
110
108
 
111
- /// The glyph font family of radio button.
109
+ /// Glyph font family of radio button indicator.
112
110
  /// @group radio
113
111
  $kendo-radio-glyph-font-family: "WebComponentsIcons", monospace !default;
114
- /// The glyph size of radio button.
115
- /// @group radio
116
- $kendo-radio-glyph-size: 12px !default;
117
- /// The checked glyph of radio button.
112
+ /// Glyph of radio button indicator.
118
113
  /// @group radio
119
114
  $kendo-radio-checked-glyph: "\e308" !default;
120
115
 
121
- /// The checked image of radio button.
116
+ /// Image of checked radio button indicator.
122
117
  /// @group radio
123
- $kendo-radio-checked-image: null !default;
118
+ $kendo-radio-checked-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><circle cx='50%' cy='50%' r='4' fill='#{$kendo-radio-checked-text}'/></svg>") ) !default;
119
+ /// Image of disabled and checked radio button indicator.
120
+ /// @group radio
121
+ $kendo-radio-disabled-checked-image: null !default;
124
122
 
125
123
 
126
124
  // Radio label
@@ -145,22 +143,9 @@ $kendo-radio-list-item-padding-y: $kendo-list-item-padding-y-md !default;
145
143
 
146
144
  // Radio ripple
147
145
 
148
- /// The ripple size of radio.
146
+ /// Background color of radio button ripple.
149
147
  /// @group radio
150
- $kendo-radio-ripple-size: (
151
- sm: (map-get( $kendo-radio-sizes, "sm" ) * 3),
152
- md: (map-get( $kendo-radio-sizes, "md" ) * 3),
153
- lg: (map-get( $kendo-radio-sizes, "lg" ) * 3)
154
- ) !default;
155
- /// The ripple margin of radio button.
148
+ $kendo-radio-ripple-bg: $kendo-radio-checked-bg !default;
149
+ /// Opacity of radio button ripple.
156
150
  /// @group radio
157
- $kendo-radio-ripple-margin: (
158
- sm: calc(-1 * (#{map-get( $kendo-radio-sizes, "sm" )} + 2 * #{$kendo-radio-border-width})),
159
- md: calc(-1 * (#{map-get( $kendo-radio-sizes, "md" )} + 2 * #{$kendo-radio-border-width})),
160
- lg: calc(-1 * (#{map-get( $kendo-radio-sizes, "lg" )} + 2 * #{$kendo-radio-border-width}))
161
- ) !default;
162
- /// The ripple opacity of radio button.
163
- /// @group radio
164
- $kendo-radio-ripple-opacity: .3 !default;
165
-
166
-
151
+ $kendo-radio-ripple-opacity: .25 !default;
@@ -667,7 +667,7 @@
667
667
  // TODO: add this class to jQuery rendering
668
668
  // after refactoring jQuery scheduler layout to be flex
669
669
  .k-recurrence-editor {
670
- display: inline-flex;
670
+ display: flex;
671
671
  flex-direction: column;
672
672
  }
673
673
  kendo-scheduler .k-recurrence-editor {
@@ -919,27 +919,40 @@
919
919
 
920
920
  .k-scheduler-edit-form {
921
921
 
922
- .k-edit-form-container { width: 620px; }
922
+ .k-edit-form-container { width: 100%; }
923
923
  .k-edit-label { width: 17%; }
924
924
  .k-edit-field { width: 77%; }
925
925
 
926
- .k-scheduler-delete {
927
- float: left;
926
+ .k-edit-field > ul > li {
927
+ display: flex;
928
+ flex-flow: row nowrap;
929
+ align-items: center;
930
+ }
931
+ .k-recurrence-editor {
932
+ .k-radio-list .k-radio-wrap,
933
+ .k-checkbox-list .k-checkbox-wrap {
934
+ align-self: center;
935
+ }
928
936
  }
929
937
 
930
-
931
- .k-widget.k-recur-interval,
932
- .k-widget.k-recur-count,
933
- .k-widget.k-recur-monthday {
938
+ .k-recur-interval,
939
+ .k-recur-count,
940
+ .k-recur-monthday {
934
941
  width: 5em;
935
942
  }
936
- .k-widget.k-recur-until,
937
- .k-widget.k-recur-month,
938
- .k-widget.k-recur-weekday,
939
- .k-widget.k-recur-weekday-offset {
943
+ .k-recur-until,
944
+ .k-recur-month,
945
+ .k-recur-weekday,
946
+ .k-recur-weekday-offset {
940
947
  width: 10em;
941
948
  }
942
949
 
950
+ .k-scheduler-datetime-picker {
951
+ display: flex;
952
+ flex-flow: row nowrap;
953
+ gap: map-get( $spacing, 2 );
954
+ }
955
+
943
956
  }
944
957
 
945
958
  }
@@ -9,7 +9,7 @@
9
9
  transform: $skeleton-text-transform;
10
10
 
11
11
  &:empty::before {
12
- content: "\00a0";
12
+ content: "\200b";
13
13
  }
14
14
  }
15
15
 
@@ -10,23 +10,11 @@
10
10
  line-height: $slider-line-height;
11
11
  background: none;
12
12
  display: inline-flex;
13
- align-items: stretch;
13
+ align-items: center;
14
14
  position: relative;
15
15
  -webkit-touch-callout: none;
16
16
  -webkit-tap-highlight-color: $rgba-transparent;
17
17
 
18
- .k-button-increase {
19
- position: absolute;
20
- right: 0;
21
- top: 0;
22
- }
23
-
24
- .k-button-decrease {
25
- position: absolute;
26
- left: 0;
27
- top: 0;
28
- }
29
-
30
18
  .k-label {
31
19
  width: auto;
32
20
  font-size: .92em;
@@ -66,30 +54,33 @@
66
54
  left: auto;
67
55
  right: 0;
68
56
  }
57
+ }
58
+ }
69
59
 
70
- .k-button-increase {
71
- left: 0;
72
- right: auto;
73
- }
74
60
 
75
- .k-button-decrease {
76
- right: 0;
77
- left: auto;
78
- }
79
- }
61
+ // Slider wrap
62
+ .k-slider-wrap {
63
+ width: 100%;
64
+ height: 100%;
65
+ box-sizing: border-box;
66
+ display: flex;
67
+ flex-flow: inherit;
68
+ align-items: inherit;
69
+ gap: inherit;
70
+ position: relative;
80
71
  }
81
72
 
82
73
 
83
74
  // New rendering
84
75
  .k-slider {
76
+ width: min-content;
77
+ height: min-content;
85
78
  gap: calc( #{$slider-draghandle-size} / 2 );
86
79
 
87
- > .k-button {
88
- position: relative;
89
- flex-shrink: 0;
90
- align-self: center;
80
+ .k-button {
81
+ flex: none;
91
82
  }
92
- > .k-slider-track-wrap {
83
+ .k-slider-track-wrap {
93
84
  flex: 1 1 auto;
94
85
  display: flex;
95
86
  flex-flow: inherit;
@@ -97,6 +88,9 @@
97
88
  touch-action: none;
98
89
 
99
90
  .k-slider-items {
91
+ margin: 0;
92
+ padding: 0;
93
+ list-style: none;
100
94
  // For some reason, Safari does not understand `flex-basis: 100%`
101
95
  // See telerik/kendo-themes#2197
102
96
  // flex-basis: 100%;
@@ -104,8 +98,7 @@
104
98
  display: flex;
105
99
  flex-flow: inherit;
106
100
  justify-content: space-between;
107
-
108
- &::after { display: none; }
101
+ user-select: none;
109
102
  }
110
103
  .k-tick {
111
104
  flex: 0 0 1px;
@@ -117,7 +110,8 @@
117
110
  }
118
111
 
119
112
  &-horizontal {
120
- > .k-slider-track-wrap {
113
+ .k-slider-track-wrap {
114
+ height: 26px;
121
115
 
122
116
  .k-slider-track {
123
117
  width: 100%;
@@ -169,7 +163,8 @@
169
163
  }
170
164
 
171
165
  &-vertical {
172
- > .k-slider-track-wrap {
166
+ .k-slider-track-wrap {
167
+ width: 26px;
173
168
 
174
169
  .k-slider-track {
175
170
  height: 100%;
@@ -202,14 +197,8 @@
202
197
  // Slider vertical
203
198
  .k-slider-vertical {
204
199
  height: $slider-size;
205
- width: $slider-alt-size;
206
200
  flex-flow: column-reverse nowrap;
207
201
 
208
- .k-button-decrease {
209
- bottom: 0;
210
- top: auto;
211
- }
212
-
213
202
  .k-tick {
214
203
  text-align: right;
215
204
  margin-left: 2px;
@@ -221,32 +210,32 @@
221
210
 
222
211
  // ticks
223
212
 
224
- .k-tick { background-position: -92px center; }
225
- .k-slider-topleft .k-tick { background-position: -122px center; }
226
- .k-slider-bottomright .k-tick { background-position: -152px center; }
213
+ .k-tick { background-position: -94px center; }
214
+ .k-slider-topleft .k-tick { background-position: -124px center; }
215
+ .k-slider-bottomright .k-tick { background-position: -154px center; }
227
216
 
228
217
  .k-tick-large {
229
218
  display: flex;
230
219
  align-items: center;
231
- background-position: -2px center;
220
+ background-position: -4px center;
232
221
  }
233
222
 
234
- .k-slider-topleft .k-tick-large { background-position: -32px center; }
235
- .k-slider-bottomright .k-tick-large { background-position: -62px center; }
223
+ .k-slider-topleft .k-tick-large { background-position: -34px center; }
224
+ .k-slider-bottomright .k-tick-large { background-position: -64px center; }
236
225
 
237
- .k-first { background-position: -92px 100%; }
238
- .k-tick-large.k-first { background-position: -2px 100%; }
239
- .k-slider-topleft .k-first { background-position: -122px 100%; }
240
- .k-slider-topleft .k-tick-large.k-first { background-position: -32px 100%; }
241
- .k-slider-bottomright .k-first { background-position: -152px 100%; }
242
- .k-slider-bottomright .k-tick-large.k-first { background-position: -62px 100%; }
226
+ .k-first { background-position: -94px 100%; }
227
+ .k-tick-large.k-first { background-position: -4px 100%; }
228
+ .k-slider-topleft .k-first { background-position: -124px 100%; }
229
+ .k-slider-topleft .k-tick-large.k-first { background-position: -34px 100%; }
230
+ .k-slider-bottomright .k-first { background-position: -154px 100%; }
231
+ .k-slider-bottomright .k-tick-large.k-first { background-position: -64px 100%; }
243
232
 
244
- .k-last { background-position: -92px 0; }
245
- .k-tick-large.k-last { background-position: -2px 0; }
246
- .k-slider-topleft .k-last { background-position: -122px 0; }
247
- .k-slider-topleft .k-tick-large.k-last { background-position: -32px 0; }
248
- .k-slider-bottomright .k-last { background-position: -152px 0; }
249
- .k-slider-bottomright .k-tick-large.k-last { background-position: -62px 0; }
233
+ .k-last { background-position: -94px 0; }
234
+ .k-tick-large.k-last { background-position: -4px 0; }
235
+ .k-slider-topleft .k-last { background-position: -124px 0; }
236
+ .k-slider-topleft .k-tick-large.k-last { background-position: -34px 0; }
237
+ .k-slider-bottomright .k-last { background-position: -154px 0; }
238
+ .k-slider-bottomright .k-tick-large.k-last { background-position: -64px 0; }
250
239
 
251
240
  // labels
252
241
 
@@ -284,17 +273,9 @@
284
273
 
285
274
  // Slider horizontal
286
275
  .k-slider-horizontal {
287
- height: $slider-alt-size;
288
276
  width: $slider-size;
289
277
  flex-flow: row nowrap;
290
278
 
291
- // ticks
292
- .k-tick {
293
- float: left;
294
- height: 100%;
295
- text-align: center;
296
- }
297
-
298
279
  .k-tick { background-position: center -92px; }
299
280
  .k-slider-topleft .k-tick { background-position: center -122px; }
300
281
  .k-slider-bottomright .k-tick { background-position: center -152px; }
@@ -340,9 +321,6 @@
340
321
  right: 0;
341
322
  left: auto;
342
323
  }
343
- .k-slider-buttons .k-slider-track {
344
- right: $slider-button-spacing;
345
- }
346
324
 
347
325
  .k-button .k-i-arrow-e,
348
326
  .k-button .k-i-arrow-w {
@@ -351,11 +329,6 @@
351
329
  }
352
330
  }
353
331
 
354
- .k-slider-wrap {
355
- height: 100%;
356
- width: 100%;
357
- }
358
-
359
332
  .k-slider-track,
360
333
  .k-slider-selection {
361
334
  margin: 0;
@@ -377,16 +350,6 @@
377
350
  }
378
351
  }
379
352
 
380
- .k-slider-buttons .k-slider-track {
381
- .k-slider-horizontal & {
382
- left: $slider-button-spacing;
383
- }
384
-
385
- .k-slider-vertical & {
386
- bottom: $slider-button-spacing;
387
- }
388
- }
389
-
390
353
 
391
354
  .k-draghandle {
392
355
  background-color: transparent;
@@ -397,30 +360,10 @@
397
360
  position: absolute;
398
361
  text-align: center;
399
362
  text-decoration: none;
400
- box-sizing: content-box;
363
+ box-sizing: border-box;
401
364
  width: $slider-draghandle-size;
402
365
  height: $slider-draghandle-size;
403
366
 
404
- .k-slider-horizontal & {
405
- top: 50%;
406
- transform: translateY(-50%);
407
-
408
- &:active,
409
- &.k-pressed {
410
- transform: translateY(-50%) scale($slider-draghandle-active-scale);
411
- }
412
- }
413
-
414
- .k-slider-vertical & {
415
- left: 50%;
416
- transform: translateX(-50%);
417
-
418
- &:active,
419
- &.k-pressed {
420
- transform: translateX(-50%) scale($slider-draghandle-active-scale);
421
- }
422
- }
423
-
424
367
  .k-slider-transitions.k-slider-horizontal & {
425
368
  transition: left $slider-transition-speed $slider-transition-function, background-color $slider-transition-speed $slider-transition-function, transform $slider-draghandle-transition-speed $slider-draghandle-transition-function;
426
369
  }
@@ -449,34 +392,18 @@
449
392
  }
450
393
 
451
394
 
452
- .k-slider-items {
453
- user-select: none;
454
-
455
- .k-slider-buttons & {
456
- margin-left: $slider-button-spacing;
457
- }
458
-
459
- .k-slider-horizontal & {
460
- height: 100%;
461
- padding: 2px 0;
462
- box-sizing: border-box;
463
- }
464
-
465
- .k-slider-vertical & {
466
- padding-top: 1px;
467
- }
468
-
469
- .k-slider-vertical .k-slider-buttons & {
470
- margin: 0;
471
- padding-top: $slider-button-spacing;
395
+ // Slider readonly
396
+ .k-slider.k-readonly {
397
+ .k-button,
398
+ .k-slider-track,
399
+ .k-tick,
400
+ .k-draghandle {
401
+ pointer-events: none;
472
402
  }
473
403
  }
474
- .k-slider-items::after {
475
- content: "";
476
- display: block;
477
- clear: both;
478
- }
479
404
 
405
+
406
+ // Slider tooltip
480
407
  .k-slider-tooltip {
481
408
  .k-callout-n,
482
409
  .k-callout-s {
@@ -488,4 +415,19 @@
488
415
  margin-top: -$tooltip-callout-size / 2;
489
416
  }
490
417
  }
418
+
419
+
420
+ // Angular specific
421
+ .k-slider kendo-resize-sensor {
422
+ position: absolute;
423
+ }
424
+ .k-slider-horizontal .k-slider-wrap:not(.k-slider-buttons) {
425
+ padding-left: calc( #{$slider-draghandle-size} / 2 );
426
+ padding-right: calc( #{$slider-draghandle-size} / 2 );
427
+ }
428
+ .k-slider-vertical .k-slider-wrap:not(.k-slider-buttons) {
429
+ padding-top: calc( #{$slider-draghandle-size} / 2 );
430
+ padding-bottom: calc( #{$slider-draghandle-size} / 2 );
431
+ }
432
+
491
433
  }
@@ -61,12 +61,6 @@
61
61
  &.k-state-disabled {
62
62
  opacity: $slider-disabled-opacity;
63
63
  }
64
-
65
- .k-slider-wrap {
66
- &:focus {
67
- outline: none;
68
- }
69
- }
70
64
  }
71
65
 
72
66
  .k-slider-horizontal .k-tick {
@@ -63,6 +63,7 @@
63
63
  margin: 0;
64
64
  }
65
65
  .k-spreadsheet-tabstrip .k-loading {
66
+ // TODO: better name
66
67
  display: none;
67
68
  }
68
69
  .k-spreadsheet-tabstrip .k-content,
@@ -91,9 +92,12 @@
91
92
  }
92
93
 
93
94
  .k-input,
94
- .k-picker:not(.k-colorpicker) {
95
+ .k-picker {
95
96
  width: 5em;
96
97
  }
98
+ .k-color-picker {
99
+ width: min-content;
100
+ }
97
101
  }
98
102
 
99
103
 
@@ -626,7 +630,7 @@
626
630
  }
627
631
  .k-details-summary,
628
632
  .k-columnmenu-item {
629
- padding: $kendo-menu-popup-item-padding-y-md $kendo-menu-popup-item-padding-x-md;
633
+ padding: $kendo-menu-popup-item-padding-y $kendo-menu-popup-item-padding-x;
630
634
  display: flex;
631
635
  align-items: center;
632
636
  cursor: pointer;
@@ -131,7 +131,7 @@
131
131
  .k-table-group-row {
132
132
 
133
133
  &::before {
134
- content: ".";
134
+ content: "\200b";
135
135
  padding: $kendo-table-cell-padding-y 0;
136
136
  width: 0;
137
137
  display: block;