Repository navigation
Expand file tree
/
Copy pathtemplate.html
More file actions
168 lines (143 loc) · 3.86 KB
/
Copy pathtemplate.html
File metadata and controls
168 lines (143 loc) · 3.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<div class="col-lg-12 control-section" style="height: 400px;">
<div class='control-wrapper'>
<div style='padding-top:70px;'>
<input type="text" tabindex="1" id='employees' />
</div>
</div>
</div>
<div id="action-description">
<p>This sample demonstrates the template functionalities of the AutoComplete. Type a character in the AutoComplete
element
and choose an item from the customized list</p>
</div>
<div id="description">
<p>The AutoComplete has been provided with several options to customize each list items, group title, header and
footer
elements.
</p>
<p>This sample uses the following list of templates in AutoComplete</p>
<ul>
<li><code>ItemTemplate</code> - To customize the list item's content.</li>
<li><code>HeaderTemplate</code> - To customize the header element.</li>
</ul>
<p> More information on the template feature configuration can be found in the
<a href="http://ej2.syncfusion.com/documentation/auto-complete/templates.html" target="_blank"> documentation
section</a>.
</p>
</div>
<style>
.control-wrapper {
margin: 0 auto;
width: 300px;
}
.header {
font-weight: 600;
color: rgba(0, 0, 0, .54);
height: 48px;
padding: 15px 0 0 16px;
font-size: 16px;
background-color: #f5f5f5;
font-family: "Segoe UI", "GeezaPro", "DejaVu Serif";
}
/* custom code start*/
.fabric .header {
background-color: #fff;
border-bottom: 1px solid #ccc;
color: #0078d7;
font-weight: 400;
}
.bootstrap4 .header {
color: #6c757d;
}
.bootstrap .header {
background-color: #fff;
border-bottom: 1px solid #ccc;
color: #777;
font-family: "Helvetica Neue", "Helvetica", "Arial", "sans-serif";
font-weight: 400;
font-size: 12px;
line-height: 30px;
height: 30px;
padding: 0 0 0 24px;
}
.highcontrast .header {
color: #fff;
background-color: #000;
}
.e-bigger.bootstrap .header {
line-height: 44px;
height: 44px;
font-size: 13px;
}
.bootstrap .info,
.e-bigger.bootstrap .info {
margin-left: 25px;
}
.bootstrap .job {
opacity: .54;
font-size: 14px;
margin-top: -25px;
margin-bottom: 20px;
}
.e-bigger.bootstrap .job {
font-size: 15px;
margin-top: -32px;
margin-bottom: 17px;
}
.bootstrap .ename {
font-size: 15px;
margin-top: 20px;
opacity: .87;
padding: 3px 0 20px;
}
.e-bigger.bootstrap .ename {
font-size: 16px;
padding-bottom: 15px;
}
.bootstrap .empImage,
.e-bigger.bootstrap .empImage {
margin: 0px 10px 0 20px;
}
.bootstrap4 #employees_popup.e-popup .empImage {
margin: 0px 16px;
}
.bootstrap4 #employees_popup.e-popup .job {
margin-top: 0;
}
.e-bigger.bootstrap4 #employees_popup.e-popup .job {
margin-top: -15px;
}
/* custom code end*/
.info {
margin-left: 17px;
}
.ename {
display: block !important;
opacity: .87;
font-size: 16px;
margin-top: 8px;
}
.job {
opacity: .54;
font-size: 14px;
margin-top: -15px;
margin-bottom: 7px;
}
.empImage {
margin: 6px 16px;
float: left;
width: 50px;
height: 50px;
}
#employees_popup.e-popup .e-list-item * {
display: block;
text-indent: 0;
}
.e-bigger:not(.bootstrap) #employees_popup .e-dropdownbase .e-list-item {
line-height: 42px;
height: 80px;
}
.e-bigger:not(.bootstrap) #employees_popup.e-popup .empImage {
margin: 10px 16px;
}
</style>