@progress/kendo-theme-default 7.3.0-dev.0 → 8.0.0-dev.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 (44) hide show
  1. package/dist/all.css +2805 -2054
  2. package/dist/all.scss +485 -143
  3. package/dist/default-blue.scss +143 -29
  4. package/dist/default-dataviz-v4.scss +45 -6
  5. package/dist/default-green.scss +135 -29
  6. package/dist/default-main-dark.scss +190 -34
  7. package/dist/default-main.scss +34 -29
  8. package/dist/default-nordic.scss +143 -29
  9. package/dist/default-ocean-blue-a11y.scss +170 -33
  10. package/dist/default-ocean-blue.scss +166 -33
  11. package/dist/default-orange.scss +143 -29
  12. package/dist/default-purple.scss +143 -29
  13. package/dist/default-turquoise.scss +143 -29
  14. package/dist/default-urban.scss +143 -29
  15. package/dist/meta/sassdoc-data.json +45309 -34005
  16. package/dist/meta/sassdoc-raw-data.json +14047 -8822
  17. package/dist/meta/variables.json +1589 -1585
  18. package/lib/swatches/default-blue.json +541 -1
  19. package/lib/swatches/default-dataviz-v4.json +166 -1
  20. package/lib/swatches/default-green.json +501 -1
  21. package/lib/swatches/default-main-dark.json +751 -1
  22. package/lib/swatches/default-main.json +11 -1
  23. package/lib/swatches/default-nordic.json +541 -1
  24. package/lib/swatches/default-ocean-blue-a11y.json +672 -8
  25. package/lib/swatches/default-ocean-blue.json +645 -3
  26. package/lib/swatches/default-orange.json +541 -1
  27. package/lib/swatches/default-purple.json +541 -1
  28. package/lib/swatches/default-turquoise.json +541 -1
  29. package/lib/swatches/default-urban.json +541 -1
  30. package/package.json +4 -4
  31. package/scss/calendar/_layout.scss +7 -5
  32. package/scss/calendar/_theme.scss +0 -3
  33. package/scss/calendar/_variables.scss +199 -3
  34. package/scss/core/color-system/_swatch-legacy.scss +1 -1
  35. package/scss/core/color-system/_swatch.scss +1 -1
  36. package/scss/drawer/_layout.scss +27 -74
  37. package/scss/drawer/_variables.scss +65 -0
  38. package/scss/floating-label/_layout.scss +10 -14
  39. package/scss/floating-label/_theme.scss +5 -5
  40. package/scss/forms/_layout.scss +0 -13
  41. package/scss/panelbar/_layout.scss +2 -7
  42. package/scss/panelbar/_theme.scss +0 -15
  43. package/scss/panelbar/_variables.scss +166 -0
  44. package/scss/scheduler/_theme.scss +1 -1
@@ -1,136 +1,332 @@
1
1
  // Calendar
2
2
 
3
+ /// The width of the border around the Calendar.
4
+ /// @group calendar
3
5
  $kendo-calendar-border-width: 1px !default;
6
+
7
+ /// The font family of the Calendar.
8
+ /// @group calendar
4
9
  $kendo-calendar-font-family: $kendo-font-family !default;
10
+ /// The font size of the Calendar.
11
+ /// @group calendar
5
12
  $kendo-calendar-font-size: $kendo-font-size-md !default;
13
+ /// The line height of the Calendar.
14
+ /// @group calendar
6
15
  $kendo-calendar-line-height: $kendo-line-height-md !default;
7
16
 
17
+ /// The size of the cells in the Calendar.
18
+ /// @group calendar
8
19
  $kendo-calendar-cell-size: 32px !default;
9
20
 
21
+ /// The background color of the Calendar.
22
+ /// @group calendar
10
23
  $kendo-calendar-bg: $kendo-component-bg !default;
24
+ /// The text color of the Calendar.
25
+ /// @group calendar
11
26
  $kendo-calendar-text: $kendo-component-text !default;
