@syncfusion/ej2-lists 19.3.45 → 19.4.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/.github/PULL_REQUEST_TEMPLATE/Bug.md +68 -0
- package/.github/PULL_REQUEST_TEMPLATE/Changelog.md +25 -0
- package/.github/PULL_REQUEST_TEMPLATE/Feature.md +31 -0
- package/CHANGELOG.md +1 -7
- package/README.md +1 -1
- package/dist/ej2-lists.umd.min.js +2 -2
- package/dist/ej2-lists.umd.min.js.map +1 -1
- package/dist/es6/ej2-lists.es2015.js +7 -6
- package/dist/es6/ej2-lists.es2015.js.map +1 -1
- package/dist/es6/ej2-lists.es5.js +7 -6
- 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 +8 -8
- package/src/common/list-base.js +7 -6
- package/styles/list-view/_fluent-definition.scss +134 -0
- package/styles/list-view/_layout.scss +69 -5
- package/styles/list-view/_theme.scss +15 -5
- package/styles/list-view/icons/_fluent.scss +8 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 19.
|
|
3
|
+
* version : 19.4.48
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-lists@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-lists@19.
|
|
3
|
+
"_id": "@syncfusion/ej2-lists@19.4.38",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-6jiUBfq6WcJrHRT9XflD1drxn3DHsnzL3jS33zEmUsjw5kElzBYdBBDBGcY26IYBh2V7CajrCeHFPaSAGjs8Ng==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-lists",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"/@syncfusion/ej2-schedule",
|
|
35
35
|
"/@syncfusion/ej2-vue-lists"
|
|
36
36
|
],
|
|
37
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-lists/-/ej2-lists-19.
|
|
38
|
-
"_shasum": "
|
|
37
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-19.4.38.tgz",
|
|
38
|
+
"_shasum": "9ecd52e392576eba518dcfa19e91a20fc86351ea",
|
|
39
39
|
"_spec": "@syncfusion/ej2-lists@*",
|
|
40
40
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
41
41
|
"author": {
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
},
|
|
44
44
|
"bundleDependencies": false,
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@syncfusion/ej2-base": "~19.
|
|
47
|
-
"@syncfusion/ej2-buttons": "~19.
|
|
48
|
-
"@syncfusion/ej2-data": "~19.
|
|
46
|
+
"@syncfusion/ej2-base": "~19.4.48",
|
|
47
|
+
"@syncfusion/ej2-buttons": "~19.4.48",
|
|
48
|
+
"@syncfusion/ej2-data": "~19.4.48"
|
|
49
49
|
},
|
|
50
50
|
"deprecated": false,
|
|
51
51
|
"description": "The listview control allows you to select an item or multiple items from a list-like interface and represents the data in interactive hierarchical structure across different layouts or views.",
|
|
@@ -85,6 +85,6 @@
|
|
|
85
85
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/lists"
|
|
86
86
|
},
|
|
87
87
|
"typings": "index.d.ts",
|
|
88
|
-
"version": "19.
|
|
88
|
+
"version": "19.4.48",
|
|
89
89
|
"sideEffects": false
|
|
90
90
|
}
|
package/src/common/list-base.js
CHANGED
|
@@ -213,7 +213,8 @@ export var ListBase;
|
|
|
213
213
|
options, level, isSingleLevel, componentInstance) {
|
|
214
214
|
var curOpt = extend({}, defaultListBaseOptions, options);
|
|
215
215
|
cssClass = getModuleClass(curOpt.moduleName);
|
|
216
|
-
var fields =
|
|
216
|
+
var fields = (componentInstance &&
|
|
217
|
+
(componentInstance.getModuleName() == "listview" || componentInstance.getModuleName() == "multiselect")) ? curOpt.fields : extend({}, ListBase.defaultMappedFields, curOpt.fields);
|
|
217
218
|
var ariaAttributes = extend({}, defaultAriaAttributes, curOpt.ariaAttributes);
|
|
218
219
|
var id;
|
|
219
220
|
var checkboxElement = [];
|
|
@@ -635,7 +636,7 @@ export var ListBase;
|
|
|
635
636
|
else {
|
|
636
637
|
var currentID = isHeader ? curOpt.groupTemplateID : curOpt.templateID;
|
|
637
638
|
if (isHeader) {
|
|
638
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
639
|
+
if (componentInstance && componentInstance.getModuleName() != "listview") {
|
|
639
640
|
// eslint-disable-next-line
|
|
640
641
|
var compiledElement = compiledString(curItem, componentInstance, 'headerTemplate', currentID, !!curOpt.isStringTemplate, null, li);
|
|
641
642
|
if (compiledElement) {
|
|
@@ -647,7 +648,7 @@ export var ListBase;
|
|
|
647
648
|
}
|
|
648
649
|
}
|
|
649
650
|
else {
|
|
650
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
651
|
+
if (componentInstance && componentInstance.getModuleName() != "listview") {
|
|
651
652
|
// eslint-disable-next-line
|
|
652
653
|
var compiledElement = compiledString(curItem, componentInstance, 'template', currentID, !!curOpt.isStringTemplate, null, li);
|
|
653
654
|
if (compiledElement) {
|
|
@@ -703,7 +704,7 @@ export var ListBase;
|
|
|
703
704
|
var headerData = {};
|
|
704
705
|
headerData[category] = header.textContent;
|
|
705
706
|
header.innerHTML = '';
|
|
706
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
707
|
+
if (componentInstance && componentInstance.getModuleName() != "listview") {
|
|
707
708
|
// eslint-disable-next-line
|
|
708
709
|
var compiledElement = compiledString(headerData, componentInstance, 'groupTemplate', curOpt.groupTemplateID, !!curOpt.isStringTemplate, null, header);
|
|
709
710
|
if (compiledElement) {
|
|
@@ -887,7 +888,7 @@ export var ListBase;
|
|
|
887
888
|
if (grpLI && options && options.groupTemplate) {
|
|
888
889
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
889
890
|
var compiledString = compileTemplate(options.groupTemplate);
|
|
890
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
891
|
+
if (componentInstance && componentInstance.getModuleName() != "listview") {
|
|
891
892
|
// eslint-disable-next-line
|
|
892
893
|
var compiledElement = compiledString(item, componentInstance, 'groupTemplate', curOpt.groupTemplateID, !!curOpt.isStringTemplate, null, li);
|
|
893
894
|
if (compiledElement) {
|
|
@@ -901,7 +902,7 @@ export var ListBase;
|
|
|
901
902
|
else if (!grpLI && options && options.template) {
|
|
902
903
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
903
904
|
var compiledString = compileTemplate(options.template);
|
|
904
|
-
if (componentInstance && componentInstance.getModuleName()
|
|
905
|
+
if (componentInstance && componentInstance.getModuleName() != "listview") {
|
|
905
906
|
// eslint-disable-next-line
|
|
906
907
|
var compiledElement = compiledString(item, componentInstance, 'template', curOpt.templateID, !!curOpt.isStringTemplate, null, li);
|
|
907
908
|
if (compiledElement) {
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
//layout
|
|
2
|
+
$listview-icon-margin-right: 12px !default;
|
|
3
|
+
$listview-icon-back-margin: 0 !default;
|
|
4
|
+
$listview-rtl-icon-back-margin: 4px !default;
|
|
5
|
+
$listview-item-height: 38px !default;
|
|
6
|
+
$listview-item-line-height: 22px !default;
|
|
7
|
+
$listview-item-padding: 7px 9px 7px 12px !default;
|
|
8
|
+
$listview-rtl-item-padding: 7px 12px 7px 9px !default;
|
|
9
|
+
$listview-header-padding: 6px 12px !default;
|
|
10
|
+
$listview-back-icon-font-size: 14px !default;
|
|
11
|
+
$listview-root-border-radius: 0 !default;
|
|
12
|
+
$listview-nested-icon-collapsible: 12px !default;
|
|
13
|
+
$listview-icon-size: 20px !default;
|
|
14
|
+
$listview-header-text-padding: 12px !default;
|
|
15
|
+
$listview-header-height: 38px !default;
|
|
16
|
+
$listview-header-line-height: 18px !default;
|
|
17
|
+
$listview-border-bottom: 0 !default;
|
|
18
|
+
$listview-border-top: 0 !default;
|
|
19
|
+
$listview-border-left: 0 !default;
|
|
20
|
+
$listview-border-right: 0 !default;
|
|
21
|
+
$listview-group-first-border-bottom: 0 !default;
|
|
22
|
+
$listview-group-border-top: 1px !default;
|
|
23
|
+
$listview-group-border-bottom: 0 !default;
|
|
24
|
+
$listview-groupheader-item-height: 38px !default;
|
|
25
|
+
$listview-groupheader-item-line-height: 22px !default;
|
|
26
|
+
$listview-groupheader-font-size: $text-sm !default;
|
|
27
|
+
$listview-border-size: 1px !default;
|
|
28
|
+
$listview-font-size: $text-sm !default;
|
|
29
|
+
$listview-back-padding-right: 12px !default;
|
|
30
|
+
$listview-back-icon-size: 20px !default;
|
|
31
|
+
$listview-touch-item-height: 44px !default;
|
|
32
|
+
$listview-touch-item-line-height: 24px !default;
|
|
33
|
+
$listview-touch-item-size: 24px !default;
|
|
34
|
+
$listview-touch-item-padding: 12px 14px 12px 16px !default;
|
|
35
|
+
$listview-rtl-touch-item-padding: 12px 16px 12px 14px !default;
|
|
36
|
+
$listview-touch-item-font-size: $text-base !default;
|
|
37
|
+
$listview-touch-groupheader-height: 44px !default;
|
|
38
|
+
$listview-touch-groupheader-line-height: 24px !default;
|
|
39
|
+
$listview-touch-header-height: 44px !default;
|
|
40
|
+
$listview-touch-header-font-weight: $font-weight-medium !default;
|
|
41
|
+
$listview-touch-header-font-size: $text-sm !default;
|
|
42
|
+
$listview-touch-header-line-height: 22px !default;
|
|
43
|
+
$listview-touch-header-icon-margin-top: 2px !default;
|
|
44
|
+
$listview-touch-icon-margin-right: 12px !default;
|
|
45
|
+
$listview-touch-checkbox-right-margin: -2px 0 0 12px !default;
|
|
46
|
+
$listview-touch-checkbox-left-margin: 0 12px 0 0 !default;
|
|
47
|
+
$listview-touch-rtl-checkbox-left-margin: -2px 0 0 12px !default;
|
|
48
|
+
$listview-touch-rtl-checkbox-right-margin: -2px 12px 0 0 !default;
|
|
49
|
+
$listview-checkbox-right-margin: -2px 0 0 8px !default;
|
|
50
|
+
$listview-checkbox-left-margin: 3px 12px 3px 0 !default;
|
|
51
|
+
$listview-rtl-checkbox-left-margin: 0 3px 3px 12px !default;
|
|
52
|
+
$listview-rtl-checkbox-right-margin: -2px 8px 0 0 !default;
|
|
53
|
+
//ListView In-built template variables
|
|
54
|
+
$listview-template-touch-font-size: $text-base !default;
|
|
55
|
+
$listview-template-padding: 10px 16px !default;
|
|
56
|
+
$listview-template-touch-padding: 12px 16px !default;
|
|
57
|
+
$listview-template-avatar-padding-right: 16px !default;
|
|
58
|
+
$listview-template-avatar-padding-left: 68px !default;
|
|
59
|
+
$listview-template-avatar-rightposition-padding-right: 68px !default;
|
|
60
|
+
$listview-template-avatar-rightposition-padding-left: 16px !default;
|
|
61
|
+
$listview-template-avatar-size: 40px !default;
|
|
62
|
+
$listview-template-avatar-touch-size: 48px !default;
|
|
63
|
+
$listview-template-avatar-top: 0 !default;
|
|
64
|
+
$listview-template-avatar-left: 0 !default;
|
|
65
|
+
$listview-template-avatar-margin: 7px 16px 7px 12px !default;
|
|
66
|
+
$listview-template-avatar-rtl-margin: 7px 12px 7px 16px !default;
|
|
67
|
+
$listview-template-avatar-rightposition-right: 0 !default;
|
|
68
|
+
$listview-template-badge-height: 18px !default;
|
|
69
|
+
$listview-template-badge-width: 20px !default;
|
|
70
|
+
$listview-template-badge-line-height: 16px !default;
|
|
71
|
+
$listview-template-badge-font-size: $text-xxs !default;
|
|
72
|
+
$listview-template-badge-right: 12px !default;
|
|
73
|
+
$listview-template-avatar-badge-padding-right: 10px !default;
|
|
74
|
+
$listview-template-avatar-badge-padding-left: 68px !default;
|
|
75
|
+
$listview-template-badgewithoutavatar-padding-right: 10px !default;
|
|
76
|
+
$listview-template-badgewithoutavatar-padding-left: 16px !default;
|
|
77
|
+
$listview-template-item-padding: 8px 0 !default;
|
|
78
|
+
$listview-template-multiline-header-padding: 0 !default;
|
|
79
|
+
$listview-template-multiline-content-padding: 2px 0 0 0 !default;
|
|
80
|
+
$listview-template-multiline-header-font-size: $text-sm !default;
|
|
81
|
+
$listview-template-multiline-padding: 6px 4px !default;
|
|
82
|
+
$listview-template-multiline-touch-padding: 8px 4px !default;
|
|
83
|
+
$listview-template-multiline-content-font-size: $text-xs !default;
|
|
84
|
+
$listview-template-multiline-avatar-top: 0 !default;
|
|
85
|
+
$listview-touch-template-padding: 12px 16px !default;
|
|
86
|
+
$listview-touch-template-multiline-padding: 7px !default;
|
|
87
|
+
$listview-touch-template-avatar-padding-left: 88px !default;
|
|
88
|
+
$listview-touch-template-avatar-size: 48px !default;
|
|
89
|
+
$listview-touch-template-multiline-header-font-size: $text-base !default;
|
|
90
|
+
$listview-touch-template-multiline-header-line-height: 24px !default;
|
|
91
|
+
$listview-touch-template-avatar-margin: 8px 24px 8px 16px !default;
|
|
92
|
+
$listview-touch-template-badge-height: 20px !default;
|
|
93
|
+
$listview-touch-template-badge-width: 34px !default;
|
|
94
|
+
$listview-touch-template-badge-line-height: 18px !default;
|
|
95
|
+
$listview-touch-template-badge-font-size: $text-xs !default;
|
|
96
|
+
//color
|
|
97
|
+
$listview-font-family: $font-family !default;
|
|
98
|
+
$listview-text-color: $content-text-color !default;
|
|
99
|
+
$listview-text-disabled: $content-text-color-disabled !default;
|
|
100
|
+
$listview-icon-color: $icon-color !default;
|
|
101
|
+
$listview-icon-disabled: $icon-color-disabled !default;
|
|
102
|
+
$listview-background: $transparent !default;
|
|
103
|
+
$listview-line-color: $border-light !default;
|
|
104
|
+
$listview-item-hover-bg: $content-bg-color-hover !default;
|
|
105
|
+
$listview-text-hover-color: $content-text-color-hover !default;
|
|
106
|
+
$listview-item-active-bg: $content-bg-color-selected !default;
|
|
107
|
+
$listview-root-border-color: $border-light !default;
|
|
108
|
+
$listview-text-active-color: $content-text-color-selected !default;
|
|
109
|
+
$listview-header-text-color: $primary !default;
|
|
110
|
+
$listview-header-text-disabled: $content-text-color-disabled !default;
|
|
111
|
+
$listview-header-bg: transparent !default;
|
|
112
|
+
$listview-header-icon-color: $icon-color !default;
|
|
113
|
+
$listview-header-icon-disabled: $icon-color-disabled !default;
|
|
114
|
+
$listview-header-border: $border-light !default;
|
|
115
|
+
$listview-header-font-size: $text-sm !default;
|
|
116
|
+
$listview-header-font-weight: $font-weight-medium !default;
|
|
117
|
+
$listview-hover-border-color: $border-light !default;
|
|
118
|
+
$listview-border-bottom-color: $border-light !default;
|
|
119
|
+
$listview-border-top-color: transparent !default;
|
|
120
|
+
$listview-border-right-color: transparent !default;
|
|
121
|
+
$listview-border-left-color: transparent !default;
|
|
122
|
+
$listview-groupheader-text-color: $primary !default;
|
|
123
|
+
$listview-groupheader-bg: transparent !default;
|
|
124
|
+
$listview-groupheader-icon: $icon-color !default;
|
|
125
|
+
$listview-focused-collapsible-color: $content-text-color-selected !default;
|
|
126
|
+
$listview-icon-hover: $icon-color-hover !default;
|
|
127
|
+
$listview-icon-pressed: $icon-color-pressed !default;
|
|
128
|
+
$checkmark-bgcolor: $content-bg-color !default;
|
|
129
|
+
$checkmark-border-color: $content-bg-color !default;
|
|
130
|
+
$checkmark-color: $primary !default;
|
|
131
|
+
//ListView In-built template variables
|
|
132
|
+
$listview-template-multiline-header-color: $content-text-color !default;
|
|
133
|
+
$listview-template-multiline-content-color: $content-text-color-alt3 !default;
|
|
134
|
+
$listview-template-focused-multiline-content-color: $content-text-color-selected !default;
|
|
@@ -41,9 +41,12 @@
|
|
|
41
41
|
font-size: 16px;
|
|
42
42
|
padding: 12px 20px;
|
|
43
43
|
}
|
|
44
|
-
@if ($skin-name == 'tailwind') {
|
|
44
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI') {
|
|
45
45
|
padding: $listview-template-padding;
|
|
46
46
|
}
|
|
47
|
+
@if ($skin-name == 'FluentUI') {
|
|
48
|
+
font-size: 16px;
|
|
49
|
+
}
|
|
47
50
|
|
|
48
51
|
.e-text-content {
|
|
49
52
|
@if ($skin-name == 'tailwind') {
|
|
@@ -63,7 +66,7 @@
|
|
|
63
66
|
line-height: 1.2;
|
|
64
67
|
padding: 0 0 0 20px;
|
|
65
68
|
}
|
|
66
|
-
@if ($skin-name == 'tailwind') {
|
|
69
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI') {
|
|
67
70
|
font-size: $text-sm;
|
|
68
71
|
line-height: $listview-item-line-height;
|
|
69
72
|
padding: $listview-template-padding;
|
|
@@ -135,6 +138,17 @@
|
|
|
135
138
|
}
|
|
136
139
|
|
|
137
140
|
&.e-rtl {
|
|
141
|
+
@if ($skin-name == 'FluentUI') {
|
|
142
|
+
&.e-list-template {
|
|
143
|
+
.e-list-wrapper {
|
|
144
|
+
&.e-list-avatar {
|
|
145
|
+
.e-avatar {
|
|
146
|
+
margin: $listview-template-avatar-rtl-margin;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
138
152
|
@if ($skin-name == 'tailwind') {
|
|
139
153
|
&:not(.e-list-template) .e-list-item {
|
|
140
154
|
padding: $listview-rtl-touch-item-padding;
|
|
@@ -244,6 +258,44 @@
|
|
|
244
258
|
}
|
|
245
259
|
}
|
|
246
260
|
}
|
|
261
|
+
|
|
262
|
+
@if ($skin-name == 'FluentUI') {
|
|
263
|
+
&.e-list-template {
|
|
264
|
+
.e-list-wrapper {
|
|
265
|
+
&:not(.e-list-multi-line) {
|
|
266
|
+
padding: $listview-template-touch-padding;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
&.e-list-multi-line {
|
|
270
|
+
padding: $listview-template-multiline-touch-padding;
|
|
271
|
+
|
|
272
|
+
.e-list-item-header {
|
|
273
|
+
font-size: $listview-template-touch-font-size;
|
|
274
|
+
line-height: 24px;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.e-list-content {
|
|
278
|
+
font-size: $listview-template-multiline-header-font-size;
|
|
279
|
+
line-height: 22px;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
&.e-list-avatar {
|
|
284
|
+
.e-avatar {
|
|
285
|
+
height: $listview-template-avatar-touch-size;
|
|
286
|
+
width: $listview-template-avatar-touch-size;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
&:not(.e-list-multi-line) {
|
|
291
|
+
.e-list-content {
|
|
292
|
+
font-size: $listview-template-touch-font-size;
|
|
293
|
+
line-height: 24px;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
247
299
|
}
|
|
248
300
|
|
|
249
301
|
.e-listview {
|
|
@@ -309,7 +361,9 @@
|
|
|
309
361
|
}
|
|
310
362
|
}
|
|
311
363
|
@else {
|
|
312
|
-
|
|
364
|
+
@if ($skin-name != 'FluentUI') {
|
|
365
|
+
border-bottom: 1px solid;
|
|
366
|
+
}
|
|
313
367
|
padding: 0 $listview-header-text-padding;
|
|
314
368
|
}
|
|
315
369
|
}
|
|
@@ -320,12 +374,15 @@
|
|
|
320
374
|
|
|
321
375
|
& .e-but-back {
|
|
322
376
|
cursor: pointer;
|
|
323
|
-
@if ($skin-name == 'tailwind') {
|
|
377
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI') {
|
|
324
378
|
margin-right: $listview-back-padding-right;
|
|
325
379
|
}
|
|
326
380
|
@else {
|
|
327
381
|
padding-right: $listview-back-padding-right;
|
|
328
382
|
}
|
|
383
|
+
@if ($skin-name == 'FluentUI') {
|
|
384
|
+
font-size: 12px;
|
|
385
|
+
}
|
|
329
386
|
}
|
|
330
387
|
|
|
331
388
|
& .e-list-group-item:first-child {
|
|
@@ -429,7 +486,7 @@
|
|
|
429
486
|
|
|
430
487
|
& .e-list-icon {
|
|
431
488
|
margin-right: $listview-icon-margin-right;
|
|
432
|
-
@if ($skin-name == 'tailwind') {
|
|
489
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI') {
|
|
433
490
|
height: $listview-icon-size;
|
|
434
491
|
width: $listview-icon-size;
|
|
435
492
|
}
|
|
@@ -457,6 +514,13 @@
|
|
|
457
514
|
&.e-rtl {
|
|
458
515
|
direction: rtl;
|
|
459
516
|
|
|
517
|
+
@if ($skin-name == 'FluentUI') {
|
|
518
|
+
& .e-but-back {
|
|
519
|
+
margin-left: 12px;
|
|
520
|
+
margin-right: 0;
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
|
460
524
|
&:not(.e-list-template) .e-list-item {
|
|
461
525
|
@if ($skin-name == 'tailwind') {
|
|
462
526
|
padding: $listview-rtl-item-padding;
|
|
@@ -99,6 +99,11 @@
|
|
|
99
99
|
padding: 0 10px 0 16px;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
+
@if ($skin-name == 'FluentUI') {
|
|
103
|
+
&.e-list-badge:not(.e-list-avatar) {
|
|
104
|
+
padding: 2px 10px 2px 16px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
102
107
|
}
|
|
103
108
|
|
|
104
109
|
&.e-list-multi-line {
|
|
@@ -108,7 +113,7 @@
|
|
|
108
113
|
color: $listview-template-multiline-header-color;
|
|
109
114
|
display: block;
|
|
110
115
|
font-size: $listview-template-multiline-header-font-size;
|
|
111
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
|
|
116
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5') {
|
|
112
117
|
font-weight: $font-weight-normal;
|
|
113
118
|
line-height: 22px;
|
|
114
119
|
}
|
|
@@ -126,9 +131,14 @@
|
|
|
126
131
|
color: $listview-template-multiline-content-color;
|
|
127
132
|
display: block;
|
|
128
133
|
font-size: $listview-template-multiline-content-font-size;
|
|
129
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
|
|
134
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5') {
|
|
130
135
|
font-weight: $font-weight-normal;
|
|
131
|
-
|
|
136
|
+
@if ($skin-name == 'FluentUI') {
|
|
137
|
+
line-height: 18px;
|
|
138
|
+
}
|
|
139
|
+
@else {
|
|
140
|
+
line-height: 22px;
|
|
141
|
+
}
|
|
132
142
|
}
|
|
133
143
|
margin: 0;
|
|
134
144
|
padding: $listview-template-multiline-content-padding;
|
|
@@ -149,7 +159,7 @@
|
|
|
149
159
|
position: absolute;
|
|
150
160
|
top: $listview-template-avatar-top;
|
|
151
161
|
width: $listview-template-avatar-size;
|
|
152
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
|
|
162
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5') {
|
|
153
163
|
margin: $listview-template-avatar-margin;
|
|
154
164
|
}
|
|
155
165
|
}
|
|
@@ -196,7 +206,7 @@
|
|
|
196
206
|
top: 50%;
|
|
197
207
|
transform: translateY(-50%);
|
|
198
208
|
width: $listview-template-badge-width;
|
|
199
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
|
|
209
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5') {
|
|
200
210
|
border-radius: 10px;
|
|
201
211
|
}
|
|
202
212
|
}
|