@progress/kendo-theme-default 4.41.2 → 5.0.0-next.2

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.
@@ -237,183 +237,35 @@
237
237
  }
238
238
 
239
239
 
240
- // Scheduler views
241
- .k-scheduler-views-wrapper {
242
- margin-left: auto;
243
-
244
- .k-views-dropdown {
245
- width: auto;
246
- font: inherit;
247
- display: none;
248
- }
249
- }
250
-
251
-
252
240
  // Responsive scheduler toolbar
253
241
  @media (max-width: 1400px) {
254
242
  .k-nav-current .k-lg-date-format { max-width: 200px; }
255
243
  }
256
244
 
257
245
  @media (max-width: 1024px) {
258
-
259
246
  .k-nav-current .k-lg-date-format { display: none; }
260
247
  .k-nav-current .k-sm-date-format { display: inline-block; }
261
-
262
- .k-scheduler-views-wrapper .k-scheduler-views { display: none; }
263
- .k-scheduler-views-wrapper .k-views-dropdown { display: inline-block; }
264
248
  }
265
249
  }
266
- kendo-scheduler .k-scheduler-toolbar {
267
- padding: $toolbar-padding-y $toolbar-padding-x;
268
- border-style: solid;
269
- display: flex;
270
- flex-direction: row;
271
- flex-wrap: wrap;
272
- align-items: center;
273
- justify-content: space-between;
274
- }
275
250
 
276
251
 
277
252
  // Scheduler navigation
278
- ul.k-scheduler-navigation {
279
- display: flex;
280
- flex-direction: row;
281
- align-items: center;
282
- flex: 1;
283
-
284
- li {
285
- border-width: $button-border-width;
286
- border-style: solid;
287
- position: relative;
288
- z-index: 1;
289
- }
290
- li + li {
291
- margin-left: -$button-border-width;
292
- }
293
- .k-state-hover,
294
- .k-state-selected {
295
- z-index: 2;
296
- }
297
-
298
-
299
- .k-link {
300
- padding: $button-padding-y $button-padding-x;
301
- box-sizing: border-box;
302
- color: inherit;
303
- text-decoration: none;
304
- display: flex;
305
- flex-direction: row;
306
- align-items: center;
307
- align-content: center;
308
- justify-content: center;
309
- }
310
-
311
-
312
- // Prev / next
313
- .k-nav-prev,
314
- .k-nav-next {
315
- .k-link {
316
- padding: $button-padding-y;
317
- width: $button-inner-calc-size;
318
- height: $button-inner-calc-size;
319
- }
320
- }
321
-
322
-
323
- // Exception
324
- .k-nav-current {
325
- border: 0;
326
- margin-left: 0;
327
- gap: 0;
328
-
329
- > .k-link {
330
- gap: $icon-spacing;
331
- }
332
- }
333
- .k-nav-today { @include border-left-radius-only( $border-radius ); }
334
- .k-nav-next { @include border-right-radius-only( $border-radius ); }
335
- }
253
+ .k-scheduler-navigation {}
336
254
 
337
255
 
338
256
  // View switcher
339
- ul.k-scheduler-views {
340
- display: flex;
341
- flex-direction: row;
342
- align-items: center;
343
- margin-left: auto;
344
-
345
- li {
346
- border-width: $button-border-width;
347
- border-style: solid;
348
- position: relative;
349
- z-index: 1;
350
- }
351
- li + li {
352
- margin-left: -$button-border-width;
353
- }
354
- .k-state-hover,
355
- .k-state-selected {
356
- z-index: 2;
357
- }
358
-
359
-
360
- .k-link {
361
- padding: $button-padding-y $button-padding-x;
362
- box-sizing: border-box;
363
- color: inherit;
364
- text-decoration: none;
365
- display: flex;
366
- flex-direction: row;
367
- align-items: center;
368
- align-content: center;
369
- justify-content: center;
370
- }
371
-
372
- li:first-child { @include border-radius( $border-radius ); }
373
- li:first-child + li { @include border-left-radius-only( $border-radius ); }
374
- li:last-child { @include border-right-radius-only( $border-radius ); }
375
-
376
- &.k-state-expanded {
377
- li {
378
- @include border-radius( 0 );
379
- margin: 0;
380
- }
381
- li + li { margin-top: -1px; }
382
- li:first-child { @include border-top-radius-only( $border-radius ); }
383
- li:first-child + li { @include border-radius( 0 ); }
384
- li:last-child { @include border-bottom-radius-only( $border-radius ); }
385
- }
257
+ .k-scheduler-views-wrapper {
386
258
 
387
- .k-current-view { display: none; }
388
- .k-current-view .k-link::after {
389
- content: "";
390
- margin: 0 0 0 1ex;
391
- border: .25em solid transparent;
392
- border-top: .5em solid currentColor;
393
- border-bottom-width: 0;
394
- display: inline-block;
259
+ // Views dropdown
260
+ .k-views-dropdown {
261
+ width: auto;
262
+ font: inherit;
263
+ display: none;
395
264
  }
396
265
 
397
266
  @media (max-width: 1024px) {
398
- flex-direction: column;
399
- align-items: stretch;
400
- position: absolute;
401
- right: $toolbar-padding-x;
402
- top: $toolbar-padding-y;
403
- z-index: 1000;
404
-
405
- li { display: none; }
406
- .k-current-view { display: block; }
407
-
408
-
409
- &.k-state-expanded {
410
- li { display: block; }
411
- }
412
-
413
- .k-rtl & {
414
- left: $toolbar-padding-x;
415
- right: auto;
416
- }
267
+ .k-scheduler-views { display: none; }
268
+ .k-views-dropdown { display: inline-block; }
417
269
  }
418
270
  }
419
271
 
@@ -426,51 +278,6 @@
426
278
  white-space: nowrap;
427
279
  flex-shrink: 0;
428
280
  position: relative;
429
-
430
- .k-widget {
431
- font-size: inherit;
432
- }
433
-
434
- li {
435
- border-width: $button-border-width;
436
- border-style: solid;
437
- position: relative;
438
- z-index: 1;
439
- }
440
- li + li {
441
- margin-left: -$button-border-width;
442
- }
443
- .k-state-hover,
444
- .k-state-selected {
445
- z-index: 2;
446
- }
447
-
448
-
449
- .k-link {
450
- padding: $button-padding-y $button-padding-x;
451
- box-sizing: border-box;
452
- color: inherit;
453
- text-decoration: none;
454
- display: flex;
455
- flex-direction: row;
456
- align-items: center;
457
- align-content: center;
458
- justify-content: center;
459
- gap: $icon-spacing;
460
- }
461
-
462
- li {
463
- @include border-radius( $border-radius );
464
- }
465
- }
466
- kendo-scheduler .k-scheduler-footer {
467
- padding: $toolbar-padding-y $toolbar-padding-x;
468
- border-style: solid;
469
- display: flex;
470
- flex-direction: row;
471
- flex-wrap: wrap;
472
- align-items: center;
473
- justify-content: space-between;
474
281
  }
475
282
 
476
283
 
@@ -1202,34 +1009,6 @@
1202
1009
 
1203
1010
  }
