@progress/kendo-theme-default 4.42.0 → 5.0.0-alpha.1

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 (114) hide show
  1. package/dist/all.css +1770 -2399
  2. package/dist/all.scss +2180 -3833
  3. package/package.json +4 -4
  4. package/scss/_variables.scss +2 -0
  5. package/scss/action-buttons/_layout.scss +1 -0
  6. package/scss/adaptive/_layout.scss +0 -16
  7. package/scss/autocomplete/_layout.scss +1 -54
  8. package/scss/autocomplete/_theme.scss +2 -74
  9. package/scss/autocomplete/_variables.scss +12 -12
  10. package/scss/breadcrumb/_layout.scss +0 -5
  11. package/scss/button/_layout.scss +108 -116
  12. package/scss/button/_theme.scss +253 -264
  13. package/scss/button/_variables.scss +170 -130
  14. package/scss/button/index.md +3 -0
  15. package/scss/captcha/_layout.scss +0 -5
  16. package/scss/card/_layout.scss +4 -72
  17. package/scss/card/_theme.scss +2 -1
  18. package/scss/card/_variables.scss +1 -1
  19. package/scss/chat/_layout.scss +24 -20
  20. package/scss/chat/_variables.scss +8 -8
  21. package/scss/checkbox/_layout.scss +87 -91
  22. package/scss/checkbox/_theme.scss +34 -40
  23. package/scss/checkbox/_variables.scss +153 -56
  24. package/scss/colorgradient/_layout.scss +0 -4
  25. package/scss/colorpicker/_layout.scss +2 -130
  26. package/scss/colorpicker/_theme.scss +2 -64
  27. package/scss/colorpicker/_variables.scss +9 -9
  28. package/scss/combobox/_layout.scss +2 -83
  29. package/scss/combobox/_theme.scss +2 -123
  30. package/scss/combobox/_variables.scss +23 -23
  31. package/scss/common/_base.scss +1 -2
  32. package/scss/core/_normalize.scss +11 -0
  33. package/scss/core/mixins/_input-ripple.scss +1 -1
  34. package/scss/dataviz/_theme.scss +8 -8
  35. package/scss/dataviz/_variables.scss +6 -6
  36. package/scss/datetime/_layout.scss +25 -79
  37. package/scss/datetime/_variables.scss +27 -27
  38. package/scss/dropdowngrid/_layout.scss +4 -0
  39. package/scss/dropdowngrid/_theme.scss +3 -0
  40. package/scss/dropdownlist/_layout.scss +3 -110
  41. package/scss/dropdownlist/_theme.scss +3 -91
  42. package/scss/dropdownlist/_variables.scss +9 -9
  43. package/scss/dropdowntree/_layout.scss +2 -25
  44. package/scss/dropdowntree/_theme.scss +2 -1
  45. package/scss/editor/_layout.scss +94 -48
  46. package/scss/editor/_theme.scss +9 -0
  47. package/scss/editor/_variables.scss +10 -2
  48. package/scss/fab/_variables.scss +3 -3
  49. package/scss/filter/_layout.scss +0 -4
  50. package/scss/floating-label/_layout.scss +0 -3
  51. package/scss/floating-label/_theme.scss +0 -2
  52. package/scss/floating-label/_variables.scss +4 -4
  53. package/scss/forms/_layout.scss +10 -29
  54. package/scss/gantt/_layout.scss +3 -3
  55. package/scss/grid/_layout.scss +20 -65
  56. package/scss/grid/_theme.scss +2 -2
  57. package/scss/grid/_variables.scss +0 -2
  58. package/scss/input/_layout.scss +104 -105
  59. package/scss/input/_theme.scss +74 -16
  60. package/scss/input/_variables.scss +66 -67
  61. package/scss/map/_layout.scss +0 -21
  62. package/scss/map/_theme.scss +5 -5
  63. package/scss/map/_variables.scss +1 -1
  64. package/scss/maskedtextbox/_layout.scss +2 -46
  65. package/scss/maskedtextbox/_theme.scss +2 -20
  66. package/scss/menu/_layout.scss +0 -1
  67. package/scss/multiselect/_layout.scss +15 -34
  68. package/scss/multiselect/_variables.scss +16 -16
  69. package/scss/no-flexbox.scss +0 -2
  70. package/scss/numerictextbox/_layout.scss +2 -104
  71. package/scss/numerictextbox/_theme.scss +2 -95
  72. package/scss/numerictextbox/_variables.scss +1 -32
  73. package/scss/pager/_layout.scss +7 -12
  74. package/scss/pager/_variables.scss +1 -1
  75. package/scss/pdf-viewer/_layout.scss +0 -16
  76. package/scss/pdf-viewer/_variables.scss +1 -1
  77. package/scss/pivotgrid/_layout.scss +28 -7
  78. package/scss/pivotgrid/_theme.scss +13 -13
  79. package/scss/popup/_layout.scss +0 -34
  80. package/scss/popup/_theme.scss +4 -4
  81. package/scss/popup/_variables.scss +1 -1
  82. package/scss/radio/_layout.scss +78 -63
  83. package/scss/radio/_theme.scss +23 -23
  84. package/scss/radio/_variables.scss +154 -51
  85. package/scss/scheduler/_layout.scss +9 -228
  86. package/scss/scheduler/_theme.scss +5 -86
  87. package/scss/scrollview/_variables.scss +4 -4
  88. package/scss/searchbox/_layout.scss +1 -18
  89. package/scss/searchbox/_theme.scss +1 -46
  90. package/scss/searchbox/_variables.scss +0 -20
  91. package/scss/slider/_layout.scss +0 -19
  92. package/scss/slider/_theme.scss +0 -4
  93. package/scss/slider/_variables.scss +10 -10
  94. package/scss/spreadsheet/_layout.scss +2 -38
  95. package/scss/spreadsheet/_theme.scss +13 -13
  96. package/scss/switch/_index.scss +0 -2
  97. package/scss/switch/_layout.scss +91 -92
  98. package/scss/switch/_theme.scss +91 -93
  99. package/scss/switch/_variables.scss +193 -83
  100. package/scss/taskboard/_layout.scss +0 -4
  101. package/scss/taskboard/_variables.scss +1 -1
  102. package/scss/textarea/_layout.scss +1 -91
  103. package/scss/textarea/_theme.scss +1 -66
  104. package/scss/textarea/_variables.scss +0 -53
  105. package/scss/textbox/_layout.scss +1 -73
  106. package/scss/textbox/_theme.scss +1 -70
  107. package/scss/textbox/_variables.scss +1 -2
  108. package/scss/timeline/_variables.scss +7 -7
  109. package/scss/toolbar/_layout.scss +2 -2
  110. package/scss/toolbar/_variables.scss +1 -1
  111. package/scss/treeview/_variables.scss +1 -1
  112. package/scss/upload/_layout.scss +2 -2
  113. package/scss/utils/_border.scss +5 -0
  114. package/scss/window/_layout.scss +1 -11
