@progress/kendo-theme-classic 4.43.1-dev.5 → 4.44.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 (84) hide show
  1. package/dist/all.css +2225 -1287
  2. package/dist/all.scss +1827 -1434
  3. package/modules/@progress/kendo-theme-default/package.json +2 -2
  4. package/modules/@progress/kendo-theme-default/scss/action-buttons/_layout.scss +7 -0
  5. package/modules/@progress/kendo-theme-default/scss/action-sheet/_layout.scss +6 -0
  6. package/modules/@progress/kendo-theme-default/scss/appbar/_layout.scss +6 -1
  7. package/modules/@progress/kendo-theme-default/scss/autocomplete/_layout.scss +6 -0
  8. package/modules/@progress/kendo-theme-default/scss/avatar/_layout.scss +6 -0
  9. package/modules/@progress/kendo-theme-default/scss/badge/_layout.scss +6 -0
  10. package/modules/@progress/kendo-theme-default/scss/bottom-navigation/_layout.scss +6 -0
  11. package/modules/@progress/kendo-theme-default/scss/breadcrumb/_layout.scss +6 -0
  12. package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +80 -92
  13. package/modules/@progress/kendo-theme-default/scss/button/_theme.scss +177 -112
  14. package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +80 -14
  15. package/modules/@progress/kendo-theme-default/scss/captcha/_layout.scss +6 -0
  16. package/modules/@progress/kendo-theme-default/scss/card/_layout.scss +6 -0
  17. package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +9 -2
  18. package/modules/@progress/kendo-theme-default/scss/chip/_layout.scss +6 -0
  19. package/modules/@progress/kendo-theme-default/scss/color-preview/_layout.scss +6 -0
  20. package/modules/@progress/kendo-theme-default/scss/coloreditor/_layout.scss +6 -0
  21. package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +6 -4
  22. package/modules/@progress/kendo-theme-default/scss/colorpalette/_layout.scss +6 -0
  23. package/modules/@progress/kendo-theme-default/scss/colorpicker/_layout.scss +6 -3
  24. package/modules/@progress/kendo-theme-default/scss/combobox/_layout.scss +6 -1
  25. package/modules/@progress/kendo-theme-default/scss/common/_loading.scss +15 -13
  26. package/modules/@progress/kendo-theme-default/scss/dateinput/_layout.scss +7 -1
  27. package/modules/@progress/kendo-theme-default/scss/datepicker/_layout.scss +6 -0
  28. package/modules/@progress/kendo-theme-default/scss/daterangepicker/_layout.scss +6 -0
  29. package/modules/@progress/kendo-theme-default/scss/datetimepicker/_layout.scss +6 -2
  30. package/modules/@progress/kendo-theme-default/scss/drawer/_layout.scss +6 -0
  31. package/modules/@progress/kendo-theme-default/scss/dropdownlist/_layout.scss +6 -1
  32. package/modules/@progress/kendo-theme-default/scss/expansion-panel/_layout.scss +6 -1
  33. package/modules/@progress/kendo-theme-default/scss/fab/_layout.scss +6 -0
  34. package/modules/@progress/kendo-theme-default/scss/filter/_layout.scss +8 -0
  35. package/modules/@progress/kendo-theme-default/scss/floating-label/_layout.scss +7 -0
  36. package/modules/@progress/kendo-theme-default/scss/grid/_layout.scss +4 -3
  37. package/modules/@progress/kendo-theme-default/scss/grid/_theme.scss +2 -8
  38. package/modules/@progress/kendo-theme-default/scss/imageeditor/_layout.scss +6 -0
  39. package/modules/@progress/kendo-theme-default/scss/list/_layout.scss +10 -28
  40. package/modules/@progress/kendo-theme-default/scss/list/_theme.scss +4 -4
  41. package/modules/@progress/kendo-theme-default/scss/listbox/_layout.scss +9 -0
  42. package/modules/@progress/kendo-theme-default/scss/map/_layout.scss +7 -0
  43. package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_layout.scss +6 -0
  44. package/modules/@progress/kendo-theme-default/scss/mediaplayer/_layout.scss +14 -1
  45. package/modules/@progress/kendo-theme-default/scss/multiselect/_layout.scss +8 -2
  46. package/modules/@progress/kendo-theme-default/scss/notification/_layout.scss +6 -0
  47. package/modules/@progress/kendo-theme-default/scss/numerictextbox/_layout.scss +6 -2
  48. package/modules/@progress/kendo-theme-default/scss/orgchart/_layout.scss +6 -0
  49. package/modules/@progress/kendo-theme-default/scss/pager/_layout.scss +6 -2
  50. package/modules/@progress/kendo-theme-default/scss/panelbar/_layout.scss +6 -0
  51. package/modules/@progress/kendo-theme-default/scss/pivotgrid/_layout.scss +55 -83
  52. package/modules/@progress/kendo-theme-default/scss/pivotgrid/_theme.scss +39 -73
  53. package/modules/@progress/kendo-theme-default/scss/popover/_layout.scss +6 -0
  54. package/modules/@progress/kendo-theme-default/scss/progressbar/_layout.scss +6 -0
  55. package/modules/@progress/kendo-theme-default/scss/rating/_layout.scss +6 -1
  56. package/modules/@progress/kendo-theme-default/scss/scheduler/_layout.scss +6 -0
  57. package/modules/@progress/kendo-theme-default/scss/searchbox/_layout.scss +6 -0
  58. package/modules/@progress/kendo-theme-default/scss/slider/_layout.scss +71 -144
  59. package/modules/@progress/kendo-theme-default/scss/slider/_theme.scss +0 -6
  60. package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +1 -0
  61. package/modules/@progress/kendo-theme-default/scss/stepper/_layout.scss +6 -1
  62. package/modules/@progress/kendo-theme-default/scss/switch/_layout.scss +14 -9
  63. package/modules/@progress/kendo-theme-default/scss/switch/_variables.scss +127 -33
  64. package/modules/@progress/kendo-theme-default/scss/tabstrip/_layout.scss +26 -4
  65. package/modules/@progress/kendo-theme-default/scss/taskboard/_layout.scss +6 -2
  66. package/modules/@progress/kendo-theme-default/scss/textarea/_layout.scss +6 -0
  67. package/modules/@progress/kendo-theme-default/scss/textbox/_layout.scss +6 -0
  68. package/modules/@progress/kendo-theme-default/scss/timeline/_layout.scss +8 -4
  69. package/modules/@progress/kendo-theme-default/scss/timepicker/_layout.scss +6 -1
  70. package/modules/@progress/kendo-theme-default/scss/timeselector/_layout.scss +1 -0
  71. package/modules/@progress/kendo-theme-default/scss/toolbar/_index.scss +1 -0
  72. package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +1 -0
  73. package/modules/@progress/kendo-theme-default/scss/tooltip/_layout.scss +6 -1
  74. package/modules/@progress/kendo-theme-default/scss/treelist/_layout.scss +4 -0
  75. package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +17 -18
  76. package/modules/@progress/kendo-theme-default/scss/upload/_layout.scss +6 -1
  77. package/modules/@progress/kendo-theme-default/scss/window/_layout.scss +2 -2
  78. package/modules/@progress/kendo-theme-default/scss/wizard/_layout.scss +4 -0
  79. package/package.json +3 -3
  80. package/scss/button/_variables.scss +84 -18
  81. package/scss/checkbox/_variables.scss +1 -1
  82. package/scss/switch/_variables.scss +142 -48
  83. package/scss/toolbar/_index.scss +1 -0
  84. package/scss/treeview/_variables.scss +1 -1