1204
1011
 
1205
- .k-scheduler-views {
1206
- margin-left: 0;
1207
- margin-right: auto;
1208
-
1209
- li:first-child + li { @include border-right-radius-only( $border-radius ); }
1210
- li:last-child { @include border-left-radius-only( $border-radius ); }
1211
-
1212
- .k-current-view .k-link::after {
1213
- margin: 0 1ex 0 0;
1214
- }
1215
- }
1216
-
1217
- .k-scheduler-navigation {
1218
-
1219
- .k-nav-today {
1220
- @include border-right-radius-only( $border-radius );
1221
- }
1222
-
1223
- .k-nav-next {
1224
- @include border-left-radius-only( $border-radius );
1225
- }
1226
-
1227
- li + li {
1228
- margin-left: 0;
1229
- margin-right: -1px;
1230
- }
1231
- }
1232
-
1233
1012
  .k-scheduler-marquee .k-label-top {
1234
1013
  left: auto;
1235
1014
  right: 4px;
@@ -54,96 +54,15 @@
54
54
 
55
55
 
56
56
  //Scheduler navigation
57
- ul.k-scheduler-navigation {
58
-
59
- li {
60
- &.k-state-focused {
61
- @include box-shadow( $list-item-focused-shadow );
62
- }
63
- }
64
-
65
- .k-nav-today,
66
- .k-nav-prev,
67
- .k-nav-next {
68
- @include fill(
69
- $button-text,
70
- $button-bg,
71
- $button-border,
72
- $button-gradient
73
- );
74
-
75
- &:hover,
76
- &.k-state-hover {
77
- @include fill(
78
- $button-hovered-text,
79
- $button-hovered-bg,
80
- $button-hovered-border,
81
- $button-hovered-gradient
82
- );
83
- }
84
- }
85
- }
57
+ .k-scheduler-navigation {}
86
58
 
87
59
 
88
60
  // View switcher
89
- ul.k-scheduler-views {
90
- &.k-state-expanded { background-color: $base-bg; }
91
-
92
- li {
93
- @include fill(
94
- $button-text,
95
- $button-bg,
96
- $button-border,
97
- $button-gradient
98
- );
99
-
100
- &:hover,
101
- &.k-state-hover {
102
- @include fill(
103
- $button-hovered-text,
104
- $button-hovered-bg,
105
- $button-hovered-border,
106
- $button-hovered-gradient
107
- );
108
- }
109
- &.k-state-selected {
110
- @include fill(
111
- $button-selected-text,
112
- $button-selected-bg,
113
- $button-selected-border,
114
- $button-selected-gradient
115
- );
116
- }
117
- &:focus,
118
- &.k-state-focus,
119
- &.k-state-focused {
120
- @include box-shadow( $button-focused-shadow );
121
- }
122
- }
123
- }
61
+ .k-scheduler-views {}
124
62
 
125
63
 
126
64
  // Scheduler footer
127
- .k-scheduler-footer {
128
-
129
- li {
130
- @include fill(
131
- $button-text,
132
- $button-bg,
133
- $button-border,
134
- $button-gradient
135
- );
136
-
137
- &:hover {
138
- @include fill(
139
- $button-hovered-text,
140
- $button-hovered-bg,
141
- $button-hovered-border,
142
- $button-hovered-gradient
143
- );
144
- }
145
- }
146
- }
65
+ .k-scheduler-footer {}
147
66
 
148
67
 
149
68
  // Scheduler content
@@ -228,7 +228,7 @@
228
228
  border-color: inherit;
229
229
  display: flex;
230
230
  flex-direction: row;
231
- align-items: start;
231
+ align-items: flex-start;
232
232
  position: relative;
233
233
  }
234
234
  .k-spreadsheet-sheets-bar-add {