27
+ /// The border color of the Calendar.
28
+ /// @group calendar
12
29
  $kendo-calendar-border: $kendo-component-border !default;
13
30
 
31
+ /// The horizontal padding of the header in the Calendar.
32
+ /// @group calendar
14
33
  $kendo-calendar-header-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
34
+ /// The vertical padding of the header in the Calendar.
35
+ /// @group calendar
15
36
  $kendo-calendar-header-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
37
+
38
+ /// The border width of the header in the Calendar.
39
+ /// @group calendar
16
40
  $kendo-calendar-header-border-width: 1px !default;
17
41
 
42
+ /// The background color of the header in the Calendar.
43
+ /// @group calendar
18
44
  $kendo-calendar-header-bg: $kendo-component-header-bg !default;
45
+ /// The text color of the header in the Calendar.
46
+ /// @group calendar
19
47
  $kendo-calendar-header-text: $kendo-component-header-text !default;
48
+ /// The border color of the header in the Calendar.
49
+ /// @group calendar
20
50
  $kendo-calendar-header-border: $kendo-component-header-border !default;
51
+ /// The gradient of the header in the Calendar.
52
+ /// @group calendar
21
53
  $kendo-calendar-header-gradient: $kendo-component-header-gradient !default;
22
54
  // TODO: variable is used, but the selector using it is not! Potentially remove;
55
+ /// The shadow of the header in the Calendar.
56
+ /// @group calendar
23
57
  $kendo-calendar-header-shadow: 0 1px 3px 1px rgba(black, .1) !default;
24
58
 
59
+ /// The gap between the items in the navigation of the Calendar.
60
+ /// @group calendar
25
61
  $kendo-calendar-nav-gap: null !default;
26
62
 
63
+ /// The horizontal padding of the footer in the Calendar.
64
+ /// @group calendar
27
65
  $kendo-calendar-footer-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
66
+ /// The vertical padding of the footer in the Calendar.
67
+ /// @group calendar
28
68
  $kendo-calendar-footer-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
29
69
 
70
+ /// The horizontal padding of the cells in the Calendar.
71
+ /// @group calendar
30
72
  $kendo-calendar-cell-padding-x: .25em !default;
73
+ /// The vertical padding of the cells in the Calendar.
74
+ /// @group calendar
31
75
  $kendo-calendar-cell-padding-y: $kendo-calendar-cell-padding-x !default;
76
+
77
+ /// The line height of the cells in the Calendar.
78
+ /// @group calendar
32
79
  $kendo-calendar-cell-line-height: $kendo-calendar-line-height !default;
80
+
81
+ /// The border radius of the cells in the Calendar.
82
+ /// @group calendar
33
83
  $kendo-calendar-cell-border-radius: $kendo-border-radius-md !default;
34
84
 
85
+ /// The horizontal padding of the header cells in the Calendar.
86
+ /// @group calendar
35
87
  $kendo-calendar-header-cell-padding-x: null !default;
88
+ /// The vertical padding of the header cells in the Calendar.
89
+ /// @group calendar
36
90
  $kendo-calendar-header-cell-padding-y: null !default;
91
+ /// The width of the header cells in the Calendar.
92
+ /// @group calendar
37
93
  $kendo-calendar-header-cell-width: $kendo-calendar-cell-size !default;
94
+ /// The height of the header cells in the Calendar.
95
+ /// @group calendar
38
96
  $kendo-calendar-header-cell-height: $kendo-calendar-cell-size !default;
97
+ /// The font size of the header cells in the Calendar.
98
+ /// @group calendar
39
99
  $kendo-calendar-header-cell-font-size: $kendo-font-size-sm !default;
100
+ /// The line height of the header cells in the Calendar.
101
+ /// @group calendar
40
102
  $kendo-calendar-header-cell-line-height: 2 !default;
103
+
104
+ /// The background color of the header cells in the Calendar.
105
+ /// @group calendar
41
106
  $kendo-calendar-header-cell-bg: null !default;
