@progress/kendo-theme-default 3.4.0-dev.ffd551c2 → 3.4.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-default",
3
3
  "description": "SASS resources for the default Kendo UI theme",
4
- "version": "3.4.0-dev.ffd551c2",
4
+ "version": "3.4.0",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -30,7 +30,7 @@
30
30
  "prepublishOnly": "npm run build && npm run swatches"
31
31
  },
32
32
  "devDependencies": {
33
- "@progress/kendo-theme-tasks": "^0.2.0-dev.ffd551c2",
33
+ "@progress/kendo-theme-tasks": "^0.1.4",
34
34
  "bootstrap": "^4.3.1",
35
35
  "handlebars": "^4.0.10"
36
36
  }
@@ -248,6 +248,8 @@
248
248
 
249
249
  // Explicitly exclude flat button from button group styling
250
250
  &,
251
+ &:hover,
252
+ &.k-state-hover,
251
253
  .k-button-group & {
252
254
  color: $accent;
253
255
  background: none;
@@ -111,6 +111,10 @@
111
111
  }
112
112
  &:not(.k-calendar-infinite) .k-calendar-header {
113
113
  line-height: inherit;
114
+
115
+ .k-calendar-nav {
116
+ white-space: nowrap;
117
+ }
114
118
  }
115
119
 
116
120
 
@@ -341,6 +345,7 @@
341
345
  box-sizing: content-box;
342
346
  overflow-x: hidden;
343
347
  overflow-y: auto;
348
+ display: block;
344
349
 
345
350
  @include hide-scrollbar('right');
346
351
  }
@@ -485,7 +490,12 @@
485
490
  // jQuery
486
491
  &:not(.k-calendar-infinite) {
487
492
  .k-calendar-view {
493
+ display: flex;
488
494
  flex-direction: row;
495
+
496
+ .k-animation-container-sm & {
497
+ flex-direction: column;
498
+ }
489
499
  }
490
500
  }
491
501
 