@@ -1,8 +1,7 @@
1
1
  @include exports( "button/theme" ) {
2
2
 
3
- // Default button
4
- .k-button,
5
- .k-button-secondary {
3
+ // Solid button
4
+ .k-button {
6
5
  @include fill(
7
6
  $button-text,
8
7
  $button-bg,
@@ -66,75 +65,70 @@
66
65
  }
67
66
 
68
67
  }
68
+ .k-button.k-primary {
69
+ @extend .k-button-solid-primary !optional;
70
+ }
69
71
 
72
+ $_shade-fn: get-function( $solid-button-shade-function );
70
73
 
71
- // Primary button
72
- .k-button-primary {
73
- @include fill(
74
- $primary-button-text,
75
- $primary-button-bg,
76
- $primary-button-border,
77
- $primary-button-gradient
78
- );
79
- @include box-shadow( $primary-button-shadow );
74
+ @each $name, $color in $button-theme-colors {
75
+ $_button-text: contrast-wcag( $color );
76
+ $_button-bg: if( $solid-button-shade-bg-amount, call( $_shade-fn, $color, $solid-button-shade-bg-amount ), null );
77
+ $_button-border: if( $solid-button-shade-border-amount, call( $_shade-fn, $color, $solid-button-shade-border-amount ), null );
80
78
 
81
- // Hovoer state
82
- &:hover,
83
- &.k-state-hover {
84
- @include fill(
85
- $primary-button-hovered-text,
86
- $primary-button-hovered-bg,
87
- $primary-button-hovered-border,
88
- $primary-button-hovered-gradient
89
- );
90
- @include box-shadow( $primary-button-hovered-shadow );
91
- }
79
+ $_button-hover-text: null;
80
+ $_button-hover-bg: if( $solid-button-hover-shade-bg-amount, call( $_shade-fn, $color, $solid-button-hover-shade-bg-amount ), null );
81
+ $_button-hover-border: if( $solid-button-hover-shade-border-amount, call( $_shade-fn, $color, $solid-button-hover-shade-border-amount ), null );
92
82
 
93
- // Focused state
94
- &:focus,
95
- &.k-state-focus,
96
- &.k-state-focused {
97
- @include box-shadow( $primary-button-focused-shadow );
98
- }
83
+ $_button-active-text: null;
84
+ $_button-active-bg: if( $solid-button-active-shade-bg-amount, call( $_shade-fn, $color, $solid-button-active-shade-bg-amount ), null );
85
+ $_button-active-border: if( $solid-button-active-shade-border-amount, call( $_shade-fn, $color, $solid-button-active-shade-border-amount ), null );
99
86
 
100
- // Active state
101
- &:active,
102
- &.k-state-active {
87
+ .k-button-solid.k-button-solid-#{$name} {
103
88
  @include fill(
104
- $primary-button-active-text,
105
- $primary-button-active-bg,
106
- $primary-button-active-border,
107
- $primary-button-active-gradient
89
+ $_button-text,
90
+ $_button-bg,
91
+ $_button-border,
92
+ $solid-button-gradient
108
93
  );
109
- @include box-shadow( $primary-button-active-shadow );
110
- }
111
94
 
112
- // Selected state
113
- &.k-state-selected {
114
- @include fill(
115
- $primary-button-selected-text,
116
- $primary-button-selected-bg,
117
- $primary-button-selected-border,
118
- $primary-button-selected-gradient
119
- );
120
- @include box-shadow( $primary-button-selected-shadow );
121
- }
95
+ // Hover state
96
+ &:hover,
97
+ &.k-state-hover {
98
+ @include fill(
99
+ $_button-hover-text,
100
+ $_button-hover-bg,
101
+ $_button-hover-border
102
+ );
103
+ }
122
104
 
123
- // Disabled state
124
- &:disabled,
125
- &.k-state-disabled {
126
- @include fill(
127
- $button-disabled-text,
128
- $button-disabled-bg,
129
- $button-disabled-border,
130
- $button-disabled-gradient
131
- );
132
- @include box-shadow( $button-disabled-shadow );
133
- }
105
+ // Focus state
106
+ &:focus,
107
+ &.k-state-focus {
108
+ @if ( $solid-button-shadow ) {
109
+ box-shadow: 0 0 $solid-button-shadow-blur $solid-button-shadow-spread rgba( $_button-border, $solid-button-shadow-opacity );
110
+ }
111
+ }
134
112
 
135
- }
136
- .k-button.k-primary {
137
- @extend .k-button-primary;
113
+ // Active state
114
+ &:active,
115
+ &.k-state-active {
116
+ @include fill(
117
+ $_button-active-text,
118
+ $_button-active-bg,
119
+ $_button-active-border
120
+ );
121
+ }
122
+
123
+ // Selected
124
+ &.k-state-selected {
125
+ @include fill(
126
+ $_button-active-text,
127
+ $_button-active-bg,
128
+ $_button-active-border
129
+ );
130
+ }
131
+ }
138
132
  }
139
133
 
140
134
 
@@ -143,18 +137,7 @@
143
137
 
144
138
 
145
139
  // Button group
146
- .k-button-group {
147
-
148
- .k-button:focus,
149
- .k-button.k-state-focus,
150
- .k-button.k-state-focused,
151
- .k-button-outline:focus,
152
- .k-button-outline.k-state-focus,
153
- .k-button-outline.k-state-focused {
154
- @include box-shadow( $button-group-focus-shadow );
155
- }
156
-
157
- }
140
+ .k-button-group {}
158
141
 
159
142
 
160
143
  // Split button
@@ -176,62 +159,96 @@
176
159
  @include box-shadow( none );
177
160
  border-color: currentColor;
178
161
  color: $button-text;
179
- background: none;
162
+ background-color: transparent;
180
163
 
181
164
  // Hover state
182
165
  &:hover,
183
166
  &.k-state-hover {
184
- @include fill( contrast-wcag( $button-text ), $button-text, $button-text, none );
167
+ @include fill(
168
+ contrast-wcag( $button-text ),
169
+ $button-text,
170
+ $button-text
171
+ );
185
172
  }
186
173
 
187
174
  // Focused state
188
175
  &:focus,
189
176
  &.k-state-focus,
190
177
  &.k-state-focused {
191
- box-shadow: $button-focused-shadow;
178
+ @if ($outline-button-shadow) {
179
+ box-shadow: 0 0 $outline-button-shadow-blur $outline-button-shadow-spread rgba( $button-text, $outline-button-shadow-opacity );
180
+ }
192
181
  }
193
182
 
194
183
  // Active state
195
184
  &:active,
196
185
  &.k-state-active {
197
- @include fill( contrast-wcag( $button-text ), $button-text, $button-text, none );
186
+ @include fill(
187
+ contrast-wcag( $button-text ),
188
+ $button-text,
189
+ $button-text
190
+ );
198
191
  }
199
192
 
200
193
  // Selected state
201
194
  &.k-state-selected {
202
- @include fill( contrast-wcag( $button-text ), $button-text, $button-text, none );
195
+ @include fill(
196
+ contrast-wcag( $button-text ),
197
+ $button-text,
198
+ $button-text
199
+ );
203
200
  }
204
201
  }
205
202
  .k-button-outline.k-primary {
206
- border-color: currentColor;
207
- color: $primary-button-bg;
208
- background: none;
209
- box-shadow: none;
203
+ @extend .k-button-outline-primary !optional;
204
+ }
210
205
 
211
- // Hover state
212
- &:hover,
213
- &.k-state-hover {
214
- @include fill( contrast-wcag( $primary-button-bg ), $primary-button-bg, $primary-button-bg, none );
215
- }
206
+ @each $name, $color in $button-theme-colors {
207
+ .k-button-outline.k-button-outline-#{$name} {
208
+ @include box-shadow( none );
209
+ border-color: currentColor;
210
+ color: $color;
211
+ background-color: transparent;
212
+
213
+ // Hover state
214
+ &:hover,
215
+ &.k-state-hover {
216
+ @include fill(
217
+ contrast-wcag( $color ),
218
+ $color,
219
+ $color
220
+ );
221
+ }
216
222
 
217
- // Focused state
218
- &:focus,
219
- &.k-state-focus,
220
- &.k-state-focused {
221
- box-shadow: $primary-button-focused-shadow;
222
- }
223
+ // Focused state
224
+ &:focus,
225
+ &.k-state-focus,
226
+ &.k-state-focused {
227
+ @if ($outline-button-shadow) {
228
+ box-shadow: 0 0 $outline-button-shadow-blur $outline-button-shadow-spread rgba( $color, $outline-button-shadow-opacity );
229
+ }
230
+ }
223
231
 
224
- // Actove state
225
- &:active,
226
- &.k-state-active {
227
- @include fill( contrast-wcag( $primary-button-bg ), $primary-button-bg, $primary-button-bg, none );
228
- box-shadow: none;
229
- }
232
+ // Active state
233
+ &:active,
234
+ &.k-state-active {
235
+ @include fill(
236
+ contrast-wcag( $color ),
237
+ $color,
238
+ $color
239
+ );
240
+ box-shadow: none;
241
+ }
230
242
 
231
- // Selected state
232
- &.k-state-selected {
233
- @include fill( contrast-wcag( $primary-button-bg ), $primary-button-bg, $primary-button-bg, none );
234
- box-shadow: none;
243
+ // Selected state
244
+ &.k-state-selected {
245
+ @include fill(
246
+ contrast-wcag( $color ),
247
+ $color,
248
+ $color
249
+ );
250
+ box-shadow: none;
251
+ }
235
252
  }
236
253
  }
237
254
 
@@ -254,17 +271,65 @@
254
271
  &.k-state-focus {
255
272
  color: inherit;
256
273
  }
274
+
275
+ // Disabled state
276
+ &:disabled,
277
+ &.k-state-disabled {
278
+ color: $button-disabled-text;
279
+ }
257
280
  }