107
+ /// The text color of the header cells in the Calendar.
108
+ /// @group calendar
42
109
  $kendo-calendar-header-cell-text: $kendo-subtle-text !default;
110
+ /// The opacity of the header cells in the Calendar.
111
+ /// @group calendar
43
112
  $kendo-calendar-header-cell-opacity: null !default;
44
113
 
114
+ /// The horizontal padding of the caption in the Calendar.
115
+ /// @group calendar
45
116
  $kendo-calendar-caption-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
117
+ /// The vertical padding of the caption in the Calendar.
118
+ /// @group calendar
46
119
  $kendo-calendar-caption-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
120
+ /// The height of the caption in the Calendar.
121
+ /// @group calendar
47
122
  $kendo-calendar-caption-height: $kendo-calendar-cell-size !default;
123
+ /// The font size of the caption in the Calendar.
124
+ /// @group calendar
48
125
  $kendo-calendar-caption-font-size: null !default;
126
+ /// The line height of the caption in the Calendar.
127
+ /// @group calendar
49
128
  $kendo-calendar-caption-line-height: null !default;
129
+ /// The font weight of the caption in the Calendar.
130
+ /// @group calendar
50
131
  $kendo-calendar-caption-font-weight: bold !default;
51
132
 
133
+ /// The font size of the week number cells in the Calendar.
134
+ /// @group calendar
135
+ $kendo-calendar-week-number-font-size: $kendo-font-size-sm !default;
136
+
137
+ /// The width of the Calendar view.
138
+ /// @group calendar
52
139
  $kendo-calendar-view-width: ($kendo-calendar-cell-size * 8) !default;
140
+ /// The height of the Calendar view.
141
+ /// @group calendar
53
142
  $kendo-calendar-view-height: ($kendo-calendar-cell-size * 7) !default;
143
+
144
+ /// The gap between the items in the Calendar view.
145
+ /// @group calendar
54
146
  $kendo-calendar-view-gap: k-map-get( $kendo-spacing, 4 ) !default;
55
147
 
148
+ /// The background color of the weekend cells in the Calendar.
149
+ /// @group calendar
56
150
  $kendo-calendar-weekend-bg: null !default;
151
+ /// The text color of the weekend cells in the Calendar.
152
+ /// @group calendar
57
153
  $kendo-calendar-weekend-text: null !default;
58
154
 
155
+ /// The style of the current day in the Calendar.
156
+ /// @group calendar
59
157
  $kendo-calendar-today-style: color !default;
158
+ /// The color of the current day in the Calendar.
159
+ /// @group calendar
60
160
  $kendo-calendar-today-color: $kendo-color-primary !default;
61
161
 
162
+ /// The background color of the week number cells in the Calendar.
163
+ /// @group calendar
62
164
  $kendo-calendar-week-number-bg: null !default;
165
+ /// The text color of the week number cells in the Calendar.
166
+ /// @group calendar
63
167
  $kendo-calendar-week-number-text: $kendo-calendar-header-cell-text !default;
64
168
 
169
+ /// The background color of the preceding/subsequent month cells in the Calendar.
170
+ /// @group calendar
65
171
  $kendo-calendar-other-month-bg: null !default;
172
+ /// The text color of the preceding/subsequent month cells in the Calendar.
173
+ /// @group calendar
66
174
  $kendo-calendar-other-month-text: $kendo-calendar-header-cell-text !default;
67
175
 
176
+ /// The background color of the cells in the Calendar.
177
+ /// @group calendar
68
178
  $kendo-calendar-cell-bg: null !default;
179
+ /// The text color of the cells in the Calendar.
180
+ /// @group calendar
69
181
  $kendo-calendar-cell-text: null !default;
182
+ /// The border color of the cells in the Calendar.
183
+ /// @group calendar
70
184
  $kendo-calendar-cell-border: null !default;
