@progress/kendo-theme-classic 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 +2123 -1534
- package/dist/all.scss +2434 -2299
- package/modules/@progress/kendo-theme-default/package.json +2 -2
- package/modules/@progress/kendo-theme-default/scss/_layout.scss +0 -0
- package/modules/@progress/kendo-theme-default/scss/adaptive/_layout.scss +40 -86
- package/modules/@progress/kendo-theme-default/scss/adaptive/_theme.scss +0 -9
- package/modules/@progress/kendo-theme-default/scss/appbar/_layout.scss +13 -0
- package/modules/@progress/kendo-theme-default/scss/appbar/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_layout.scss +4 -4
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_theme.scss +20 -39
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_variables.scss +0 -19
- package/modules/@progress/kendo-theme-default/scss/avatar/_variables.scss +11 -1
- package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +57 -100
- package/modules/@progress/kendo-theme-default/scss/button/_theme.scss +177 -112
- package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +77 -14
- package/modules/@progress/kendo-theme-default/scss/calendar/_layout.scss +2 -14
- package/modules/@progress/kendo-theme-default/scss/card/_variables.scss +4 -4
- package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +9 -9
- package/modules/@progress/kendo-theme-default/scss/chat/_theme.scss +0 -21
- package/modules/@progress/kendo-theme-default/scss/chat/_variables.scss +0 -7
- package/modules/@progress/kendo-theme-default/scss/checkbox/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/checkbox/_layout.scss +80 -146
- package/modules/@progress/kendo-theme-default/scss/checkbox/_theme.scss +6 -2
- package/modules/@progress/kendo-theme-default/scss/checkbox/_variables.scss +87 -18
- package/modules/@progress/kendo-theme-default/scss/color-preview/_layout.scss +50 -8
- package/modules/@progress/kendo-theme-default/scss/color-preview/_theme.scss +0 -14
- package/modules/@progress/kendo-theme-default/scss/color-preview/_variables.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_layout.scss +5 -1
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_variables.scss +3 -3
- package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +0 -4
- package/modules/@progress/kendo-theme-default/scss/colorpicker/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/combobox/_layout.scss +22 -29
- package/modules/@progress/kendo-theme-default/scss/combobox/_theme.scss +59 -99
- package/modules/@progress/kendo-theme-default/scss/combobox/_variables.scss +1 -32
- package/modules/@progress/kendo-theme-default/scss/common/_loading.scss +1 -13
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_index.scss +10 -0
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_layout.scss +27 -0
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_theme.scss +3 -0
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_variables.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/dropdowngrid/_layout.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/dropdownlist/_layout.scss +37 -55
- package/modules/@progress/kendo-theme-default/scss/dropdownlist/_theme.scss +33 -75
- package/modules/@progress/kendo-theme-default/scss/editor/_layout.scss +7 -22
- package/modules/@progress/kendo-theme-default/scss/forms/_layout.scss +10 -14
- package/modules/@progress/kendo-theme-default/scss/gantt/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/grid/_layout.scss +128 -97
- package/modules/@progress/kendo-theme-default/scss/grid/_theme.scss +0 -6
- package/modules/@progress/kendo-theme-default/scss/grid/_variables.scss +7 -9
- package/modules/@progress/kendo-theme-default/scss/imageeditor/_layout.scss +4 -8
- package/modules/@progress/kendo-theme-default/scss/imageeditor/_variables.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/index.scss +2 -0
- package/modules/@progress/kendo-theme-default/scss/input/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/input/_variables.scss +5 -5
- package/modules/@progress/kendo-theme-default/scss/list/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/list/_layout.scss +16 -36
- package/modules/@progress/kendo-theme-default/scss/list/_theme.scss +4 -3
- package/modules/@progress/kendo-theme-default/scss/list/_variables.scss +66 -6
- package/modules/@progress/kendo-theme-default/scss/listbox/_layout.scss +9 -0
- package/modules/@progress/kendo-theme-default/scss/listbox/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/listview/_layout.scss +2 -9
- package/modules/@progress/kendo-theme-default/scss/map/_layout.scss +7 -5
- package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_layout.scss +17 -31
- package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_theme.scss +44 -14
- package/modules/@progress/kendo-theme-default/scss/mediaplayer/_layout.scss +13 -1
- package/modules/@progress/kendo-theme-default/scss/menu/_layout.scss +48 -5
- package/modules/@progress/kendo-theme-default/scss/menu/_theme.scss +6 -2
- package/modules/@progress/kendo-theme-default/scss/menu/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/multiselect/_layout.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/numerictextbox/_layout.scss +9 -27
- package/modules/@progress/kendo-theme-default/scss/numerictextbox/_theme.scss +64 -84
- package/modules/@progress/kendo-theme-default/scss/numerictextbox/_variables.scss +0 -27
- package/modules/@progress/kendo-theme-default/scss/orgchart/_variables.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/pager/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/pdf-viewer/_layout.scss +20 -29
- package/modules/@progress/kendo-theme-default/scss/pdf-viewer/_variables.scss +2 -5
- package/modules/@progress/kendo-theme-default/scss/radio/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/radio/_layout.scss +90 -136
- package/modules/@progress/kendo-theme-default/scss/radio/_theme.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/radio/_variables.scss +88 -26
- package/modules/@progress/kendo-theme-default/scss/scheduler/_layout.scss +26 -13
- package/modules/@progress/kendo-theme-default/scss/searchbox/_layout.scss +22 -8
- package/modules/@progress/kendo-theme-default/scss/searchbox/_theme.scss +16 -25
- package/modules/@progress/kendo-theme-default/scss/searchbox/_variables.scss +0 -20
- package/modules/@progress/kendo-theme-default/scss/skeleton/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/slider/_layout.scss +35 -141
- package/modules/@progress/kendo-theme-default/scss/slider/_theme.scss +0 -6
- package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +32 -23
- package/modules/@progress/kendo-theme-default/scss/table/_layout.scss +29 -6
- package/modules/@progress/kendo-theme-default/scss/table/_theme.scss +3 -2
- package/modules/@progress/kendo-theme-default/scss/table/_variables.scss +3 -3
- package/modules/@progress/kendo-theme-default/scss/tabstrip/_layout.scss +6 -2
- package/modules/@progress/kendo-theme-default/scss/textarea/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/timeselector/_layout.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +37 -2
- package/modules/@progress/kendo-theme-default/scss/toolbar/_theme.scss +35 -7
- package/modules/@progress/kendo-theme-default/scss/treelist/_layout.scss +4 -0
- package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +130 -116
- package/modules/@progress/kendo-theme-default/scss/treeview/_theme.scss +36 -25
- package/modules/@progress/kendo-theme-default/scss/treeview/_variables.scss +67 -13
- package/modules/@progress/kendo-theme-default/scss/typography/_variables.scss +3 -3
- package/modules/@progress/kendo-theme-default/scss/utils/_flex.scss +11 -3
- package/modules/@progress/kendo-theme-default/scss/virtual-scroller/_index.scss +10 -0
- package/modules/@progress/kendo-theme-default/scss/virtual-scroller/_layout.scss +35 -0
- package/modules/@progress/kendo-theme-default/scss/virtual-scroller/_theme.scss +3 -0
- package/modules/@progress/kendo-theme-default/scss/virtual-scroller/_variables.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/window/_layout.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/window/_variables.scss +1 -1
- package/package.json +3 -3
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_variables.scss +0 -19
- package/scss/avatar/_variables.scss +13 -2
- package/scss/button/_variables.scss +78 -15
- package/scss/card/_variables.scss +4 -4
- package/scss/chat/_variables.scss +0 -7
- package/scss/checkbox/_index.scss +1 -0
- package/scss/checkbox/_variables.scss +88 -19
- package/scss/color-preview/_variables.scss +2 -2
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/combobox/_variables.scss +1 -32
- package/scss/daterangepicker/_index.scss +10 -0
- package/scss/daterangepicker/_layout.scss +1 -0
- package/scss/daterangepicker/_theme.scss +1 -0
- package/scss/daterangepicker/_variables.scss +1 -0
- package/scss/fab/index.md +0 -0
- package/scss/grid/_variables.scss +7 -9
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +2 -0
- package/scss/input/_variables.scss +5 -5
- package/scss/list/_index.scss +1 -0
- package/scss/list/_variables.scss +66 -6
- package/scss/listbox/_variables.scss +1 -1
- package/scss/menu/_variables.scss +1 -1
- 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/_variables.scss +2 -5
- package/scss/radio/_index.scss +1 -0
- package/scss/radio/_variables.scss +86 -27
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/table/_variables.scss +3 -3
- package/scss/treeview/_variables.scss +70 -16
- package/scss/typography/_variables.scss +3 -3
- package/scss/virtual-scroller/_index.scss +10 -0
- package/scss/virtual-scroller/_layout.scss +1 -0
- package/scss/virtual-scroller/_theme.scss +1 -0
- package/scss/virtual-scroller/_variables.scss +1 -0
|
@@ -67,8 +67,9 @@
|
|
|
67
67
|
@include border-radius( 0 );
|
|
68
68
|
margin: 0;
|
|
69
69
|
padding: $toolbar-padding-y;
|
|
70
|
-
width:
|
|
70
|
+
width: auto;
|
|
71
71
|
height: 100%;
|
|
72
|
+
aspect-ratio: 1;
|
|
72
73
|
border-width: 0;
|
|
73
74
|
border-color: inherit;
|
|
74
75
|
box-sizing: border-box;
|
|
@@ -100,12 +101,26 @@
|
|
|
100
101
|
flex: 1 0 0%;
|
|
101
102
|
}
|
|
102
103
|
|
|
104
|
+
|
|
103
105
|
// Template
|
|
104
106
|
.k-toolbar-template {
|
|
105
107
|
align-self: center;
|
|
106
108
|
align-items: center;
|
|
107
109
|
}
|
|
108
110
|
|
|
111
|
+
|
|
112
|
+
// Child components
|
|
113
|
+
.k-textbox,
|
|
114
|
+
.k-combobox,
|
|
115
|
+
.k-dropdown,
|
|
116
|
+
.k-searchbox,
|
|
117
|
+
.k-numerictextbox,
|
|
118
|
+
.k-datepicker,
|
|
119
|
+
.k-timepicker,
|
|
120
|
+
.k-datetimepicker {
|
|
121
|
+
width: 10em;
|
|
122
|
+
}
|
|
123
|
+
|
|
109
124
|
}
|
|
110
125
|
|
|
111
126
|
|
|
@@ -120,6 +135,7 @@
|
|
|
120
135
|
|
|
121
136
|
// Angular specific
|
|
122
137
|
kendo-toolbar-renderer {
|
|
138
|
+
display: inline-block;
|
|
123
139
|
border-color: inherit;
|
|
124
140
|
}
|
|
125
141
|
|
|
@@ -127,6 +143,14 @@
|
|
|
127
143
|
// Overflow container
|
|
128
144
|
.k-overflow-container {
|
|
129
145
|
|
|
146
|
+
> .k-item {
|
|
147
|
+
border-color: inherit;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.k-separator {
|
|
151
|
+
margin: map-get( $spacing, 1 ) 0;
|
|
152
|
+
}
|
|
153
|
+
|
|
130
154
|
// Group
|
|
131
155
|
.k-overflow-tool-group {
|
|
132
156
|
display: block;
|
|
@@ -134,13 +158,23 @@
|
|
|
134
158
|
|
|
135
159
|
// Button
|
|
136
160
|
.k-overflow-button {
|
|
161
|
+
@include border-radius( 0 );
|
|
162
|
+
padding: $list-item-padding-y $list-item-padding-x;
|
|
137
163
|
width: 100%;
|
|
164
|
+
border-width: 0;
|
|
165
|
+
color: inherit;
|
|
166
|
+
background-color: transparent;
|
|
167
|
+
background-image: none;
|
|
168
|
+
line-height: inherit;
|
|
169
|
+
display: flex;
|
|
170
|
+
justify-content: flex-start;
|
|
138
171
|
}
|
|
139
172
|
|
|
140
173
|
// Button group
|
|
141
174
|
.k-button-group {
|
|
175
|
+
@include box-shadow( none );
|
|
142
176
|
display: flex;
|
|
143
|
-
flex-
|
|
177
|
+
flex-flow: column nowrap;
|
|
144
178
|
|
|
145
179
|
.k-button {
|
|
146
180
|
margin: if( $button-border-width == 0, null, 0);
|
|
@@ -200,6 +234,7 @@
|
|
|
200
234
|
.k-toolbar {
|
|
201
235
|
padding: 0;
|
|
202
236
|
border-width: 0;
|
|
237
|
+
flex-shrink: 1;
|
|
203
238
|
color: inherit;
|
|
204
239
|
background: none;
|
|
205
240
|
}
|
|
@@ -11,13 +11,6 @@
|
|
|
11
11
|
@include box-shadow( $toolbar-shadow );
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
// Overflow anchor
|
|
15
|
-
.k-overflow-anchor {
|
|
16
|
-
color: inherit;
|
|
17
|
-
background: transparent;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
14
|
// Separator
|
|
22
15
|
.k-separator {
|
|
23
16
|
border-color: $toolbar-separator-border;
|
|
@@ -29,6 +22,41 @@
|
|
|
29
22
|
|
|
30
23
|
}
|
|
31
24
|
|
|
25
|
+
|
|
26
|
+
// Overflow container
|
|
27
|
+
.k-overflow-container {
|
|
28
|
+
|
|
29
|
+
.k-button {
|
|
30
|
+
|
|
31
|
+
// Hover state
|
|
32
|
+
&:hover,
|
|
33
|
+
&.k-state-hover {
|
|
34
|
+
color: $list-item-hovered-text;
|
|
35
|
+
background: $list-item-hovered-bg;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Active state
|
|
39
|
+
&:active,
|
|
40
|
+
&.k-state-active {
|
|
41
|
+
color: $list-item-selected-text;
|
|
42
|
+
background: $list-item-selected-bg;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Button focus state
|
|
46
|
+
.k-button:focus,
|
|
47
|
+
.k-button.k-state-focused {
|
|
48
|
+
box-shadow: $list-item-focused-shadow;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Disabled state
|
|
52
|
+
&:disabled,
|
|
53
|
+
&.k-state-disabled {
|
|
54
|
+
color: inherit;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
}
|
|
59
|
+
|
|
32
60
|
}
|
|
33
61
|
|
|
34
62
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@include exports("treeview/layout") {
|
|
2
2
|
|
|
3
|
-
//
|
|
3
|
+
// Treeview
|
|
4
4
|
.k-treeview {
|
|
5
|
-
padding:
|
|
5
|
+
padding: 0;
|
|
6
6
|
border-width: 0;
|
|
7
7
|
background: none;
|
|
8
8
|
box-sizing: border-box;
|
|
@@ -16,159 +16,173 @@
|
|
|
16
16
|
white-space: nowrap;
|
|
17
17
|
-webkit-touch-callout: none;
|
|
18
18
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
19
|
+
}
|
|
19
20
|
|
|
20
|
-
> .k-group {
|
|
21
|
-
outline: 0;
|
|
22
|
-
-webkit-touch-callout: none;
|
|
23
|
-
-webkit-tap-highlight-color: $rgba-transparent;
|
|
24
|
-
}
|
|
25
21
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
&.ng-animating {
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
22
|
+
// Treeview filter
|
|
23
|
+
.k-treeview-filter {
|
|
24
|
+
padding: map-get( $spacing, 1 );
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
display: block;
|
|
27
|
+
position: relative;
|
|
28
|
+
flex: none;
|
|
29
|
+
}
|
|
39
30
|
|
|
40
|
-
// Wrappers
|
|
41
|
-
.k-top,
|
|
42
|
-
.k-mid,
|
|
43
|
-
.k-bot {
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: row;
|
|
46
|
-
align-items: center;
|
|
47
|
-
align-content: center;
|
|
48
|
-
}
|
|
49
31
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
32
|
+
// Treeview group
|
|
33
|
+
.k-treeview-group,
|
|
34
|
+
.k-treeview .k-group {
|
|
35
|
+
margin: 0;
|
|
36
|
+
padding: 0;
|
|
37
|
+
background: none;
|
|
38
|
+
list-style: none;
|
|
39
|
+
position: relative;
|
|
40
|
+
outline: 0;
|
|
41
|
+
-webkit-touch-callout: none;
|
|
42
|
+
-webkit-tap-highlight-color: $rgba-transparent;
|
|
58
43
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
@include border-radius( $treeview-item-border-radius );
|
|
62
|
-
margin: 0;
|
|
63
|
-
padding: $treeview-item-padding-y $treeview-item-padding-x;
|
|
64
|
-
border: $treeview-item-border-width solid transparent;
|
|
65
|
-
text-decoration: none;
|
|
66
|
-
display: inline-flex;
|
|
67
|
-
align-items: center;
|
|
68
|
-
align-content: center;
|
|
69
|
-
vertical-align: middle;
|
|
70
|
-
position: relative;
|
|
71
|
-
}
|
|
72
|
-
.k-in.k-state-focused {
|
|
73
|
-
z-index: 1;
|
|
44
|
+
&.ng-animating {
|
|
45
|
+
overflow: hidden;
|
|
74
46
|
}
|
|
47
|
+
}
|
|
75
48
|
|
|
76
|
-
// LoadMore button
|
|
77
|
-
.k-treeview-load-more-button {
|
|
78
|
-
cursor: pointer;
|
|
79
49
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
50
|
+
// Treeview wrappers
|
|
51
|
+
.k-treeview-top,
|
|
52
|
+
.k-treeview .k-top,
|
|
53
|
+
.k-treeview-mid,
|
|
54
|
+
.k-treeview .k-mid,
|
|
55
|
+
.k-treeview-bot,
|
|
56
|
+
.k-treeview .k-bot {
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-direction: row;
|
|
59
|
+
align-items: center;
|
|
60
|
+
align-content: center;
|
|
61
|
+
}
|
|
89
62
|
|
|
90
|
-
.k-i-loading {
|
|
91
|
-
margin-left: $treeview-loadmore-checkboxes-icon-indent;
|
|
92
|
-
margin-right: $treeview-loadmore-checkboxes-icon-margin-x;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
63
|
|
|
96
|
-
|
|
64
|
+
// Treeview item
|
|
65
|
+
.k-treeview-item,
|
|
66
|
+
.k-treeview .k-item {
|
|
67
|
+
outline-style: none;
|
|
68
|
+
margin: 0;
|
|
69
|
+
padding: 0 0 0 $treeview-indent;
|
|
70
|
+
border-width: 0;
|
|
71
|
+
display: block;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
// Treeview toggle
|
|
76
|
+
.k-treeview-toggle {
|
|
77
|
+
flex: none;
|
|
78
|
+
display: inline-flex;
|
|
79
|
+
flex-flow: row nowrap;
|
|
80
|
+
align-items: center;
|
|
81
|
+
|
|
97
82
|
.k-i-expand,
|
|
98
83
|
.k-i-collapse {
|
|
99
|
-
margin-
|
|
100
|
-
cursor: pointer;
|
|
101
|
-
|
|
102
|
-
+ .k-checkbox-wrapper {
|
|
103
|
-
margin-left: $icon-spacing;
|
|
104
|
-
}
|
|
84
|
+
margin: 0 !important; // sass-lint:disable-line no-important
|
|
105
85
|
}
|
|
86
|
+
}
|
|
87
|
+
.k-treeview-toggle,
|
|
88
|
+
.k-treeview .k-i-expand,
|
|
89
|
+
.k-treeview .k-i-collapse {
|
|
90
|
+
margin-left: -$treeview-indent;
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
// Loading icon
|
|
96
|
+
.k-treeview-loading {
|
|
97
|
+
margin-right: $icon-spacing;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
// Checkbox
|
|
102
|
+
.k-treeview .k-checkbox-wrap,
|
|
103
|
+
.k-treeview .k-checkbox-wrapper {
|
|
104
|
+
margin-left: $icon-spacing;
|
|
105
|
+
margin-right: $icon-spacing;
|
|
106
|
+
align-self: center;
|
|
107
|
+
}
|
|
106
108
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
+
|
|
110
|
+
// Treeview leaf
|
|
111
|
+
.k-treeview-leaf,
|
|
112
|
+
.k-treeview .k-in {
|
|
113
|
+
@include border-radius( $treeview-item-border-radius );
|
|
114
|
+
margin: 0;
|
|
115
|
+
padding: $treeview-item-padding-y $treeview-item-padding-x;
|
|
116
|
+
border: $treeview-item-border-width solid transparent;
|
|
117
|
+
text-decoration: none;
|
|
118
|
+
display: inline-flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
align-content: center;
|
|
121
|
+
vertical-align: middle;
|
|
122
|
+
position: relative;
|
|
123
|
+
|
|
124
|
+
.k-icon,
|
|
125
|
+
.k-image,
|
|
126
|
+
.k-sprite {
|
|
109
127
|
margin-right: $icon-spacing;
|
|
110
128
|
}
|
|
111
129
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
position: absolute;
|
|
116
|
-
transform: translate(-50%, -50%);
|
|
117
|
-
z-index: 1000;
|
|
130
|
+
&.k-state-focus,
|
|
131
|
+
&.k-state-focused {
|
|
132
|
+
z-index: 1;
|
|
118
133
|
}
|
|
134
|
+
}
|
|
119
135
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
136
|
+
|
|
137
|
+
// Treeview load more button
|
|
138
|
+
.k-treeview .k-treeview-load-more-button {
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
|
|
141
|
+
&:hover,
|
|
142
|
+
&.k-state-hover,
|
|
143
|
+
&:focus,
|
|
144
|
+
&.k-state-focus,
|
|
145
|
+
&.k-state-focused {
|
|
146
|
+
text-decoration: underline;
|
|
125
147
|
}
|
|
126
148
|
}
|
|
127
149
|
|
|
150
|
+
|
|
128
151
|
// RTL
|
|
129
152
|
.k-rtl .k-treeview,
|
|
130
153
|
.k-treeview[dir="rtl"] {
|
|
131
154
|
|
|
132
|
-
//
|
|
133
|
-
.k-item
|
|
155
|
+
// Treeview item
|
|
156
|
+
.k-item,
|
|
157
|
+
.k-treeview-item {
|
|
134
158
|
padding-left: 0;
|
|
135
159
|
padding-right: $treeview-indent;
|
|
136
160
|
}
|
|
137
161
|
|
|
138
|
-
|
|
139
|
-
padding-left: 0;
|
|
140
|
-
padding-right: $treeview-loadmore-checkboxes-padding-x;
|
|
141
|
-
|
|
142
|
-
.k-i-loading {
|
|
143
|
-
margin-left: $treeview-loadmore-checkboxes-icon-margin-x;
|
|
144
|
-
margin-right: $treeview-loadmore-checkboxes-icon-indent;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
// Expand / collapse
|
|
162
|
+
// Treeview toggle
|
|
149
163
|
.k-i-expand,
|
|
150
|
-
.k-i-collapse
|
|
164
|
+
.k-i-collapse,
|
|
165
|
+
.k-treeview-toggle {
|
|
151
166
|
margin-left: 0;
|
|
152
167
|
margin-right: -$treeview-indent;
|
|
153
|
-
|
|
154
|
-
+ .k-checkbox-wrapper {
|
|
155
|
-
margin-right: $icon-spacing;
|
|
156
|
-
}
|
|
157
168
|
}
|
|
158
169
|
|
|
159
|
-
//
|
|
160
|
-
.k-
|
|
170
|
+
// Loading
|
|
171
|
+
.k-treeview-loading {
|
|
161
172
|
margin-right: 0;
|
|
162
173
|
margin-left: $icon-spacing;
|
|
163
174
|
}
|
|
164
175
|
|
|
165
|
-
//
|
|
166
|
-
.k-
|
|
167
|
-
.k-in
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
176
|
+
// Treeview leaf
|
|
177
|
+
.k-treeview-leaf,
|
|
178
|
+
.k-in {
|
|
179
|
+
.k-icon,
|
|
180
|
+
.k-image,
|
|
181
|
+
.k-sprite {
|
|
182
|
+
margin-right: 0;
|
|
183
|
+
margin-left: $icon-spacing;
|
|
184
|
+
}
|
|
171
185
|
}
|
|
172
|
-
|
|
173
186
|
}
|
|
187
|
+
|
|
174
188
|
}
|
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
@include exports("treeview/theme") {
|
|
2
2
|
|
|
3
|
-
//
|
|
3
|
+
// Treeview
|
|
4
4
|
.k-treeview {
|
|
5
5
|
@include fill(
|
|
6
6
|
$treeview-text,
|
|
7
7
|
$treeview-bg,
|
|
8
8
|
$treeview-border
|
|
9
9
|
);
|
|
10
|
+
}
|
|
11
|
+
|
|
10
12
|
|
|
13
|
+
// Treeview item
|
|
14
|
+
.k-treeview-item {}
|
|
11
15
|
|
|
12
|
-
// Item
|
|
13
|
-
.k-in {}
|
|
14
16
|
|
|
17
|
+
// Treeview leaf
|
|
18
|
+
.k-treeview-leaf,
|
|
19
|
+
.k-treeview .k-in {
|
|
15
20
|
|
|
16
|
-
//
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
// Hover state
|
|
22
|
+
&:hover,
|
|
23
|
+
&.k-state-hover {
|
|
19
24
|
@include fill(
|
|
20
25
|
$treeview-item-hovered-text,
|
|
21
26
|
$treeview-item-hovered-bg,
|
|
@@ -23,7 +28,15 @@
|
|
|
23
28
|
$treeview-item-hovered-gradient
|
|
24
29
|
);
|
|
25
30
|
}
|
|
26
|
-
|
|
31
|
+
|
|
32
|
+
// Focus state
|
|
33
|
+
&.k-state-focus,
|
|
34
|
+
&.k-state-focused {
|
|
35
|
+
@include box-shadow( $treeview-item-focused-shadow );
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Selected state
|
|
39
|
+
&.k-state-selected {
|
|
27
40
|
@include fill(
|
|
28
41
|
$treeview-item-selected-text,
|
|
29
42
|
$treeview-item-selected-bg,
|
|
@@ -31,24 +44,20 @@
|
|
|
31
44
|
$treeview-item-selected-gradient
|
|
32
45
|
);
|
|
33
46
|
}
|
|
34
|
-
|
|
35
|
-
@include box-shadow( $treeview-item-focused-shadow );
|
|
36
|
-
}
|
|
37
|
-
.k-in.k-state-selected.k-state-focused {
|
|
38
|
-
@include box-shadow( $treeview-item-selected-focused-shadow );
|
|
39
|
-
}
|
|
47
|
+
}
|
|
40
48
|
|
|
41
|
-
// LoadMore button
|
|
42
|
-
.k-treeview-load-more-button {
|
|
43
|
-
@include fill(
|
|
44
|
-
$treeview-loadmore-text,
|
|
45
|
-
$treeview-loadmore-bg,
|
|
46
|
-
$treeview-loadmore-border
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
// Treeview load more button
|
|
51
|
+
.k-treeview .k-treeview-load-more-button {
|
|
52
|
+
@include fill(
|
|
53
|
+
$treeview-loadmore-text,
|
|
54
|
+
$treeview-loadmore-bg,
|
|
55
|
+
$treeview-loadmore-border
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
// Hover state
|
|
59
|
+
&:hover,
|
|
60
|
+
&.k-state-hover {
|
|
52
61
|
@include fill(
|
|
53
62
|
$treeview-loadmore-hover-text,
|
|
54
63
|
$treeview-loadmore-hover-bg,
|
|
@@ -56,8 +65,10 @@
|
|
|
56
65
|
);
|
|
57
66
|
}
|
|
58
67
|
|
|
59
|
-
|
|
60
|
-
|
|
68
|
+
// Focus state
|
|
69
|
+
&:focus,
|
|
70
|
+
&.k-state-focus,
|
|
71
|
+
&.k-state-focused {
|
|
61
72
|
@include fill(
|
|
62
73
|
$treeview-loadmore-focus-text,
|
|
63
74
|
$treeview-loadmore-focus-bg,
|
|
@@ -1,47 +1,101 @@
|
|
|
1
1
|
// Treeview
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
/// Font family of the treeview component.
|
|
4
|
+
/// @group treeview
|
|
4
5
|
$treeview-font-family: $font-family !default;
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
/// Font size of the treeview component.
|
|
7
|
+
/// @group treeview
|
|
8
|
+
$treeview-font-size: $font-size-md !default;
|
|
9
|
+
/// Line height of the treeview component.
|
|
10
|
+
/// @group treeview
|
|
11
|
+
$treeview-line-height: $line-height-md !default;
|
|
7
12
|
|
|
13
|
+
/// Indentation of child groups in treeview component.
|
|
14
|
+
/// @group treeview
|
|
8
15
|
$treeview-indent: 16px !default;
|
|
9
16
|
|
|
17
|
+
/// Horizontal padding of treeview items.
|
|
18
|
+
/// @group treeview
|
|
10
19
|
$treeview-item-padding-x: map-get( $spacing, 2 ) !default;
|
|
20
|
+
/// Vertical padding of treeview items.
|
|
21
|
+
/// @group treeview
|
|
11
22
|
$treeview-item-padding-y: map-get( $spacing, 1 ) !default;
|
|
23
|
+
/// Border width of treeview items.
|
|
24
|
+
/// @group treeview
|
|
12
25
|
$treeview-item-border-width: 0px !default;
|
|
26
|
+
/// Border radius of treeview items.
|
|
27
|
+
/// @group treeview
|
|
13
28
|
$treeview-item-border-radius: null !default;
|
|
14
29
|
|
|
30
|
+
/// Background color of the treeview component.
|
|
31
|
+
/// @group treeview
|
|
15
32
|
$treeview-bg: null !default;
|
|
33
|
+
/// Text color of the treeview component.
|
|
34
|
+
/// @group treeview
|
|
16
35
|
$treeview-text: $component-text !default;
|
|
36
|
+
/// Border color of the treeview component.
|
|
37
|
+
/// @group treeview
|
|
17
38
|
$treeview-border: null !default;
|
|
18
39
|
|
|
40
|
+
/// Background color of hovered treeview items.
|
|
41
|
+
/// @group treeview
|
|
19
42
|
$treeview-item-hovered-bg: $hovered-bg !default;
|
|
43
|
+
/// Text color of hovered treeview items.
|
|
44
|
+
/// @group treeview
|
|
20
45
|
$treeview-item-hovered-text: $hovered-text !default;
|
|
46
|
+
/// Border color of hovered treeview items.
|
|
47
|
+
/// @group treeview
|
|
21
48
|
$treeview-item-hovered-border: null !default;
|
|
49
|
+
/// Background gradient of hovered treeview items.
|
|
50
|
+
/// @group treeview
|
|
22
51
|
$treeview-item-hovered-gradient: null !default;
|
|
23
52
|
|
|
53
|
+
/// Background color of selected treeview items.
|
|
54
|
+
/// @group treeview
|
|
24
55
|
$treeview-item-selected-bg: $selected-bg !default;
|
|
56
|
+
/// Text color of selected treeview items.
|
|
57
|
+
/// @group treeview
|
|
25
58
|
$treeview-item-selected-text: $selected-text !default;
|
|
59
|
+
/// Border color of selected treeview items.
|
|
60
|
+
/// @group treeview
|
|
26
61
|
$treeview-item-selected-border: null !default;
|
|
62
|
+
/// Background gradient of selected treeview items.
|
|
63
|
+
/// @group treeview
|
|
27
64
|
$treeview-item-selected-gradient: null !default;
|
|
28
65
|
|
|
66
|
+
/// Box shadow of focused treeview items.
|
|
67
|
+
/// @group treeview
|
|
29
68
|
$treeview-item-focused-shadow: $focused-shadow !default;
|
|
30
|
-
$treeview-item-selected-focused-shadow: null !default;
|
|
31
|
-
|
|
32
|
-
$treeview-loadmore-checkboxes-padding-x: calc( #{$icon-spacing} + #{$checkbox-size} + #{$treeview-indent} ) !default;
|
|
33
|
-
$treeview-loadmore-checkboxes-icon-indent: calc( -1 * (#{$icon-spacing} + #{$treeview-indent}) ) !default;
|
|
34
|
-
$treeview-loadmore-checkboxes-icon-margin-x: $icon-spacing !default;
|
|
35
69
|
|
|
70
|
+
/// Background color of load more.
|
|
71
|
+
/// @group treeview
|
|
36
72
|
$treeview-loadmore-bg: transparent !default;
|
|
37
|
-
|
|
73
|
+
/// Text color of load more.
|
|
74
|
+
/// @group treeview
|
|
75
|
+
$treeview-loadmore-text: $link-text !default;
|
|
76
|
+
/// Border color of load more.
|
|
77
|
+
/// @group treeview
|
|
38
78
|
$treeview-loadmore-border: null !default;
|
|
39
79
|
|
|
80
|
+
/// Background color of a hovered load more.
|
|
81
|
+
/// @group treeview
|
|
40
82
|
$treeview-loadmore-hover-bg: transparent !default;
|
|
41
|
-
|
|
83
|
+
/// Text color of a hovered load more.
|
|
84
|
+
/// @group treeview
|
|
85
|
+
$treeview-loadmore-hover-text: $link-hover-text !default;
|
|
86
|
+
/// Border color of a hovered load more.
|
|
87
|
+
/// @group treeview
|
|
42
88
|
$treeview-loadmore-hover-border: null !default;
|
|
43
89
|
|
|
90
|
+
/// Background color of a focused load more.
|
|
91
|
+
/// @group treeview
|
|
44
92
|
$treeview-loadmore-focus-bg: transparent !default;
|
|
45
|
-
|
|
93
|
+
/// Text color of a focused load more.
|
|
94
|
+
/// @group treeview
|
|
95
|
+
$treeview-loadmore-focus-text: $link-hover-text !default;
|
|
96
|
+
/// Border color of a focused load more.
|
|
97
|
+
/// @group treeview
|
|
46
98
|
$treeview-loadmore-focus-border: null !default;
|
|
47
|
-
|
|
99
|
+
/// Box shadow of a focused load more.
|
|
100
|
+
/// @group treeview
|
|
101
|
+
$treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
|
|
@@ -9,8 +9,8 @@ $enable-typography: false !default;
|
|
|
9
9
|
$font-size: 14px !default;
|
|
10
10
|
$font-size-xs: 10px !default;
|
|
11
11
|
$font-size-sm: 12px !default;
|
|
12
|
-
$font-size-md:
|
|
13
|
-
$font-size-lg:
|
|
12
|
+
$font-size-md: $font-size !default;
|
|
13
|
+
$font-size-lg: 16px !default;
|
|
14
14
|
$font-size-xl: 20px !default;
|
|
15
15
|
|
|
16
16
|
/// Font family across all components.
|
|
@@ -25,7 +25,7 @@ $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono",
|
|
|
25
25
|
/// @group typography
|
|
26
26
|
$line-height: (20 / 14) !default;
|
|
27
27
|
$line-height-xs: 1 !default;
|
|
28
|
-
$line-height-sm: 1.
|
|
28
|
+
$line-height-sm: 1.25 !default;
|
|
29
29
|
$line-height-md: $line-height !default;
|
|
30
30
|
$line-height-lg: 1.5 !default;
|
|
31
31
|
$line-height-em: $line-height * 1em !default;
|