@syncfusion/ej2-lists 19.4.55 → 20.2.36
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/CHANGELOG.md +0 -2
- 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 +40 -12
- package/dist/es6/ej2-lists.es2015.js.map +1 -1
- package/dist/es6/ej2-lists.es5.js +40 -12
- 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/dist/ts/common/list-base.ts +1283 -0
- package/dist/ts/component.ts +4 -0
- package/dist/ts/list-view/list-view.ts +2595 -0
- package/dist/ts/list-view/virtualization.ts +1155 -0
- package/dist/ts/sortable/sortable.ts +458 -0
- package/package.json +8 -8
- package/src/common/list-base.js +10 -6
- package/src/list-view/list-view.d.ts +1 -0
- package/src/list-view/list-view.js +15 -6
- package/src/list-view/virtualization.js +13 -0
- package/src/sortable/sortable.js +2 -0
- package/styles/bootstrap-dark.css +21 -60
- package/styles/bootstrap.css +21 -59
- package/styles/bootstrap4.css +23 -69
- package/styles/bootstrap5-dark.css +30 -73
- package/styles/bootstrap5.css +30 -73
- package/styles/fabric-dark.css +21 -60
- package/styles/fabric.css +21 -59
- package/styles/fluent-dark.css +519 -0
- package/styles/fluent-dark.scss +2 -0
- package/styles/fluent.css +519 -0
- package/styles/fluent.scss +2 -0
- package/styles/highcontrast-light.css +21 -60
- package/styles/highcontrast.css +21 -59
- package/styles/list-view/_bootstrap5-definition.scss +7 -7
- package/styles/list-view/_fluent-dark-definition.scss +1 -0
- package/styles/list-view/_fluent-definition.scss +4 -3
- package/styles/list-view/_fusionnew-definition.scss +129 -0
- package/styles/list-view/_layout.scss +33 -9
- package/styles/list-view/_material3-definition.scss +129 -0
- package/styles/list-view/_tailwind-definition.scss +4 -3
- package/styles/list-view/_theme.scss +4 -4
- package/styles/list-view/bootstrap-dark.css +20 -56
- package/styles/list-view/bootstrap.css +20 -55
- package/styles/list-view/bootstrap4.css +22 -65
- package/styles/list-view/bootstrap5-dark.css +29 -69
- package/styles/list-view/bootstrap5.css +29 -69
- package/styles/list-view/fabric-dark.css +20 -56
- package/styles/list-view/fabric.css +20 -55
- package/styles/list-view/fluent-dark.css +495 -0
- package/styles/list-view/fluent-dark.scss +5 -0
- package/styles/list-view/fluent.css +495 -0
- package/styles/list-view/fluent.scss +5 -0
- package/styles/list-view/highcontrast-light.css +20 -56
- package/styles/list-view/highcontrast.css +20 -55
- package/styles/list-view/icons/_fluent-dark.scss +1 -0
- package/styles/list-view/icons/_fluent.scss +2 -2
- package/styles/list-view/icons/_fusionnew.scss +8 -0
- package/styles/list-view/icons/_material3.scss +8 -0
- package/styles/list-view/icons/_tailwind-dark.scss +6 -10
- package/styles/list-view/icons/_tailwind.scss +6 -10
- package/styles/list-view/material-dark.css +20 -56
- package/styles/list-view/material.css +20 -55
- package/styles/list-view/tailwind-dark.css +32 -95
- package/styles/list-view/tailwind.css +32 -95
- package/styles/material-dark.css +21 -60
- package/styles/material.css +21 -59
- package/styles/sortable/bootstrap-dark.css +2 -5
- package/styles/sortable/bootstrap.css +2 -5
- package/styles/sortable/bootstrap4.css +2 -5
- package/styles/sortable/bootstrap5-dark.css +2 -5
- package/styles/sortable/bootstrap5.css +2 -5
- package/styles/sortable/fabric-dark.css +2 -5
- package/styles/sortable/fabric.css +2 -5
- package/styles/sortable/fluent-dark.css +23 -0
- package/styles/sortable/fluent-dark.scss +2 -0
- package/styles/sortable/fluent.css +23 -0
- package/styles/sortable/fluent.scss +2 -0
- package/styles/sortable/highcontrast-light.css +2 -5
- package/styles/sortable/highcontrast.css +2 -5
- package/styles/sortable/material-dark.css +2 -5
- package/styles/sortable/material.css +2 -5
- package/styles/sortable/tailwind-dark.css +2 -5
- package/styles/sortable/tailwind.css +2 -5
- package/styles/tailwind-dark.css +33 -99
- package/styles/tailwind.css +33 -99
|
@@ -5,14 +5,14 @@ $listview-rtl-icon-back-margin: 0 !default;
|
|
|
5
5
|
$listview-item-height: 36px !default;
|
|
6
6
|
$listview-item-line-height: 18px !default;
|
|
7
7
|
$listview-item-padding: 7px 9px 7px 12px !default;
|
|
8
|
-
$listview-rtl-item-padding: 7px 12px 7px
|
|
8
|
+
$listview-rtl-item-padding: 7px 12px 7px 12px !default;
|
|
9
9
|
$listview-header-padding: 6px 12px !default;
|
|
10
10
|
$listview-back-icon-font-size: 12px !default;
|
|
11
11
|
$listview-root-border-radius: 4px !default;
|
|
12
12
|
$listview-nested-icon-collapsible: 12px !default;
|
|
13
13
|
$listview-icon-size: 20px !default;
|
|
14
14
|
$listview-header-text-padding: 12px !default;
|
|
15
|
-
$listview-header-height:
|
|
15
|
+
$listview-header-height: 36px !default;
|
|
16
16
|
$listview-header-line-height: 18px !default;
|
|
17
17
|
$listview-border-bottom: 1px !default;
|
|
18
18
|
$listview-border-top: 0 !default;
|
|
@@ -29,14 +29,14 @@ $listview-font-size: $text-sm !default;
|
|
|
29
29
|
$listview-back-padding-right: 8px !default;
|
|
30
30
|
$listview-back-icon-size: 20px !default;
|
|
31
31
|
$listview-touch-item-height: 40px !default;
|
|
32
|
-
$listview-touch-item-line-height:
|
|
32
|
+
$listview-touch-item-line-height: 21px !default;
|
|
33
33
|
$listview-touch-item-size: 24px !default;
|
|
34
|
-
$listview-touch-item-padding:
|
|
34
|
+
$listview-touch-item-padding: 16px 14px 12px 16px !default;
|
|
35
35
|
$listview-rtl-touch-item-padding: 12px 16px 12px 14px !default;
|
|
36
36
|
$listview-touch-item-font-size: $text-base !default;
|
|
37
37
|
$listview-touch-groupheader-height: 40px !default;
|
|
38
38
|
$listview-touch-groupheader-line-height: 20px !default;
|
|
39
|
-
$listview-touch-header-height:
|
|
39
|
+
$listview-touch-header-height: 40px !default;
|
|
40
40
|
$listview-touch-header-font-weight: $font-weight-medium !default;
|
|
41
41
|
$listview-touch-header-font-size: $text-sm !default;
|
|
42
42
|
$listview-touch-header-line-height: 22px !default;
|
|
@@ -51,7 +51,7 @@ $listview-checkbox-left-margin: 0 8px 0 0 !default;
|
|
|
51
51
|
$listview-rtl-checkbox-left-margin: -2px 0 0 8px !default;
|
|
52
52
|
$listview-rtl-checkbox-right-margin: -2px 8px 0 0 !default;
|
|
53
53
|
//ListView In-built template variables
|
|
54
|
-
$listview-template-padding:
|
|
54
|
+
$listview-template-padding: 10px 16px !default;
|
|
55
55
|
$listview-template-avatar-padding-right: 16px !default;
|
|
56
56
|
$listview-template-avatar-padding-left: 68px !default;
|
|
57
57
|
$listview-template-avatar-rightposition-padding-right: 68px !default;
|
|
@@ -106,7 +106,7 @@ $listview-header-text-disabled: $content-text-color-disabled !default;
|
|
|
106
106
|
$listview-header-bg: transparent !default;
|
|
107
107
|
$listview-header-icon-color: $icon-color !default;
|
|
108
108
|
$listview-header-icon-disabled: $icon-color-disabled !default;
|
|
109
|
-
$listview-header-border: $border !default;
|
|
109
|
+
$listview-header-border: $border-light !default;
|
|
110
110
|
$listview-header-font-size: $text-xs !default;
|
|
111
111
|
$listview-header-font-weight: $font-weight-medium !default;
|
|
112
112
|
$listview-hover-border-color: $border-light !default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import './fluent-definition.scss';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
//layout
|
|
2
2
|
$listview-icon-margin-right: 12px !default;
|
|
3
3
|
$listview-icon-back-margin: 0 !default;
|
|
4
|
+
$listview-icon-back-margin-right: 12px !default;
|
|
4
5
|
$listview-rtl-icon-back-margin: 4px !default;
|
|
5
6
|
$listview-item-height: 38px !default;
|
|
6
7
|
$listview-item-line-height: 22px !default;
|
|
7
|
-
$listview-item-padding: 7px
|
|
8
|
+
$listview-item-padding: 7px 12px 7px 12px !default;
|
|
8
9
|
$listview-rtl-item-padding: 7px 12px 7px 9px !default;
|
|
9
10
|
$listview-header-padding: 6px 12px !default;
|
|
10
11
|
$listview-back-icon-font-size: 14px !default;
|
|
@@ -43,11 +44,11 @@ $listview-touch-header-line-height: 22px !default;
|
|
|
43
44
|
$listview-touch-header-icon-margin-top: 2px !default;
|
|
44
45
|
$listview-touch-icon-margin-right: 12px !default;
|
|
45
46
|
$listview-touch-checkbox-right-margin: -2px 0 0 12px !default;
|
|
46
|
-
$listview-touch-checkbox-left-margin: 0
|
|
47
|
+
$listview-touch-checkbox-left-margin: 0 16px 0 0 !default;
|
|
47
48
|
$listview-touch-rtl-checkbox-left-margin: -2px 0 0 12px !default;
|
|
48
49
|
$listview-touch-rtl-checkbox-right-margin: -2px 12px 0 0 !default;
|
|
49
50
|
$listview-checkbox-right-margin: -2px 0 0 8px !default;
|
|
50
|
-
$listview-checkbox-left-margin:
|
|
51
|
+
$listview-checkbox-left-margin: -2px 10px 0 0 !default;
|
|
51
52
|
$listview-rtl-checkbox-left-margin: 0 3px 3px 12px !default;
|
|
52
53
|
$listview-rtl-checkbox-right-margin: -2px 8px 0 0 !default;
|
|
53
54
|
//ListView In-built template variables
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
//layout
|
|
2
|
+
$listview-icon-margin-right: 8px !default;
|
|
3
|
+
$listview-icon-back-margin: 0 !default;
|
|
4
|
+
$listview-rtl-icon-back-margin: 0 !default;
|
|
5
|
+
$listview-item-height: 36px !default;
|
|
6
|
+
$listview-item-line-height: 18px !default;
|
|
7
|
+
$listview-item-padding: 7px 9px 7px 12px !default;
|
|
8
|
+
$listview-rtl-item-padding: 7px 12px 7px 12px !default;
|
|
9
|
+
$listview-header-padding: 6px 12px !default;
|
|
10
|
+
$listview-back-icon-font-size: 12px !default;
|
|
11
|
+
$listview-root-border-radius: 4px !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: 36px !default;
|
|
16
|
+
$listview-header-line-height: 18px !default;
|
|
17
|
+
$listview-border-bottom: 1px !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: 1px !default;
|
|
22
|
+
$listview-group-border-top: 0 !default;
|
|
23
|
+
$listview-group-border-bottom: 1px !default;
|
|
24
|
+
$listview-groupheader-item-height: 36px !default;
|
|
25
|
+
$listview-groupheader-item-line-height: 20px !default;
|
|
26
|
+
$listview-groupheader-font-size: $text-xs !default;
|
|
27
|
+
$listview-border-size: 1px !default;
|
|
28
|
+
$listview-font-size: $text-sm !default;
|
|
29
|
+
$listview-back-padding-right: 8px !default;
|
|
30
|
+
$listview-back-icon-size: 20px !default;
|
|
31
|
+
$listview-touch-item-height: 40px !default;
|
|
32
|
+
$listview-touch-item-line-height: 21px !default;
|
|
33
|
+
$listview-touch-item-size: 24px !default;
|
|
34
|
+
$listview-touch-item-padding: 16px 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: 40px !default;
|
|
38
|
+
$listview-touch-groupheader-line-height: 20px !default;
|
|
39
|
+
$listview-touch-header-height: 40px !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: 0 8px 0 0 !default;
|
|
51
|
+
$listview-rtl-checkbox-left-margin: -2px 0 0 8px !default;
|
|
52
|
+
$listview-rtl-checkbox-right-margin: -2px 8px 0 0 !default;
|
|
53
|
+
//ListView In-built template variables
|
|
54
|
+
$listview-template-padding: 10px 16px !default;
|
|
55
|
+
$listview-template-avatar-padding-right: 16px !default;
|
|
56
|
+
$listview-template-avatar-padding-left: 68px !default;
|
|
57
|
+
$listview-template-avatar-rightposition-padding-right: 68px !default;
|
|
58
|
+
$listview-template-avatar-rightposition-padding-left: 16px !default;
|
|
59
|
+
$listview-template-avatar-size: 40px !default;
|
|
60
|
+
$listview-template-avatar-top: 0 !default;
|
|
61
|
+
$listview-template-avatar-left: 0 !default;
|
|
62
|
+
$listview-template-avatar-margin: 7px 16px 7px 12px !default;
|
|
63
|
+
$listview-template-avatar-rightposition-right: 0 !default;
|
|
64
|
+
$listview-template-badge-height: 18px !default;
|
|
65
|
+
$listview-template-badge-width: 20px !default;
|
|
66
|
+
$listview-template-badge-line-height: 16px !default;
|
|
67
|
+
$listview-template-badge-font-size: $text-xxs !default;
|
|
68
|
+
$listview-template-badge-right: 12px !default;
|
|
69
|
+
$listview-template-avatar-badge-padding-right: 10px !default;
|
|
70
|
+
$listview-template-avatar-badge-padding-left: 68px !default;
|
|
71
|
+
$listview-template-badgewithoutavatar-padding-right: 10px !default;
|
|
72
|
+
$listview-template-badgewithoutavatar-padding-left: 16px !default;
|
|
73
|
+
$listview-template-item-padding: 8px 0 !default;
|
|
74
|
+
$listview-template-multiline-header-padding: 0 !default;
|
|
75
|
+
$listview-template-multiline-content-padding: 2px 0 0 0 !default;
|
|
76
|
+
$listview-template-multiline-header-font-size: $text-sm !default;
|
|
77
|
+
$listview-template-multiline-padding: 4px !default;
|
|
78
|
+
$listview-template-multiline-content-font-size: $text-sm !default;
|
|
79
|
+
$listview-template-multiline-avatar-top: 0 !default;
|
|
80
|
+
$listview-touch-template-padding: 12px 16px !default;
|
|
81
|
+
$listview-touch-template-multiline-padding: 7px !default;
|
|
82
|
+
$listview-touch-template-avatar-padding-left: 88px !default;
|
|
83
|
+
$listview-touch-template-avatar-size: 48px !default;
|
|
84
|
+
$listview-touch-template-multiline-header-font-size: $text-base !default;
|
|
85
|
+
$listview-touch-template-multiline-header-line-height: 24px !default;
|
|
86
|
+
$listview-touch-template-avatar-margin: 8px 24px 8px 16px !default;
|
|
87
|
+
$listview-touch-template-badge-height: 20px !default;
|
|
88
|
+
$listview-touch-template-badge-width: 34px !default;
|
|
89
|
+
$listview-touch-template-badge-line-height: 18px !default;
|
|
90
|
+
$listview-touch-template-badge-font-size: $text-xs !default;
|
|
91
|
+
//color
|
|
92
|
+
$listview-font-family: $font-family !default;
|
|
93
|
+
$listview-text-color: $content-text-color !default;
|
|
94
|
+
$listview-text-disabled: $content-text-color-disabled !default;
|
|
95
|
+
$listview-icon-color: $icon-color !default;
|
|
96
|
+
$listview-icon-disabled: $icon-color-disabled !default;
|
|
97
|
+
$listview-background: $transparent !default;
|
|
98
|
+
$listview-line-color: $border-light !default;
|
|
99
|
+
$listview-item-hover-bg: $content-bg-color-hover !default;
|
|
100
|
+
$listview-text-hover-color: $content-text-color-hover !default;
|
|
101
|
+
$listview-item-active-bg: $content-bg-color-selected !default;
|
|
102
|
+
$listview-root-border-color: $border-light !default;
|
|
103
|
+
$listview-text-active-color: $content-text-color-selected !default;
|
|
104
|
+
$listview-header-text-color: $content-text-color-alt3 !default;
|
|
105
|
+
$listview-header-text-disabled: $content-text-color-disabled !default;
|
|
106
|
+
$listview-header-bg: transparent !default;
|
|
107
|
+
$listview-header-icon-color: $icon-color !default;
|
|
108
|
+
$listview-header-icon-disabled: $icon-color-disabled !default;
|
|
109
|
+
$listview-header-border: $border-light !default;
|
|
110
|
+
$listview-header-font-size: $text-xs !default;
|
|
111
|
+
$listview-header-font-weight: $font-weight-medium !default;
|
|
112
|
+
$listview-hover-border-color: $border-light !default;
|
|
113
|
+
$listview-border-bottom-color: $border-light !default;
|
|
114
|
+
$listview-border-top-color: transparent !default;
|
|
115
|
+
$listview-border-right-color: transparent !default;
|
|
116
|
+
$listview-border-left-color: transparent !default;
|
|
117
|
+
$listview-groupheader-text-color: $content-text-color-alt3 !default;
|
|
118
|
+
$listview-groupheader-bg: transparent !default;
|
|
119
|
+
$listview-groupheader-icon: $icon-color !default;
|
|
120
|
+
$listview-focused-collapsible-color: $content-text-color-selected !default;
|
|
121
|
+
$listview-icon-hover: $icon-color-hover !default;
|
|
122
|
+
$listview-icon-pressed: $icon-color-pressed !default;
|
|
123
|
+
$checkmark-bgcolor: $content-bg-color !default;
|
|
124
|
+
$checkmark-border-color: $content-bg-color !default;
|
|
125
|
+
$checkmark-color: $primary !default;
|
|
126
|
+
//ListView In-built template variables
|
|
127
|
+
$listview-template-multiline-header-color: $content-text-color !default;
|
|
128
|
+
$listview-template-multiline-content-color: $content-text-color-alt3 !default;
|
|
129
|
+
$listview-template-focused-multiline-content-color: $content-text-color-selected !default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
@include export-module('listview-layout') {
|
|
2
2
|
// sass-lint:disable no-vendor-prefixes
|
|
3
3
|
.e-bigger #{&}.e-listview,
|
|
4
4
|
#{&}.e-listview.e-bigger {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
font-size: $listview-touch-header-font-size;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
.e-
|
|
88
|
+
.e-back-button {
|
|
89
89
|
@if ($skin-name == 'bootstrap4') {
|
|
90
90
|
margin-top: -3px;
|
|
91
91
|
padding-right: 12px;
|
|
@@ -122,9 +122,13 @@
|
|
|
122
122
|
@if ($skin-name == 'bootstrap4') {
|
|
123
123
|
margin: 0 12px 0 0;
|
|
124
124
|
}
|
|
125
|
-
@if ($skin-name == 'tailwind') {
|
|
125
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI') {
|
|
126
126
|
margin: $listview-touch-checkbox-left-margin;
|
|
127
127
|
}
|
|
128
|
+
@if ($skin-name == 'FluentUI') {
|
|
129
|
+
border: 0;
|
|
130
|
+
padding: 0;
|
|
131
|
+
}
|
|
128
132
|
}
|
|
129
133
|
|
|
130
134
|
&.e-checkbox-right {
|
|
@@ -158,7 +162,7 @@
|
|
|
158
162
|
margin-left: 12px;
|
|
159
163
|
}
|
|
160
164
|
|
|
161
|
-
& .e-
|
|
165
|
+
& .e-back-button {
|
|
162
166
|
margin-left: 12px;
|
|
163
167
|
margin-right: 0;
|
|
164
168
|
}
|
|
@@ -258,7 +262,16 @@
|
|
|
258
262
|
}
|
|
259
263
|
}
|
|
260
264
|
}
|
|
261
|
-
|
|
265
|
+
@if ($skin-name == 'FluentUI') {
|
|
266
|
+
& .e-text-content.e-checkbox .e-list-text {
|
|
267
|
+
width: calc(100% - 60px);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
@else {
|
|
271
|
+
& .e-text-content.e-checkbox .e-list-text {
|
|
272
|
+
width: calc(100% - 40px);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
262
275
|
@if ($skin-name == 'FluentUI') {
|
|
263
276
|
&.e-list-template {
|
|
264
277
|
.e-list-wrapper {
|
|
@@ -342,6 +355,9 @@
|
|
|
342
355
|
@else {
|
|
343
356
|
margin-top: $listview-icon-back-margin;
|
|
344
357
|
}
|
|
358
|
+
@if ($skin-name == 'FluentUI') {
|
|
359
|
+
margin-right: $listview-icon-back-margin-right;
|
|
360
|
+
}
|
|
345
361
|
}
|
|
346
362
|
|
|
347
363
|
& .e-list-header .e-headertemplate-text.nested-header {
|
|
@@ -372,7 +388,7 @@
|
|
|
372
388
|
top: 45px;
|
|
373
389
|
}
|
|
374
390
|
|
|
375
|
-
& .e-
|
|
391
|
+
& .e-back-button {
|
|
376
392
|
cursor: pointer;
|
|
377
393
|
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI') {
|
|
378
394
|
margin-right: $listview-back-padding-right;
|
|
@@ -408,6 +424,10 @@
|
|
|
408
424
|
font-weight: 600;
|
|
409
425
|
padding: $listview-item-padding;
|
|
410
426
|
}
|
|
427
|
+
|
|
428
|
+
.e-list-text {
|
|
429
|
+
cursor: default;
|
|
430
|
+
}
|
|
411
431
|
}
|
|
412
432
|
|
|
413
433
|
& .e-icon-collapsible {
|
|
@@ -501,8 +521,12 @@
|
|
|
501
521
|
position: relative;
|
|
502
522
|
}
|
|
503
523
|
|
|
504
|
-
& .e-list-header .e-text {
|
|
524
|
+
& .e-list-header.e-list-navigation .e-text {
|
|
505
525
|
cursor: pointer;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
& .e-list-header .e-text {
|
|
529
|
+
cursor: default;
|
|
506
530
|
text-indent: 0;
|
|
507
531
|
}
|
|
508
532
|
|
|
@@ -515,7 +539,7 @@
|
|
|
515
539
|
direction: rtl;
|
|
516
540
|
|
|
517
541
|
@if ($skin-name == 'FluentUI') {
|
|
518
|
-
& .e-
|
|
542
|
+
& .e-back-button {
|
|
519
543
|
margin-left: 12px;
|
|
520
544
|
margin-right: 0;
|
|
521
545
|
}
|
|
@@ -548,7 +572,7 @@
|
|
|
548
572
|
cursor: pointer;
|
|
549
573
|
}
|
|
550
574
|
|
|
551
|
-
& .e-
|
|
575
|
+
& .e-back-button {
|
|
552
576
|
transform: rotate(180deg);
|
|
553
577
|
@if ($skin-name == 'tailwind') {
|
|
554
578
|
margin-left: 8px;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
//layout
|
|
2
|
+
$listview-icon-margin-right: 8px !default;
|
|
3
|
+
$listview-icon-back-margin: 0 !default;
|
|
4
|
+
$listview-rtl-icon-back-margin: 0 !default;
|
|
5
|
+
$listview-item-height: 36px !default;
|
|
6
|
+
$listview-item-line-height: 18px !default;
|
|
7
|
+
$listview-item-padding: 7px 9px 7px 12px !default;
|
|
8
|
+
$listview-rtl-item-padding: 7px 12px 7px 12px !default;
|
|
9
|
+
$listview-header-padding: 6px 12px !default;
|
|
10
|
+
$listview-back-icon-font-size: 12px !default;
|
|
11
|
+
$listview-root-border-radius: 4px !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: 36px !default;
|
|
16
|
+
$listview-header-line-height: 18px !default;
|
|
17
|
+
$listview-border-bottom: 1px !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: 1px !default;
|
|
22
|
+
$listview-group-border-top: 0 !default;
|
|
23
|
+
$listview-group-border-bottom: 1px !default;
|
|
24
|
+
$listview-groupheader-item-height: 36px !default;
|
|
25
|
+
$listview-groupheader-item-line-height: 20px !default;
|
|
26
|
+
$listview-groupheader-font-size: $text-xs !default;
|
|
27
|
+
$listview-border-size: 1px !default;
|
|
28
|
+
$listview-font-size: $text-sm !default;
|
|
29
|
+
$listview-back-padding-right: 8px !default;
|
|
30
|
+
$listview-back-icon-size: 20px !default;
|
|
31
|
+
$listview-touch-item-height: 40px !default;
|
|
32
|
+
$listview-touch-item-line-height: 21px !default;
|
|
33
|
+
$listview-touch-item-size: 24px !default;
|
|
34
|
+
$listview-touch-item-padding: 16px 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: 40px !default;
|
|
38
|
+
$listview-touch-groupheader-line-height: 20px !default;
|
|
39
|
+
$listview-touch-header-height: 40px !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: 0 8px 0 0 !default;
|
|
51
|
+
$listview-rtl-checkbox-left-margin: -2px 0 0 8px !default;
|
|
52
|
+
$listview-rtl-checkbox-right-margin: -2px 8px 0 0 !default;
|
|
53
|
+
//ListView In-built template variables
|
|
54
|
+
$listview-template-padding: 10px 16px !default;
|
|
55
|
+
$listview-template-avatar-padding-right: 16px !default;
|
|
56
|
+
$listview-template-avatar-padding-left: 68px !default;
|
|
57
|
+
$listview-template-avatar-rightposition-padding-right: 68px !default;
|
|
58
|
+
$listview-template-avatar-rightposition-padding-left: 16px !default;
|
|
59
|
+
$listview-template-avatar-size: 40px !default;
|
|
60
|
+
$listview-template-avatar-top: 0 !default;
|
|
61
|
+
$listview-template-avatar-left: 0 !default;
|
|
62
|
+
$listview-template-avatar-margin: 7px 16px 7px 12px !default;
|
|
63
|
+
$listview-template-avatar-rightposition-right: 0 !default;
|
|
64
|
+
$listview-template-badge-height: 18px !default;
|
|
65
|
+
$listview-template-badge-width: 20px !default;
|
|
66
|
+
$listview-template-badge-line-height: 16px !default;
|
|
67
|
+
$listview-template-badge-font-size: $text-xxs !default;
|
|
68
|
+
$listview-template-badge-right: 12px !default;
|
|
69
|
+
$listview-template-avatar-badge-padding-right: 10px !default;
|
|
70
|
+
$listview-template-avatar-badge-padding-left: 68px !default;
|
|
71
|
+
$listview-template-badgewithoutavatar-padding-right: 10px !default;
|
|
72
|
+
$listview-template-badgewithoutavatar-padding-left: 16px !default;
|
|
73
|
+
$listview-template-item-padding: 8px 0 !default;
|
|
74
|
+
$listview-template-multiline-header-padding: 0 !default;
|
|
75
|
+
$listview-template-multiline-content-padding: 2px 0 0 0 !default;
|
|
76
|
+
$listview-template-multiline-header-font-size: $text-sm !default;
|
|
77
|
+
$listview-template-multiline-padding: 4px !default;
|
|
78
|
+
$listview-template-multiline-content-font-size: $text-sm !default;
|
|
79
|
+
$listview-template-multiline-avatar-top: 0 !default;
|
|
80
|
+
$listview-touch-template-padding: 12px 16px !default;
|
|
81
|
+
$listview-touch-template-multiline-padding: 7px !default;
|
|
82
|
+
$listview-touch-template-avatar-padding-left: 88px !default;
|
|
83
|
+
$listview-touch-template-avatar-size: 48px !default;
|
|
84
|
+
$listview-touch-template-multiline-header-font-size: $text-base !default;
|
|
85
|
+
$listview-touch-template-multiline-header-line-height: 24px !default;
|
|
86
|
+
$listview-touch-template-avatar-margin: 8px 24px 8px 16px !default;
|
|
87
|
+
$listview-touch-template-badge-height: 20px !default;
|
|
88
|
+
$listview-touch-template-badge-width: 34px !default;
|
|
89
|
+
$listview-touch-template-badge-line-height: 18px !default;
|
|
90
|
+
$listview-touch-template-badge-font-size: $text-xs !default;
|
|
91
|
+
//color
|
|
92
|
+
$listview-font-family: $font-family !default;
|
|
93
|
+
$listview-text-color: $content-text-color !default;
|
|
94
|
+
$listview-text-disabled: $content-text-color-disabled !default;
|
|
95
|
+
$listview-icon-color: $icon-color !default;
|
|
96
|
+
$listview-icon-disabled: $icon-color-disabled !default;
|
|
97
|
+
$listview-background: $transparent !default;
|
|
98
|
+
$listview-line-color: $border-light !default;
|
|
99
|
+
$listview-item-hover-bg: $content-bg-color-hover !default;
|
|
100
|
+
$listview-text-hover-color: $content-text-color-hover !default;
|
|
101
|
+
$listview-item-active-bg: $content-bg-color-selected !default;
|
|
102
|
+
$listview-root-border-color: $border-light !default;
|
|
103
|
+
$listview-text-active-color: $content-text-color-selected !default;
|
|
104
|
+
$listview-header-text-color: $content-text-color-alt3 !default;
|
|
105
|
+
$listview-header-text-disabled: $content-text-color-disabled !default;
|
|
106
|
+
$listview-header-bg: transparent !default;
|
|
107
|
+
$listview-header-icon-color: $icon-color !default;
|
|
108
|
+
$listview-header-icon-disabled: $icon-color-disabled !default;
|
|
109
|
+
$listview-header-border: $border-light !default;
|
|
110
|
+
$listview-header-font-size: $text-xs !default;
|
|
111
|
+
$listview-header-font-weight: $font-weight-medium !default;
|
|
112
|
+
$listview-hover-border-color: $border-light !default;
|
|
113
|
+
$listview-border-bottom-color: $border-light !default;
|
|
114
|
+
$listview-border-top-color: transparent !default;
|
|
115
|
+
$listview-border-right-color: transparent !default;
|
|
116
|
+
$listview-border-left-color: transparent !default;
|
|
117
|
+
$listview-groupheader-text-color: $content-text-color-alt3 !default;
|
|
118
|
+
$listview-groupheader-bg: transparent !default;
|
|
119
|
+
$listview-groupheader-icon: $icon-color !default;
|
|
120
|
+
$listview-focused-collapsible-color: $content-text-color-selected !default;
|
|
121
|
+
$listview-icon-hover: $icon-color-hover !default;
|
|
122
|
+
$listview-icon-pressed: $icon-color-pressed !default;
|
|
123
|
+
$checkmark-bgcolor: $content-bg-color !default;
|
|
124
|
+
$checkmark-border-color: $content-bg-color !default;
|
|
125
|
+
$checkmark-color: $primary !default;
|
|
126
|
+
//ListView In-built template variables
|
|
127
|
+
$listview-template-multiline-header-color: $content-text-color !default;
|
|
128
|
+
$listview-template-multiline-content-color: $content-text-color-alt3 !default;
|
|
129
|
+
$listview-template-focused-multiline-content-color: $content-text-color-selected !default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//layout
|
|
2
|
-
$listview-icon-margin-right:
|
|
2
|
+
$listview-icon-margin-right: 2px !default;
|
|
3
3
|
$listview-item-height: 38px !default;
|
|
4
4
|
$listview-item-line-height: 22px !default;
|
|
5
5
|
$listview-item-padding: 8px 9px 8px 12px !default;
|
|
@@ -28,6 +28,7 @@ $listview-border-size: 1px !default;
|
|
|
28
28
|
$listview-font-size: $text-sm !default;
|
|
29
29
|
$listview-back-padding-right: 8px !default;
|
|
30
30
|
$listview-back-icon-size: 20px !default;
|
|
31
|
+
$listview-back-icon-font-size: 16px !default;
|
|
31
32
|
$listview-touch-item-height: 48px !default;
|
|
32
33
|
$listview-touch-item-line-height: 24px !default;
|
|
33
34
|
$listview-touch-item-size: 24px !default;
|
|
@@ -41,7 +42,7 @@ $listview-touch-header-font-weight: $font-weight-medium !default;
|
|
|
41
42
|
$listview-touch-header-font-size: $text-sm !default;
|
|
42
43
|
$listview-touch-header-line-height: 22px !default;
|
|
43
44
|
$listview-touch-header-icon-margin-top: 2px !default;
|
|
44
|
-
$listview-touch-icon-margin-right:
|
|
45
|
+
$listview-touch-icon-margin-right: 5px !default;
|
|
45
46
|
$listview-touch-checkbox-right-margin: -2px 0 0 12px !default;
|
|
46
47
|
$listview-touch-checkbox-left-margin: -2px 12px 0 0 !default;
|
|
47
48
|
$listview-touch-rtl-checkbox-left-margin: -2px 0 0 12px !default;
|
|
@@ -63,7 +64,7 @@ $listview-template-avatar-margin: 7px 16px 7px 12px !default;
|
|
|
63
64
|
$listview-template-avatar-rightposition-right: 0 !default;
|
|
64
65
|
$listview-template-badge-height: 18px !default;
|
|
65
66
|
$listview-template-badge-width: 32px !default;
|
|
66
|
-
$listview-template-badge-line-height:
|
|
67
|
+
$listview-template-badge-line-height: 18px !default;
|
|
67
68
|
$listview-template-badge-font-size: $text-xxs !default;
|
|
68
69
|
$listview-template-badge-right: 12px !default;
|
|
69
70
|
$listview-template-avatar-badge-padding-right: 10px !default;
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
color: $listview-icon-color;
|
|
16
16
|
|
|
17
17
|
@if ($skin-name == 'tailwind') {
|
|
18
|
-
&.e-
|
|
18
|
+
&.e-back-button:hover,
|
|
19
19
|
&.e-icon-collapsible:hover {
|
|
20
20
|
color: $icon-color-hover;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
@if ($skin-name == 'bootstrap5') {
|
|
24
|
-
|
|
24
|
+
&.e-back-button:hover {
|
|
25
25
|
color: $icon-color-hover;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
&.e-back-button:active {
|
|
29
29
|
color: $icon-color-pressed;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
|
|
97
97
|
@if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
|
|
98
98
|
&.e-list-badge:not(.e-list-avatar) {
|
|
99
|
-
padding: 0
|
|
99
|
+
padding: 0 8px 0 12px;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
@if ($skin-name == 'FluentUI') {
|