@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.
- package/dist/all.css +1770 -2399
- package/dist/all.scss +2180 -3833
- package/package.json +4 -4
- package/scss/_variables.scss +2 -0
- package/scss/action-buttons/_layout.scss +1 -0
- package/scss/adaptive/_layout.scss +0 -16
- package/scss/autocomplete/_layout.scss +1 -54
- package/scss/autocomplete/_theme.scss +2 -74
- package/scss/autocomplete/_variables.scss +12 -12
- package/scss/breadcrumb/_layout.scss +0 -5
- package/scss/button/_layout.scss +108 -116
- package/scss/button/_theme.scss +253 -264
- package/scss/button/_variables.scss +170 -130
- package/scss/button/index.md +3 -0
- package/scss/captcha/_layout.scss +0 -5
- package/scss/card/_layout.scss +4 -72
- package/scss/card/_theme.scss +2 -1
- package/scss/card/_variables.scss +1 -1
- package/scss/chat/_layout.scss +24 -20
- package/scss/chat/_variables.scss +8 -8
- package/scss/checkbox/_layout.scss +87 -91
- package/scss/checkbox/_theme.scss +34 -40
- package/scss/checkbox/_variables.scss +153 -56
- package/scss/colorgradient/_layout.scss +0 -4
- package/scss/colorpicker/_layout.scss +2 -130
- package/scss/colorpicker/_theme.scss +2 -64
- package/scss/colorpicker/_variables.scss +9 -9
- package/scss/combobox/_layout.scss +2 -83
- package/scss/combobox/_theme.scss +2 -123
- package/scss/combobox/_variables.scss +23 -23
- package/scss/common/_base.scss +1 -2
- package/scss/core/_normalize.scss +11 -0
- package/scss/core/mixins/_input-ripple.scss +1 -1
- package/scss/dataviz/_theme.scss +8 -8
- package/scss/dataviz/_variables.scss +6 -6
- package/scss/datetime/_layout.scss +25 -79
- package/scss/datetime/_variables.scss +27 -27
- package/scss/dropdowngrid/_layout.scss +4 -0
- package/scss/dropdowngrid/_theme.scss +3 -0
- package/scss/dropdownlist/_layout.scss +3 -110
- package/scss/dropdownlist/_theme.scss +3 -91
- package/scss/dropdownlist/_variables.scss +9 -9
- package/scss/dropdowntree/_layout.scss +2 -25
- package/scss/dropdowntree/_theme.scss +2 -1
- package/scss/editor/_layout.scss +94 -48
- package/scss/editor/_theme.scss +9 -0
- package/scss/editor/_variables.scss +10 -2
- package/scss/fab/_variables.scss +3 -3
- package/scss/filter/_layout.scss +0 -4
- package/scss/floating-label/_layout.scss +0 -3
- package/scss/floating-label/_theme.scss +0 -2
- package/scss/floating-label/_variables.scss +4 -4
- package/scss/forms/_layout.scss +10 -29
- package/scss/gantt/_layout.scss +3 -3
- package/scss/grid/_layout.scss +20 -65
- package/scss/grid/_theme.scss +2 -2
- package/scss/grid/_variables.scss +0 -2
- package/scss/input/_layout.scss +104 -105
- package/scss/input/_theme.scss +74 -16
- package/scss/input/_variables.scss +66 -67
- package/scss/map/_layout.scss +0 -21
- package/scss/map/_theme.scss +5 -5
- package/scss/map/_variables.scss +1 -1
- package/scss/maskedtextbox/_layout.scss +2 -46
- package/scss/maskedtextbox/_theme.scss +2 -20
- package/scss/menu/_layout.scss +0 -1
- package/scss/multiselect/_layout.scss +15 -34
- package/scss/multiselect/_variables.scss +16 -16
- package/scss/no-flexbox.scss +0 -2
- package/scss/numerictextbox/_layout.scss +2 -104
- package/scss/numerictextbox/_theme.scss +2 -95
- package/scss/numerictextbox/_variables.scss +1 -32
- package/scss/pager/_layout.scss +7 -12
- package/scss/pager/_variables.scss +1 -1
- package/scss/pdf-viewer/_layout.scss +0 -16
- package/scss/pdf-viewer/_variables.scss +1 -1
- package/scss/pivotgrid/_layout.scss +28 -7
- package/scss/pivotgrid/_theme.scss +13 -13
- package/scss/popup/_layout.scss +0 -34
- package/scss/popup/_theme.scss +4 -4
- package/scss/popup/_variables.scss +1 -1
- package/scss/radio/_layout.scss +78 -63
- package/scss/radio/_theme.scss +23 -23
- package/scss/radio/_variables.scss +154 -51
- package/scss/scheduler/_layout.scss +9 -228
- package/scss/scheduler/_theme.scss +5 -86
- package/scss/scrollview/_variables.scss +4 -4
- package/scss/searchbox/_layout.scss +1 -18
- package/scss/searchbox/_theme.scss +1 -46
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/slider/_layout.scss +0 -19
- package/scss/slider/_theme.scss +0 -4
- package/scss/slider/_variables.scss +10 -10
- package/scss/spreadsheet/_layout.scss +2 -38
- package/scss/spreadsheet/_theme.scss +13 -13
- package/scss/switch/_index.scss +0 -2
- package/scss/switch/_layout.scss +91 -92
- package/scss/switch/_theme.scss +91 -93
- package/scss/switch/_variables.scss +193 -83
- package/scss/taskboard/_layout.scss +0 -4
- package/scss/taskboard/_variables.scss +1 -1
- package/scss/textarea/_layout.scss +1 -91
- package/scss/textarea/_theme.scss +1 -66
- package/scss/textarea/_variables.scss +0 -53
- package/scss/textbox/_layout.scss +1 -73
- package/scss/textbox/_theme.scss +1 -70
- package/scss/textbox/_variables.scss +1 -2
- package/scss/timeline/_variables.scss +7 -7
- package/scss/toolbar/_layout.scss +2 -2
- package/scss/toolbar/_variables.scss +1 -1
- package/scss/treeview/_variables.scss +1 -1
- package/scss/upload/_layout.scss +2 -2
- package/scss/utils/_border.scss +5 -0
- package/scss/window/_layout.scss +1 -11
|
@@ -1,132 +1,172 @@
|
|
|
1
1
|
// Button
|
|
2
2
|
|
|
3
|
-
/// Width of border around
|
|
4
|
-
/// @group
|
|
5
|
-
$button-border-width: 1px !default;
|
|
6
|
-
|
|
7
|
-
///
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
$button-
|
|
13
|
-
|
|
14
|
-
///
|
|
15
|
-
|
|
16
|
-
$button-
|
|
17
|
-
$button-
|
|
18
|
-
$button-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
$button-
|
|
25
|
-
$button-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
///
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
///
|
|
34
|
-
|
|
35
|
-
$button-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
$
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
$button-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
///
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
///
|
|
51
|
-
/// @group
|
|
52
|
-
$button-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
///
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/// The
|
|
59
|
-
/// @group
|
|
60
|
-
$button-
|
|
61
|
-
/// The
|
|
62
|
-
/// @group
|
|
63
|
-
$button-
|
|
64
|
-
/// The
|
|
65
|
-
/// @group
|
|
66
|
-
$button-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
///
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
///
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
///
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
/// The
|
|
84
|
-
/// @group
|
|
85
|
-
$button-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
$button-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
$
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
$
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
$
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
$
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
$
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
$
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
$
|
|
131
|
-
|
|
132
|
-
|
|
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
|
+
|
package/scss/card/_layout.scss
CHANGED
|
@@ -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
|
-
//
|
|
212
|
-
.k-card-actions-stretched {
|
|
213
|
-
|
|
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 {
|
package/scss/card/_theme.scss
CHANGED
|
@@ -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;
|
package/scss/chat/_layout.scss
CHANGED
|
@@ -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:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
438
|
-
|
|
439
|
-
|
|
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: $
|
|
36
|
-
$chat-message-box-padding-y:
|
|
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: $
|
|
39
|
-
$chat-toolbar-padding-y:
|
|
40
|
-
$chat-toolbar-spacing:
|
|
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
|
|