@@ -1,132 +1,172 @@
1
1
  // Button
2
2
 
3
- /// Width of border around buttons
4
- /// @group buttons
5
- $button-border-width: 1px !default;
6
- /// Border radius of buttons
7
- /// @group buttons
8
- $button-border-radius: $border-radius !default;
9
-
10
- /// Horizontal padding of buttons
11
- /// @group buttons
12
- $button-padding-x: $padding-x !default;
13
- /// Vertical padding of buttons
14
- /// @group buttons
15
- $button-padding-y: $padding-y !default;
16
- $button-font-family: $font-family !default;
17
- $button-font-size: $font-size !default;
18
- $button-line-height: $line-height !default;
19
-
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;
23
-
24
- $button-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} + #{$button-border-width * 2} ) !default;
25
- $button-inner-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} ) !default;
26
-
27
- /// The background of the buttons.
28
- /// @group buttons
29
- $button-bg: #f5f5f5 !default;
30
- /// The text color of the buttons.
31
- /// @group buttons
32
- $button-text: #424242 !default;
33
- /// The border color of the buttons.
34
- /// @group buttons
35
- $button-border: rgba( black, .08 ) !default;
36
- /// The background gradient of the buttons.
37
- /// @group buttons
38
- $button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
39
- $button-shadow: null !default;
40
-
41
- /// The background of hovered buttons.
42
- /// @group buttons
43
- $button-hovered-bg: try-shade( $button-bg, .5 ) !default;
44
- /// The text color of hovered buttons.
45
- /// @group buttons
46
- $button-hovered-text: null !default;
47
- /// The border color of hovered buttons.
48
- /// @group buttons
49
- $button-hovered-border: null !default;
50
- /// The background gradient of hovered buttons.
51
- /// @group buttons
52
- $button-hovered-gradient: null !default;
53
- $button-hovered-shadow: null !default;
54
-
55
- /// The background color of active buttons.
56
- /// @group buttons
57
- $button-active-bg: try-shade( $button-bg, 1.5 ) !default;
58
- /// The text color of active buttons.
59
- /// @group buttons
60
- $button-active-text: null !default;
61
- /// The border color of active buttons.
62
- /// @group buttons
63
- $button-active-border: null !default;
64
- /// The background gradient of active buttons.
65
- /// @group buttons
66
- $button-active-gradient: null !default;
67
- $button-active-shadow: null !default;
68
-
69
- /// The background color of selected buttons.
70
- /// @group buttons
71
- $button-selected-bg: $primary !default;
72
- /// The text color of selected buttons.
73
- /// @group buttons
74
- $button-selected-text: contrast-wcag( $button-selected-bg ) !default;
75
- /// The border color of selected buttons.
76
- /// @group buttons
77
- $button-selected-border: $button-selected-bg !default;
78
- /// The background gradient of selected buttons.
79
- /// @group buttons
80
- $button-selected-gradient: null !default;
81
- $button-selected-shadow: null !default;
82
-
83
- /// The shadow of focused buttons.
84
- /// @group buttons
85
- $button-focused-shadow: 0 0 0 2px rgba( $button-border, .08 ) !default;
86
-
87
-
88
- // Disabled button
89
- $button-disabled-bg: null !default;
90
- $button-disabled-text: null !default;
91
- $button-disabled-border: null !default;
92
- $button-disabled-gradient: null !default;
93
- $button-disabled-shadow: null !default;
94
-
95
-
96
- // Primary button
97
- $primary-button-bg: $primary !default;
98
- $primary-button-text: contrast-wcag( $primary-button-bg ) !default;
99
- $primary-button-border: $primary-button-bg !default;
100
- $primary-button-gradient: rgba( black, 0 ), rgba( black, .04 ) !default;
101
- $primary-button-shadow: null !default;
102
-
103
- $primary-button-hovered-bg: try-shade( $primary-button-bg, .5 ) !default;
104
- $primary-button-hovered-text: null !default;
105
- $primary-button-hovered-border: $primary-button-hovered-bg !default;
106
- $primary-button-hovered-gradient: null !default;
107
- $primary-button-hovered-shadow: null !default;
108
-
109
- $primary-button-active-bg: try-shade( $primary-button-bg, 1.5 ) !default;
110
- $primary-button-active-text: null !default;
111
- $primary-button-active-border: $primary-button-active-bg !default;
112
- $primary-button-active-gradient: null !default;
113
- $primary-button-active-shadow: null !default;
114
-
115
- $primary-button-selected-bg: $primary-button-active-bg !default;
116
- $primary-button-selected-text: $primary-button-active-text !default;
117
- $primary-button-selected-border: $primary-button-active-border !default;
118
- $primary-button-selected-gradient: null !default;
119
- $primary-button-selected-shadow: null !default;
120
-
121
- $primary-button-focused-shadow: 0 0 0 2px rgba( $primary-button-border, .3 ) !default;
122
-
123
- $button-group-focus-shadow: inset 0 0 0 2px rgba( $button-border, opacity( $button-border ) * 2 ) !default;
124
-
125
- $flat-button-hover-opacity: .04 !default;
126
- $flat-button-focus-opacity: null !default;
127
- $flat-button-active-opacity: .16 !default;
128
- $flat-button-selected-opacity: .2 !default;
129
-
130
- $clear-button-text: inherit !default;
131
- $clear-button-hover-text: inherit !default;
132
- $clear-button-focused-opacity: .1 !default;
3
+ /// Width of the border around the button.
4
+ /// @group button
5
+ $kendo-button-border-width: 1px !default;
6
+
7
+ /// Border radius of the button.
8
+ /// @group button
9
+ $kendo-button-border-radius: ( map-get( $spacing, 1 ) / 2 ) !default;
10
+ $kendo-button-border-radius-sm: ( map-get( $spacing, 1 ) / 4 ) !default;
11
+ $kendo-button-border-radius-md: ( map-get( $spacing, 1 ) / 2 ) !default;
12
+ $kendo-button-border-radius-lg: map-get( $spacing, 1 ) !default;
13
+
14
+ /// Horizontal padding of the button.
15
+ /// @group button
16
+ $kendo-button-padding-x: map-get( $spacing, 2 ) !default;
17
+ $kendo-button-padding-x-sm: map-get( $spacing, 1 ) !default;
18
+ $kendo-button-padding-x-md: map-get( $spacing, 2 ) !default;
19
+ $kendo-button-padding-x-lg: map-get( $spacing, 3 ) !default;
20
+
21
+ /// Vertical padding of the button.
22
+ /// @group button
23
+ $kendo-button-padding-y: $kendo-button-padding-x / 2 !default;
24
+ $kendo-button-padding-y-sm: $kendo-button-padding-x-sm / 2 !default;
25
+ $kendo-button-padding-y-md: $kendo-button-padding-x-md / 2 !default;
26
+ $kendo-button-padding-y-lg: $kendo-button-padding-x-lg / 2 !default;
27
+
28
+ /// Font family of the button.
29
+ /// @group button
30
+ $kendo-button-font-family: $font-family !default;
31
+
32
+ /// Font sizes of the button.
33
+ /// @group button
34
+ $kendo-button-font-size: $font-size !default;
35
+ $kendo-button-font-size-sm: $font-size-sm !default;
36
+ $kendo-button-font-size-md: $font-size !default;
37
+ $kendo-button-font-size-lg: $font-size-lg !default;
38
+
39
+ /// Line heights used along with $font-size.
40
+ /// @group button
41
+ $kendo-button-line-height: $line-height !default;
42
+ $kendo-button-line-height-sm: $line-height-lg !default;
43
+ $kendo-button-line-height-md: $line-height !default;
44
+ $kendo-button-line-height-lg: $line-height-lg !default;
45
+
46
+ /// Calculated height of the button.
47
+ /// @group button
48
+ $kendo-button-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} + #{$kendo-button-border-width * 2} ) !default;
49
+
50
+ /// Calculated inner height of the button. Without the border width.
51
+ /// @group button
52
+ $kendo-button-inner-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} ) !default;
53
+
54
+ /// Theme colors map for the button.
55
+ /// @group button
56
+ $kendo-button-theme-colors: map-merge((base: #f5f5f5), $theme-colors ) !default;
57
+
58
+ /// The base background of the button.
59
+ /// @group button
60
+ $kendo-button-bg: #f5f5f5 !default;
61
+ /// The base text color of the button.
62
+ /// @group button
63
+ $kendo-button-text: #424242 !default;
64
+ /// The base border color of the button.
65
+ /// @group button
66
+ $kendo-button-border: rgba( black, .08 ) !default;
67
+ /// The base background gradient of the button.
68
+ /// @group button
69
+ $kendo-button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
70
+ /// The base shadow of the button.
71
+ /// @group button
72
+ $kendo-button-shadow: null !default;
73
+
74
+ /// The base background of hovered button.
75
+ /// @group button
76
+ $kendo-button-hover-bg: try-shade( $kendo-button-bg, .5 ) !default;
77
+ /// The base text color of hovered button.
78
+ /// @group button
79
+ $kendo-button-hover-text: null !default;
80
+ /// The base border color of hovered button.
81
+ /// @group button
82
+ $kendo-button-hover-border: null !default;
83
+ /// The base background gradient of hovered button.
84
+ /// @group button
85
+ $kendo-button-hover-gradient: null !default;
86
+ /// The base shadow of hovered button.
87
+ /// @group button
88
+ $kendo-button-hover-shadow: null !default;
89
+
90
+ /// The base background color of active button.
91
+ /// @group button
92
+ $kendo-button-active-bg: try-shade( $kendo-button-bg, 1.5 ) !default;
93
+ /// The base text color of active button.
94
+ /// @group button
95
+ $kendo-button-active-text: null !default;
96
+ /// The base border color of active button.
97
+ /// @group button
98
+ $kendo-button-active-border: null !default;
99
+ /// The base background gradient of active button.
100
+ /// @group button
101
+ $kendo-button-active-gradient: null !default;
102
+ /// The base shadow of active button.
103
+ /// @group button
104
+ $kendo-button-active-shadow: null !default;
105
+
106
+ /// The base background color of selected button.
107
+ /// @group button
108
+ $kendo-button-selected-bg: $primary !default;
109
+ /// The base text color of selected button.
110
+ /// @group button
111
+ $kendo-button-selected-text: contrast-wcag( $kendo-button-selected-bg ) !default;
112
+ /// The base border color of selected button.
113
+ /// @group button
114
+ $kendo-button-selected-border: $kendo-button-selected-bg !default;
115
+ /// The base background gradient of selected button.
116
+ /// @group button
117
+ $kendo-button-selected-gradient: null !default;
118
+ /// The base shadow of selected button.
119
+ /// @group button
120
+ $kendo-button-selected-shadow: null !default;
121
+
122
+ /// The base background of focused button.
123
+ /// @group button
124
+ $kendo-button-focus-bg: null !default;
125
+ /// The base text color of focused button.
126
+ /// @group button
127
+ $kendo-button-focus-text: null !default;
128
+ /// The base border color of focused button.
129
+ /// @group button
130
+ $kendo-button-focus-border: null !default;
131
+ /// The base background gradient of focused button.
132
+ /// @group button
133
+ $kendo-button-focus-gradient: null !default;
134
+ /// The base shadow of focused button.
135
+ /// @group button
136
+ $kendo-button-focus-shadow: 0 0 0 2px rgba( $kendo-button-border, .08 ) !default;
137
+
138
+ /// The base background of disabled button.
139
+ /// @group button
140
+ $kendo-button-disabled-bg: null !default;
141
+ /// The base text color of disabled button.
142
+ /// @group button
143
+ $kendo-button-disabled-text: null !default;
144
+ /// The base border color of disabled buttons.
145
+ /// @group button
146
+ $kendo-button-disabled-border: null !default;
147
+ /// The base background gradient of disabled button.
148
+ /// @group button
149
+ $kendo-button-disabled-gradient: null !default;
150
+ /// The base shadow of disabled button.
151
+ /// @group button
152
+ $kendo-button-disabled-shadow: null !default;
153
+
154
+ /// The overlay opacity of hovered flat button. Used to create background for the flat button.
155
+ /// @group button
156
+ $kendo-flat-button-hover-opacity: .04 !default;
157
+ /// The overlay opacity of focused flat button. Used to create background for the flat button.
158
+ /// @group button
159
+ $kendo-flat-button-focus-opacity: null !default;
160
+ /// The overlay opacity of active flat button. Used to create background for the flat button.
161
+ /// @group button
162
+ $kendo-flat-button-active-opacity: .16 !default;
163
+ /// The overlay opacity of selected flat button. Used to create background for the flat button.
164
+ /// @group button
165
+ $kendo-flat-button-selected-opacity: .2 !default;
166
+
167
+ /// The color transition of the flat button.
168
+ /// @group button
169
+ $kendo-button-color-transition: color .2s ease-in-out !default;
170
+
171
+ $kendo-button-group-focus-shadow: inset 0 0 0 2px rgba( $kendo-button-border, opacity( $kendo-button-border ) * 2 ) !default;
172
+
@@ -0,0 +1,3 @@
1
+ ## Default theme test content
2
+
3
+ Here we can write down Default Theme specific content
@@ -46,11 +46,6 @@
46
46
  height: 100%;
47
47
  }
48
48
 
49
- // Input
50
- .k-captcha-input > .k-textbox {
51
- width: 100%;
52
- }
53
-
54
49
  // Verification Success
55
50
  .k-captcha-validation-message {
56
51
  margin-top: $captcha-validation-message-margin-top;
@@ -187,13 +187,6 @@
187
187
  flex-shrink: 0;
188
188
  flex-basis: auto;
189
189
  gap: $card-actions-gap;
190
-
191
- > .k-button {
192
- padding-left: calc( #{$card-body-padding-x} - ( #{$card-actions-padding-x} + #{$button-border-width} ) );
193
- padding-right: calc( #{$card-body-padding-x} - ( #{$card-actions-padding-x} + #{$button-border-width} ) );
194
- max-width: 100%;
195
- white-space: normal;
196
- }
197
190
  }
198
191
 
199
192
 
@@ -208,40 +201,9 @@
208
201
  .k-card-actions-vertical { flex-flow: column nowrap; } // stylelint-disable-line block-opening-brace-space-before
209
202
 
210
203
 
211
- // Streched actions
212
- .k-card-actions-stretched {
213
- padding: 0;
214
- gap: 0;
215
-
216
- > .k-button,
217
- > .k-card-action {
218
- flex: 1 1 auto;
219
- }
220
-
221
- // TODO: refactor once we have button size
222
- .k-button {
223
- @include border-radius( 0 );
224
- padding-top: calc( #{$card-actions-padding-y} + #{$button-padding-y} );
225
- padding-bottom: calc( #{$card-actions-padding-y} + #{$button-padding-y} );
226
- }
227
-
228
- .k-card & {
229
- border-top-width: $card-actions-border-width;
230
- }
231
- .k-card-horizontal > & {
232
- border-top-width: 0;
233
- border-inline-start-width: $card-actions-border-width;
234
- }
235
- .k-card-vertical > & {
236
- border-top-width: $card-actions-border-width;
237
- }
238
-
239
- &.k-card-actions-horizontal > .k-card-action + .k-card-action {
240
- border-inline-start-width: $card-actions-border-width;
241
- }
242
- &.k-card-actions-vertical > .k-card-action + .k-card-action {
243
- border-top-width: $card-actions-border-width;
244
- }
204
+ // Stretched actions
205
+ .k-card-actions-stretched > * {
206
+ flex: 1 1 auto;
245
207
  }
246
208
 
247
209
 
@@ -251,10 +213,6 @@
251
213
  border-style: solid;
252
214
  border-color: inherit;
253
215
  display: inline-flex;
254
-
255
- > .k-button {
256
- flex: 1 1 auto;
257
- }
258
216
  }
259
217
 
260
218
 
@@ -367,6 +325,7 @@
367
325
  height: $card-callout-height;
368
326
  border-width: $card-border-width $card-border-width 0 0;
369
327
  border-style: solid;
328
+ box-sizing: border-box;
370
329
  position: absolute;
371
330
  }
372
331
 
@@ -415,33 +374,6 @@
415
374
 
416
375
 
417
376
 
418
- @include exports("card/layout/rtl") {
419
-
420
- .k-rtl,
421
- [dir="rtl"] {
422
-
423
- .k-card-actions-stretched {
424
- .k-card-action + .k-card-action {
425
- border-right-width: $card-actions-border-width;
426
- border-left-width: 0;
427
- }
428
- }
429
-
430
- .k-card-horizontal {
431
- > .k-card-actions-stretched,
432
- .k-card-actions-vertical {
433
- border-right-width: $card-actions-border-width;
434
- border-left-width: 0;
435
- }
436
- }
437
-
438
- }
439
-
440
- }
441
-
442
-
443
-
444
-
445
377
  @include exports("card/layout/ie11") {
446
378
 
447
379
  .k-ie11 {
@@ -40,7 +40,8 @@
40
40
 
41
41
 
42
42
  // Separator
43
- .k-card-separator {
43
+ .k-card-separator,
44
+ .k-card .k-separator {
44
45
  border-color: $card-border;
45
46
  }
46
47
 
@@ -62,7 +62,7 @@ $card-actions-border-width: 1px !default;
62
62
  $card-actions-gap: map-get( $spacing, 2 ) !default;
63
63
 
64
64
  $card-deck-scroll-button-radius: 0px !default;
65
- $card-deck-scroll-button-offset: -$button-border-width !default;
65
+ $card-deck-scroll-button-offset: -$kendo-button-border-width !default;
66
66
 
67
67
  $card-callout-width: 20px !default;
68
68
  $card-callout-height: 20px !default;
@@ -266,14 +266,24 @@
266
266
 
267
267
  // Message box
268
268
  .k-message-box {
269
+ width: 100%;
270
+ height: auto;
269
271
  padding: $chat-message-box-padding-y $chat-message-box-padding-x;
272
+ box-sizing: border-box;
270
273
  border-width: 1px 0 0;
271
274
  border-style: solid;
272
- flex: 0 0 auto;
275
+ flex: none;
273
276
  display: flex;
274
277
  flex-flow: row nowrap;
275
278
  align-items: center;
276
279
 
280
+ &:focus,
281
+ &.k-state-focus,
282
+ &:focus-within {
283
+ outline: 0;
284
+ box-shadow: none;
285
+ }
286
+
277
287
  // Input
278
288
  .k-input {
279
289
  padding: 0;
@@ -411,11 +421,17 @@
411
421
 
412
422
  .k-chat-toolbar,
413
423
  .k-chat .k-toolbar-box {
424
+ padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
414
425
  width: 100%;
426
+ border-width: 1px 0 0;
415
427
  box-sizing: border-box;
428
+ flex: none;
416
429
  overflow: hidden;
417
430
  position: relative;
418
- flex: 0 0 auto;
431
+
432
+ &::before {
433
+ display: none;
434
+ }
419
435
 
420
436
  .k-button-list {
421
437
  // Needed for native scrolling. Will uncoment when it's implemented.
@@ -426,18 +442,13 @@
426
442
  overflow: hidden;
427
443
  // overflow-x: auto;
428
444
  scroll-behavior: smooth;
429
- padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
430
-
431
- // fix for flex container disregarding the right padding
432
- &::after {
433
- content: "";
434
- padding-right: $chat-toolbar-padding-x;
435
- }
445
+ }
436
446
 
437
- .k-button + .k-button {
438
- margin-left: $chat-toolbar-spacing;
439
- flex-shrink: 0;
440
- }
447
+ .k-button {
448
+ border-color: transparent;
449
+ color: inherit;
450
+ background: none;
451
+ flex: none;
441
452
  }
442
453
 
443
454
 
@@ -454,13 +465,6 @@
454
465
  right: 0;
455
466
  }
456
467
 
457
- .k-button {
458
- border-width: 0;
459
- color: inherit;
460
- background: none;
461
- flex-shrink: 0;
462
- }
463
-
464
468
 
465
469
  }
466
470
 
@@ -32,12 +32,12 @@ $chat-bubble-border-radius-sm: 2px !default;
32
32
  $chat-avatar-size: 32px !default;
33
33
  $chat-avatar-spacing: $chat-item-spacing-x !default;
34
34
 
35
- $chat-message-box-padding-x: $chat-padding-x !default;
36
- $chat-message-box-padding-y: 10px !default;
35
+ $chat-message-box-padding-x: $kendo-input-padding-x !default;
36
+ $chat-message-box-padding-y: $kendo-input-padding-y !default;
37
37
 
38
- $chat-toolbar-padding-x: $chat-padding-x !default;
39
- $chat-toolbar-padding-y: 10px !default;
40
- $chat-toolbar-spacing: 20px !default;
38
+ $chat-toolbar-padding-x: $toolbar-padding-x !default;
39
+ $chat-toolbar-padding-y: $toolbar-padding-y !default;
40
+ $chat-toolbar-spacing: $toolbar-spacing !default;
41
41
  $chat-toolbar-bg: $toolbar-bg !default;
42
42
  $chat-toolbar-text: $toolbar-text !default;
43
43
  $chat-toolbar-border: inherit !default;
@@ -74,10 +74,10 @@ $chat-quick-reply-hover-bg: $primary !default;
74
74
  $chat-quick-reply-hover-text: $primary-contrast !default;
75
75
  $chat-quick-reply-hover-border: $primary !default;
76
76
 
77
- $chat-message-box-bg: $input-bg !default;
78
- $chat-message-box-text: $input-text !default;
77
+ $chat-message-box-bg: $kendo-input-bg !default;
78
+ $chat-message-box-text: $kendo-input-text !default;
79
79
  $chat-message-box-border: inherit !default;
80
- $chat-message-box-focus-shadow: 0 0 40px rgba( $input-text, .1 ) !default;
80
+ $chat-message-box-focus-shadow: 0 0 40px rgba( $kendo-input-text, .1 ) !default;
81
81
 
82
82
  $chat-message-box-button-hover-text: $primary !default;
83
83