258
281
  .k-button-flat.k-primary {
282
+ @extend .k-button-flat-primary !optional;
283
+ }
259
284
 
260
- &,
261
- &:hover,
262
- &.k-state-hover,
263
- &:active,
264
- &.k-state-active,
265
- &:focus,
266
- &.k-state-focus {
267
- color: $primary;
285
+ @each $name, $color in $button-theme-colors {
286
+ .k-button-flat.k-button-flat-#{$name} {
287
+
288
+ &,
289
+ &:hover,
290
+ &.k-state-hover,
291
+ &:active,
292
+ &.k-state-active,
293
+ &:focus,
294
+ &.k-state-focus {
295
+ color: $color;
296
+ }
297
+
298
+ // Disabled state
299
+ &:disabled,
300
+ &.k-state-disabled {
301
+ color: $button-disabled-text;
302
+ }
303
+ }
304
+ }
305
+
306
+ }
307
+
308
+
309
+
310
+
311
+ @include exports( "link-button/theme" ) {
312
+
313
+ @each $name, $color in map-merge( $button-theme-colors, ( "base": $base-text ) ) {
314
+ .k-button-link.k-button-link-#{$name} {
315
+ @include box-shadow( none );
316
+ color: $color;
317
+
318
+ &:hover,
319
+ &.k-state-hover {
320
+ color: try-shade( $color, 2 );
321
+ }
322
+ &:focus,
323
+ &.k-state-focus {
324
+ @if ($link-button-shadow) {
325
+ box-shadow: 0 0 $link-button-shadow-blur $link-button-shadow-spread rgba( $color, $link-button-shadow-opacity );
326
+ }
327
+ }
328
+ &:active,
329
+ &.k-state-active,
330
+ &.k-state-selected {
331
+ color: try-shade( $color, 2 );
332
+ }
268
333
  }
269
334
  }
