@progress/kendo-theme-default 5.0.0-beta.3 → 5.0.0-beta.4
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/dist/all.css +981 -1029
- package/dist/all.scss +1122 -1263
- package/dist/default-dataviz-v4.scss +8 -0
- package/dist/default-main.scss +6 -6
- package/lib/swatches/default-dataviz-v4.json +51 -0
- package/lib/swatches/default-main.json +6 -6
- package/package.json +2 -2
- package/scss/adaptive/_layout.scss +47 -68
- package/scss/adaptive/_theme.scss +0 -9
- package/scss/appbar/_layout.scss +4 -1
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_theme.scss +1 -1
- package/scss/autocomplete/_variables.scss +0 -19
- package/scss/button/_layout.scss +84 -98
- package/scss/button/_theme.scss +175 -204
- package/scss/button/_variables.scss +58 -31
- package/scss/calendar/_layout.scss +2 -2
- package/scss/chat/_layout.scss +8 -6
- package/scss/chat/_theme.scss +0 -13
- package/scss/chat/_variables.scss +0 -5
- package/scss/checkbox/_layout.scss +73 -141
- package/scss/checkbox/_theme.scss +6 -4
- package/scss/checkbox/_variables.scss +63 -66
- package/scss/chip/_variables.scss +1 -1
- package/scss/colorgradient/_layout.scss +0 -4
- package/scss/colorpicker/_layout.scss +6 -1
- package/scss/colorpicker/_theme.scss +1 -1
- package/scss/common/_loading.scss +1 -13
- package/scss/daterangepicker/_layout.scss +15 -0
- package/scss/dropdownlist/_layout.scss +15 -0
- package/scss/editor/_layout.scss +2 -6
- package/scss/filter/_layout.scss +4 -0
- package/scss/forms/_layout.scss +7 -8
- package/scss/gantt/_layout.scss +1 -1
- package/scss/grid/_layout.scss +43 -11
- package/scss/grid/_theme.scss +0 -6
- package/scss/grid/_variables.scss +2 -2
- package/scss/input/_layout.scss +19 -1
- package/scss/input/_theme.scss +30 -4
- package/scss/list/_layout.scss +10 -7
- package/scss/list/_variables.scss +19 -19
- package/scss/listbox/_layout.scss +9 -0
- package/scss/mediaplayer/_layout.scss +8 -1
- package/scss/menu/_variables.scss +44 -46
- package/scss/numerictextbox/_variables.scss +1 -1
- package/scss/radio/_layout.scss +84 -142
- package/scss/radio/_theme.scss +4 -4
- package/scss/radio/_variables.scss +67 -82
- package/scss/scheduler/_layout.scss +25 -12
- package/scss/skeleton/_layout.scss +1 -1
- package/scss/slider/_layout.scss +69 -127
- package/scss/slider/_theme.scss +0 -6
- package/scss/spreadsheet/_layout.scss +6 -2
- package/scss/table/_layout.scss +1 -1
- package/scss/table/_variables.scss +8 -8
- package/scss/tabstrip/_layout.scss +5 -1
- package/scss/textarea/_layout.scss +3 -1
- package/scss/timeselector/_layout.scss +3 -2
- package/scss/toolbar/_layout.scss +5 -1
- package/scss/treelist/_layout.scss +4 -0
- package/scss/treeview/_layout.scss +21 -25
- package/scss/treeview/_theme.scss +1 -0
- package/scss/treeview/_variables.scss +44 -45
- package/scss/window/_layout.scss +12 -2
package/dist/default-main.scss
CHANGED
|
@@ -22,11 +22,11 @@ $button-text: #424242;
|
|
|
22
22
|
$button-bg: #f5f5f5;
|
|
23
23
|
$link-text: #ff6358;
|
|
24
24
|
$link-hover-text: #d6534a;
|
|
25
|
-
$series-a: #
|
|
26
|
-
$series-b: #
|
|
27
|
-
$series-c: #
|
|
28
|
-
$series-d: #
|
|
29
|
-
$series-e: #
|
|
30
|
-
$series-f: #
|
|
25
|
+
$series-a: #4b5ffa;
|
|
26
|
+
$series-b: #ac58ff;
|
|
27
|
+
$series-c: #ff5892;
|
|
28
|
+
$series-d: #ff6358;
|
|
29
|
+
$series-e: #ff6358;
|
|
30
|
+
$series-f: #4cd180;
|
|
31
31
|
|
|
32
32
|
@import "all.scss";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://unpkg.com/@progress/kendo-theme-tasks@1.11.0/lib/schemas/kendo-swatch.json",
|
|
3
|
+
"name": "Default Dataviz v4",
|
|
4
|
+
"product": "kendo",
|
|
5
|
+
"base": "@progress/kendo-theme-default",
|
|
6
|
+
"previewColors": [
|
|
7
|
+
"#ff6358",
|
|
8
|
+
"#ffd246",
|
|
9
|
+
"#78d237",
|
|
10
|
+
"#28b4c8",
|
|
11
|
+
"#2d73f5"
|
|
12
|
+
],
|
|
13
|
+
"components": [],
|
|
14
|
+
"groups": [
|
|
15
|
+
{
|
|
16
|
+
"name": "Dataviz",
|
|
17
|
+
"variables": {
|
|
18
|
+
"series-a": {
|
|
19
|
+
"name": "Series A",
|
|
20
|
+
"type": "color",
|
|
21
|
+
"value": "#ff6358"
|
|
22
|
+
},
|
|
23
|
+
"series-b": {
|
|
24
|
+
"name": "Series B",
|
|
25
|
+
"type": "color",
|
|
26
|
+
"value": "#ffd246"
|
|
27
|
+
},
|
|
28
|
+
"series-c": {
|
|
29
|
+
"name": "Series C",
|
|
30
|
+
"type": "color",
|
|
31
|
+
"value": "#78d237"
|
|
32
|
+
},
|
|
33
|
+
"series-d": {
|
|
34
|
+
"name": "Series D",
|
|
35
|
+
"type": "color",
|
|
36
|
+
"value": "#28b4c8"
|
|
37
|
+
},
|
|
38
|
+
"series-e": {
|
|
39
|
+
"name": "Series E",
|
|
40
|
+
"type": "color",
|
|
41
|
+
"value": "#2d73f5"
|
|
42
|
+
},
|
|
43
|
+
"series-f": {
|
|
44
|
+
"name": "Series F",
|
|
45
|
+
"type": "color",
|
|
46
|
+
"value": "#aa46be"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
@@ -167,32 +167,32 @@
|
|
|
167
167
|
"series-a": {
|
|
168
168
|
"name": "Series A",
|
|
169
169
|
"type": "color",
|
|
170
|
-
"value": "#
|
|
170
|
+
"value": "#4b5ffa"
|
|
171
171
|
},
|
|
172
172
|
"series-b": {
|
|
173
173
|
"name": "Series B",
|
|
174
174
|
"type": "color",
|
|
175
|
-
"value": "#
|
|
175
|
+
"value": "#ac58ff"
|
|
176
176
|
},
|
|
177
177
|
"series-c": {
|
|
178
178
|
"name": "Series C",
|
|
179
179
|
"type": "color",
|
|
180
|
-
"value": "#
|
|
180
|
+
"value": "#ff5892"
|
|
181
181
|
},
|
|
182
182
|
"series-d": {
|
|
183
183
|
"name": "Series D",
|
|
184
184
|
"type": "color",
|
|
185
|
-
"value": "#
|
|
185
|
+
"value": "#ff6358"
|
|
186
186
|
},
|
|
187
187
|
"series-e": {
|
|
188
188
|
"name": "Series E",
|
|
189
189
|
"type": "color",
|
|
190
|
-
"value": "#
|
|
190
|
+
"value": "#ff6358"
|
|
191
191
|
},
|
|
192
192
|
"series-f": {
|
|
193
193
|
"name": "Series F",
|
|
194
194
|
"type": "color",
|
|
195
|
-
"value": "#
|
|
195
|
+
"value": "#4cd180"
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
}
|
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": "5.0.0-beta.
|
|
4
|
+
"version": "5.0.0-beta.4",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"prepublishOnly": "echo 'no prebublish for default theme'",
|
|
48
48
|
"postpublish": "echo 'no postpublish for default theme'"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "1e906bdc564c2df671a6c1552c81dd56bc08d1c4"
|
|
51
51
|
}
|
|
@@ -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,7 +91,6 @@
|
|
|
99
91
|
min-width: auto;
|
|
100
92
|
}
|
|
101
93
|
}
|
|
102
|
-
|
|
103
94
|
}
|
|
104
95
|
|
|
105
96
|
.k-grid.k-grid-mobile {
|
|
@@ -366,29 +357,8 @@
|
|
|
366
357
|
|
|
367
358
|
.k-pane-wrapper {
|
|
368
359
|
|
|
369
|
-
.k-
|
|
370
|
-
|
|
371
|
-
.k-grid-filter-menu,
|
|
372
|
-
.k-scheduler-edit-form {
|
|
373
|
-
|
|
374
|
-
> .k-header {
|
|
375
|
-
display: flex;
|
|
376
|
-
justify-content: space-between;
|
|
377
|
-
padding: .3em .6em;
|
|
378
|
-
width: auto;
|
|
379
|
-
line-height: 2em;
|
|
380
|
-
|
|
381
|
-
.k-header-done,
|
|
382
|
-
.k-header-cancel {
|
|
383
|
-
display: flex;
|
|
384
|
-
flex-direction: row;
|
|
385
|
-
align-items: center;
|
|
386
|
-
|
|
387
|
-
.k-icon {
|
|
388
|
-
font-size: 1.5em;
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
}
|
|
360
|
+
.k-appbar {
|
|
361
|
+
padding: map-get( $spacing, 1 );
|
|
392
362
|
}
|
|
393
363
|
|
|
394
364
|
.k-list-title,
|
|
@@ -397,6 +367,12 @@
|
|
|
397
367
|
display: block;
|
|
398
368
|
}
|
|
399
369
|
|
|
370
|
+
.k-listgroup-title {
|
|
371
|
+
padding: $listgroup-item-padding-y $listgroup-item-padding-x;
|
|
372
|
+
font-weight: bold;
|
|
373
|
+
text-transform: uppercase;
|
|
374
|
+
}
|
|
375
|
+
|
|
400
376
|
.k-listgroup {
|
|
401
377
|
|
|
402
378
|
.k-listgroup-item {
|
|
@@ -404,23 +380,56 @@
|
|
|
404
380
|
}
|
|
405
381
|
}
|
|
406
382
|
.k-listgroup + .k-listgroup {
|
|
407
|
-
margin-top:
|
|
383
|
+
margin-top: map-get( $spacing, 4 );
|
|
408
384
|
}
|
|
409
385
|
|
|
410
386
|
// Column menu
|
|
411
387
|
.k-column-menu {
|
|
388
|
+
padding: map-get( $spacing, 2 );
|
|
389
|
+
display: flex;
|
|
390
|
+
flex-flow: column nowrap;
|
|
391
|
+
gap: map-get( $spacing, 2 );
|
|
412
392
|
|
|
413
393
|
.k-filter-item .k-filterable * {
|
|
414
394
|
pointer-events: none;
|
|
415
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
|
+
}
|
|
416
405
|
}
|
|
417
406
|
|
|
418
407
|
// Filter menu
|
|
419
408
|
.k-filter-menu {
|
|
409
|
+
padding: map-get( $spacing, 2 );
|
|
410
|
+
display: flex;
|
|
411
|
+
flex-flow: column nowrap;
|
|
412
|
+
gap: map-get( $spacing, 2 );
|
|
413
|
+
|
|
414
|
+
.k-list-title {
|
|
415
|
+
padding: 0;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.k-list-filter {
|
|
419
|
+
padding: 0;
|
|
420
|
+
display: flex;
|
|
421
|
+
flex-flow: column nowrap;
|
|
422
|
+
gap: inherit;
|
|
423
|
+
}
|
|
424
|
+
|
|
420
425
|
.k-filter-tools {
|
|
421
|
-
margin: 1em;
|
|
422
426
|
display: flex;
|
|
423
|
-
|
|
427
|
+
flex-flow: row nowrap;
|
|
428
|
+
gap: inherit;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.k-listgroup {
|
|
432
|
+
margin-inline: -#{map-get( $spacing, 2 )};
|
|
424
433
|
}
|
|
425
434
|
}
|
|
426
435
|
|
|
@@ -444,7 +453,6 @@
|
|
|
444
453
|
}
|
|
445
454
|
|
|
446
455
|
// Pager
|
|
447
|
-
|
|
448
456
|
.k-pager-wrap.k-pager-sm {
|
|
449
457
|
justify-content: center;
|
|
450
458
|
|
|
@@ -454,39 +462,14 @@
|
|
|
454
462
|
|
|
455
463
|
}
|
|
456
464
|
|
|
457
|
-
// IE
|
|
458
|
-
|
|
459
|
-
.k-ie & {
|
|
460
|
-
|
|
461
|
-
.k-scheduler {
|
|
462
|
-
.k-scheduler-toolbar,
|
|
463
|
-
.k-scheduler-footer {
|
|
464
|
-
line-height: 2em;
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
.k-grid {
|
|
469
|
-
|
|
470
|
-
.k-icon {
|
|
471
|
-
text-indent: 0;
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
|
|
476
465
|
// RTL
|
|
477
|
-
|
|
478
466
|
.k-rtl &,
|
|
479
467
|
&[dir="rtl"],
|
|
480
468
|
[dir="rtl"] & {
|
|
481
469
|
|
|
482
|
-
.k-
|
|
483
|
-
.k-
|
|
484
|
-
|
|
485
|
-
.k-scheduler-edit-form {
|
|
486
|
-
|
|
487
|
-
> .k-header {
|
|
488
|
-
flex-direction: row-reverse;
|
|
489
|
-
}
|
|
470
|
+
.k-header-cancel .k-i-arrow-chevron-left,
|
|
471
|
+
.k-listgroup-item .k-select .k-i-arrow-chevron-right {
|
|
472
|
+
transform: scaleX( -1 );
|
|
490
473
|
}
|
|
491
474
|
|
|
492
475
|
.k-scheduler-mobile {
|
|
@@ -508,10 +491,6 @@
|
|
|
508
491
|
margin-right: 0;
|
|
509
492
|
}
|
|
510
493
|
}
|
|
511
|
-
|
|
512
|
-
.k-scheduler-edit-form .k-item .k-i-arrow-chevron-right {
|
|
513
|
-
transform: scaleX(-1);
|
|
514
|
-
}
|
|
515
494
|
}
|
|
516
495
|
}
|
|
517
496
|
}
|
package/scss/appbar/_layout.scss
CHANGED
|
@@ -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;
|
|
@@ -1,20 +1 @@
|
|
|
1
1
|
// Autocomplete
|
|
2
|
-
$autocomplete-bg: $kendo-input-bg !default;
|
|
3
|
-
$autocomplete-text: $kendo-input-text !default;
|
|
4
|
-
$autocomplete-border: $kendo-input-border !default;
|
|
5
|
-
$autocomplete-shadow: $kendo-input-shadow !default;
|
|
6
|
-
|
|
7
|
-
$autocomplete-hovered-bg: $kendo-input-hover-bg !default;
|
|
8
|
-
$autocomplete-hovered-text: $kendo-input-hover-text !default;
|
|
9
|
-
$autocomplete-hovered-border: $kendo-input-hover-border !default;
|
|
10
|
-
$autocomplete-hovered-shadow: $kendo-input-hover-shadow !default;
|
|
11
|
-
|
|
12
|
-
$autocomplete-focused-bg: $kendo-input-focus-bg !default;
|
|
13
|
-
$autocomplete-focused-text: $kendo-input-focus-text !default;
|
|
14
|
-
$autocomplete-focused-border: $kendo-input-focus-border !default;
|
|
15
|
-
$autocomplete-focused-shadow: $kendo-input-focus-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;
|
package/scss/button/_layout.scss
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
outline: none;
|
|
20
20
|
-webkit-appearance: none;
|
|
21
21
|
position: relative;
|
|
22
|
+
transition: $kendo-button-transition;
|
|
22
23
|
|
|
23
24
|
&:disabled,
|
|
24
25
|
&.k-disabled {
|
|
@@ -55,7 +56,24 @@
|
|
|
55
56
|
|
|
56
57
|
.k-button-text {}
|
|
57
58
|
|
|
58
|
-
|
|
59
|
+
|
|
60
|
+
// Button arrow
|
|
61
|
+
.k-button-arrow {
|
|
62
|
+
padding-left: $kendo-button-arrow-padding-x;
|
|
63
|
+
padding-right: $kendo-button-arrow-padding-x;
|
|
64
|
+
flex: none;
|
|
65
|
+
display: inline-flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
}
|
|
69
|
+
.k-button > .k-button-arrow {
|
|
70
|
+
margin-inline-start: -$kendo-button-arrow-padding-x;
|
|
71
|
+
margin-inline-end: -$kendo-button-padding-x;
|
|
72
|
+
}
|
|
73
|
+
.k-icon-button > .k-button-arrow {
|
|
74
|
+
margin-inline-start: 0;
|
|
75
|
+
margin-inline-end: -$kendo-button-padding-y;
|
|
76
|
+
}
|
|
59
77
|
|
|
60
78
|
|
|
61
79
|
// Sizes
|
|
@@ -101,15 +119,13 @@
|
|
|
101
119
|
}
|
|
102
120
|
|
|
103
121
|
|
|
104
|
-
//
|
|
105
|
-
.k-button-rectangle { }
|
|
106
|
-
|
|
122
|
+
// Button shape
|
|
107
123
|
.k-button-square {
|
|
108
124
|
aspect-ratio: 1;
|
|
109
125
|
}
|
|
110
126
|
|
|
111
127
|
|
|
112
|
-
// Menu
|
|
128
|
+
// Menu button
|
|
113
129
|
.k-menu-button,
|
|
114
130
|
.k-dropdown-button {
|
|
115
131
|
outline: 0;
|
|
@@ -134,67 +150,74 @@
|
|
|
134
150
|
-webkit-touch-callout: none;
|
|
135
151
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
136
152
|
|
|
137
|
-
.k-button
|
|
138
|
-
@include border-radius( 0 );
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.k-button ~ .k-button {
|
|
153
|
+
> .k-button + .k-button {
|
|
142
154
|
margin-inline-start: if( $kendo-button-border-width == 0, null, -$kendo-button-border-width );
|
|
143
155
|
}
|
|
144
156
|
|
|
145
|
-
.k-button:hover,
|
|
146
|
-
.k-button.k-hover,
|
|
147
|
-
.k-button:
|
|
148
|
-
.k-button.k-
|
|
149
|
-
.k-button
|
|
150
|
-
.k-button
|
|
151
|
-
.k-button.k-
|
|
157
|
+
> .k-button:hover,
|
|
158
|
+
> .k-button.k-hover,
|
|
159
|
+
> .k-button:focus,
|
|
160
|
+
> .k-button.k-focus,
|
|
161
|
+
> .k-button:active,
|
|
162
|
+
> .k-button.k-active,
|
|
163
|
+
> .k-button.k-selected {
|
|
152
164
|
z-index: 2;
|
|
153
165
|
}
|
|
154
166
|
|
|
155
|
-
.k-
|
|
156
|
-
|
|
157
|
-
|
|
167
|
+
.k-button:not(:first-child):not(:last-child) {
|
|
168
|
+
border-start-end-radius: 0;
|
|
169
|
+
border-end-end-radius: 0;
|
|
170
|
+
border-start-start-radius: 0;
|
|
171
|
+
border-end-start-radius: 0;
|
|
172
|
+
}
|
|
173
|
+
> .k-button:first-child:not(:only-child) {
|
|
174
|
+
border-start-end-radius: 0;
|
|
175
|
+
border-end-end-radius: 0;
|
|
158
176
|
}
|
|
159
|
-
.k-
|
|
160
|
-
|
|
161
|
-
|
|
177
|
+
> .k-button:last-child:not(:only-child) {
|
|
178
|
+
border-start-start-radius: 0;
|
|
179
|
+
border-end-start-radius: 0;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&:disabled,
|
|
183
|
+
&[disabled],
|
|
184
|
+
&.k-disabled {
|
|
185
|
+
opacity: 1;
|
|
186
|
+
filter: none;
|
|
162
187
|
}
|
|
163
188
|
}
|
|
164
189
|
|
|
165
190
|
.k-button-group-stretched {
|
|
166
|
-
|
|
191
|
+
width: 100%;
|
|
167
192
|
|
|
168
|
-
|
|
169
|
-
display: inline-block;
|
|
193
|
+
> * {
|
|
170
194
|
flex: 1 0 0%;
|
|
171
195
|
overflow: hidden;
|
|
172
|
-
text-overflow: ellipsis;
|
|
173
|
-
|
|
174
|
-
> .k-icon {
|
|
175
|
-
vertical-align: text-bottom;
|
|
176
|
-
}
|
|
177
196
|
}
|
|
178
197
|
}
|
|
179
198
|
|
|
180
199
|
|
|
181
200
|
// Split button
|
|
182
201
|
.k-split-button {
|
|
183
|
-
@include border-radius( 0 );
|
|
184
202
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
203
|
+
.k-split-button-arrow {
|
|
204
|
+
padding: $kendo-button-arrow-padding-y $kendo-button-arrow-padding-x;
|
|
205
|
+
width: auto;
|
|
206
|
+
flex: none;
|
|
188
207
|
|
|
189
|
-
|
|
190
|
-
|
|
208
|
+
.k-button-icon {
|
|
209
|
+
min-width: 0;
|
|
210
|
+
}
|
|
191
211
|
}
|
|
192
212
|
}
|
|
193
213
|
|
|
194
214
|
|
|
195
|
-
// Flat
|
|
215
|
+
// Flat button
|
|
196
216
|
.k-button-flat {
|
|
197
|
-
|
|
217
|
+
border-color: transparent !important; // sass-lint:disable-line no-important
|
|
218
|
+
color: inherit;
|
|
219
|
+
background: none !important; // sass-lint:disable-line no-important
|
|
220
|
+
box-shadow: none !important; // sass-lint:disable-line no-important
|
|
198
221
|
|
|
199
222
|
// Overlay background
|
|
200
223
|
&::before {
|
|
@@ -203,81 +226,44 @@
|
|
|
203
226
|
|
|
204
227
|
// Focus ring
|
|
205
228
|
&::after {
|
|
229
|
+
box-shadow: inset 0 0 0 2px currentColor;
|
|
206
230
|
display: block !important; // sass-lint:disable-line no-important
|
|
207
231
|
}
|
|
208
232
|
|
|
209
|
-
&:focus::after
|
|
233
|
+
&:focus::after,
|
|
210
234
|
&.k-focus::after {
|
|
211
235
|
opacity: .12;
|
|
212
236
|
}
|
|
213
237
|
}
|
|
214
238
|
|
|
215
239
|
|
|
216
|
-
//
|
|
217
|
-
.k-button-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
&:focus,
|
|
222
|
-
&.k-focus {
|
|
223
|
-
text-decoration: underline;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
// Focus ring
|
|
227
|
-
&::after {
|
|
228
|
-
display: block !important; // sass-lint:disable-line no-important
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
&:focus::after ,
|
|
232
|
-
&.k-focus::after {
|
|
233
|
-
opacity: .12;
|
|
234
|
-
}
|
|
240
|
+
// Outline button
|
|
241
|
+
.k-button-outline {
|
|
242
|
+
border-color: currentColor;
|
|
243
|
+
color: inherit;
|
|
244
|
+
background: none;
|
|
235
245
|
}
|
|
236
246
|
|
|
237
|
-
// RTL
|
|
238
|
-
.k-rtl,
|
|
239
|
-
[dir="rtl"] {
|
|
240
|
-
|
|
241
|
-
// Button group
|
|
242
|
-
.k-button-group {
|
|
243
|
-
|
|
244
|
-
.k-button {
|
|
245
|
-
@include border-radius( 0 );
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.k-group-start,
|
|
249
|
-
.k-button:first-child {
|
|
250
|
-
@include border-right-radius( $kendo-button-border-radius );
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.k-group-end,
|
|
254
|
-
.k-button:last-child {
|
|
255
|
-
@include border-left-radius( $kendo-button-border-radius );
|
|
256
|
-
}
|
|
257
247
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
248
|
+
// Link button
|
|
249
|
+
.k-button-link {
|
|
250
|
+
border-color: transparent;
|
|
251
|
+
color: inherit;
|
|
252
|
+
text-decoration: none;
|
|
253
|
+
background: none;
|
|
262
254
|
|
|
255
|
+
&:hover,
|
|
256
|
+
&.k-hover {
|
|
257
|
+
text-decoration: underline;
|
|
263
258
|
}
|
|
259
|
+
}
|
|
264
260
|
|
|
265
|
-
// Split button
|
|
266
|
-
.k-split-button {
|
|
267
|
-
|
|
268
|
-
.k-button {
|
|
269
|
-
@include border-radius( 0 );
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
// k-button
|
|
273
|
-
> .k-button:first-child {
|
|
274
|
-
@include border-right-radius( $kendo-button-border-radius );
|
|
275
|
-
}
|
|
276
261
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
262
|
+
// IE
|
|
263
|
+
.k-ie .k-button-group,
|
|
264
|
+
.k-ie .k-split-button {
|
|
265
|
+
.k-button {
|
|
266
|
+
@include border-radius( 0 );
|
|
281
267
|
}
|
|
282
268
|
}
|
|
283
269
|
|