@progress/kendo-theme-default 4.43.1-dev.2 → 4.43.1-dev.6
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/README.md +5 -8
- package/dist/all.css +2078 -1506
- package/dist/all.scss +2413 -2288
- package/package.json +2 -2
- package/scss/_layout.scss +0 -0
- package/scss/adaptive/_layout.scss +40 -86
- package/scss/adaptive/_theme.scss +0 -9
- package/scss/appbar/_layout.scss +13 -0
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_layout.scss +4 -4
- package/scss/autocomplete/_theme.scss +20 -39
- package/scss/autocomplete/_variables.scss +0 -19
- package/scss/avatar/_variables.scss +11 -1
- package/scss/button/_layout.scss +57 -100
- package/scss/button/_theme.scss +177 -112
- package/scss/button/_variables.scss +77 -14
- package/scss/calendar/_layout.scss +2 -14
- package/scss/card/_variables.scss +4 -4
- package/scss/chat/_layout.scss +9 -9
- package/scss/chat/_theme.scss +0 -21
- package/scss/chat/_variables.scss +0 -7
- package/scss/checkbox/_index.scss +1 -0
- package/scss/checkbox/_layout.scss +80 -146
- package/scss/checkbox/_theme.scss +6 -2
- package/scss/checkbox/_variables.scss +87 -18
- package/scss/color-preview/_layout.scss +50 -8
- package/scss/color-preview/_theme.scss +0 -14
- package/scss/color-preview/_variables.scss +2 -2
- package/scss/coloreditor/_layout.scss +5 -1
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/colorgradient/_layout.scss +0 -4
- package/scss/colorpicker/_layout.scss +6 -0
- package/scss/combobox/_layout.scss +22 -29
- package/scss/combobox/_theme.scss +59 -99
- package/scss/combobox/_variables.scss +1 -32
- package/scss/common/_loading.scss +1 -13
- package/scss/daterangepicker/_index.scss +10 -0
- package/scss/daterangepicker/_layout.scss +27 -0
- package/scss/daterangepicker/_theme.scss +3 -0
- package/scss/daterangepicker/_variables.scss +1 -0
- package/scss/dropdowngrid/_layout.scss +1 -0
- package/scss/dropdownlist/_layout.scss +37 -55
- package/scss/dropdownlist/_theme.scss +33 -75
- package/scss/editor/_layout.scss +7 -22
- package/scss/fab/index.md +0 -0
- package/scss/forms/_layout.scss +10 -14
- package/scss/gantt/_layout.scss +1 -1
- package/scss/grid/_layout.scss +128 -97
- package/scss/grid/_theme.scss +0 -6
- package/scss/grid/_variables.scss +7 -9
- package/scss/imageeditor/_layout.scss +4 -8
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +2 -0
- package/scss/input/_layout.scss +1 -1
- package/scss/input/_variables.scss +5 -5
- package/scss/list/_index.scss +1 -0
- package/scss/list/_layout.scss +16 -36
- package/scss/list/_theme.scss +4 -3
- package/scss/list/_variables.scss +66 -6
- package/scss/listbox/_layout.scss +9 -0
- package/scss/listbox/_variables.scss +1 -1
- package/scss/listview/_layout.scss +2 -9
- package/scss/map/_layout.scss +7 -5
- package/scss/maskedtextbox/_layout.scss +17 -31
- package/scss/maskedtextbox/_theme.scss +44 -14
- package/scss/mediaplayer/_layout.scss +13 -1
- package/scss/menu/_layout.scss +48 -5
- package/scss/menu/_theme.scss +6 -2
- package/scss/menu/_variables.scss +1 -1
- package/scss/multiselect/_layout.scss +2 -2
- package/scss/numerictextbox/_layout.scss +9 -27
- package/scss/numerictextbox/_theme.scss +64 -84
- package/scss/numerictextbox/_variables.scss +0 -27
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_variables.scss +1 -1
- package/scss/pdf-viewer/_layout.scss +20 -29
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/radio/_index.scss +1 -0
- package/scss/radio/_layout.scss +90 -136
- package/scss/radio/_theme.scss +2 -2
- package/scss/radio/_variables.scss +88 -26
- package/scss/scheduler/_layout.scss +26 -13
- package/scss/searchbox/_layout.scss +22 -8
- package/scss/searchbox/_theme.scss +16 -25
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/skeleton/_layout.scss +1 -1
- package/scss/slider/_layout.scss +35 -141
- package/scss/slider/_theme.scss +0 -6
- package/scss/spreadsheet/_layout.scss +32 -23
- package/scss/table/_layout.scss +29 -6
- package/scss/table/_theme.scss +3 -2
- package/scss/table/_variables.scss +3 -3
- package/scss/tabstrip/_layout.scss +6 -2
- package/scss/textarea/_layout.scss +1 -1
- package/scss/timeselector/_layout.scss +2 -2
- package/scss/toolbar/_layout.scss +37 -2
- package/scss/toolbar/_theme.scss +35 -7
- package/scss/treelist/_layout.scss +4 -0
- package/scss/treeview/_layout.scss +130 -116
- package/scss/treeview/_theme.scss +36 -25
- package/scss/treeview/_variables.scss +67 -13
- package/scss/typography/_variables.scss +3 -3
- package/scss/utils/_flex.scss +11 -3
- package/scss/virtual-scroller/_index.scss +10 -0
- package/scss/virtual-scroller/_layout.scss +35 -0
- package/scss/virtual-scroller/_theme.scss +3 -0
- package/scss/virtual-scroller/_variables.scss +1 -0
- package/scss/window/_layout.scss +2 -2
- package/scss/window/_variables.scss +1 -1
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": "4.43.1-dev.
|
|
4
|
+
"version": "4.43.1-dev.6",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"dart:flat": "gulp dart:flat",
|
|
48
48
|
"prepublishOnly": "echo 'no prebublish for default theme'"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "2362d5beb5c65e7d4b4bc9c8a06b589bc065be8d"
|
|
51
51
|
}
|
|
File without changes
|
|
@@ -83,14 +83,6 @@
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.k-grid-filter-menu {
|
|
87
|
-
|
|
88
|
-
.k-filter-selected-items {
|
|
89
|
-
margin: 1em;
|
|
90
|
-
font-weight: normal;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
86
|
.k-grid-edit-form {
|
|
95
87
|
|
|
96
88
|
.k-popup-edit-form,
|
|
@@ -99,10 +91,6 @@
|
|
|
99
91
|
min-width: auto;
|
|
100
92
|
}
|
|
101
93
|
}
|
|
102
|
-
|
|
103
|
-
.k-grid .k-grid-search {
|
|
104
|
-
width: 100%;
|
|
105
|
-
}
|
|
106
94
|
}
|
|
107
95
|
|
|
108
96
|
.k-grid.k-grid-mobile {
|
|
@@ -369,39 +357,18 @@
|
|
|
369
357
|
|
|
370
358
|
.k-pane-wrapper {
|
|
371
359
|
|
|
372
|
-
.k-
|
|
373
|
-
|
|
374
|
-
.k-grid-filter-menu,
|
|
375
|
-
.k-scheduler-edit-form {
|
|
376
|
-
|
|
377
|
-
> .k-header {
|
|
378
|
-
display: flex;
|
|
379
|
-
justify-content: space-between;
|
|
380
|
-
padding: .3em .6em;
|
|
381
|
-
width: auto;
|
|
382
|
-
line-height: 2em;
|
|
383
|
-
|
|
384
|
-
.k-header-done,
|
|
385
|
-
.k-header-cancel {
|
|
386
|
-
display: flex;
|
|
387
|
-
flex-direction: row;
|
|
388
|
-
align-items: center;
|
|
389
|
-
|
|
390
|
-
.k-icon {
|
|
391
|
-
font-size: 1.5em;
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
}
|
|
360
|
+
.k-appbar {
|
|
361
|
+
padding: map-get( $spacing, 1 );
|
|
395
362
|
}
|
|
396
363
|
|
|
397
364
|
.k-list-title,
|
|
398
|
-
.k-filter-help-text
|
|
399
|
-
.k-list-group-header {
|
|
365
|
+
.k-filter-help-text {
|
|
400
366
|
padding: $listgroup-item-padding-y $listgroup-item-padding-x;
|
|
401
367
|
display: block;
|
|
402
368
|
}
|
|
403
369
|
|
|
404
|
-
.k-
|
|
370
|
+
.k-listgroup-title {
|
|
371
|
+
padding: $listgroup-item-padding-y $listgroup-item-padding-x;
|
|
405
372
|
font-weight: bold;
|
|
406
373
|
text-transform: uppercase;
|
|
407
374
|
}
|
|
@@ -413,31 +380,56 @@
|
|
|
413
380
|
}
|
|
414
381
|
}
|
|
415
382
|
.k-listgroup + .k-listgroup {
|
|
416
|
-
margin-top:
|
|
383
|
+
margin-top: map-get( $spacing, 4 );
|
|
417
384
|
}
|
|
418
385
|
|
|
419
386
|
// Column menu
|
|
420
387
|
.k-column-menu {
|
|
388
|
+
padding: map-get( $spacing, 2 );
|
|
389
|
+
display: flex;
|
|
390
|
+
flex-flow: column nowrap;
|
|
391
|
+
gap: map-get( $spacing, 2 );
|
|
421
392
|
|
|
422
393
|
.k-filter-item .k-filterable * {
|
|
423
394
|
pointer-events: none;
|
|
424
395
|
}
|
|
396
|
+
|
|
397
|
+
.k-list-title,
|
|
398
|
+
.k-listgroup-title {
|
|
399
|
+
padding: 0;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.k-listgroup {
|
|
403
|
+
margin-inline: -#{map-get( $spacing, 2 )};
|
|
404
|
+
}
|
|
425
405
|
}
|
|
426
406
|
|
|
427
407
|
// Filter menu
|
|
428
408
|
.k-filter-menu {
|
|
409
|
+
padding: map-get( $spacing, 2 );
|
|
410
|
+
display: flex;
|
|
411
|
+
flex-flow: column nowrap;
|
|
412
|
+
gap: map-get( $spacing, 2 );
|
|
429
413
|
|
|
430
|
-
.k-
|
|
431
|
-
|
|
432
|
-
|
|
414
|
+
.k-list-title {
|
|
415
|
+
padding: 0;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.k-list-filter {
|
|
419
|
+
padding: 0;
|
|
433
420
|
display: flex;
|
|
434
|
-
|
|
421
|
+
flex-flow: column nowrap;
|
|
422
|
+
gap: inherit;
|
|
435
423
|
}
|
|
436
424
|
|
|
437
425
|
.k-filter-tools {
|
|
438
|
-
margin: 1em;
|
|
439
426
|
display: flex;
|
|
440
|
-
|
|
427
|
+
flex-flow: row nowrap;
|
|
428
|
+
gap: inherit;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.k-listgroup {
|
|
432
|
+
margin-inline: -#{map-get( $spacing, 2 )};
|
|
441
433
|
}
|
|
442
434
|
}
|
|
443
435
|
|
|
@@ -461,7 +453,6 @@
|
|
|
461
453
|
}
|
|
462
454
|
|
|
463
455
|
// Pager
|
|
464
|
-
|
|
465
456
|
.k-pager-wrap.k-pager-sm {
|
|
466
457
|
justify-content: center;
|
|
467
458
|
|
|
@@ -471,47 +462,14 @@
|
|
|
471
462
|
|
|
472
463
|
}
|
|
473
464
|
|
|
474
|
-
// IE
|
|
475
|
-
|
|
476
|
-
.k-ie & {
|
|
477
|
-
|
|
478
|
-
.k-scheduler {
|
|
479
|
-
.k-scheduler-toolbar,
|
|
480
|
-
.k-scheduler-footer {
|
|
481
|
-
line-height: 2em;
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
.k-grid {
|
|
486
|
-
|
|
487
|
-
.k-icon {
|
|
488
|
-
text-indent: 0;
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
|
|
493
465
|
// RTL
|
|
494
|
-
|
|
495
466
|
.k-rtl &,
|
|
496
467
|
&[dir="rtl"],
|
|
497
468
|
[dir="rtl"] & {
|
|
498
469
|
|
|
499
|
-
.k-
|
|
500
|
-
.k-
|
|
501
|
-
|
|
502
|
-
.k-scheduler-edit-form {
|
|
503
|
-
|
|
504
|
-
> .k-header {
|
|
505
|
-
flex-direction: row-reverse;
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
.k-filter-menu {
|
|
510
|
-
|
|
511
|
-
.k-space-right > .k-i-zoom {
|
|
512
|
-
left: 15px;
|
|
513
|
-
right: auto;
|
|
514
|
-
}
|
|
470
|
+
.k-header-cancel .k-i-arrow-chevron-left,
|
|
471
|
+
.k-listgroup-item .k-select .k-i-arrow-chevron-right {
|
|
472
|
+
transform: scaleX( -1 );
|
|
515
473
|
}
|
|
516
474
|
|
|
517
475
|
.k-scheduler-mobile {
|
|
@@ -533,10 +491,6 @@
|
|
|
533
491
|
margin-right: 0;
|
|
534
492
|
}
|
|
535
493
|
}
|
|
536
|
-
|
|
537
|
-
.k-scheduler-edit-form .k-item .k-i-arrow-chevron-right {
|
|
538
|
-
transform: scaleX(-1);
|
|
539
|
-
}
|
|
540
494
|
}
|
|
541
495
|
}
|
|
542
496
|
}
|
package/scss/appbar/_layout.scss
CHANGED
|
@@ -50,6 +50,19 @@
|
|
|
50
50
|
border-width: 0 0 0 1px;
|
|
51
51
|
display: inline-block;
|
|
52
52
|
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
// Appbar child components
|
|
56
|
+
.k-textbox,
|
|
57
|
+
.k-combobox,
|
|
58
|
+
.k-dropdown,
|
|
59
|
+
.k-searchbox,
|
|
60
|
+
.k-numerictextbox,
|
|
61
|
+
.k-datepicker,
|
|
62
|
+
.k-timepicker,
|
|
63
|
+
.k-datetimepicker {
|
|
64
|
+
width: 10em;
|
|
65
|
+
}
|
|
53
66
|
}
|
|
54
67
|
|
|
55
68
|
.k-appbar-static {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
$appbar-margin-y: null !default;
|
|
3
3
|
$appbar-margin-x: null !default;
|
|
4
4
|
$appbar-padding-y: map-get( $spacing, 2 ) !default;
|
|
5
|
-
$appbar-padding-x: map-get( $spacing,
|
|
5
|
+
$appbar-padding-x: map-get( $spacing, 2 ) !default;
|
|
6
6
|
$appbar-border-width: 0px !default;
|
|
7
7
|
|
|
8
8
|
$appbar-zindex: 1000 !default;
|
|
@@ -6,19 +6,19 @@
|
|
|
6
6
|
width: $input-default-width;
|
|
7
7
|
border-width: $input-border-width;
|
|
8
8
|
border-style: solid;
|
|
9
|
-
outline: 0;
|
|
10
9
|
box-sizing: border-box;
|
|
10
|
+
outline: 0;
|
|
11
11
|
font-family: $input-font-family;
|
|
12
12
|
font-size: $input-font-size;
|
|
13
13
|
line-height: $input-line-height;
|
|
14
|
+
text-align: start;
|
|
14
15
|
white-space: nowrap;
|
|
15
16
|
display: inline-flex;
|
|
16
17
|
flex-flow: row nowrap;
|
|
17
|
-
align-items: stretch;
|
|
18
18
|
vertical-align: middle;
|
|
19
|
-
transition: all .1s ease; // sass-lint:disable-block no-transition-all
|
|
20
19
|
position: relative;
|
|
21
|
-
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
transition: all .1s ease; // sass-lint:disable-line no-transition-all
|
|
22
22
|
-webkit-touch-callout: none;
|
|
23
23
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
24
24
|
|
|
@@ -1,76 +1,57 @@
|
|
|
1
|
-
@include exports("autocomplete/theme") {
|
|
1
|
+
@include exports( "autocomplete/theme" ) {
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
.k-autocomplete.k-header,
|
|
3
|
+
// Autocomplete
|
|
5
4
|
.k-autocomplete {
|
|
6
5
|
@include fill(
|
|
7
|
-
$
|
|
8
|
-
$
|
|
9
|
-
$
|
|
6
|
+
$input-text,
|
|
7
|
+
$input-bg,
|
|
8
|
+
$input-border
|
|
10
9
|
);
|
|
11
|
-
@include box-shadow( $autocomplete-shadow );
|
|
12
10
|
|
|
13
11
|
// Hover state
|
|
14
12
|
&:hover,
|
|
15
13
|
&.k-state-hover {
|
|
16
14
|
@include fill(
|
|
17
|
-
$
|
|
18
|
-
$
|
|
19
|
-
$
|
|
15
|
+
$input-hovered-text,
|
|
16
|
+
$input-hovered-bg,
|
|
17
|
+
$input-hovered-border
|
|
20
18
|
);
|
|
21
|
-
@include box-shadow( $autocomplete-hovered-shadow );
|
|
22
19
|
}
|
|
23
20
|
|
|
24
21
|
// Focus state
|
|
25
|
-
|
|
26
|
-
&.k-state-focused,
|
|
22
|
+
&:focus,
|
|
27
23
|
&.k-state-focus {
|
|
28
24
|
@include fill(
|
|
29
|
-
$
|
|
30
|
-
$
|
|
31
|
-
$
|
|
25
|
+
$input-focused-text,
|
|
26
|
+
$input-focused-bg,
|
|
27
|
+
$input-focused-border
|
|
32
28
|
);
|
|
33
|
-
@include box-shadow( $
|
|
29
|
+
@include box-shadow( $input-focused-shadow );
|
|
34
30
|
}
|
|
35
31
|
&:focus-within {
|
|
36
32
|
@include fill(
|
|
37
|
-
$
|
|
38
|
-
$
|
|
39
|
-
$
|
|
33
|
+
$input-focused-text,
|
|
34
|
+
$input-focused-bg,
|
|
35
|
+
$input-focused-border
|
|
40
36
|
);
|
|
41
|
-
@include box-shadow( $
|
|
37
|
+
@include box-shadow( $input-focused-shadow );
|
|
42
38
|
}
|
|
43
39
|
|
|
44
|
-
// Disabled state
|
|
45
|
-
&:disabled,
|
|
46
|
-
&.k-state-disabled {
|
|
47
|
-
@include fill(
|
|
48
|
-
$autocomplete-disabled-text,
|
|
49
|
-
$autocomplete-disabled-bg,
|
|
50
|
-
$autocomplete-disabled-border
|
|
51
|
-
);
|
|
52
|
-
@include box-shadow( $autocomplete-disabled-shadow );
|
|
53
|
-
}
|
|
54
40
|
|
|
55
41
|
// Invalid state
|
|
56
42
|
&.k-invalid,
|
|
57
|
-
&.
|
|
58
|
-
&.
|
|
59
|
-
&.ng-invalid.ng-dirty {
|
|
43
|
+
&.ng-invalid,
|
|
44
|
+
&.k-state-invalid {
|
|
60
45
|
border-color: $invalid-border;
|
|
61
46
|
|
|
62
47
|
.k-input-validation-icon {
|
|
63
48
|
color: $invalid-text;
|
|
64
49
|
}
|
|
65
50
|
|
|
66
|
-
|
|
67
|
-
&.k-state-focused,
|
|
51
|
+
&:focus-within,
|
|
68
52
|
&.k-state-focus {
|
|
69
53
|
@include box-shadow($invalid-shadow);
|
|
70
54
|
}
|
|
71
|
-
&:focus-within {
|
|
72
|
-
@include box-shadow($invalid-shadow);
|
|
73
|
-
}
|
|
74
55
|
}
|
|
75
56
|
}
|
|
76
57
|
|
|
@@ -1,20 +1 @@
|
|
|
1
1
|
// Autocomplete
|
|
2
|
-
$autocomplete-bg: $input-bg !default;
|
|
3
|
-
$autocomplete-text: $input-text !default;
|
|
4
|
-
$autocomplete-border: $input-border !default;
|
|
5
|
-
$autocomplete-shadow: $input-shadow !default;
|
|
6
|
-
|
|
7
|
-
$autocomplete-hovered-bg: $input-hovered-bg !default;
|
|
8
|
-
$autocomplete-hovered-text: $input-hovered-text !default;
|
|
9
|
-
$autocomplete-hovered-border: $input-hovered-border !default;
|
|
10
|
-
$autocomplete-hovered-shadow: $input-hovered-shadow !default;
|
|
11
|
-
|
|
12
|
-
$autocomplete-focused-bg: $input-focused-bg !default;
|
|
13
|
-
$autocomplete-focused-text: $input-focused-text !default;
|
|
14
|
-
$autocomplete-focused-border: $input-focused-border !default;
|
|
15
|
-
$autocomplete-focused-shadow: $input-focused-shadow !default;
|
|
16
|
-
|
|
17
|
-
$autocomplete-disabled-bg: null !default;
|
|
18
|
-
$autocomplete-disabled-text: null !default;
|
|
19
|
-
$autocomplete-disabled-border: null !default;
|
|
20
|
-
$autocomplete-disabled-shadow: null !default;
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
// Avatar
|
|
2
|
+
|
|
3
|
+
/// Border width of the avatar.
|
|
4
|
+
/// @group avatar
|
|
2
5
|
$avatar-border-width: 1px !default;
|
|
3
6
|
$avatar-border-radius: 2px !default;
|
|
4
7
|
|
|
8
|
+
/// Font family of the avatar.
|
|
9
|
+
/// @group avatar
|
|
5
10
|
$avatar-font-family: $font-family !default;
|
|
11
|
+
/// Font size of the avatar.
|
|
12
|
+
/// @group avatar
|
|
6
13
|
$avatar-font-size: $font-size !default;
|
|
14
|
+
/// Line height of the avatar.
|
|
15
|
+
/// @group avatar
|
|
7
16
|
$avatar-line-height: $line-height !default;
|
|
8
17
|
|
|
9
|
-
|
|
18
|
+
/// The sizes of the avatar.
|
|
19
|
+
/// @group avatar
|
|
10
20
|
$avatar-sizes: (
|
|
11
21
|
sm: map-get( $spacing, 4 ),
|
|
12
22
|
md: map-get( $spacing, 8 ),
|
package/scss/button/_layout.scss
CHANGED
|
@@ -78,8 +78,6 @@
|
|
|
78
78
|
.k-icon-button,
|
|
79
79
|
.k-button.k-button-icon {
|
|
80
80
|
padding: $button-padding-y;
|
|
81
|
-
width: $button-calc-size;
|
|
82
|
-
height: $button-calc-size;
|
|
83
81
|
gap: 0;
|
|
84
82
|
|
|
85
83
|
> .k-text,
|
|
@@ -89,6 +87,8 @@
|
|
|
89
87
|
|
|
90
88
|
.k-button-icon {
|
|
91
89
|
margin: 0;
|
|
90
|
+
min-width: calc( #{$button-font-size} * #{$button-line-height} );
|
|
91
|
+
min-height: calc( #{$button-font-size} * #{$button-line-height} );
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
// TODO: REMOVE
|
|
@@ -130,50 +130,51 @@
|
|
|
130
130
|
-webkit-touch-callout: none;
|
|
131
131
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
132
132
|
|
|
133
|
-
.k-button {
|
|
134
|
-
@include border-radius( 0 );
|
|
135
|
-
}
|
|
136
|
-
.k-button ~ .k-button {
|
|
133
|
+
> .k-button + .k-button {
|
|
137
134
|
margin-inline-start: if( $button-border-width == 0, null, -$button-border-width );
|
|
138
135
|
}
|
|
139
136
|
|
|
140
|
-
.k-button:hover,
|
|
141
|
-
.k-button.k-state-hover,
|
|
142
|
-
.k-button:
|
|
143
|
-
.k-button.k-state-
|
|
144
|
-
.k-button
|
|
145
|
-
.k-button
|
|
146
|
-
.k-button.k-state-
|
|
137
|
+
> .k-button:hover,
|
|
138
|
+
> .k-button.k-state-hover,
|
|
139
|
+
> .k-button:focus,
|
|
140
|
+
> .k-button.k-state-focus,
|
|
141
|
+
> .k-button:active,
|
|
142
|
+
> .k-button.k-state-active,
|
|
143
|
+
> .k-button.k-state-selected {
|
|
147
144
|
z-index: 2;
|
|
148
145
|
}
|
|
149
146
|
|
|
150
|
-
.k-
|
|
151
|
-
|
|
152
|
-
|
|
147
|
+
.k-button:not(:first-child):not(:last-child) {
|
|
148
|
+
border-start-end-radius: 0;
|
|
149
|
+
border-end-end-radius: 0;
|
|
150
|
+
border-start-start-radius: 0;
|
|
151
|
+
border-end-start-radius: 0;
|
|
152
|
+
}
|
|
153
|
+
> .k-button:first-child:not(:only-child) {
|
|
154
|
+
border-start-end-radius: 0;
|
|
155
|
+
border-end-end-radius: 0;
|
|
153
156
|
}
|
|
154
|
-
.k-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
+
> .k-button:last-child:not(:only-child) {
|
|
158
|
+
border-start-start-radius: 0;
|
|
159
|
+
border-end-start-radius: 0;
|
|
157
160
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
+
|
|
162
|
+
&:disabled,
|
|
163
|
+
&[disabled],
|
|
164
|
+
&.k-disabled,
|
|
165
|
+
&.k-state-disabled {
|
|
166
|
+
opacity: 1;
|
|
167
|
+
filter: none;
|
|
161
168
|
}
|
|
162
169
|
|
|
163
170
|
}
|
|
164
171
|
|
|
165
172
|
.k-button-group-stretched {
|
|
166
|
-
|
|
173
|
+
width: 100%;
|
|
167
174
|
|
|
168
|
-
|
|
169
|
-
display: inline-block;
|
|
175
|
+
> * {
|
|
170
176
|
flex: 1 0 0%;
|
|
171
177
|
overflow: hidden;
|
|
172
|
-
text-overflow: ellipsis;
|
|
173
|
-
|
|
174
|
-
> .k-icon {
|
|
175
|
-
vertical-align: text-bottom;
|
|
176
|
-
}
|
|
177
178
|
}
|
|
178
179
|
}
|
|
179
180
|
|
|
@@ -187,32 +188,13 @@
|
|
|
187
188
|
flex-flow: row nowrap;
|
|
188
189
|
vertical-align: middle;
|
|
189
190
|
|
|
190
|
-
.k-button {
|
|
191
|
-
@include border-radius( 0 );
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
// .k-button
|
|
195
|
-
> .k-button:first-child {
|
|
196
|
-
@include border-left-radius( $button-border-radius );
|
|
197
|
-
}
|
|
198
|
-
> .k-split-button-arrow,
|
|
199
|
-
> .k-button:last-child {
|
|
200
|
-
@include border-right-radius( $button-border-radius );
|
|
201
|
-
margin-inline-start: if( $button-border-width == 0, null, -$button-border-width );
|
|
191
|
+
.k-split-button-arrow {
|
|
202
192
|
padding: $button-padding-y;
|
|
203
193
|
width: auto;
|
|
204
194
|
flex: none;
|
|
205
|
-
}
|
|
206
195
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
> .k-button:first-child {
|
|
210
|
-
@include border-left-radius( 0 );
|
|
211
|
-
@include border-right-radius( $button-border-radius );
|
|
212
|
-
}
|
|
213
|
-
> .k-button:last-child {
|
|
214
|
-
@include border-right-radius( 0 );
|
|
215
|
-
@include border-left-radius( $button-border-radius );
|
|
196
|
+
.k-button-icon {
|
|
197
|
+
min-width: 0;
|
|
216
198
|
}
|
|
217
199
|
}
|
|
218
200
|
}
|
|
@@ -256,13 +238,29 @@
|
|
|
256
238
|
.k-button-outline {
|
|
257
239
|
@include box-shadow( none );
|
|
258
240
|
color: inherit;
|
|
259
|
-
background:
|
|
241
|
+
background-color: transparent;
|
|
242
|
+
background-image: none !important; // sass-lint:disable-line no-important
|
|
260
243
|
}
|
|
261
244
|
.k-button.k-outline {
|
|
262
245
|
@extend .k-button-outline;
|
|
263
246
|
}
|
|
264
247
|
|
|
265
248
|
|
|
249
|
+
// Link button
|
|
250
|
+
.k-button-link {
|
|
251
|
+
@include box-shadow( none );
|
|
252
|
+
border-color: transparent !important; // sass-lint:disable-line no-important
|
|
253
|
+
color: inherit;
|
|
254
|
+
background-color: transparent !important; // sass-lint:disable-line no-important
|
|
255
|
+
background-image: none !important; // sass-lint:disable-line no-important
|
|
256
|
+
text-decoration: none;
|
|
257
|
+
}
|
|
258
|
+
.k-button-link:hover,
|
|
259
|
+
.k-button-link.k-state-hover {
|
|
260
|
+
text-decoration: underline;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
|
|
266
264
|
// Clear button
|
|
267
265
|
.k-button-clear {
|
|
268
266
|
border-color: transparent !important; // sass-lint:disable-line no-important
|
|
@@ -272,46 +270,11 @@
|
|
|
272
270
|
}
|
|
273
271
|
|
|
274
272
|
|
|
275
|
-
//
|
|
276
|
-
.k-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
.k-button {
|
|
282
|
-
@include border-radius( 0 );
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.k-group-start,
|
|
286
|
-
.k-button:first-child {
|
|
287
|
-
@include border-right-radius( $button-border-radius );
|
|
288
|
-
}
|
|
289
|
-
.k-group-end,
|
|
290
|
-
.k-button:last-child {
|
|
291
|
-
@include border-left-radius( $button-border-radius );
|
|
292
|
-
}
|
|
293
|
-
.k-group-start.k-group-end,
|
|
294
|
-
.k-button:first-child:last-child {
|
|
295
|
-
@include border-radius( $button-border-radius );
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
// Split button
|
|
301
|
-
.k-split-button {
|
|
302
|
-
|
|
303
|
-
.k-button {
|
|
304
|
-
@include border-radius( 0 );
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
// k-button
|
|
308
|
-
> .k-button:first-child {
|
|
309
|
-
@include border-right-radius( $button-border-radius );
|
|
310
|
-
}
|
|
311
|
-
> .k-split-button-arrow,
|
|
312
|
-
> .k-button:last-child {
|
|
313
|
-
@include border-left-radius( $button-border-radius );
|
|
314
|
-
}
|
|
273
|
+
// IE
|
|
274
|
+
.k-ie .k-button-group,
|
|
275
|
+
.k-ie .k-split-button {
|
|
276
|
+
.k-button {
|
|
277
|
+
@include border-radius( 0 );
|
|
315
278
|
}
|
|
316
279
|
}
|
|
317
280
|
|
|
@@ -396,7 +359,7 @@
|
|
|
396
359
|
.k-button {
|
|
397
360
|
|
|
398
361
|
&::after {
|
|
399
|
-
@include border-radius(
|
|
362
|
+
@include border-radius( inherit );
|
|
400
363
|
content: "";
|
|
401
364
|
opacity: 0;
|
|
402
365
|
display: none;
|
|
@@ -419,12 +382,6 @@
|
|
|
419
382
|
|
|
420
383
|
.k-ie {
|
|
421
384
|
|
|
422
|
-
.k-button,
|
|
423
|
-
.k-button-group {
|
|
424
|
-
display: inline-block;
|
|
425
|
-
overflow: visible; // IE9
|
|
426
|
-
}
|
|
427
|
-
|
|
428
385
|
.k-button-icontext {
|
|
429
386
|
|
|
430
387
|
.k-icon,
|