@progress/kendo-theme-classic 4.43.1-dev.0 → 4.43.1-dev.1
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 -9
- package/dist/all.css +2181 -2037
- package/dist/all.scss +4160 -3771
- package/modules/@progress/kendo-theme-default/package.json +2 -2
- package/modules/@progress/kendo-theme-default/scss/_variables.scss +0 -19
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/button/_index.scss +2 -0
- package/modules/@progress/kendo-theme-default/scss/calendar/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/checkbox/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/combobox/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/dataviz/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/drawer/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/dropdowngrid/_layout.scss +5 -4
- package/modules/@progress/kendo-theme-default/scss/dropdowngrid/_theme.scss +6 -2
- package/modules/@progress/kendo-theme-default/scss/dropdownlist/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/dropdowntree/_layout.scss +1 -9
- package/modules/@progress/kendo-theme-default/scss/expansion-panel/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/grid/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/grid/_layout.scss +0 -8
- package/modules/@progress/kendo-theme-default/scss/index.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/list/_index.scss +11 -0
- package/modules/@progress/kendo-theme-default/scss/list/_layout.scss +200 -0
- package/modules/@progress/kendo-theme-default/scss/list/_theme.scss +104 -0
- package/modules/@progress/kendo-theme-default/scss/list/_variables.scss +17 -0
- package/modules/@progress/kendo-theme-default/scss/listbox/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/menu/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/menu/_layout.scss +4 -6
- package/modules/@progress/kendo-theme-default/scss/menu/_variables.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/multiselect/_index.scss +2 -0
- package/modules/@progress/kendo-theme-default/scss/pager/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/panelbar/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/pivotgrid/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/popover/_layout.scss +0 -1
- package/modules/@progress/kendo-theme-default/scss/popup/_index.scss +0 -4
- package/modules/@progress/kendo-theme-default/scss/popup/_layout.scss +2 -271
- package/modules/@progress/kendo-theme-default/scss/popup/_theme.scss +4 -148
- package/modules/@progress/kendo-theme-default/scss/popup/_variables.scss +2 -7
- package/modules/@progress/kendo-theme-default/scss/radio/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/spreadsheet/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +0 -3
- package/modules/@progress/kendo-theme-default/scss/table/_index.scss +19 -0
- package/modules/@progress/kendo-theme-default/scss/table/_layout.scss +196 -0
- package/modules/@progress/kendo-theme-default/scss/table/_theme.scss +81 -0
- package/modules/@progress/kendo-theme-default/scss/table/_variables.scss +114 -0
- package/modules/@progress/kendo-theme-default/scss/tabstrip/_index.scss +1 -0
- package/package.json +3 -3
- package/scss/_variables.scss +0 -19
- package/scss/autocomplete/_index.scss +1 -0
- package/scss/button/_index.scss +2 -0
- package/scss/calendar/_index.scss +1 -0
- package/scss/checkbox/_index.scss +1 -0
- package/scss/combobox/_index.scss +1 -0
- package/scss/dataviz/_index.scss +1 -0
- package/scss/drawer/_index.scss +1 -0
- package/scss/dropdownlist/_index.scss +1 -0
- package/scss/expansion-panel/_index.scss +1 -0
- package/scss/grid/_index.scss +1 -0
- package/scss/index.scss +2 -2
- package/scss/list/_index.scss +11 -0
- package/scss/list/_layout.scss +1 -0
- package/scss/list/_theme.scss +1 -0
- package/scss/list/_variables.scss +17 -0
- package/scss/listbox/_index.scss +1 -0
- package/scss/menu/_index.scss +1 -0
- package/scss/menu/_variables.scss +2 -2
- package/scss/multiselect/_index.scss +2 -0
- package/scss/pager/_index.scss +1 -0
- package/scss/panelbar/_index.scss +1 -0
- package/scss/pivotgrid/_index.scss +1 -0
- package/scss/popup/_index.scss +0 -4
- package/scss/popup/_variables.scss +2 -7
- package/scss/radio/_index.scss +1 -0
- package/scss/spreadsheet/_index.scss +1 -0
- package/scss/table/_index.scss +19 -0
- package/scss/table/_layout.scss +1 -0
- package/scss/table/_theme.scss +1 -0
- package/scss/table/_variables.scss +114 -0
- package/scss/tabstrip/_index.scss +1 -0
|
@@ -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.1",
|
|
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": "9dcefebd634a5d866712324f22b0e903deaf7158"
|
|
51
51
|
}
|
|
@@ -338,25 +338,6 @@ $header-border: $base-border !default;
|
|
|
338
338
|
$header-gradient: null !default;
|
|
339
339
|
|
|
340
340
|
|
|
341
|
-
// List
|
|
342
|
-
$list-item-padding-x: $padding-x !default;
|
|
343
|
-
$list-item-padding-y: $padding-y !default;
|
|
344
|
-
|
|
345
|
-
$list-item-bg: null !default;
|
|
346
|
-
$list-item-text: $component-text !default;
|
|
347
|
-
|
|
348
|
-
$list-item-hovered-bg: $hovered-bg !default;
|
|
349
|
-
$list-item-hovered-text: $hovered-text !default;
|
|
350
|
-
|
|
351
|
-
$list-item-selected-bg: $selected-bg !default;
|
|
352
|
-
$list-item-selected-text: $selected-text !default;
|
|
353
|
-
|
|
354
|
-
$list-item-focused-shadow: inset 0 0 0 2px rgba(0, 0, 0, .12) !default;
|
|
355
|
-
|
|
356
|
-
$list-container-shadow: 0 5px 10px 0 rgba(0, 0, 0, .06) !default;
|
|
357
|
-
$list-container-no-data-text: rgba( $component-text, .5 ) !default;
|
|
358
|
-
|
|
359
|
-
|
|
360
341
|
// Loading
|
|
361
342
|
|
|
362
343
|
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
|
|
13
13
|
// Grid list
|
|
14
14
|
.k-grid-list {
|
|
15
|
+
margin: 0;
|
|
16
|
+
padding: 0;
|
|
15
17
|
width: 100%;
|
|
16
18
|
max-width: none;
|
|
17
19
|
border-width: 0;
|
|
@@ -21,6 +23,7 @@
|
|
|
21
23
|
empty-cells: show;
|
|
22
24
|
outline: none;
|
|
23
25
|
display: table;
|
|
26
|
+
list-style: none;
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
|
|
@@ -115,12 +118,10 @@
|
|
|
115
118
|
margin: 0;
|
|
116
119
|
padding: $grid-header-padding-y $grid-header-padding-x;
|
|
117
120
|
min-height: auto;
|
|
121
|
+
font-size: inherit;
|
|
118
122
|
text-align: left;
|
|
119
123
|
font-weight: bold;
|
|
120
124
|
}
|
|
121
|
-
.k-dropdowngrid-popup .k-outer-group-header.k-first {
|
|
122
|
-
border-bottom-width: 1px;
|
|
123
|
-
}
|
|
124
125
|
.k-grid-list > .k-item.k-first {
|
|
125
126
|
border-top: 1px solid currentColor;
|
|
126
127
|
}
|
|
@@ -135,7 +136,7 @@
|
|
|
135
136
|
}
|
|
136
137
|
.k-grid-list > .k-item > .k-group-cell > span {
|
|
137
138
|
padding: 0 ($grid-cell-padding-x / 2);
|
|
138
|
-
font-size: .
|
|
139
|
+
font-size: .75em;
|
|
139
140
|
position: absolute;
|
|
140
141
|
top: 0;
|
|
141
142
|
right: 0;
|
|
@@ -27,11 +27,16 @@
|
|
|
27
27
|
|
|
28
28
|
// Group header
|
|
29
29
|
.k-dropdowngrid-popup .k-group-header,
|
|
30
|
-
.k-dropdowngrid-popup .k-outer-group-header
|
|
30
|
+
.k-dropdowngrid-popup .k-outer-group-header {
|
|
31
31
|
border-color: $grid-header-border;
|
|
32
32
|
color: $grid-header-text;
|
|
33
33
|
background-color: $grid-header-bg;
|
|
34
34
|
}
|
|
35
|
+
.k-grid-list > .k-group-header,
|
|
36
|
+
.k-grid-list > .k-outer-group-header {
|
|
37
|
+
background: none;
|
|
38
|
+
box-shadow: none;
|
|
39
|
+
}
|
|
35
40
|
|
|
36
41
|
|
|
37
42
|
// Alt
|
|
@@ -39,7 +44,6 @@
|
|
|
39
44
|
background-color: $grid-alt-bg;
|
|
40
45
|
}
|
|
41
46
|
.k-grid-list > .k-outer-group-header:nth-child(2n) {
|
|
42
|
-
background: none;
|
|
43
47
|
|
|
44
48
|
> strong {
|
|
45
49
|
background-color: $grid-alt-bg;
|
|
@@ -10,16 +10,8 @@
|
|
|
10
10
|
.k-popup-dropdowntree {
|
|
11
11
|
padding: 0;
|
|
12
12
|
|
|
13
|
-
.k-list-filter {
|
|
14
|
-
box-shadow: $dropdowntree-filter-shadow;
|
|
15
|
-
margin: 0 0 $dropdowntree-filter-spacer;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
13
|
.k-check-all {
|
|
19
|
-
padding: $dropdowntree-popup-spacer-y $dropdowntree-popup-spacer-x
|
|
20
|
-
}
|
|
21
|
-
.k-list-filter .k-check-all {
|
|
22
|
-
padding-top: 0;
|
|
14
|
+
padding: $dropdowntree-popup-spacer-y $dropdowntree-popup-spacer-x;
|
|
23
15
|
}
|
|
24
16
|
|
|
25
17
|
.k-treeview {
|
|
@@ -659,14 +659,6 @@
|
|
|
659
659
|
bottom: calc( #{ $grid-header-padding-y } + #{ $line-height-em / 2 } - #{ $button-inner-calc-size / 2 } );
|
|
660
660
|
z-index: 1;
|
|
661
661
|
|
|
662
|
-
.k-ie & {
|
|
663
|
-
position: static;
|
|
664
|
-
float: right;
|
|
665
|
-
margin-top: calc( (#{ $button-calc-size } - #{ $form-line-height * 1em}) / -2);
|
|
666
|
-
margin-bottom: calc( (#{ $button-calc-size } - #{ $form-line-height * 1em}) / -2);
|
|
667
|
-
margin-right: calc( -1 * #{ $button-calc-size });
|
|
668
|
-
}
|
|
669
|
-
|
|
670
662
|
&:hover {
|
|
671
663
|
cursor: pointer;
|
|
672
664
|
}
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
// Primitive components
|
|
18
|
-
|
|
18
|
+
@import "list/_index.scss";
|
|
19
19
|
@import "listgroup/_index.scss";
|
|
20
20
|
@import "overlay/_index.scss";
|
|
21
21
|
@import "popup/_index.scss";
|
|
22
22
|
@import "ripple/_index.scss";
|
|
23
|
-
|
|
23
|
+
@import "table/_index.scss";
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
// Indicators
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
@include exports( "list/layout" ) {
|
|
2
|
+
|
|
3
|
+
// Layout
|
|
4
|
+
.k-list-scroller {
|
|
5
|
+
position: relative;
|
|
6
|
+
overflow: auto;
|
|
7
|
+
}
|
|
8
|
+
.k-list {
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
height: auto;
|
|
12
|
+
list-style: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.k-list__group-header { // sass-lint:disable-line class-name-format
|
|
16
|
+
padding: $list-item-padding-y $list-item-padding-x;
|
|
17
|
+
min-height: $line-height-em;
|
|
18
|
+
border-bottom-width: 1px;
|
|
19
|
+
border-bottom-style: solid;
|
|
20
|
+
font-size: $font-size;
|
|
21
|
+
white-space: normal;
|
|
22
|
+
position: relative;
|
|
23
|
+
transition: $transition;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.k-outer-group-header,
|
|
27
|
+
.k-list > .k-group-header,
|
|
28
|
+
.k-list-container > .k-group-header,
|
|
29
|
+
kendo-list > .k-group-header,
|
|
30
|
+
.k-virtual-wrap > .k-group-header {
|
|
31
|
+
@extend .k-list__group-header;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.k-list > .k-group-header,
|
|
35
|
+
.k-list > .k-outer-group-header {
|
|
36
|
+
border-width: 0;
|
|
37
|
+
box-shadow: none !important; // sass-lint:disable-line no-important
|
|
38
|
+
|
|
39
|
+
&.k-virtual-item {
|
|
40
|
+
white-space: nowrap;
|
|
41
|
+
text-overflow: ellipsis;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&::before {
|
|
45
|
+
content: "";
|
|
46
|
+
display: block;
|
|
47
|
+
border-top-width: 1px;
|
|
48
|
+
border-top-style: solid;
|
|
49
|
+
border-color: inherit;
|
|
50
|
+
position: absolute;
|
|
51
|
+
top: 0;
|
|
52
|
+
left: 0;
|
|
53
|
+
right: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.k-list__item { // sass-lint:disable-line class-name-format
|
|
58
|
+
padding: $list-item-padding-y $list-item-padding-x;
|
|
59
|
+
min-height: $line-height-em;
|
|
60
|
+
line-height: $line-height-em;
|
|
61
|
+
white-space: normal;
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
align-content: center;
|
|
65
|
+
gap: map-get( $spacing, 1 );
|
|
66
|
+
cursor: default;
|
|
67
|
+
position: relative;
|
|
68
|
+
transition-property: color, background-color, outline-color, box-shadow;
|
|
69
|
+
transition-duration: 200ms;
|
|
70
|
+
transition-timing-function: ease;
|
|
71
|
+
outline: none;
|
|
72
|
+
|
|
73
|
+
&.k-first::before {
|
|
74
|
+
content: "";
|
|
75
|
+
display: block;
|
|
76
|
+
border-top-width: 1px;
|
|
77
|
+
border-top-style: solid;
|
|
78
|
+
position: absolute;
|
|
79
|
+
top: 0;
|
|
80
|
+
left: 0;
|
|
81
|
+
right: 0;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
.k-list .k-item,
|
|
85
|
+
.k-list-optionlabel {
|
|
86
|
+
@extend .k-list__item;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.k-list__item__group { // sass-lint:disable-line class-name-format
|
|
90
|
+
padding: 0 .5em;
|
|
91
|
+
font-size: .75em;
|
|
92
|
+
position: absolute;
|
|
93
|
+
top: 0;
|
|
94
|
+
right: 0;
|
|
95
|
+
}
|
|
96
|
+
.k-rtl .k-list__item__group, // sass-lint:disable-line class-name-format
|
|
97
|
+
[dir="rtl"] .k-list__item__group { // sass-lint:disable-line class-name-format
|
|
98
|
+
right: auto;
|
|
99
|
+
left: 0;
|
|
100
|
+
}
|
|
101
|
+
.k-list .k-item > .k-group {
|
|
102
|
+
@extend .k-list__item__group;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
// Filter
|
|
107
|
+
.k-list-filter {
|
|
108
|
+
padding: $padding-x;
|
|
109
|
+
box-sizing: border-box;
|
|
110
|
+
display: block;
|
|
111
|
+
position: relative;
|
|
112
|
+
flex: none;
|
|
113
|
+
|
|
114
|
+
.k-searchbox {
|
|
115
|
+
width: 100%;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.k-dropdown-button .k-popup {
|
|
120
|
+
.k-item {
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// SplitButton
|
|
126
|
+
// TODO: Wait for final design + revise
|
|
127
|
+
.k-split-button,
|
|
128
|
+
.k-dropdown-button {
|
|
129
|
+
.k-list .k-item:focus {
|
|
130
|
+
outline: none;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.k-virtual-content {
|
|
135
|
+
overflow-y: scroll;
|
|
136
|
+
-webkit-overflow-scrolling: touch;
|
|
137
|
+
position: relative;
|
|
138
|
+
}
|
|
139
|
+
.k-virtual-list > .k-item {
|
|
140
|
+
position: absolute;
|
|
141
|
+
width: 100%;
|
|
142
|
+
box-sizing: border-box;
|
|
143
|
+
overflow: hidden;
|
|
144
|
+
text-overflow: ellipsis;
|
|
145
|
+
white-space: nowrap;
|
|
146
|
+
|
|
147
|
+
> .k-list-item-text {
|
|
148
|
+
white-space: nowrap;
|
|
149
|
+
overflow: hidden;
|
|
150
|
+
text-overflow: ellipsis;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
.k-list-container {
|
|
156
|
+
|
|
157
|
+
.k-button {
|
|
158
|
+
@include border-radius( 0 );
|
|
159
|
+
padding: $list-item-padding-y $list-item-padding-x;
|
|
160
|
+
border-width: 0;
|
|
161
|
+
color: inherit;
|
|
162
|
+
background-color: transparent;
|
|
163
|
+
background-image: none;
|
|
164
|
+
line-height: inherit;
|
|
165
|
+
display: flex;
|
|
166
|
+
justify-content: flex-start;
|
|
167
|
+
|
|
168
|
+
.k-ie11 & {
|
|
169
|
+
display: flex;
|
|
170
|
+
|
|
171
|
+
.k-icon {
|
|
172
|
+
margin: 0 $icon-spacing 0 0;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// Button disabled state
|
|
178
|
+
.k-button.k-state-disabled {
|
|
179
|
+
pointer-events: none;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.k-nodata {
|
|
183
|
+
min-height: 138px;
|
|
184
|
+
width: 100%;
|
|
185
|
+
display: flex;
|
|
186
|
+
align-items: center;
|
|
187
|
+
justify-content: center;
|
|
188
|
+
text-transform: uppercase;
|
|
189
|
+
font-weight: lighter;
|
|
190
|
+
text-align: center;
|
|
191
|
+
white-space: normal;
|
|
192
|
+
|
|
193
|
+
.k-button {
|
|
194
|
+
display: inline-flex;
|
|
195
|
+
border-width: 1px;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
@include exports( "list/theme" ) {
|
|
2
|
+
|
|
3
|
+
.k-list {}
|
|
4
|
+
|
|
5
|
+
.k-list__group-header { // sass-lint:disable-line class-name-format
|
|
6
|
+
color: $component-text;
|
|
7
|
+
border-color: $component-border;
|
|
8
|
+
box-shadow: $list-container-shadow;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.k-list__item__group { // sass-lint:disable-line class-name-format
|
|
12
|
+
color: $component-bg;
|
|
13
|
+
background: $component-text;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.k-list__item:hover, // sass-lint:disable-line class-name-format
|
|
17
|
+
.k-list__item.k-state-hover { // sass-lint:disable-line class-name-format
|
|
18
|
+
@include fill(
|
|
19
|
+
$list-item-hovered-text,
|
|
20
|
+
$list-item-hovered-bg
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
&.k-state-selected {
|
|
24
|
+
color: $list-item-selected-text;
|
|
25
|
+
background-color: shade( $list-item-selected-bg );
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.k-list__item:focus, // sass-lint:disable-line class-name-format
|
|
30
|
+
.k-list__item.k-state-focused { // sass-lint:disable-line class-name-format
|
|
31
|
+
@include box-shadow( $list-item-focused-shadow );
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.k-list__item.k-state-selected { // sass-lint:disable-line class-name-format
|
|
35
|
+
@include fill(
|
|
36
|
+
$list-item-selected-text,
|
|
37
|
+
$list-item-selected-bg
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
@include exports( "listcontainer/theme" ) {
|
|
46
|
+
|
|
47
|
+
.k-list-container {
|
|
48
|
+
|
|
49
|
+
// Button normal state
|
|
50
|
+
.k-button {
|
|
51
|
+
@include box-shadow( none );
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
// Button hover state
|
|
56
|
+
.k-button:hover,
|
|
57
|
+
.k-button.k-state-hover {
|
|
58
|
+
@include fill(
|
|
59
|
+
$list-item-hovered-text,
|
|
60
|
+
$list-item-hovered-bg
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
// Button active state
|
|
66
|
+
.k-button:active,
|
|
67
|
+
.k-button.k-state-active {
|
|
68
|
+
@include fill(
|
|
69
|
+
inherit,
|
|
70
|
+
inherit
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
// Button selected state
|
|
76
|
+
.k-button.k-state-selected {
|
|
77
|
+
@include fill(
|
|
78
|
+
$list-item-selected-text,
|
|
79
|
+
$list-item-selected-bg
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
// Button focus state
|
|
85
|
+
.k-button:focus,
|
|
86
|
+
.k-button.k-state-focus,
|
|
87
|
+
.k-button.k-state-focused {
|
|
88
|
+
box-shadow: $list-item-focused-shadow;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
// Button disabled state
|
|
93
|
+
.k-button.k-state-disabled {
|
|
94
|
+
background: transparent;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
.k-nodata {
|
|
99
|
+
color: $list-container-no-data-text;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// List
|
|
2
|
+
$list-item-padding-x: $padding-x !default;
|
|
3
|
+
$list-item-padding-y: $padding-y !default;
|
|
4
|
+
|
|
5
|
+
$list-item-bg: null !default;
|
|
6
|
+
$list-item-text: $component-text !default;
|
|
7
|
+
|
|
8
|
+
$list-item-hovered-bg: $hovered-bg !default;
|
|
9
|
+
$list-item-hovered-text: $hovered-text !default;
|
|
10
|
+
|
|
11
|
+
$list-item-selected-bg: $selected-bg !default;
|
|
12
|
+
$list-item-selected-text: $selected-text !default;
|
|
13
|
+
|
|
14
|
+
$list-item-focused-shadow: inset 0 0 0 2px rgba(0, 0, 0, .12) !default;
|
|
15
|
+
|
|
16
|
+
$list-container-shadow: 0 5px 10px 0 rgba(0, 0, 0, .06) !default;
|
|
17
|
+
$list-container-no-data-text: $subtle-text !default;
|
|
@@ -126,7 +126,8 @@
|
|
|
126
126
|
// Sub menu
|
|
127
127
|
.k-menu-group {
|
|
128
128
|
margin: 0;
|
|
129
|
-
padding:
|
|
129
|
+
padding: 0;
|
|
130
|
+
// padding: $menu-popup-padding-y $menu-popup-padding-x;
|
|
130
131
|
font-size: $menu-popup-font-size;
|
|
131
132
|
line-height: $menu-popup-line-height;
|
|
132
133
|
list-style: none;
|
|
@@ -174,13 +175,10 @@
|
|
|
174
175
|
}
|
|
175
176
|
.k-context-menu {
|
|
176
177
|
margin: 0;
|
|
177
|
-
padding:
|
|
178
|
+
padding: 0;
|
|
179
|
+
// padding: $menu-popup-padding-y $menu-popup-padding-x;
|
|
178
180
|
border-width: $menu-popup-border-width;
|
|
179
181
|
border-style: solid;
|
|
180
|
-
|
|
181
|
-
&.k-menu-horizontal {
|
|
182
|
-
padding: $menu-popup-padding-x $menu-popup-padding-y;
|
|
183
|
-
}
|
|
184
182
|
}
|
|
185
183
|
.k-animation-container .k-context-menu.k-menu-horizontal {
|
|
186
184
|
// kendo-jquery adds `display: block` via js and we need to override it.
|
|
@@ -47,8 +47,8 @@ $menu-scroll-button-hover-gradient: null !default;
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
// Menu popup
|
|
50
|
-
$menu-popup-padding-x:
|
|
51
|
-
$menu-popup-padding-y:
|
|
50
|
+
$menu-popup-padding-x: null !default;
|
|
51
|
+
$menu-popup-padding-y: null !default;
|
|
52
52
|
$menu-popup-border-width: $popup-border-width !default;
|
|
53
53
|
$menu-popup-font-size: $font-size !default;
|
|
54
54
|
$menu-popup-line-height: $line-height !default;
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
|
|
4
4
|
// Dependencies
|
|
5
5
|
@import "../common/_index.scss";
|
|
6
|
+
@import "../forms/_variables.scss";
|
|
6
7
|
@import "../button/_index.scss";
|
|
7
8
|
@import "../input/_index.scss";
|
|
8
9
|
@import "../chip/_index.scss";
|
|
9
10
|
@import "../floating-label/_index.scss";
|
|
10
11
|
@import "../popup/_index.scss";
|
|
11
12
|
@import "../icons/_index.scss";
|
|
13
|
+
@import "../list/_index.scss";
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
// Component
|