270
335
 
@@ -1,29 +1,71 @@
1
1
  // Button
2
2
 
3
- /// Width of border around buttons
3
+ /// Width of the border around the button.
4
4
  /// @group button
5
5
  $button-border-width: 1px !default;
6
- /// Border radius of buttons
6
+
7
+ /// Border radius of the button.
7
8
  /// @group button
8
9
  $button-border-radius: $border-radius !default;
9
10
 
10
- /// Horizontal padding of buttons
11
+ /// Horizontal padding of the button.
12
+ /// @group button
13
+ $button-padding-x: map-get( $spacing, 2 ) !default;
14
+ $button-padding-x-sm: null !default;
15
+ $button-padding-x-md: null !default;
16
+ $button-padding-x-lg: null !default;
17
+
18
+ /// Vertical padding of the button.
11
19
  /// @group button
12
- $button-padding-x: $padding-x !default;
13
- /// Vertical padding of buttons
20
+ $button-padding-y: map-get( $spacing, 1 ) !default;
21
+ $button-padding-y-sm: null !default;
22
+ $button-padding-y-md: null !default;
23
+ $button-padding-y-lg: null !default;
24
+
25
+ /// Font family of the button.
14
26
  /// @group button
15
- $button-padding-y: $padding-y !default;
16
27
  $button-font-family: $font-family !default;