185
+ /// The gradient of the cells in the Calendar.
186
+ /// @group calendar
71
187
  $kendo-calendar-cell-gradient: null !default;
72
188
 
189
+ /// The background color of the hovered cells in the Calendar.
190
+ /// @group calendar
73
191
  $kendo-calendar-cell-hover-bg: $kendo-hover-bg !default;
192
+ /// The text color of the hovered cells in the Calendar.
193
+ /// @group calendar
74
194
  $kendo-calendar-cell-hover-text: $kendo-hover-text !default;
195
+ /// The border color of the hovered cells in the Calendar.
196
+ /// @group calendar
75
197
  $kendo-calendar-cell-hover-border: $kendo-hover-border !default;
198
+ /// The gradient of the hovered cells in the Calendar.
199
+ /// @group calendar
76
200
  $kendo-calendar-cell-hover-gradient: null !default;
77
201
 
202
+ /// The background color of the selected cells in the Calendar.
203
+ /// @group calendar
78
204
  $kendo-calendar-cell-selected-bg: $kendo-selected-bg !default;
205
+ /// The text color of the selected cells in the Calendar.
206
+ /// @group calendar
79
207
  $kendo-calendar-cell-selected-text: $kendo-selected-text !default;
208
+ /// The border color of the selected cells in the Calendar.
209
+ /// @group calendar
80
210
  $kendo-calendar-cell-selected-border: $kendo-selected-border !default;
211
+ /// The gradient of the selected cells in the Calendar.
212
+ /// @group calendar
81
213
  $kendo-calendar-cell-selected-gradient: null !default;
82
214
 
215
+ /// The background color of the selected and hovered cells in the Calendar.
216
+ /// @group calendar
83
217
  $kendo-calendar-cell-selected-hover-bg: $kendo-selected-hover-bg !default;
218
+ /// The text color of the selected and hovered cells in the Calendar.
219
+ /// @group calendar
84
220
  $kendo-calendar-cell-selected-hover-text: $kendo-selected-hover-text !default;
221
+ /// The border color of the selected and hovered cells in the Calendar.
222
+ /// @group calendar
85
223
  $kendo-calendar-cell-selected-hover-border: null !default;
224
+ /// The gradient of the selected and hovered cells in the Calendar.
225
+ /// @group calendar
86
226
  $kendo-calendar-cell-selected-hover-gradient: null !default;
87
227
 
228
+ /// The shadow of the focused cells in the Calendar.
229
+ /// @group calendar
88
230
  $kendo-calendar-cell-focus-shadow: inset 0 0 0 2px rgba( $kendo-color-black, .08 ) !default;
231
+ /// The shadow of the selected and focused cells in the Calendar.
232
+ /// @group calendar
89
233
  $kendo-calendar-cell-selected-focus-shadow: $kendo-calendar-cell-focus-shadow !default;
90
234
 
91
235
 
92
- // Calendar navigation
236
+ /// The width of the Calendar navigation.
237
+ /// @group calendar
93
238
  $kendo-calendar-navigation-width: 5em !default;
239
+ /// The height of the items in the Calendar navigation.
240
+ /// @group calendar
94
241
  $kendo-calendar-navigation-item-height: 2em !default;
95
242
 
243
+ /// The background color of the Calendar navigation.
244
+ /// @group calendar
96
245
  $kendo-calendar-navigation-bg: $kendo-calendar-header-bg !default;
246
+ /// The text color of the Calendar navigation.
247
+ /// @group calendar
97
248
  $kendo-calendar-navigation-text: $kendo-calendar-header-text !default;
249
+ /// The border color of the Calendar navigation.
250
+ /// @group calendar
98
251
  $kendo-calendar-navigation-border: $kendo-calendar-header-border !default;
99
252
 
253
+ /// The text color of the hovered items in the Calendar navigation.
254
+ /// @group calendar
100
255
  $kendo-calendar-navigation-hover-text: $kendo-link-hover-text !default;
