@progress/kendo-theme-default 3.4.0-dev.d0adf13e → 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/CHANGELOG.md +38 -0
- package/dist/all.css +1 -1
- package/package.json +3 -3
- package/scss/_variables.scss +10 -1
- package/scss/button/_theme.scss +2 -0
- package/scss/calendar/_layout.scss +10 -0
- package/scss/chat/_layout.scss +7 -1
- package/scss/colorpicker/_layout.scss +1 -0
- package/scss/colorpicker/_theme.scss +1 -0
- package/scss/common/_base.scss +6 -0
- package/scss/common/_icons.scss +2 -0
- package/scss/grid/_layout.scss +1 -0
- package/scss/grid/_theme.scss +14 -11
- package/scss/input/_layout.scss +1 -1
- package/scss/popup/_theme.scss +3 -1
- package/scss/scheduler/_layout.scss +44 -17
- package/scss/scheduler/_theme.scss +5 -0
- package/scss/tabstrip/_layout.scss +27 -5
- package/scss/toolbar/_layout.scss +6 -4
- package/scss/toolbar/_theme.scss +0 -5
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
|
|
4
|
+
"version": "3.4.0",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"prepublishOnly": "npm run build && npm run swatches"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@progress/kendo-theme-tasks": "^0.
|
|
34
|
-
"bootstrap": "^4.1
|
|
33
|
+
"@progress/kendo-theme-tasks": "^0.1.4",
|
|
34
|
+
"bootstrap": "^4.3.1",
|
|
35
35
|
"handlebars": "^4.0.10"
|
|
36
36
|
}
|
|
37
37
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -180,6 +180,14 @@ $toolbar-button-line-height: $button-line-height !default;
|
|
|
180
180
|
$toolbar-button-calc-size: #{$toolbar-button-line-height * 1em} + #{$toolbar-button-padding-y * 2} + #{$toolbar-button-border-width * 2} !default;
|
|
181
181
|
$toolbar-inner-calc-size: #{$toolbar-button-calc-size} + #{$toolbar-padding-y * 2} !default;
|
|
182
182
|
|
|
183
|
+
$toolbar-button-expanded-bg: null !default;
|
|
184
|
+
$toolbar-button-expanded-shadow: none !default;
|
|
185
|
+
|
|
186
|
+
$toolbar-shadow: none !default;
|
|
187
|
+
$toolbar-separator-padding-y: $toolbar-button-padding-y !default;
|
|
188
|
+
$toolbar-separator-border: inherit !default;
|
|
189
|
+
|
|
190
|
+
|
|
183
191
|
$list-item-padding-x: $padding-x !default;
|
|
184
192
|
$list-item-padding-y: $padding-y !default;
|
|
185
193
|
|
|
@@ -1154,9 +1162,10 @@ $editor-overlay-background: #000 !default;
|
|
|
1154
1162
|
// Scheduler
|
|
1155
1163
|
$scheduler-event-border-radius: $border-radius !default;
|
|
1156
1164
|
|
|
1157
|
-
$scheduler-event-border: $accent !default;
|
|
1158
1165
|
$scheduler-event-bg: $selected-bg !default;
|
|
1159
1166
|
$scheduler-event-text: $selected-text !default;
|
|
1167
|
+
$scheduler-event-min-height: 25px !default;
|
|
1168
|
+
$scheduler-event-line-height: calc(#{$scheduler-event-min-height} - (2 * #{$padding-y})) !default;
|
|
1160
1169
|
|
|
1161
1170
|
$scheduler-event-selected-box-shadow: null !default;
|
|
1162
1171
|
|
package/scss/button/_theme.scss
CHANGED
|
@@ -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
|
|
package/scss/chat/_layout.scss
CHANGED
|
@@ -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;
|
package/scss/common/_base.scss
CHANGED
package/scss/common/_icons.scss
CHANGED
|
@@ -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
|
package/scss/grid/_layout.scss
CHANGED
package/scss/grid/_theme.scss
CHANGED
|
@@ -154,17 +154,20 @@
|
|
|
154
154
|
color: $grid-sorting-indicator-text;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.k-grid-filter
|
|
158
|
-
.k-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
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
|
|
package/scss/input/_layout.scss
CHANGED
package/scss/popup/_theme.scss
CHANGED
|
@@ -41,7 +41,9 @@
|
|
|
41
41
|
|
|
42
42
|
.k-list .k-item,
|
|
43
43
|
.k-list-optionlabel {
|
|
44
|
-
transition:
|
|
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 {
|
|
@@ -342,7 +333,7 @@
|
|
|
342
333
|
kendo-scheduler .k-event,
|
|
343
334
|
.k-event {
|
|
344
335
|
@include border-radius();
|
|
345
|
-
min-height: $
|
|
336
|
+
min-height: $scheduler-event-min-height;
|
|
346
337
|
box-sizing: border-box;
|
|
347
338
|
border-width: 0;
|
|
348
339
|
border-style: solid;
|
|
@@ -371,6 +362,7 @@
|
|
|
371
362
|
|
|
372
363
|
// Template
|
|
373
364
|
.k-event-template {
|
|
365
|
+
line-height: $scheduler-event-line-height;
|
|
374
366
|
padding: $padding-y $padding-x;
|
|
375
367
|
// TODO: incompatible units
|
|
376
368
|
// padding-right: $padding-x-sm + $spacer;
|
|
@@ -387,7 +379,8 @@
|
|
|
387
379
|
.k-event-actions {
|
|
388
380
|
white-space: nowrap;
|
|
389
381
|
position: absolute;
|
|
390
|
-
top:
|
|
382
|
+
top: 0;
|
|
383
|
+
bottom: 0;
|
|
391
384
|
right: $padding-x;
|
|
392
385
|
opacity: .5;
|
|
393
386
|
visibility: hidden;
|
|
@@ -398,6 +391,11 @@
|
|
|
398
391
|
opacity: 1;
|
|
399
392
|
}
|
|
400
393
|
|
|
394
|
+
.k-icon {
|
|
395
|
+
line-height: normal;
|
|
396
|
+
font-size: inherit;
|
|
397
|
+
}
|
|
398
|
+
|
|
401
399
|
a { color: inherit; }
|
|
402
400
|
}
|
|
403
401
|
|
|
@@ -411,6 +409,7 @@
|
|
|
411
409
|
position: relative;
|
|
412
410
|
opacity: 1;
|
|
413
411
|
visibility: visible;
|
|
412
|
+
line-height: normal;
|
|
414
413
|
}
|
|
415
414
|
|
|
416
415
|
|
|
@@ -752,6 +751,8 @@
|
|
|
752
751
|
|
|
753
752
|
.k-event {
|
|
754
753
|
text-align: right;
|
|
754
|
+
padding-right: 0;
|
|
755
|
+
padding-left: $padding-x;
|
|
755
756
|
|
|
756
757
|
.k-resize-w {
|
|
757
758
|
left: auto;
|
|
@@ -769,6 +770,7 @@
|
|
|
769
770
|
}
|
|
770
771
|
|
|
771
772
|
.k-event-actions:first-child {
|
|
773
|
+
margin: $padding-y-sm $padding-x-sm 0 .4ex;
|
|
772
774
|
float: right;
|
|
773
775
|
}
|
|
774
776
|
}
|
|
@@ -780,6 +782,10 @@
|
|
|
780
782
|
.k-scheduler-views {
|
|
781
783
|
li:first-child + li { @include border-right-radius-only(); }
|
|
782
784
|
li:last-child { @include border-left-radius-only(); }
|
|
785
|
+
|
|
786
|
+
.k-current-view .k-link::after {
|
|
787
|
+
margin: 0 1ex 0 0;
|
|
788
|
+
}
|
|
783
789
|
}
|
|
784
790
|
|
|
785
791
|
.k-scheduler-navigation {
|
|
@@ -824,6 +830,27 @@
|
|
|
824
830
|
.k-scheduler-edit-form .k-scheduler-delete {
|
|
825
831
|
float: right;
|
|
826
832
|
}
|
|
827
|
-
}
|
|
828
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
|
+
}
|
|
829
855
|
}
|
|
856
|
+
|
|
@@ -182,6 +182,17 @@
|
|
|
182
182
|
@include border-top-radius( $tabstrip-item-border-radius );
|
|
183
183
|
border-bottom-width: 0;
|
|
184
184
|
}
|
|
185
|
+
|
|
186
|
+
&.k-tabstrip-scrollable {
|
|
187
|
+
.k-tabstrip-prev,
|
|
188
|
+
.k-tabstrip-next {
|
|
189
|
+
bottom: 0;
|
|
190
|
+
|
|
191
|
+
.k-ie11 & {
|
|
192
|
+
top: auto;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
185
196
|
}
|
|
186
197
|
.k-tabstrip-left {
|
|
187
198
|
flex-direction: row;
|
|
@@ -294,16 +305,27 @@
|
|
|
294
305
|
|
|
295
306
|
|
|
296
307
|
@include exports("tabstrip/layout/rtl") {
|
|
308
|
+
.k-rtl .k-tabstrip,
|
|
309
|
+
.k-tabstrip[dir="rtl"] {
|
|
297
310
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
.k-rtl &,
|
|
302
|
-
&[dir="rtl"] {
|
|
311
|
+
&.k-tabstrip-left,
|
|
312
|
+
&.k-tabstrip-right {
|
|
303
313
|
> .k-tabstrip-items { order: 1; }
|
|
304
314
|
> .k-content { order: 0; }
|
|
305
315
|
}
|
|
306
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
|
+
|
|
307
329
|
}
|
|
308
330
|
|
|
309
331
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
$toolbar-shadow: none !default;
|
|
2
|
-
$toolbar-separator-padding-y: $toolbar-button-padding-y !default;
|
|
3
|
-
|
|
4
1
|
@include exports("toolbar/layout") {
|
|
5
2
|
|
|
6
3
|
// Base
|
|
@@ -17,6 +14,11 @@ $toolbar-separator-padding-y: $toolbar-button-padding-y !default;
|
|
|
17
14
|
overflow: hidden;
|
|
18
15
|
box-shadow: $toolbar-shadow;
|
|
19
16
|
|
|
17
|
+
&:before {
|
|
18
|
+
content: '';
|
|
19
|
+
height: calc(#{$toolbar-button-calc-size});
|
|
20
|
+
}
|
|
21
|
+
|
|
20
22
|
&.k-toolbar-resizable {
|
|
21
23
|
flex-wrap: nowrap;
|
|
22
24
|
}
|
|
@@ -126,8 +128,8 @@ $toolbar-separator-padding-y: $toolbar-button-padding-y !default;
|
|
|
126
128
|
// Separator
|
|
127
129
|
.k-separator {
|
|
128
130
|
@extend %hr-vertical;
|
|
129
|
-
padding: $toolbar-separator-padding-y 0;
|
|
130
131
|
margin: 0 $toolbar-spacing;
|
|
132
|
+
height: $line-height-em;
|
|
131
133
|
|
|
132
134
|
& + * {
|
|
133
135
|
margin-left: 0;
|
package/scss/toolbar/_theme.scss
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
$toolbar-separator-border: inherit !default;
|
|
2
|
-
|
|
3
|
-
$toolbar-button-expanded-bg: null !default;
|
|
4
|
-
$toolbar-button-expanded-shadow: none !default;
|
|
5
|
-
|
|
6
1
|
// Toolbar button types
|
|
7
2
|
// null - default buttons type
|
|
8
3
|
// thin - flat buttons appearance in the normal state and normal buttons appearance in other states
|