28
+
29
+ /// Font size of the button.
30
+ /// @group button
17
31
  $button-font-size: $font-size !default;
18
- $button-line-height: $line-height !default;
32
+ $button-font-size-sm: null !default;
33
+ $button-font-size-md: null !default;
34
+ $button-font-size-lg: null !default;
19
35
 
20
- $button-padding-x-sm: $button-padding-x / 2 !default;
21
- $button-padding-y-sm: $button-padding-y / 2 !default;
22
- $button-line-height-sm: $line-height-sm !default;
36
+ /// Line height used along with $font-size.
37
+ /// @group button
38
+ $button-line-height: $line-height !default;
39
+ $button-line-height-sm: null !default;
40
+ $button-line-height-md: null !default;
41
+ $button-line-height-lg: null !default;
23
42
 
43
+ /// Calculated height of the button.
44
+ /// @group button
24
45
  $button-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} + #{$button-border-width * 2} ) !default;
46
+
47
+ /// Calculated inner height of the button. Without the border width.
48
+ /// @group button
25
49
  $button-inner-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} ) !default;
26
50
 
51
+ $button-arrow-padding-x: $button-padding-y !default;
52
+ $button-arrow-padding-y: $button-padding-y !default;
53
+
54
+ /// Theme colors map for the button.
55
+ /// @group button
56
+ $button-theme-colors: (
57
+ "primary": map-get( $theme-colors, primary ),
58
+ "secondary": map-get( $theme-colors, secondary ),
59
+ "tertiary": map-get( $theme-colors, tertiary ),
60
+ "info": map-get( $theme-colors, info ),
61
+ "success": map-get( $theme-colors, success ),
62
+ "warning": map-get( $theme-colors, warning ),
63
+ "error": map-get( $theme-colors, error ),
64
+ "dark": map-get( $theme-colors, dark ),
65
+ "light": map-get( $theme-colors, light ),
66
+ "inverse": map-get( $theme-colors, inverse )
67
+ ) !default;
68
+
27
69
  /// The background of the buttons.