101
256
 
102
257
 
103
- // Infinite calendar
258
+ /// The horizontal padding of the header in the Infinite Calendar.
259
+ /// @group calendar
104
260
  $kendo-infinite-calendar-header-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
261
+ /// The vertical padding of the header in the Infinite Calendar.
262
+ /// @group calendar
105
263
  $kendo-infinite-calendar-header-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
106
264
 
265
+ /// The horizontal padding of the Calendar view in the Infinite Calendar.
266
+ /// @group calendar
107
267
  $kendo-infinite-calendar-view-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
268
+ /// The vertical padding of the Calendar view in the Infinite Calendar.
269
+ /// @group calendar
108
270
  $kendo-infinite-calendar-view-padding-y: 0px !default;
271
+
272
+ /// The height of the Calendar view in the Infinite Calendar.
273
+ /// @group calendar
109
274
  $kendo-infinite-calendar-view-height: ( $kendo-calendar-cell-size * 9 ) !default;
110
275
 
111
276
 
112
277
  // Multiview calendar
113
278
 
114
279
 
115
- // Calendar sizes
280
+ /// The font size of the small Calendar.
281
+ /// @group calendar
116
282
  $kendo-calendar-sm-font-size: $kendo-font-size-md !default;
283
+ /// The line height of the small Calendar.
284
+ /// @group calendar
117
285
  $kendo-calendar-sm-line-height: $kendo-line-height-md !default;
286
+ /// The size of the cells in the small Calendar.
287
+ /// @group calendar
118
288
  $kendo-calendar-sm-cell-size: 28px !default;
289
+ /// The horizontal padding of the cells in the small Calendar.
290
+ /// @group calendar
119
291
  $kendo-calendar-sm-cell-padding-x: k-map-get( $kendo-spacing, 0.5 ) !default;
292
+ /// The vertical padding of the cells in the small Calendar.
293
+ /// @group calendar
120
294
  $kendo-calendar-sm-cell-padding-y: k-map-get( $kendo-spacing, 0.5 ) !default;
121
295
 
296
+ /// The font size of the medium Calendar.
297
+ /// @group calendar
122
298
  $kendo-calendar-md-font-size: $kendo-font-size-md !default;
299
+ /// The line height of the medium Calendar.
300
+ /// @group calendar
123
301
  $kendo-calendar-md-line-height: $kendo-line-height-md !default;
302
+ /// The size of the cells in the medium Calendar.
303
+ /// @group calendar
124
304
  $kendo-calendar-md-cell-size: 32px !default;
305
+ /// The horizontal padding of the cells in the medium Calendar.
306
+ /// @group calendar
125
307
  $kendo-calendar-md-cell-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
308
+ /// The vertical padding of the cells in the medium Calendar.
309
+ /// @group calendar
126
310
  $kendo-calendar-md-cell-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
127
311
 
312
+ /// The font size of the large Calendar.
313
+ /// @group calendar
128
314
  $kendo-calendar-lg-font-size: $kendo-font-size-lg !default;
315
+ /// The line height of the large Calendar.
316
+ /// @group calendar
129
317
  $kendo-calendar-lg-line-height: $kendo-line-height-lg !default;
318
+ /// The size of the cells in the large Calendar.
319
+ /// @group calendar
130
320
  $kendo-calendar-lg-cell-size: 40px !default;
321
+ /// The horizontal padding of the cells in the large Calendar.
322
+ /// @group calendar
131
323
  $kendo-calendar-lg-cell-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
324
+ /// The vertical padding of the cells in the large Calendar.
325
+ /// @group calendar
132
326
  $kendo-calendar-lg-cell-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
133
327
 
