@syncfusion/ej2-lists 26.2.14 → 27.1.48
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 +10 -10
- package/dist/ej2-lists.min.js +2 -2
- package/dist/ej2-lists.umd.min.js +1 -1
- package/dist/ej2-lists.umd.min.js.map +1 -1
- package/dist/es6/ej2-lists.es2015.js +1 -1
- package/dist/es6/ej2-lists.es2015.js.map +1 -1
- package/dist/es6/ej2-lists.es5.js +1 -1
- package/dist/es6/ej2-lists.es5.js.map +1 -1
- package/dist/global/ej2-lists.min.js +2 -2
- package/dist/global/ej2-lists.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +11 -10
- package/src/sortable/sortable.js +1 -1
- package/styles/bootstrap-dark-lite.css +396 -0
- package/styles/bootstrap-dark-lite.scss +7 -0
- package/styles/bootstrap-dark.css +48 -49
- package/styles/bootstrap-dark.scss +2 -2
- package/styles/bootstrap-lite.css +397 -0
- package/styles/bootstrap-lite.scss +7 -0
- package/styles/bootstrap.css +48 -49
- package/styles/bootstrap.scss +2 -2
- package/styles/bootstrap4-lite.css +401 -0
- package/styles/bootstrap4-lite.scss +7 -0
- package/styles/bootstrap4.css +87 -88
- package/styles/bootstrap4.scss +2 -2
- package/styles/bootstrap5-dark-lite.css +422 -0
- package/styles/bootstrap5-dark-lite.scss +7 -0
- package/styles/bootstrap5-dark.css +48 -49
- package/styles/bootstrap5-dark.scss +2 -2
- package/styles/bootstrap5-lite.css +422 -0
- package/styles/bootstrap5-lite.scss +7 -0
- package/styles/bootstrap5.3-lite.css +402 -0
- package/styles/bootstrap5.3-lite.scss +7 -0
- package/styles/bootstrap5.3.css +450 -0
- package/styles/bootstrap5.3.scss +8 -0
- package/styles/bootstrap5.css +48 -49
- package/styles/bootstrap5.scss +2 -2
- package/styles/fabric-dark-lite.css +396 -0
- package/styles/fabric-dark-lite.scss +7 -0
- package/styles/fabric-dark.css +48 -49
- package/styles/fabric-dark.scss +2 -2
- package/styles/fabric-lite.css +397 -0
- package/styles/fabric-lite.scss +7 -0
- package/styles/fabric.css +48 -49
- package/styles/fabric.scss +2 -2
- package/styles/fluent-dark-lite.css +410 -0
- package/styles/fluent-dark-lite.scss +7 -0
- package/styles/fluent-dark.css +91 -92
- package/styles/fluent-dark.scss +2 -2
- package/styles/fluent-lite.css +410 -0
- package/styles/fluent-lite.scss +7 -0
- package/styles/fluent.css +91 -92
- package/styles/fluent.scss +2 -2
- package/styles/fluent2-lite.css +396 -0
- package/styles/fluent2-lite.scss +7 -0
- package/styles/fluent2.css +63 -64
- package/styles/fluent2.scss +2 -2
- package/styles/highcontrast-light-lite.css +396 -0
- package/styles/highcontrast-light-lite.scss +7 -0
- package/styles/highcontrast-light.css +48 -49
- package/styles/highcontrast-light.scss +2 -2
- package/styles/highcontrast-lite.css +397 -0
- package/styles/highcontrast-lite.scss +7 -0
- package/styles/highcontrast.css +48 -49
- package/styles/highcontrast.scss +2 -2
- package/styles/list-view/_bigger.scss +325 -0
- package/styles/list-view/_fluent2-definition.scss +2 -2
- package/styles/list-view/_layout.scss +12 -272
- package/styles/list-view/_material-dark-definition.scss +1 -1
- package/styles/list-view/_material-definition.scss +1 -1
- package/styles/list-view/_theme.scss +1 -1
- package/styles/list-view/bootstrap-dark.css +48 -48
- package/styles/list-view/bootstrap-dark.scss +1 -0
- package/styles/list-view/bootstrap.css +48 -48
- package/styles/list-view/bootstrap.scss +1 -0
- package/styles/list-view/bootstrap4.css +87 -87
- package/styles/list-view/bootstrap4.scss +1 -0
- package/styles/list-view/bootstrap5-dark.css +48 -48
- package/styles/list-view/bootstrap5-dark.scss +1 -0
- package/styles/list-view/bootstrap5.3.css +421 -0
- package/styles/list-view/bootstrap5.3.scss +6 -0
- package/styles/list-view/bootstrap5.css +48 -48
- package/styles/list-view/bootstrap5.scss +1 -0
- package/styles/list-view/fabric-dark.css +48 -48
- package/styles/list-view/fabric-dark.scss +1 -0
- package/styles/list-view/fabric.css +48 -48
- package/styles/list-view/fabric.scss +1 -0
- package/styles/list-view/fluent-dark.css +91 -91
- package/styles/list-view/fluent-dark.scss +1 -0
- package/styles/list-view/fluent.css +91 -91
- package/styles/list-view/fluent.scss +1 -0
- package/styles/list-view/fluent2.css +63 -63
- package/styles/list-view/fluent2.scss +1 -0
- package/styles/list-view/highcontrast-light.css +48 -48
- package/styles/list-view/highcontrast-light.scss +1 -0
- package/styles/list-view/highcontrast.css +48 -48
- package/styles/list-view/highcontrast.scss +1 -0
- package/styles/list-view/material-dark.css +51 -51
- package/styles/list-view/material-dark.scss +1 -0
- package/styles/list-view/material.css +51 -51
- package/styles/list-view/material.scss +1 -0
- package/styles/list-view/material3-dark.css +65 -65
- package/styles/list-view/material3-dark.scss +1 -0
- package/styles/list-view/material3.css +65 -65
- package/styles/list-view/material3.scss +1 -0
- package/styles/list-view/tailwind-dark.css +156 -156
- package/styles/list-view/tailwind-dark.scss +1 -0
- package/styles/list-view/tailwind.css +156 -156
- package/styles/list-view/tailwind.scss +1 -0
- package/styles/material-dark-lite.css +395 -0
- package/styles/material-dark-lite.scss +7 -0
- package/styles/material-dark.css +51 -52
- package/styles/material-dark.scss +2 -2
- package/styles/material-lite.css +396 -0
- package/styles/material-lite.scss +7 -0
- package/styles/material.css +51 -52
- package/styles/material.scss +2 -2
- package/styles/material3-dark-lite.css +404 -0
- package/styles/material3-dark-lite.scss +7 -0
- package/styles/material3-dark.css +65 -66
- package/styles/material3-dark.scss +2 -2
- package/styles/material3-lite.css +406 -0
- package/styles/material3-lite.scss +7 -0
- package/styles/material3.css +65 -66
- package/styles/material3.scss +2 -2
- package/styles/sortable/_layout.scss +0 -1
- package/styles/sortable/bootstrap-dark.css +0 -1
- package/styles/sortable/bootstrap.css +0 -1
- package/styles/sortable/bootstrap4.css +0 -1
- package/styles/sortable/bootstrap5-dark.css +0 -1
- package/styles/sortable/bootstrap5.3.css +32 -0
- package/styles/sortable/bootstrap5.3.scss +3 -0
- package/styles/sortable/bootstrap5.css +0 -1
- package/styles/sortable/fabric-dark.css +0 -1
- package/styles/sortable/fabric.css +0 -1
- package/styles/sortable/fluent-dark.css +0 -1
- package/styles/sortable/fluent.css +0 -1
- package/styles/sortable/fluent2.css +0 -1
- package/styles/sortable/highcontrast-light.css +0 -1
- package/styles/sortable/highcontrast.css +0 -1
- package/styles/sortable/material-dark.css +0 -1
- package/styles/sortable/material.css +0 -1
- package/styles/sortable/material3-dark.css +0 -1
- package/styles/sortable/material3.css +0 -1
- package/styles/sortable/tailwind-dark.css +0 -1
- package/styles/sortable/tailwind.css +0 -1
- package/styles/tailwind-dark-lite.css +421 -0
- package/styles/tailwind-dark-lite.scss +7 -0
- package/styles/tailwind-dark.css +156 -157
- package/styles/tailwind-dark.scss +2 -2
- package/styles/tailwind-lite.css +421 -0
- package/styles/tailwind-lite.scss +7 -0
- package/styles/tailwind.css +156 -157
- package/styles/tailwind.scss +2 -2
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
@mixin list-style($height, $line-height, $position) {
|
|
2
|
+
height: $height;
|
|
3
|
+
line-height: $line-height;
|
|
4
|
+
position: $position;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@mixin size($height, $width) {
|
|
8
|
+
height: $height;
|
|
9
|
+
width: $width;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin text-style($font-size, $line-height) {
|
|
13
|
+
font-size: $font-size;
|
|
14
|
+
line-height: $line-height;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin header($font-weight, $height) {
|
|
18
|
+
align-items: center;
|
|
19
|
+
display: flex;
|
|
20
|
+
font-weight: $font-weight;
|
|
21
|
+
height: $height;
|
|
22
|
+
|
|
23
|
+
.e-text.header,
|
|
24
|
+
.e-headertemplate-text.nested-header {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@mixin checkbox-style($left, $right) {
|
|
30
|
+
@if $skin-name != 'fluent2' {
|
|
31
|
+
.e-checkbox-left {
|
|
32
|
+
margin: $left;
|
|
33
|
+
}
|
|
34
|
+
.e-checkbox-right {
|
|
35
|
+
margin: $right;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@mixin list-checkbox-style($left, $right) {
|
|
41
|
+
&.e-checkbox-left {
|
|
42
|
+
margin: $left;
|
|
43
|
+
}
|
|
44
|
+
&.e-checkbox-right {
|
|
45
|
+
margin: $right;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@mixin icon-margin($margin-left, $margin-right) {
|
|
50
|
+
margin-left: $margin-left;
|
|
51
|
+
margin-right: $margin-right;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@include export-module('listview-bigger') {
|
|
55
|
+
.e-bigger #{&}.e-listview,
|
|
56
|
+
#{&}.e-listview.e-bigger {
|
|
57
|
+
@if ($skin-name == 'bootstrap4') {
|
|
58
|
+
font-size: 16px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.e-list-item {
|
|
62
|
+
border-bottom: $listview-border-bottom solid $listview-border-bottom-color;
|
|
63
|
+
border-left: $listview-border-left solid $listview-border-left-color;
|
|
64
|
+
border-right: $listview-border-right solid $listview-border-right-color;
|
|
65
|
+
border-top: $listview-border-top solid $listview-border-top-color;
|
|
66
|
+
@if ($skin-name == 'tailwind') {
|
|
67
|
+
.e-text-content .e-list-text {
|
|
68
|
+
font-size: $listview-touch-item-font-size;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
@if $skin-name == 'fluent2' {
|
|
72
|
+
.e-list-text {
|
|
73
|
+
padding: $listview-touch-item-padding;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&:not(.e-list-template) .e-list-item {
|
|
79
|
+
@include list-style($listview-touch-item-height, $listview-touch-item-line-height, relative);
|
|
80
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'bootstrap4') {
|
|
81
|
+
padding: $listview-touch-item-padding;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.e-text-content {
|
|
86
|
+
font-size: $listview-touch-item-font-size;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.e-list-group-item {
|
|
90
|
+
height: $listview-touch-groupheader-height;
|
|
91
|
+
line-height: $listview-touch-groupheader-line-height;
|
|
92
|
+
@if ($skin-name == 'bootstrap4') {
|
|
93
|
+
padding: 12px 20px;
|
|
94
|
+
}
|
|
95
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI') {
|
|
96
|
+
padding: $listview-template-padding;
|
|
97
|
+
}
|
|
98
|
+
@if ($skin-name == 'FluentUI' or $skin-name == 'bootstrap4') {
|
|
99
|
+
font-size: 16px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.e-text-content {
|
|
103
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'Material3') {
|
|
104
|
+
@include text-style($listview-touch-header-font-size, $listview-touch-groupheader-line-height);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.e-list-header {
|
|
110
|
+
@include header($listview-touch-header-font-weight, $listview-touch-header-height);
|
|
111
|
+
@if ($skin-name == 'bootstrap4') {
|
|
112
|
+
@include text-style(20px, 1.2);
|
|
113
|
+
padding: 0 0 0 20px;
|
|
114
|
+
}
|
|
115
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI') {
|
|
116
|
+
@include text-style($text-sm, $listview-item-line-height);
|
|
117
|
+
padding: $listview-template-padding;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.e-text {
|
|
121
|
+
font-size: $listview-touch-header-font-size;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.e-back-button {
|
|
126
|
+
@if ($skin-name == 'bootstrap4') {
|
|
127
|
+
margin-top: -3px;
|
|
128
|
+
padding-right: 12px;
|
|
129
|
+
}
|
|
130
|
+
@if ($skin-name == 'tailwind') {
|
|
131
|
+
margin-right: $listview-touch-icon-margin-right;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.e-list-icon {
|
|
136
|
+
@if ($skin-name == 'bootstrap4') {
|
|
137
|
+
margin-right: 12px;
|
|
138
|
+
}
|
|
139
|
+
@if ($skin-name == 'tailwind') {
|
|
140
|
+
@include size($listview-touch-item-size, $listview-touch-item-size);
|
|
141
|
+
margin-right: $listview-touch-icon-margin-right;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.e-icon-collapsible {
|
|
146
|
+
@if ($skin-name == 'bootstrap4') {
|
|
147
|
+
font-size: 12px;
|
|
148
|
+
}
|
|
149
|
+
@else if $skin-name == 'fluent2' {
|
|
150
|
+
font-size: 14px;
|
|
151
|
+
|
|
152
|
+
&::before {
|
|
153
|
+
padding: 5px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
@if ($skin-name == 'tailwind') {
|
|
157
|
+
font-size: $listview-touch-item-size;
|
|
158
|
+
@include size($listview-touch-item-size, $listview-touch-item-size);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.e-listview-checkbox {
|
|
163
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'bootstrap4') {
|
|
164
|
+
@include list-checkbox-style($listview-touch-checkbox-left-margin, $listview-touch-checkbox-right-margin);
|
|
165
|
+
}
|
|
166
|
+
@if ($skin-name == 'FluentUI') {
|
|
167
|
+
&.e-checkbox-left {
|
|
168
|
+
border: 0;
|
|
169
|
+
padding: 0;
|
|
170
|
+
margin: $listview-touch-checkbox-left-margin;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&.e-rtl {
|
|
176
|
+
@if ($skin-name == 'FluentUI') {
|
|
177
|
+
&.e-list-template {
|
|
178
|
+
.e-list-wrapper {
|
|
179
|
+
&.e-list-avatar {
|
|
180
|
+
.e-avatar {
|
|
181
|
+
margin: $listview-template-avatar-rtl-margin;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
@if ($skin-name == 'tailwind') {
|
|
188
|
+
&:not(.e-list-template) .e-list-item {
|
|
189
|
+
padding: $listview-rtl-touch-item-padding;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
& .e-list-icon {
|
|
193
|
+
margin-left: 12px;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
& .e-back-button {
|
|
197
|
+
@include icon-margin(12px, 0);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
@if ($skin-name == 'Material3') {
|
|
201
|
+
& .e-list-icon {
|
|
202
|
+
@include icon-margin($listview-touch-icon-margin-right, $listview-rtl-icon-back-margin);
|
|
203
|
+
}
|
|
204
|
+
& .e-icon-back {
|
|
205
|
+
@include icon-margin($listview-icon-back-margin-right, $listview-rtl-icon-back-margin);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.e-listview-checkbox {
|
|
210
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'bootstrap4') {
|
|
211
|
+
@include list-checkbox-style($listview-touch-rtl-checkbox-left-margin, $listview-touch-rtl-checkbox-right-margin);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
@if ($skin-name == 'tailwind') {
|
|
216
|
+
&.e-list-template {
|
|
217
|
+
.e-list-wrapper {
|
|
218
|
+
&.e-list-avatar {
|
|
219
|
+
.e-avatar {
|
|
220
|
+
margin: 8px 16px 8px 24px;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
&.e-list-avatar:not(.e-list-badge),
|
|
225
|
+
&.e-list-badge.e-list-avatar {
|
|
226
|
+
padding-right: $listview-touch-template-avatar-padding-left;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
@if ($skin-name == 'tailwind') {
|
|
234
|
+
&.e-list-template {
|
|
235
|
+
.e-list-header {
|
|
236
|
+
padding: 8px 16px;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.e-list-wrapper {
|
|
240
|
+
&.e-list-multi-line {
|
|
241
|
+
padding: $listview-touch-template-multiline-padding;
|
|
242
|
+
|
|
243
|
+
.e-list-item-header,
|
|
244
|
+
.e-list-content {
|
|
245
|
+
@include text-style($listview-touch-template-multiline-header-font-size, $listview-touch-template-multiline-header-line-height);
|
|
246
|
+
font-weight: $font-weight-normal;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&:not(.e-list-multi-line) {
|
|
251
|
+
&.e-list-badge:not(.e-list-avatar) {
|
|
252
|
+
padding: 0 12px 0 16px;
|
|
253
|
+
|
|
254
|
+
.e-list-content {
|
|
255
|
+
padding: 14px 0;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
&.e-list-avatar {
|
|
261
|
+
.e-avatar {
|
|
262
|
+
@include size($listview-touch-template-avatar-size, $listview-touch-template-avatar-size);
|
|
263
|
+
margin: $listview-touch-template-avatar-margin;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
&.e-list-avatar:not(.e-list-badge),
|
|
268
|
+
&.e-list-badge.e-list-avatar {
|
|
269
|
+
padding-left: $listview-touch-template-avatar-padding-left;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
&:not(.e-list-multi-line) {
|
|
273
|
+
.e-list-content {
|
|
274
|
+
font-size: 16px;
|
|
275
|
+
padding: 12px 0;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
& .e-text-content.e-checkbox .e-list-text {
|
|
283
|
+
@if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
|
|
284
|
+
width: calc(100% - 60px);
|
|
285
|
+
}
|
|
286
|
+
@else {
|
|
287
|
+
width: calc(100% - 40px);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
@if ($skin-name == 'FluentUI') {
|
|
292
|
+
&.e-list-template {
|
|
293
|
+
.e-list-wrapper {
|
|
294
|
+
&:not(.e-list-multi-line) {
|
|
295
|
+
padding: $listview-template-touch-padding;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
&.e-list-multi-line {
|
|
299
|
+
padding: $listview-template-multiline-touch-padding;
|
|
300
|
+
|
|
301
|
+
.e-list-item-header {
|
|
302
|
+
@include text-style($listview-template-touch-font-size, 24px);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.e-list-content {
|
|
306
|
+
@include text-style($listview-template-multiline-header-font-size, 22px);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
&.e-list-avatar {
|
|
311
|
+
.e-avatar {
|
|
312
|
+
@include size($listview-template-avatar-touch-size, $listview-template-avatar-touch-size);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
&:not(.e-list-multi-line) {
|
|
317
|
+
.e-list-content {
|
|
318
|
+
@include text-style($listview-template-touch-font-size, 24px);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//layout
|
|
2
|
-
$listview-icon-margin-right:
|
|
2
|
+
$listview-icon-margin-right: 8px !default;
|
|
3
3
|
$listview-icon-back-margin: 0 !default;
|
|
4
4
|
$listview-icon-back-margin-right: 14px !default;
|
|
5
5
|
$listview-item-height: 32px !default;
|
|
@@ -7,7 +7,7 @@ $listview-item-line-height: 20px !default;
|
|
|
7
7
|
$listview-item-radius: 4px !default;
|
|
8
8
|
$listview-item-margin-bottom: 4px !default;
|
|
9
9
|
$listview-rtl-icon-back-margin: 4px !default;
|
|
10
|
-
$listview-item-padding: 6px
|
|
10
|
+
$listview-item-padding: 6px 4px !default;
|
|
11
11
|
$listview-rtl-item-padding: 4px 12px !default;
|
|
12
12
|
$listview-header-padding: 8px !default;
|
|
13
13
|
$listview-root-border-radius: 4px !default;
|
|
@@ -189,7 +189,12 @@
|
|
|
189
189
|
cursor: pointer;
|
|
190
190
|
font-size: $listview-nested-icon-collapsible;
|
|
191
191
|
position: absolute;
|
|
192
|
-
|
|
192
|
+
@if ($skin-name == 'fluent2') {
|
|
193
|
+
right: 3px;
|
|
194
|
+
}
|
|
195
|
+
@else {
|
|
196
|
+
right: 0%;
|
|
197
|
+
}
|
|
193
198
|
top: 50%;
|
|
194
199
|
transform: translateY(-50%);
|
|
195
200
|
@if ($skin-name == 'tailwind') {
|
|
@@ -256,6 +261,12 @@
|
|
|
256
261
|
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'fluent2') {
|
|
257
262
|
@include size($listview-icon-size, $listview-icon-size);
|
|
258
263
|
}
|
|
264
|
+
@else if ($skin-name == 'Material3') {
|
|
265
|
+
@include size(20px, 20px);
|
|
266
|
+
}
|
|
267
|
+
@else if ($skin-name == 'material' or $skin-name == 'material-dark') {
|
|
268
|
+
@include size(18px, 18px);
|
|
269
|
+
}
|
|
259
270
|
@else {
|
|
260
271
|
@include size(30px, 30px);
|
|
261
272
|
}
|
|
@@ -325,275 +336,4 @@
|
|
|
325
336
|
}
|
|
326
337
|
}
|
|
327
338
|
}
|
|
328
|
-
|
|
329
|
-
.e-bigger #{&}.e-listview,
|
|
330
|
-
#{&}.e-listview.e-bigger {
|
|
331
|
-
@if ($skin-name == 'bootstrap4') {
|
|
332
|
-
font-size: 16px;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.e-list-item {
|
|
336
|
-
border-bottom: $listview-border-bottom solid $listview-border-bottom-color;
|
|
337
|
-
border-left: $listview-border-left solid $listview-border-left-color;
|
|
338
|
-
border-right: $listview-border-right solid $listview-border-right-color;
|
|
339
|
-
border-top: $listview-border-top solid $listview-border-top-color;
|
|
340
|
-
@if ($skin-name == 'tailwind') {
|
|
341
|
-
.e-text-content .e-list-text {
|
|
342
|
-
font-size: $listview-touch-item-font-size;
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
@if $skin-name == 'fluent2' {
|
|
346
|
-
.e-list-text {
|
|
347
|
-
padding: $listview-touch-item-padding;
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
&:not(.e-list-template) .e-list-item {
|
|
353
|
-
@include list-style($listview-touch-item-height, $listview-touch-item-line-height, relative);
|
|
354
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'bootstrap4') {
|
|
355
|
-
padding: $listview-touch-item-padding;
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
.e-text-content {
|
|
360
|
-
font-size: $listview-touch-item-font-size;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
.e-list-group-item {
|
|
364
|
-
height: $listview-touch-groupheader-height;
|
|
365
|
-
line-height: $listview-touch-groupheader-line-height;
|
|
366
|
-
@if ($skin-name == 'bootstrap4') {
|
|
367
|
-
padding: 12px 20px;
|
|
368
|
-
}
|
|
369
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI') {
|
|
370
|
-
padding: $listview-template-padding;
|
|
371
|
-
}
|
|
372
|
-
@if ($skin-name == 'FluentUI' or $skin-name == 'bootstrap4') {
|
|
373
|
-
font-size: 16px;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
.e-text-content {
|
|
377
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'Material3') {
|
|
378
|
-
@include text-style($listview-touch-header-font-size, $listview-touch-groupheader-line-height);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.e-list-header {
|
|
384
|
-
@include header($listview-touch-header-font-weight, $listview-touch-header-height);
|
|
385
|
-
@if ($skin-name == 'bootstrap4') {
|
|
386
|
-
@include text-style(20px, 1.2);
|
|
387
|
-
padding: 0 0 0 20px;
|
|
388
|
-
}
|
|
389
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI') {
|
|
390
|
-
@include text-style($text-sm, $listview-item-line-height);
|
|
391
|
-
padding: $listview-template-padding;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.e-text {
|
|
395
|
-
font-size: $listview-touch-header-font-size;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.e-back-button {
|
|
400
|
-
@if ($skin-name == 'bootstrap4') {
|
|
401
|
-
margin-top: -3px;
|
|
402
|
-
padding-right: 12px;
|
|
403
|
-
}
|
|
404
|
-
@if ($skin-name == 'tailwind') {
|
|
405
|
-
margin-right: $listview-touch-icon-margin-right;
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
.e-list-icon {
|
|
410
|
-
@if ($skin-name == 'bootstrap4') {
|
|
411
|
-
margin-right: 12px;
|
|
412
|
-
}
|
|
413
|
-
@if ($skin-name == 'tailwind') {
|
|
414
|
-
@include size($listview-touch-item-size, $listview-touch-item-size);
|
|
415
|
-
margin-right: $listview-touch-icon-margin-right;
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.e-icon-collapsible {
|
|
420
|
-
@if ($skin-name == 'bootstrap4') {
|
|
421
|
-
font-size: 12px;
|
|
422
|
-
}
|
|
423
|
-
@else if $skin-name == 'fluent2' {
|
|
424
|
-
font-size: 14px;
|
|
425
|
-
|
|
426
|
-
&::before {
|
|
427
|
-
padding: 5px;
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
@if ($skin-name == 'tailwind') {
|
|
431
|
-
font-size: $listview-touch-item-size;
|
|
432
|
-
@include size($listview-touch-item-size, $listview-touch-item-size);
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
.e-listview-checkbox {
|
|
437
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'bootstrap4') {
|
|
438
|
-
@include list-checkbox-style($listview-touch-checkbox-left-margin, $listview-touch-checkbox-right-margin);
|
|
439
|
-
}
|
|
440
|
-
@if ($skin-name == 'FluentUI') {
|
|
441
|
-
&.e-checkbox-left {
|
|
442
|
-
border: 0;
|
|
443
|
-
padding: 0;
|
|
444
|
-
margin: $listview-touch-checkbox-left-margin;
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
&.e-rtl {
|
|
450
|
-
@if ($skin-name == 'FluentUI') {
|
|
451
|
-
&.e-list-template {
|
|
452
|
-
.e-list-wrapper {
|
|
453
|
-
&.e-list-avatar {
|
|
454
|
-
.e-avatar {
|
|
455
|
-
margin: $listview-template-avatar-rtl-margin;
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
@if ($skin-name == 'tailwind') {
|
|
462
|
-
&:not(.e-list-template) .e-list-item {
|
|
463
|
-
padding: $listview-rtl-touch-item-padding;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
& .e-list-icon {
|
|
467
|
-
margin-left: 12px;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
& .e-back-button {
|
|
471
|
-
@include icon-margin(12px, 0);
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
@if ($skin-name == 'Material3') {
|
|
475
|
-
& .e-list-icon {
|
|
476
|
-
@include icon-margin($listview-touch-icon-margin-right, $listview-rtl-icon-back-margin);
|
|
477
|
-
}
|
|
478
|
-
& .e-icon-back {
|
|
479
|
-
@include icon-margin($listview-icon-back-margin-right, $listview-rtl-icon-back-margin);
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.e-listview-checkbox {
|
|
484
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'bootstrap4') {
|
|
485
|
-
@include list-checkbox-style($listview-touch-rtl-checkbox-left-margin, $listview-touch-rtl-checkbox-right-margin);
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
@if ($skin-name == 'tailwind') {
|
|
490
|
-
&.e-list-template {
|
|
491
|
-
.e-list-wrapper {
|
|
492
|
-
&.e-list-avatar {
|
|
493
|
-
.e-avatar {
|
|
494
|
-
margin: 8px 16px 8px 24px;
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
&.e-list-avatar:not(.e-list-badge),
|
|
499
|
-
&.e-list-badge.e-list-avatar {
|
|
500
|
-
padding-right: $listview-touch-template-avatar-padding-left;
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
@if ($skin-name == 'tailwind') {
|
|
508
|
-
&.e-list-template {
|
|
509
|
-
.e-list-header {
|
|
510
|
-
padding: 8px 16px;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.e-list-wrapper {
|
|
514
|
-
&.e-list-multi-line {
|
|
515
|
-
padding: $listview-touch-template-multiline-padding;
|
|
516
|
-
|
|
517
|
-
.e-list-item-header,
|
|
518
|
-
.e-list-content {
|
|
519
|
-
@include text-style($listview-touch-template-multiline-header-font-size, $listview-touch-template-multiline-header-line-height);
|
|
520
|
-
font-weight: $font-weight-normal;
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
&:not(.e-list-multi-line) {
|
|
525
|
-
&.e-list-badge:not(.e-list-avatar) {
|
|
526
|
-
padding: 0 12px 0 16px;
|
|
527
|
-
|
|
528
|
-
.e-list-content {
|
|
529
|
-
padding: 14px 0;
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
&.e-list-avatar {
|
|
535
|
-
.e-avatar {
|
|
536
|
-
@include size($listview-touch-template-avatar-size, $listview-touch-template-avatar-size);
|
|
537
|
-
margin: $listview-touch-template-avatar-margin;
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
&.e-list-avatar:not(.e-list-badge),
|
|
542
|
-
&.e-list-badge.e-list-avatar {
|
|
543
|
-
padding-left: $listview-touch-template-avatar-padding-left;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
&:not(.e-list-multi-line) {
|
|
547
|
-
.e-list-content {
|
|
548
|
-
font-size: 16px;
|
|
549
|
-
padding: 12px 0;
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
& .e-text-content.e-checkbox .e-list-text {
|
|
557
|
-
@if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
|
|
558
|
-
width: calc(100% - 60px);
|
|
559
|
-
}
|
|
560
|
-
@else {
|
|
561
|
-
width: calc(100% - 40px);
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
@if ($skin-name == 'FluentUI') {
|
|
566
|
-
&.e-list-template {
|
|
567
|
-
.e-list-wrapper {
|
|
568
|
-
&:not(.e-list-multi-line) {
|
|
569
|
-
padding: $listview-template-touch-padding;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
&.e-list-multi-line {
|
|
573
|
-
padding: $listview-template-multiline-touch-padding;
|
|
574
|
-
|
|
575
|
-
.e-list-item-header {
|
|
576
|
-
@include text-style($listview-template-touch-font-size, 24px);
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
.e-list-content {
|
|
580
|
-
@include text-style($listview-template-multiline-header-font-size, 22px);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
&.e-list-avatar {
|
|
585
|
-
.e-avatar {
|
|
586
|
-
@include size($listview-template-avatar-touch-size, $listview-template-avatar-touch-size);
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
&:not(.e-list-multi-line) {
|
|
591
|
-
.e-list-content {
|
|
592
|
-
@include text-style($listview-template-touch-font-size, 24px);
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
339
|
}
|
|
@@ -4,7 +4,7 @@ $listview-text-color: $grey-dark-font !default;
|
|
|
4
4
|
$listview-text-disabled: $grey-dark-font !default;
|
|
5
5
|
$listview-icon-color: $grey-dark-font !default;
|
|
6
6
|
$listview-icon-disabled: $grey-dark-font !default;
|
|
7
|
-
$listview-icon-margin-right:
|
|
7
|
+
$listview-icon-margin-right: 12px !default;
|
|
8
8
|
$listview-icon-back-margin: 2px !default;
|
|
9
9
|
$listview-rtl-icon-back-margin: -2px !default;
|
|
10
10
|
$listview-icon-line-height: 34px !default;
|
|
@@ -3,7 +3,7 @@ $listview-text-color: rgba($grey-light-font, .87) !default;
|
|
|
3
3
|
$listview-text-disabled: $grey-light-font !default;
|
|
4
4
|
$listview-icon-color: rgba($grey-light-font, .54) !default;
|
|
5
5
|
$listview-icon-disabled: $grey-light-font !default;
|
|
6
|
-
$listview-icon-margin-right:
|
|
6
|
+
$listview-icon-margin-right: 12px !default;
|
|
7
7
|
$listview-icon-line-height: 34px !default;
|
|
8
8
|
$listview-icon-back-margin: 2px !default;
|
|
9
9
|
$listview-rtl-icon-back-margin: -2px !default;
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
.e-avatar {
|
|
180
180
|
@include avatar-size($listview-template-avatar-size, $listview-template-avatar-size, $listview-template-avatar-top, $listview-template-avatar-left, null);
|
|
181
181
|
position: absolute;
|
|
182
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
|
|
182
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
|
|
183
183
|
margin: $listview-template-avatar-margin;
|
|
184
184
|
}
|
|
185
185
|
@if $skin-name == 'Material3' {
|