28
70
  /// @group button
29
71
  $button-bg: #f5f5f5 !default;
@@ -68,13 +110,13 @@ $button-active-shadow: null !default;
68
110
 
69
111
  /// The background color of selected buttons.
70
112
  /// @group button
71
- $button-selected-bg: $button-active-bg !default;
113
+ $button-selected-bg: $primary !default;
72
114
  /// The text color of selected buttons.
73
115
  /// @group button
74
- $button-selected-text: $button-active-text !default;
116
+ $button-selected-text: contrast-wcag( $button-selected-bg ) !default;
75
117
  /// The border color of selected buttons.
76
118
  /// @group button
77
- $button-selected-border: $button-active-border !default;
119
+ $button-selected-border: $button-selected-bg !default;
78
120
  /// The background gradient of selected buttons.
79
121
  /// @group button
80
122
  $button-selected-gradient: null !default;
@@ -120,7 +162,31 @@ $primary-button-selected-shadow: null !default;
120
162
 
121
163
  $primary-button-focused-shadow: 0 0 0 2px rgba( $primary-button-border, .3 ) !default;
122
164
 
123
- $button-group-focus-shadow: inset 0 0 0 2px rgba( $button-border, opacity( $button-border ) * 2 ) !default;
165
+ $solid-button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
166
+ $solid-button-shade-function: "try-shade";
167
+ $solid-button-shade-text-amount: 0 !default;
168
+ $solid-button-shade-bg-amount: 0 !default;
169
+ $solid-button-shade-border-amount: 0 !default;
170
+ $solid-button-hover-shade-text-amount: null !default;
171
+ $solid-button-hover-shade-bg-amount: .5 !default;
172
+ $solid-button-hover-shade-border-amount: .5 !default;
173
+ $solid-button-active-shade-text-amount: null !default;
174
+ $solid-button-active-shade-bg-amount: 1.5 !default;
175
+ $solid-button-active-shade-border-amount: 1.5 !default;
176
+ $solid-button-shadow: true !default;
177
+ $solid-button-shadow-blur: 0px !default;
178
+ $solid-button-shadow-spread: 2px !default;
179
+ $solid-button-shadow-opacity: .3 !default;
180
+
181
+ $outline-button-shadow: true !default;
182
+ $outline-button-shadow-blur: 0px !default;
183
+ $outline-button-shadow-spread: 2px !default;
184
+ $outline-button-shadow-opacity: .3 !default;
185
+
186
+ $link-button-shadow: true !default;
187
+ $link-button-shadow-blur: 0px !default;
188
+ $link-button-shadow-spread: 2px !default;
189
+ $link-button-shadow-opacity: .3 !default;
124
190
 