328
+ /// The sizes Map of the Calendar.
329
+ /// @group calendar
134
330
  $kendo-calendar-sizes: (
135
331
  sm: (
136
332
  font-size: $kendo-calendar-sm-font-size,
@@ -18,7 +18,7 @@
18
18
  $kendo-app-border: k-color( border );
19
19
  $kendo-link-text: $kendo-color-primary;
20
20
  $kendo-link-hover-text: k-color( primary-hover );
21
- $kendo-component-bg: $kendo-body-bg;
21
+ $kendo-component-bg: k-color( surface-alt );
22
22
  $kendo-component-text: $kendo-body-text;
23
23
  $kendo-component-border: $kendo-app-border;
24
24
  $kendo-base-bg: k-color( surface );
@@ -3,7 +3,7 @@
3
3
  @import "./_palettes.scss";
4
4
 
5
5
  // Config
6
- $kendo-enable-color-system: false !default;
6
+ $kendo-enable-color-system: true !default;
7
7
 
8
8
  // Colors
9
9
  $_default-colors: (
@@ -1,14 +1,19 @@
1
1
  @mixin kendo-drawer--layout-base() {
2
2
 
3
+ // Container
3
4
  .k-drawer-container {
4
5
  display: flex;
5
6
  flex-flow: row nowrap;
6
7
  align-items: flex-start;
7
8
  }
9
+
8
10
  kendo-drawer.k-drawer,
9
11
  kendo-drawer .k-drawer-wrapper {
10
12
  transition: none;
11
13
  }
14
+
15
+
16
+ // Drawer
12
17
  .k-drawer {
13
18
  height: 100%;
14
19
  max-width: 100%;
@@ -33,41 +38,38 @@
33
38
  box-sizing: border-box;
34
39
  }
35
40
 
36
- // Borders
37
41
  .k-drawer-mini &.k-drawer-start,
38
- .k-drawer-expanded &.k-drawer-start,
39
- .k-drawer-left.k-drawer-mini &,
40
- .k-drawer-left.k-drawer-expanded & {
41
- border-right-width: $kendo-drawer-border-width;
42
+ .k-drawer-expanded &.k-drawer-start {
43
+ border-inline-end-width: $kendo-drawer-border-width;
42
44
  }
45
+
43
46
  .k-drawer-mini &.k-drawer-end,
44
- .k-drawer-expanded &.k-drawer-end,
45
- .k-drawer-right.k-drawer-mini &,
46
- .k-drawer-right.k-drawer-expanded & {
47
- border-left-width: $kendo-drawer-border-width;
47
+ .k-drawer-expanded &.k-drawer-end {
48
+ border-inline-start-width: $kendo-drawer-border-width;
48
49
  }
49
50
 
51
+
50
52
  // Position
51
- &.k-drawer-start,
52
- .k-drawer-left & {
53
+ &.k-drawer-start {
53
54
  top: 0;
54
- left: 0;
55
+ inset-inline-start: 0;
55
56
  }
56
- &.k-drawer-end,
57
- .k-drawer-right & {
57
+ &.k-drawer-end {
58
58
  top: 0;
59
- right: 0;
59
+ inset-inline-end: 0;
60
60
  }
61
61
  }
62
+
63
+
64
+ // Content
62
65
  .k-drawer-content {
63
66
  flex: 1 1 auto;
64
67
  overflow: auto;
65
68
  }
66
69
 
67
70
 
68
- // Overlay drawer
71
+ // Overlay
69
72
  .k-drawer-overlay {
70
-
71
73
  .k-drawer {
72
74
  max-width: 80vw; // limit width
73
75
  position: fixed;
@@ -81,7 +83,6 @@
81
83
  &.k-drawer-expanded > .k-overlay {
82
84
  display: block;
83
85
  }
84
-
85
86
  }
86
87
 
87
88
 
@@ -96,13 +97,9 @@
96
97
  align-self: stretch;
97
98
  }
98
99
 
99
-
100
- // right drawer
101
- .k-drawer.k-drawer-end,
102
- &.k-drawer-right .k-drawer {
103
- order: 1;
100
+ &:has(.k-drawer.k-drawer-end) {
101
+ flex-direction: row-reverse;
104
102
  }
105
-
106
103
  }
107
104
 
108
105
 
@@ -121,8 +118,7 @@
121
118
  border-radius: $kendo-drawer-scrollbar-radius;
122
119
  }
123
120
  }
124
- .k-drawer-items,
125
- .k-drawer-items ul {
121
+ .k-drawer-items {
126
122
  margin: 0;
127
123
  padding: 0;
128
124
  list-style: none;
@@ -185,61 +181,18 @@
185
181
  }
186
182
  }
187
183
  }
184
+
185
+
186
+ // Separator
188
187
  .k-drawer-separator {
189
188
  padding: 0;
190
189
  height: 1px;
191
190
  }
192
191
 
193
192
 
194
-
195
193
  // Mini mode
196
- .k-drawer-mini {
197
-
198
- .k-drawer-wrapper {
199
- width: $kendo-drawer-mini-initial-width;
200
- }
201
-
202
- }
203
-
204
-
205
- .k-rtl,
206
- [dir="rtl"] {
207
-
208
- // Borders
209
- &.k-drawer-mini .k-drawer-start,
210
- .k-drawer-mini .k-drawer-start,
211
- .k-drawer-expanded .k-drawer-start,
212
- &.k-drawer-expanded .k-drawer-start {
213
- border-left-width: $kendo-drawer-border-width;
214
- border-right-width: 0;
215
- }
216
- &.k-drawer-mini .k-drawer-end,
217
- .k-drawer-mini .k-drawer-end,
218
- &.k-drawer-expanded .k-drawer-end
219
- .k-drawer-expanded .k-drawer-end {
220
- border-left-width: 0;
221
- border-right-width: $kendo-drawer-border-width;
222
- }
223
-
224
- // Position
225
- &.k-drawer-overlay .k-drawer-start,
226
- .k-drawer-overlay .k-drawer-start {
227
- left: auto;
228
- right: 0;
229
- }
230
- &.k-drawer-overlay .k-drawer-end,
231
- .k-drawer-overlay .k-drawer-end {
232
- left: 0;
233
- right: auto;
234
- }
235
-
236
- // Order
237
- .k-drawer-left.k-drawer-push .k-drawer {
238
- order: 1;
239
- }
240
- .k-drawer-right.k-drawer-push .k-drawer {
241
- order: 0;
242
- }
194
+ .k-drawer-mini .k-drawer-wrapper {
195
+ width: $kendo-drawer-mini-initial-width;
243
196
  }
244
197
  }
245
198
 
@@ -1,40 +1,105 @@
1
1
  // Drawer
2
+
3
+ /// The background color of the Drawer.
4
+ /// @group drawer
2
5
  $kendo-drawer-bg: $kendo-component-bg !default;
6
+ /// The text color of the Drawer.
7
+ /// @group drawer
3
8
  $kendo-drawer-text: $kendo-component-text !default;
9
+ /// The border color of the Drawer.
10
+ /// @group drawer
4
11
  $kendo-drawer-border: $kendo-component-border !default;
12
+ /// The border width of the Drawer.
13
+ /// @group drawer
5
14
  $kendo-drawer-border-width: 1px !default;
15
+ /// The font family of the Drawer.
16
+ /// @group drawer
6
17
  $kendo-drawer-font-family: $kendo-font-family !default;
18
+ /// The font size of the Drawer.
19
+ /// @group drawer
7
20
  $kendo-drawer-font-size: $kendo-font-size-md !default;
21
+ /// The line height of the Drawer.
22
+ /// @group drawer
8
23
  $kendo-drawer-line-height: $kendo-line-height-md !default;
24
+
25
+ /// The horizontal padding of the Drawer content.
26
+ /// @group drawer
9
27
  $kendo-drawer-content-padding-x: $kendo-padding-md-x !default;
28
+ /// The vertical padding of the Drawer content.
29
+ /// @group drawer
10
30
  $kendo-drawer-content-padding-y: $kendo-padding-md-y !default;
11
31
 
32
+ /// The width of the Drawer scrollbar.
33
+ /// @group drawer
12
34
  $kendo-drawer-scrollbar-width: 7px !default;
35
+ /// The color of the Drawer scrollbar track.
36
+ /// @group drawer
13
37
  $kendo-drawer-scrollbar-color: rgba(156, 156, 156, .7) !default;
38
+ /// The background color of the Drawer scrollbar thumb.
39
+ /// @group drawer
14
40
  $kendo-drawer-scrollbar-bg: #dedede !default;
41
+ /// The border radius of the Drawer scrollbar.
42
+ /// @group drawer
15
43
  $kendo-drawer-scrollbar-radius: 20px !default;
44
+ /// The hover color of the Drawer scrollbar track.
45
+ /// @group drawer
16
46
  $kendo-drawer-scrollbar-hover-color: rgba(156, 156, 156, 1) !default;
17
47
 
48
+ /// The horizontal padding of the Drawer item.
49
+ /// @group drawer
18
50
  $kendo-drawer-item-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
51
+ /// The vertical padding of the Drawer item.
52
+ /// @group drawer
19
53
  $kendo-drawer-item-padding-y: $kendo-padding-md-x !default;
54
+ /// The font size of the Drawer item.
55
+ /// @group drawer
20
56
  $kendo-drawer-item-font-size: 16px !default;
57
+ /// The line height of the Drawer item.
58
+ /// @group drawer
21
59
  $kendo-drawer-item-line-height: $kendo-line-height-lg !default;
22
60
 
61
+ /// The horizontal padding of the Drawer item in each level.
62
+ /// @group drawer
23
63
  $kendo-drawer-item-level-padding-x: $kendo-drawer-item-padding-x !default;
64
+ /// The count of the Drawer item levels.
65
+ /// @group drawer
24
66
  $kendo-drawer-item-level-count: 5 !default;
25
67
 
68
+ /// The horizontal padding of the Drawer icon.
69
+ /// @group drawer
26
70
  $kendo-drawer-icon-padding-x: 0 !default;
71
+ /// The vertical padding of the Drawer icon.
72
+ /// @group drawer
27
73
  $kendo-drawer-icon-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
28
74
 
75
+ /// The initial width of the mini Drawer.
76
+ /// @group drawer
29
77
  $kendo-drawer-mini-initial-width: calc(2 * #{$kendo-drawer-item-padding-x} + #{$kendo-icon-size}) !default;
30
78
 
79
+ /// The background color of the hovered Drawer item.
80
+ /// @group drawer
31
81
  $kendo-drawer-hover-bg: $kendo-hover-bg !default;
82
+ /// The text color of the hovered Drawer item.
83
+ /// @group drawer
32
84
  $kendo-drawer-hover-text: $kendo-hover-text !default;
33
85
 
86
+ /// The background color of the focused Drawer item.
87
+ /// @group drawer
34
88
  $kendo-drawer-focus-bg: $kendo-drawer-bg !default;
89
+ /// The box shadow of the focused Drawer item.
90
+ /// @group drawer
35
91
  $kendo-drawer-focus-shadow: $kendo-list-item-focus-shadow !default;
36
92
 
93
+ /// The background color of the selected Drawer item.
94
+ /// @group drawer
37
95
  $kendo-drawer-selected-bg: $kendo-selected-bg !default;
96
+ /// The text color of the selected Drawer item.
97
+ /// @group drawer
38
98
  $kendo-drawer-selected-text: $kendo-selected-text !default;
99
+
100
+ /// The background color of the selected and hovered Drawer item.
101
+ /// @group drawer
39
102
  $kendo-drawer-selected-hover-bg: $kendo-selected-hover-bg !default;
103
+ /// The text color of the selected and hovered Drawer item.
104
+ /// @group drawer
40
105
  $kendo-drawer-selected-hover-text: $kendo-selected-hover-text !default;