@@ -417,7 +417,6 @@ $message-group-spacing: calc( #{$chat-avatar-size} + #{$chat-avatar-spacing} );
417
417
  @include exports( "chat/toolbar/layout" ) {
418
418
 
419
419
  .k-chat .k-toolbar-box {
420
- padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
421
420
  width: 100%;
422
421
  box-sizing: border-box;
423
422
  overflow: hidden;
@@ -434,6 +433,13 @@ $message-group-spacing: calc( #{$chat-avatar-size} + #{$chat-avatar-spacing} );
434
433
  overflow: hidden;
435
434
  // overflow-x: auto;
436
435
  scroll-behavior: smooth;
436
+ padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
437
+
438
+ // fix for flex container disregarding the right padding
439
+ &:after {
440
+ content: '';
441
+ padding-right: $chat-toolbar-padding-x;
442
+ }
437
443
 
438
444
  .k-button + .k-button {
439
445
  margin-left: $chat-toolbar-spacing;
@@ -216,6 +216,7 @@
216
216
  height: 14px;
217
217
  overflow: hidden;
218
218
  -ms-high-contrast-adjust: none;
219
+ cursor: pointer;
219
220
  }
220
221
  // TODO: consider extrangting variables
221
222
  // sass-lint:disable no-color-literals no-color-keywords
@@ -20,6 +20,7 @@
20
20
  }
21
21
 
22
22
  // Hovered state
23
+ .k-picker-wrap:hover,
23
24
  .k-state-hover {
24
25
  @include appearance( hovered-button );
25
26
  }
@@ -712,6 +712,8 @@
712
712
  .k-i-volume-low::before { @extend .k-i-volume-down; }
713
713
  .k-i-volume-high::before { @extend .k-i-volume-up; }
714
714
  .k-i-volume-mute::before { @extend .k-i-volume-off; }
715
+ .k-i-tick::before { @extend .k-i-check; }
716
+ .k-i-note::before { @extend .k-i-info; }
715
717
 
716
718
 
717
719
  // RTL icons
@@ -154,17 +154,20 @@
154
154
  color: $grid-sorting-indicator-text;
155
155
  }
156
156
 
157
- .k-grid-filter {}
158
- .k-grid-filter:hover {
159
- color: $button-hovered-text;
160
- background-color: $button-hovered-bg;
161
- }
162
- .k-grid-filter:focus {
163
- box-shadow: inset 0 0 0 2px rgba( 0, 0, 0, .1 );
164
- }
165
- .k-grid-filter.k-state-active {
166
- color: $selected-text;
167
- background-color: $selected-bg;
157
+ .k-grid-filter,
158
+ .k-header-column-menu,
159
+ .k-hierarchy-cell .k-icon {
160
+ &:hover {
161
+ color: $button-hovered-text;
162
+ background-color: $button-hovered-bg;
163
+ }
164
+ &:focus {
165
+ box-shadow: inset 0 0 0 2px rgba( 0, 0, 0, .1 );
166
+ }
167
+ &.k-state-active {
168
+ color: $selected-text;
169
+ background-color: $selected-bg;
170
+ }
168
171
  }
169
172
  }
170
173
 
@@ -430,7 +430,7 @@ $checkbox-size: $icon-size !default;
430
430
  .k-form {
431
431
  input,
432
432
  label:not(.k-checkbox-label):not(.k-radio-label),
433
- .k-widget:not(.k-calendar) {
433
+ .k-widget:not(.k-calendar):not(.k-switch) {
434
434
  display: block;
435
435
  }
436
436
 
@@ -41,7 +41,9 @@
41
41
 
42
42
  .k-list .k-item,
43
43
  .k-list-optionlabel {
44
- transition: all .2s ease; // sass-lint:disable-block no-transition-all
44
+ transition-property: color, background-color, outline-color, box-shadow;
45
+ transition-duration: 200ms;
46
+ transition-timing-function: ease;
45
47
  }
46
48
 
47
49
  .k-list .k-item:hover,
@@ -147,13 +147,6 @@
147
147
  }
148
148
  .k-nav-today { @include border-left-radius-only(); }
149
149
  .k-nav-next { @include border-right-radius-only(); }
150
-
151
- .k-rtl & {
152
- .k-i-arrow-60-left,
153
- .k-i-arrow-60-right {
154
- transform: scaleX(-1);
155
- }
156
- }
157
150
  }
158
151
 
159
152
  .k-scheduler-tools {
@@ -231,6 +224,11 @@
231
224
  &.k-state-expanded {
232
225
  li { display: block; }
233
226
  }
227
+
228
+ .k-rtl & {
229
+ left: $toolbar-padding-x;
230
+ right: auto;
231
+ }
234
232
  }
235
233
  }
236
234
 
@@ -261,13 +259,6 @@
261
259
  display: flex;
262
260
  flex-direction: column;
263
261
 
264
- &.k-scheduler-timeline-view,
265
- &.k-scheduler-timeline-week-view,
266
- &.k-scheduler-timeline-month-view {
267
-
268
- .k-scheduler-header-wrap { border-width: 0; }
269
- }
270
-
271
262
  &.k-scheduler-weekview,
272
263
  &.k-scheduler-dayview {
273
264
  .k-scheduler-pane:first-child .k-scheduler-table {
@@ -760,6 +751,8 @@
760
751
 
761
752
  .k-event {
762
753
  text-align: right;
754
+ padding-right: 0;
755
+ padding-left: $padding-x;
763
756
 
764
757
  .k-resize-w {
765
758
  left: auto;
@@ -777,6 +770,7 @@
777
770
  }
778
771
 
779
772
  .k-event-actions:first-child {
773
+ margin: $padding-y-sm $padding-x-sm 0 .4ex;
780
774
  float: right;
781
775
  }
782
776
  }
@@ -788,6 +782,10 @@
788
782
  .k-scheduler-views {
789
783
  li:first-child + li { @include border-right-radius-only(); }
790
784
  li:last-child { @include border-left-radius-only(); }
785
+
786
+ .k-current-view .k-link::after {
787
+ margin: 0 1ex 0 0;
788
+ }
791
789
  }
792
790
 
793
791
  .k-scheduler-navigation {
@@ -832,6 +830,27 @@
832
830
  .k-scheduler-edit-form .k-scheduler-delete {
833
831
  float: right;
834
832
  }
835
- }
836
833
 
834
+ .k-scheduler,
835
+ &.k-scheduler
836
+ {
837
+ .k-i-arrow-60-left,
838
+ .k-i-arrow-60-right,
839
+ .k-current-time-arrow-right
840
+ {
841
+ transform: scaleX(-1);
842
+ }
843
+
844
+ .k-scheduler-header-wrap {
845
+ border-right-width: 0;
846
+ border-left-width: 1px;
847
+ }
848
+
849
+ .k-scheduler-agendaday {
850
+ float: right;
851
+ margin: 0 0 0 .2em;
852
+ }
853
+ }
854
+ }
837
855
  }
856
+
@@ -136,6 +136,11 @@
136
136
  left: 3px;
137
137
  opacity: 0.35;
138
138
  background-color: $scheduler-event-text;
139
+
140
+ .k-rtl & {
141
+ left: 0;
142
+ right: 3px;
143
+ }
139
144
  }
140
145
 
141
146
  &.k-state-selected {
@@ -183,9 +183,15 @@
183
183
  border-bottom-width: 0;
184
184
  }
185
185
 
186
- .k-tabstrip-prev,
187
- .k-tabstrip-next {
188
- bottom: 0;
186
+ &.k-tabstrip-scrollable {
187
+ .k-tabstrip-prev,
188
+ .k-tabstrip-next {
189
+ bottom: 0;
190
+
191
+ .k-ie11 & {
192
+ top: auto;
193
+ }
194
+ }
189
195
  }
190
196
  }
191
197
  .k-tabstrip-left {
@@ -299,16 +305,27 @@
299
305
 
300
306
 
301
307
  @include exports("tabstrip/layout/rtl") {
308
+ .k-rtl .k-tabstrip,
309
+ .k-tabstrip[dir="rtl"] {
302
310
 
303
- .k-tabstrip-left,
304
- .k-tabstrip-right {
305
-
306
- .k-rtl &,
307
- &[dir="rtl"] {
311
+ &.k-tabstrip-left,
312
+ &.k-tabstrip-right {
308
313
  > .k-tabstrip-items { order: 1; }
309
314
  > .k-content { order: 0; }
310
315
  }
311
316
 
317
+ .k-tabstrip-prev {
318
+ left: auto;
319
+ right: 0;
320
+ transform: scaleX(-1);
321
+ }
322
+
323
+ .k-tabstrip-next {
324
+ left: 0;
325
+ right: auto;
326
+ transform: scaleX(-1);
327
+ }
328
+
312
329
  }
313
330
 
314
331
  }