125
191
  $flat-button-hover-opacity: .04 !default;
126
192
  $flat-button-focus-opacity: null !default;
@@ -10,6 +10,12 @@
10
10
  display: flex;
11
11
  flex-flow: column nowrap;
12
12
  gap: $captcha-gap;
13
+
14
+ *,
15
+ *::before,
16
+ *::after {
17
+ box-sizing: border-box;
18
+ }
13
19
  }
14
20
 
15
21
  // Image
@@ -27,6 +27,12 @@
27
27
  overflow: hidden;
28
28
  -webkit-touch-callout: none;
29
29
  -webkit-tap-highlight-color: $rgba-transparent;
30
+
31
+ *,
32
+ *::before,
33
+ *::after {
34
+ box-sizing: border-box;
35
+ }
30
36
  }
31
37
  .k-card > .k-card-inner {
32
38
  @include border-radius( $card-inner-border-radius );
@@ -444,11 +444,18 @@
444
444
 
445
445
 
446
446
  .k-scroll-button {
447
+ // IMPORTANT: if we don't set padding, the browser will set for us
448
+ padding: 0 map-get( $spacing, 1 );
447
449
  height: 100%;
450
+ aspect-ratio: auto;
448
451
  position: absolute;
449
452
  z-index: 2;
450
- top: 50%;
451
- transform: translateY(-50%);
453
+ top: 0;
454
+
455
+ .k-button-icon {
456
+ min-width: auto;
457
+ min-height: auto;
458
+ }
452
459
  }
453
460
  .k-scroll-button-left {
454
461
  left: 0;
@@ -19,6 +19,12 @@
19
19
  cursor: pointer;
20
20
  user-select: none;
21
21
 
22
+ *,
23
+ *::before,
24
+ *::after {
25
+ box-sizing: border-box;
26
+ }
27
+
22
28
  .k-selected-icon-wrapper {
23
29
  display: none !important; // sass-lint:disable-line no-important
24
30
  }
@@ -11,6 +11,12 @@
11
11
  flex-wrap: nowrap;
12
12
  position: relative;
13
13
  overflow: hidden;
14
+
15
+ *,
16
+ *::before,
17
+ *::after {
18
+ box-sizing: border-box;
19
+ }
14
20
  }
15
21
 
16
22
 
@@ -14,6 +14,12 @@
14
14
  display: inline-flex;
15
15
  flex-direction: column;
16
16
  align-items: stretch;
17
+
18
+ *,
19
+ *::before,
20
+ *::after {
21
+ box-sizing: border-box;
22
+ }
17
23
  }
18
24
 
19
25
  // Header
@@ -18,6 +18,12 @@
18
18
  gap: $colorgradient-gap;
19
19
  -webkit-touch-callout: none;
20
20
  -webkit-tap-highlight-color: $rgba-transparent;
21
+
22
+ *,
23
+ *::before,
24
+ *::after {
25
+ box-sizing: border-box;
26
+ }
21
27
  }
22
28
 
23
29
  // Canvas
@@ -104,10 +110,6 @@
104
110
  z-index: 1;
105
111
  }
106
112
 
107
- .k-slider-wrap > .k-slider-track {
108
- height: $colorgradient-slider-vertical-size;
109
- }
110
-
111
113
  .k-slider-selection {
112
114
  display: none;
113
115
  }
@@ -12,6 +12,12 @@
12
12
  position: relative;
13
13
  -webkit-touch-callout: none;
14
14
  -webkit-tap-highlight-color: $rgba-transparent;
15
+
16
+ *,
17
+ *::before,
18
+ *::after {
19
+ box-sizing: border-box;
20
+ }
15
21
  }
16
22
 
17
23
  // Table
@@ -22,13 +22,18 @@
22
22
  -webkit-touch-callout: none;
23
23
  -webkit-tap-highlight-color: $rgba-transparent;
24
24
 
25
+ *,
26
+ *::before,
27
+ *::after {
28
+ box-sizing: border-box;
29
+ }
30
+
25
31
  .k-selected-color {
26
32
  margin: $button-padding-y;
27
33
  width: calc( #{$button-inner-calc-size} - #{$button-padding-y * 2} );
28
34
  height: calc( #{$button-inner-calc-size} - #{$button-padding-y * 2} );
29
35
  border-width: 1px;
30
36
  border-style: solid;
31
- box-sizing: border-box;
32
37
  background-clip: content-box;
33
38
  line-height: 0;
34
39
  position: relative;
@@ -48,7 +53,6 @@
48
53
  border-width: 0;
49
54
  border-style: solid;
50
55
  border-color: inherit;
51
- box-sizing: border-box;
52
56
  font-size: inherit;
53
57
  text-align: center;
54
58
  flex-direction: column;
@@ -84,7 +88,6 @@
84
88
  border-inline-start-width: $picker-select-border-width;
85
89
  border-style: solid;
86
90
  border-color: transparent;
87
- box-sizing: border-box;
88
91
  display: flex;
89
92
  align-items: center;
90
93
  justify-content: center;
@@ -22,6 +22,12 @@
22
22
  -webkit-touch-callout: none;
23
23
  -webkit-tap-highlight-color: $rgba-transparent;
24
24
 
25
+ *,
26
+ *::before,
27
+ *::after {
28
+ box-sizing: border-box;
29
+ }
30
+
25
31
 
26
32
  // Input
27
33
  .k-input {}
@@ -41,7 +47,6 @@
41
47
  border-width: 0;
42
48
  border-inline-start-width: $picker-select-border-width;
43
49
  border-style: solid;
44
- box-sizing: border-box;
45
50
  outline: 0;
46
51
  display: flex;
47
52
  flex-flow: row nowrap;