@liedekef/ftable 1.0.0
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/LICENSE +21 -0
- package/README.md +77 -0
- package/ftable.esm.js +4749 -0
- package/ftable.js +4749 -0
- package/ftable.min.js +54 -0
- package/ftable.umd.js +4750 -0
- package/localization/ftable.ar.js +35 -0
- package/localization/ftable.bd.js +33 -0
- package/localization/ftable.ca.js +33 -0
- package/localization/ftable.cz.js +33 -0
- package/localization/ftable.de.js +33 -0
- package/localization/ftable.el.js +33 -0
- package/localization/ftable.es.js +33 -0
- package/localization/ftable.fa.js +33 -0
- package/localization/ftable.fr.js +33 -0
- package/localization/ftable.hr.js +33 -0
- package/localization/ftable.hu.js +33 -0
- package/localization/ftable.id.js +34 -0
- package/localization/ftable.it.js +33 -0
- package/localization/ftable.kr.js +33 -0
- package/localization/ftable.lt.js +33 -0
- package/localization/ftable.nl.js +33 -0
- package/localization/ftable.no.js +33 -0
- package/localization/ftable.pl.js +33 -0
- package/localization/ftable.pt-BR.js +33 -0
- package/localization/ftable.pt-PT.js +32 -0
- package/localization/ftable.ro.js +33 -0
- package/localization/ftable.ru.js +34 -0
- package/localization/ftable.se.js +33 -0
- package/localization/ftable.ta.js +33 -0
- package/localization/ftable.tr.js +33 -0
- package/localization/ftable.ua.js +33 -0
- package/localization/ftable.vi.js +33 -0
- package/localization/ftable.zh-CN.js +33 -0
- package/package.json +44 -0
- package/themes/basic/clone.png +0 -0
- package/themes/basic/close.png +0 -0
- package/themes/basic/column-asc.png +0 -0
- package/themes/basic/column-desc.png +0 -0
- package/themes/basic/column-sortable.png +0 -0
- package/themes/basic/delete.png +0 -0
- package/themes/basic/edit.png +0 -0
- package/themes/basic/ftable_basic.css +358 -0
- package/themes/basic/ftable_basic.less +89 -0
- package/themes/basic/ftable_basic.min.css +1 -0
- package/themes/ftable_theme_base.less +594 -0
- package/themes/lightcolor/add.png +0 -0
- package/themes/lightcolor/bg-thead.png +0 -0
- package/themes/lightcolor/blue/ftable.css +597 -0
- package/themes/lightcolor/blue/ftable.less +88 -0
- package/themes/lightcolor/blue/ftable.min.css +1 -0
- package/themes/lightcolor/blue/loading.gif +0 -0
- package/themes/lightcolor/clone.png +0 -0
- package/themes/lightcolor/close.png +0 -0
- package/themes/lightcolor/column-asc.png +0 -0
- package/themes/lightcolor/column-desc.png +0 -0
- package/themes/lightcolor/column-sortable.png +0 -0
- package/themes/lightcolor/delete.png +0 -0
- package/themes/lightcolor/edit.png +0 -0
- package/themes/lightcolor/ftable_lightcolor_base.less +337 -0
- package/themes/lightcolor/gray/ftable.css +597 -0
- package/themes/lightcolor/gray/ftable.less +88 -0
- package/themes/lightcolor/gray/ftable.min.css +1 -0
- package/themes/lightcolor/gray/loading.gif +0 -0
- package/themes/lightcolor/green/ftable.css +597 -0
- package/themes/lightcolor/green/ftable.less +88 -0
- package/themes/lightcolor/green/ftable.min.css +1 -0
- package/themes/lightcolor/green/loading.gif +0 -0
- package/themes/lightcolor/orange/ftable.css +597 -0
- package/themes/lightcolor/orange/ftable.less +88 -0
- package/themes/lightcolor/orange/ftable.min.css +1 -0
- package/themes/lightcolor/orange/loading.gif +0 -0
- package/themes/lightcolor/red/ftable.css +597 -0
- package/themes/lightcolor/red/ftable.less +88 -0
- package/themes/lightcolor/red/ftable.min.css +1 -0
- package/themes/lightcolor/red/loading.gif +0 -0
- package/themes/metro/add.png +0 -0
- package/themes/metro/blue/ftable.css +574 -0
- package/themes/metro/blue/ftable.less +9 -0
- package/themes/metro/blue/ftable.min.css +1 -0
- package/themes/metro/blue/loading.gif +0 -0
- package/themes/metro/brown/ftable.css +574 -0
- package/themes/metro/brown/ftable.less +9 -0
- package/themes/metro/brown/ftable.min.css +1 -0
- package/themes/metro/brown/loading.gif +0 -0
- package/themes/metro/clone.png +0 -0
- package/themes/metro/close.png +0 -0
- package/themes/metro/column-asc.png +0 -0
- package/themes/metro/column-desc.png +0 -0
- package/themes/metro/column-sortable.png +0 -0
- package/themes/metro/crimson/ftable.css +574 -0
- package/themes/metro/crimson/ftable.less +9 -0
- package/themes/metro/crimson/ftable.min.css +1 -0
- package/themes/metro/crimson/loading.gif +0 -0
- package/themes/metro/darkgray/ftable.css +574 -0
- package/themes/metro/darkgray/ftable.less +9 -0
- package/themes/metro/darkgray/ftable.min.css +1 -0
- package/themes/metro/darkgray/loading.gif +0 -0
- package/themes/metro/darkorange/ftable.css +574 -0
- package/themes/metro/darkorange/ftable.less +9 -0
- package/themes/metro/darkorange/ftable.min.css +1 -0
- package/themes/metro/darkorange/loading.gif +0 -0
- package/themes/metro/delete.png +0 -0
- package/themes/metro/edit.png +0 -0
- package/themes/metro/ftable_metro_base.less +450 -0
- package/themes/metro/green/ftable.css +574 -0
- package/themes/metro/green/ftable.less +9 -0
- package/themes/metro/green/ftable.min.css +1 -0
- package/themes/metro/green/loading.gif +0 -0
- package/themes/metro/lightgray/ftable.css +574 -0
- package/themes/metro/lightgray/ftable.less +9 -0
- package/themes/metro/lightgray/ftable.min.css +1 -0
- package/themes/metro/lightgray/loading.gif +0 -0
- package/themes/metro/pink/ftable.css +574 -0
- package/themes/metro/pink/ftable.less +9 -0
- package/themes/metro/pink/ftable.min.css +1 -0
- package/themes/metro/pink/loading.gif +0 -0
- package/themes/metro/purple/ftable.css +574 -0
- package/themes/metro/purple/ftable.less +9 -0
- package/themes/metro/purple/ftable.min.css +1 -0
- package/themes/metro/purple/loading.gif +0 -0
- package/themes/metro/red/ftable.css +574 -0
- package/themes/metro/red/ftable.less +9 -0
- package/themes/metro/red/ftable.min.css +1 -0
- package/themes/metro/red/loading.gif +0 -0
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
/* These file is a start point for who wants to create a fully custom
|
|
2
|
+
* theme for fTable. ftable_theme_base.less (or css) file is needed
|
|
3
|
+
* for functionality of fTable. This file does not add any color or shape
|
|
4
|
+
* modifications. It just shows how to set icons. You can change them too.
|
|
5
|
+
*/
|
|
6
|
+
div.ftable-main-container {
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
div.ftable-main-container div.ftable-title {
|
|
10
|
+
position: relative;
|
|
11
|
+
text-align: left;
|
|
12
|
+
}
|
|
13
|
+
div.ftable-main-container div.ftable-title .ftable-close-button {
|
|
14
|
+
right: 0px;
|
|
15
|
+
top: 0px;
|
|
16
|
+
bottom: 0px;
|
|
17
|
+
position: absolute;
|
|
18
|
+
}
|
|
19
|
+
div.ftable-main-container div.ftable-title div.ftable-toolbar {
|
|
20
|
+
bottom: 0px;
|
|
21
|
+
right: 0px;
|
|
22
|
+
position: absolute;
|
|
23
|
+
display: inline-block;
|
|
24
|
+
margin-right: 5px;
|
|
25
|
+
}
|
|
26
|
+
div.ftable-main-container div.ftable-title div.ftable-toolbar .ftable-toolbar-item {
|
|
27
|
+
position: relative;
|
|
28
|
+
display: inline-block;
|
|
29
|
+
margin: 0px 0px 0px 5px;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
font-size: 0.9em;
|
|
32
|
+
padding: 2px;
|
|
33
|
+
vertical-align: bottom;
|
|
34
|
+
}
|
|
35
|
+
div.ftable-main-container div.ftable-title div.ftable-toolbar .ftable-toolbar-item span.ftable-toolbar-item-icon {
|
|
36
|
+
display: inline-block;
|
|
37
|
+
margin: 2px;
|
|
38
|
+
vertical-align: middle;
|
|
39
|
+
width: 16px;
|
|
40
|
+
height: 16px;
|
|
41
|
+
}
|
|
42
|
+
div.ftable-main-container div.ftable-title div.ftable-toolbar .ftable-toolbar-item span.ftable-toolbar-item-text {
|
|
43
|
+
display: inline-block;
|
|
44
|
+
margin: 2px;
|
|
45
|
+
vertical-align: middle;
|
|
46
|
+
}
|
|
47
|
+
div.ftable-main-container div.ftable-title .ftable-close-button + div.ftable-toolbar {
|
|
48
|
+
margin-right: 30px;
|
|
49
|
+
}
|
|
50
|
+
div.ftable-main-container table.ftable {
|
|
51
|
+
width: 100%;
|
|
52
|
+
}
|
|
53
|
+
div.ftable-main-container table.ftable thead th {
|
|
54
|
+
padding: 0px 3px 0px 6px;
|
|
55
|
+
vertical-align: middle;
|
|
56
|
+
text-align: left;
|
|
57
|
+
}
|
|
58
|
+
div.ftable-main-container table.ftable thead th.ftable-column-header {
|
|
59
|
+
height: 1px;
|
|
60
|
+
/* this is so the heigth of the div inside can be set to 100% */
|
|
61
|
+
}
|
|
62
|
+
div.ftable-main-container table.ftable thead th.ftable-column-header div.ftable-column-header-container {
|
|
63
|
+
position: relative;
|
|
64
|
+
display: table;
|
|
65
|
+
/* display table so the inside elements can be easily aligned vertically */
|
|
66
|
+
width: 100%;
|
|
67
|
+
/* width=100% is redundant for regular div, but for display table it is needed */
|
|
68
|
+
height: 100% !important;
|
|
69
|
+
/* height at 100% so the resize bar in it will have full height too */
|
|
70
|
+
}
|
|
71
|
+
div.ftable-main-container table.ftable thead th.ftable-column-header div.ftable-column-header-container span.ftable-column-header-text {
|
|
72
|
+
display: table-cell;
|
|
73
|
+
vertical-align: middle;
|
|
74
|
+
/* this works since we have display=table-cell */
|
|
75
|
+
padding-top: 4px;
|
|
76
|
+
padding-bottom: 3px;
|
|
77
|
+
}
|
|
78
|
+
div.ftable-main-container table.ftable thead th.ftable-column-header div.ftable-column-header-container div.ftable-column-resize-handler {
|
|
79
|
+
position: absolute;
|
|
80
|
+
display: table-cell;
|
|
81
|
+
vertical-align: middle;
|
|
82
|
+
height: 100%;
|
|
83
|
+
/* so the resize bar fills the whole height */
|
|
84
|
+
width: 8px;
|
|
85
|
+
right: -8px;
|
|
86
|
+
z-index: 2;
|
|
87
|
+
cursor: col-resize;
|
|
88
|
+
}
|
|
89
|
+
div.ftable-main-container table.ftable thead th.ftable-command-column-header {
|
|
90
|
+
text-align: center;
|
|
91
|
+
}
|
|
92
|
+
div.ftable-main-container table.ftable thead th.ftable-column-header-select {
|
|
93
|
+
text-align: center;
|
|
94
|
+
width: 1%;
|
|
95
|
+
}
|
|
96
|
+
div.ftable-main-container table.ftable thead th.ftable-column-header-select input {
|
|
97
|
+
cursor: pointer;
|
|
98
|
+
}
|
|
99
|
+
div.ftable-main-container table.ftable thead th.ftable-column-header-sortable {
|
|
100
|
+
cursor: pointer;
|
|
101
|
+
}
|
|
102
|
+
div.ftable-main-container table.ftable tbody tr > td .ftable-command-button {
|
|
103
|
+
margin: 5px;
|
|
104
|
+
padding: 0px;
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
border: none;
|
|
107
|
+
display: inline;
|
|
108
|
+
}
|
|
109
|
+
div.ftable-main-container table.ftable tbody tr > td .ftable-command-button span {
|
|
110
|
+
display: none;
|
|
111
|
+
}
|
|
112
|
+
div.ftable-main-container table.ftable tbody tr > td.ftable-command-column {
|
|
113
|
+
text-align: center;
|
|
114
|
+
vertical-align: middle;
|
|
115
|
+
}
|
|
116
|
+
div.ftable-main-container table.ftable tbody tr > td.ftable-selecting-column {
|
|
117
|
+
text-align: center;
|
|
118
|
+
vertical-align: middle;
|
|
119
|
+
}
|
|
120
|
+
div.ftable-main-container table.ftable tbody tr > td.ftable-selecting-column input {
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
}
|
|
123
|
+
div.ftable-main-container table.ftable tbody tr.ftable-no-data-row {
|
|
124
|
+
text-align: center;
|
|
125
|
+
}
|
|
126
|
+
div.ftable-main-container > div.ftable-bottom-panel {
|
|
127
|
+
position: relative;
|
|
128
|
+
min-height: 24px;
|
|
129
|
+
text-align: left;
|
|
130
|
+
}
|
|
131
|
+
div.ftable-main-container > div.ftable-bottom-panel div.ftable-right-area {
|
|
132
|
+
right: 0px;
|
|
133
|
+
top: 0px;
|
|
134
|
+
bottom: 0px;
|
|
135
|
+
position: absolute;
|
|
136
|
+
}
|
|
137
|
+
div.ftable-main-container > div.ftable-bottom-panel .ftable-page-list {
|
|
138
|
+
display: inline-block;
|
|
139
|
+
}
|
|
140
|
+
div.ftable-main-container > div.ftable-bottom-panel .ftable-page-list .ftable-page-number,
|
|
141
|
+
div.ftable-main-container > div.ftable-bottom-panel .ftable-page-list .ftable-page-number-space,
|
|
142
|
+
div.ftable-main-container > div.ftable-bottom-panel .ftable-page-list .ftable-page-number-first,
|
|
143
|
+
div.ftable-main-container > div.ftable-bottom-panel .ftable-page-list .ftable-page-number-last,
|
|
144
|
+
div.ftable-main-container > div.ftable-bottom-panel .ftable-page-list .ftable-page-number-previous,
|
|
145
|
+
div.ftable-main-container > div.ftable-bottom-panel .ftable-page-list .ftable-page-number-next,
|
|
146
|
+
div.ftable-main-container > div.ftable-bottom-panel .ftable-page-list .ftable-page-number-active {
|
|
147
|
+
padding: 2px 5px;
|
|
148
|
+
display: inline-block;
|
|
149
|
+
cursor: pointer;
|
|
150
|
+
}
|
|
151
|
+
div.ftable-main-container > div.ftable-bottom-panel .ftable-page-list .ftable-page-number-space,
|
|
152
|
+
div.ftable-main-container > div.ftable-bottom-panel .ftable-page-list .ftable-page-number-active,
|
|
153
|
+
div.ftable-main-container > div.ftable-bottom-panel .ftable-page-list .ftable-page-number-disabled {
|
|
154
|
+
cursor: default;
|
|
155
|
+
}
|
|
156
|
+
div.ftable-main-container > div.ftable-bottom-panel span.ftable-page-size-change {
|
|
157
|
+
margin-left: 5px;
|
|
158
|
+
}
|
|
159
|
+
div.ftable-main-container > div.ftable-bottom-panel span.ftable-goto-page {
|
|
160
|
+
margin-left: 5px;
|
|
161
|
+
}
|
|
162
|
+
div.ftable-main-container > div.ftable-bottom-panel span.ftable-goto-page input[type=text] {
|
|
163
|
+
width: 22px;
|
|
164
|
+
}
|
|
165
|
+
div.ftable-main-container > div.ftable-bottom-panel span.ftable-page-info {
|
|
166
|
+
vertical-align: middle;
|
|
167
|
+
}
|
|
168
|
+
div.ftable-main-container div.ftable-column-resize-bar {
|
|
169
|
+
opacity: 0.5;
|
|
170
|
+
filter: alpha(opacity=50);
|
|
171
|
+
position: absolute;
|
|
172
|
+
width: 1px;
|
|
173
|
+
background-color: #000;
|
|
174
|
+
}
|
|
175
|
+
div.ftable-main-container div.ftable-column-selection-container {
|
|
176
|
+
position: absolute;
|
|
177
|
+
border: 1px solid #C8C8C8;
|
|
178
|
+
background: #fff;
|
|
179
|
+
color: #000;
|
|
180
|
+
z-index: 101;
|
|
181
|
+
padding: 5px;
|
|
182
|
+
}
|
|
183
|
+
div.ftable-main-container div.ftable-column-selection-container ul.ftable-column-select-list {
|
|
184
|
+
margin: 0px;
|
|
185
|
+
padding: 0px;
|
|
186
|
+
list-style: none;
|
|
187
|
+
}
|
|
188
|
+
div.ftable-main-container div.ftable-column-selection-container ul.ftable-column-select-list li {
|
|
189
|
+
margin: 0px;
|
|
190
|
+
padding: 2px 0px;
|
|
191
|
+
}
|
|
192
|
+
div.ftable-main-container div.ftable-column-selection-container ul.ftable-column-select-list li label span {
|
|
193
|
+
position: relative;
|
|
194
|
+
top: -1px;
|
|
195
|
+
margin-left: 4px;
|
|
196
|
+
}
|
|
197
|
+
div.ftable-main-container div.ftable-column-selection-container ul.ftable-column-select-list li input[type="checkbox"] {
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
}
|
|
200
|
+
form.ftable-dialog-form div.ftable-input-field-container {
|
|
201
|
+
padding: 2px 0px 3px 0px;
|
|
202
|
+
border-bottom: 1px solid #ddd;
|
|
203
|
+
}
|
|
204
|
+
form.ftable-dialog-form div.ftable-input-field-container:last-child {
|
|
205
|
+
border: none;
|
|
206
|
+
}
|
|
207
|
+
form.ftable-dialog-form div.ftable-input-label {
|
|
208
|
+
padding: 2px 3px;
|
|
209
|
+
font-size: 1.1em;
|
|
210
|
+
color: #666;
|
|
211
|
+
}
|
|
212
|
+
form.ftable-dialog-form div.ftable-input {
|
|
213
|
+
padding: 2px;
|
|
214
|
+
}
|
|
215
|
+
form.ftable-dialog-form div.ftable-date-input {
|
|
216
|
+
/* No additional style */
|
|
217
|
+
}
|
|
218
|
+
form.ftable-dialog-form div.ftable-text-input {
|
|
219
|
+
/* No additional style */
|
|
220
|
+
}
|
|
221
|
+
form.ftable-dialog-form span.ftable-option-text-clickable {
|
|
222
|
+
position: relative;
|
|
223
|
+
top: -2px;
|
|
224
|
+
}
|
|
225
|
+
form.ftable-dialog-form div.ftable-textarea-input textarea {
|
|
226
|
+
width: 300px;
|
|
227
|
+
min-height: 60px;
|
|
228
|
+
}
|
|
229
|
+
form.ftable-dialog-form div.ftable-checkbox-input span,
|
|
230
|
+
form.ftable-dialog-form div.ftable-radio-input span {
|
|
231
|
+
padding-left: 4px;
|
|
232
|
+
}
|
|
233
|
+
form.ftable-dialog-form div.ftable-radio-input input,
|
|
234
|
+
form.ftable-dialog-form div.ftable-checkbox-input input,
|
|
235
|
+
form.ftable-dialog-form span.ftable-option-text-clickable {
|
|
236
|
+
cursor: pointer;
|
|
237
|
+
}
|
|
238
|
+
.ftable-modal-overlay {
|
|
239
|
+
position: fixed;
|
|
240
|
+
top: 0;
|
|
241
|
+
left: 0;
|
|
242
|
+
right: 0;
|
|
243
|
+
bottom: 0;
|
|
244
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
245
|
+
z-index: 1000;
|
|
246
|
+
display: none;
|
|
247
|
+
}
|
|
248
|
+
.ftable-modal {
|
|
249
|
+
position: fixed;
|
|
250
|
+
top: 50%;
|
|
251
|
+
left: 50%;
|
|
252
|
+
transform: translate(-50%, -50%);
|
|
253
|
+
background-color: white;
|
|
254
|
+
padding: 20px;
|
|
255
|
+
border-radius: 5px;
|
|
256
|
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
|
|
257
|
+
z-index: 1001;
|
|
258
|
+
max-width: 90%;
|
|
259
|
+
max-height: 90vh;
|
|
260
|
+
overflow: auto;
|
|
261
|
+
}
|
|
262
|
+
.ftable-modal-header {
|
|
263
|
+
margin-bottom: 15px;
|
|
264
|
+
margin-top: 0px;
|
|
265
|
+
padding-bottom: 10px;
|
|
266
|
+
border-bottom: 1px solid #eee;
|
|
267
|
+
}
|
|
268
|
+
.ftable-modal-footer {
|
|
269
|
+
margin-top: 15px;
|
|
270
|
+
padding-top: 10px;
|
|
271
|
+
border-top: 1px solid #eee;
|
|
272
|
+
text-align: right;
|
|
273
|
+
}
|
|
274
|
+
.ftable-modal-close {
|
|
275
|
+
position: absolute;
|
|
276
|
+
top: 10px;
|
|
277
|
+
right: 10px;
|
|
278
|
+
cursor: pointer;
|
|
279
|
+
font-size: 28px;
|
|
280
|
+
font-weight: bold;
|
|
281
|
+
color: #aaa;
|
|
282
|
+
}
|
|
283
|
+
.ftable-busy-modal {
|
|
284
|
+
padding: 0px;
|
|
285
|
+
}
|
|
286
|
+
.ftable-dialog-button {
|
|
287
|
+
opacity: 0.8;
|
|
288
|
+
border: 1px solid #ccc;
|
|
289
|
+
padding: 5px;
|
|
290
|
+
margin: 5px;
|
|
291
|
+
}
|
|
292
|
+
.ftable-dialog-button:hover {
|
|
293
|
+
background-color: #dedede;
|
|
294
|
+
}
|
|
295
|
+
div.ftable-busy-message {
|
|
296
|
+
cursor: wait;
|
|
297
|
+
margin: 0px;
|
|
298
|
+
}
|
|
299
|
+
div.ftable-contextmenu-overlay {
|
|
300
|
+
position: fixed;
|
|
301
|
+
left: 0px;
|
|
302
|
+
top: 0px;
|
|
303
|
+
width: 100%;
|
|
304
|
+
height: 100%;
|
|
305
|
+
z-index: 100;
|
|
306
|
+
}
|
|
307
|
+
.ftable-table-div {
|
|
308
|
+
display: block;
|
|
309
|
+
overflow-x: auto;
|
|
310
|
+
}
|
|
311
|
+
.ftable-table-div > table {
|
|
312
|
+
overflow: hidden;
|
|
313
|
+
}
|
|
314
|
+
.ftable-toolbarsearch {
|
|
315
|
+
width: 90%;
|
|
316
|
+
min-width: fit-content;
|
|
317
|
+
}
|
|
318
|
+
th.ftable-toolbarsearch-reset {
|
|
319
|
+
text-align: center !important;
|
|
320
|
+
}
|
|
321
|
+
div.ftable-main-container div.ftable-title div.ftable-title-text {
|
|
322
|
+
font-size: 16px;
|
|
323
|
+
font-weight: bold;
|
|
324
|
+
}
|
|
325
|
+
div.ftable-main-container div.ftable-title .ftable-close-button {
|
|
326
|
+
background: url('close.png') no-repeat;
|
|
327
|
+
width: 16px;
|
|
328
|
+
height: 16px;
|
|
329
|
+
}
|
|
330
|
+
div.ftable-main-container table.ftable thead th.ftable-column-header-sortable div.ftable-column-header-container {
|
|
331
|
+
background: url('column-sortable.png') no-repeat right;
|
|
332
|
+
}
|
|
333
|
+
div.ftable-main-container table.ftable thead th.ftable-column-header-sorted-asc div.ftable-column-header-container {
|
|
334
|
+
background: url('column-asc.png') no-repeat right;
|
|
335
|
+
}
|
|
336
|
+
div.ftable-main-container table.ftable thead th.ftable-column-header-sorted-desc div.ftable-column-header-container {
|
|
337
|
+
background: url('column-desc.png') no-repeat right;
|
|
338
|
+
}
|
|
339
|
+
div.ftable-main-container table.ftable tbody > tr > td .ftable-edit-command-button {
|
|
340
|
+
background: url('edit.png') no-repeat;
|
|
341
|
+
width: 16px;
|
|
342
|
+
height: 16px;
|
|
343
|
+
}
|
|
344
|
+
div.ftable-main-container table.ftable tbody > tr > td .ftable-clone-command-button {
|
|
345
|
+
background: url('clone.png') no-repeat;
|
|
346
|
+
width: 16px;
|
|
347
|
+
height: 16px;
|
|
348
|
+
}
|
|
349
|
+
div.ftable-main-container table.ftable tbody > tr > td .ftable-delete-command-button {
|
|
350
|
+
background: url('delete.png') no-repeat;
|
|
351
|
+
width: 16px;
|
|
352
|
+
height: 16px;
|
|
353
|
+
}
|
|
354
|
+
div.ftable-busy-message {
|
|
355
|
+
color: #000;
|
|
356
|
+
background-color: #ddd;
|
|
357
|
+
font-size: 1.25em;
|
|
358
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* These file is a start point for who wants to create a fully custom
|
|
2
|
+
* theme for fTable. ftable_theme_base.less (or css) file is needed
|
|
3
|
+
* for functionality of fTable. This file does not add any color or shape
|
|
4
|
+
* modifications. It just shows how to set icons. You can change them too.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
@import "../ftable_theme_base.less";
|
|
8
|
+
|
|
9
|
+
.ftable_theme_base;
|
|
10
|
+
|
|
11
|
+
div.ftable-main-container
|
|
12
|
+
{
|
|
13
|
+
div.ftable-title
|
|
14
|
+
{
|
|
15
|
+
div.ftable-title-text
|
|
16
|
+
{
|
|
17
|
+
font-size: 16px;
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ftable-close-button
|
|
22
|
+
{
|
|
23
|
+
background: url('close.png') no-repeat;
|
|
24
|
+
width: 16px;
|
|
25
|
+
height: 16px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
table.ftable
|
|
30
|
+
{
|
|
31
|
+
thead
|
|
32
|
+
{
|
|
33
|
+
th
|
|
34
|
+
{
|
|
35
|
+
&.ftable-column-header-sortable div.ftable-column-header-container
|
|
36
|
+
{
|
|
37
|
+
background: url('column-sortable.png') no-repeat right;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.ftable-column-header-sorted-asc div.ftable-column-header-container
|
|
41
|
+
{
|
|
42
|
+
background: url('column-asc.png') no-repeat right;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.ftable-column-header-sorted-desc div.ftable-column-header-container
|
|
46
|
+
{
|
|
47
|
+
background: url('column-desc.png') no-repeat right;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
tbody
|
|
53
|
+
{
|
|
54
|
+
> tr
|
|
55
|
+
{
|
|
56
|
+
> td
|
|
57
|
+
{
|
|
58
|
+
.ftable-edit-command-button
|
|
59
|
+
{
|
|
60
|
+
background: url('edit.png') no-repeat;
|
|
61
|
+
width: 16px;
|
|
62
|
+
height: 16px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.ftable-clone-command-button
|
|
66
|
+
{
|
|
67
|
+
background: url('clone.png') no-repeat;
|
|
68
|
+
width: 16px;
|
|
69
|
+
height: 16px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ftable-delete-command-button
|
|
73
|
+
{
|
|
74
|
+
background: url('delete.png') no-repeat;
|
|
75
|
+
width: 16px;
|
|
76
|
+
height: 16px;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
div.ftable-busy-message
|
|
85
|
+
{
|
|
86
|
+
color: #000;
|
|
87
|
+
background-color: #ddd;
|
|
88
|
+
font-size: 1.25em;
|
|
89
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
div.ftable-main-container{position:relative}div.ftable-main-container div.ftable-title{position:relative;text-align:left}div.ftable-main-container div.ftable-title .ftable-close-button{right:0;top:0;bottom:0;position:absolute}div.ftable-main-container div.ftable-title div.ftable-toolbar{bottom:0;right:0;position:absolute;display:inline-block;margin-right:5px}div.ftable-main-container div.ftable-title div.ftable-toolbar .ftable-toolbar-item{position:relative;display:inline-block;margin:0 0 0 5px;cursor:pointer;font-size:.9em;padding:2px;vertical-align:bottom}div.ftable-main-container div.ftable-title div.ftable-toolbar .ftable-toolbar-item span.ftable-toolbar-item-icon{display:inline-block;margin:2px;vertical-align:middle;width:16px;height:16px}div.ftable-main-container div.ftable-title div.ftable-toolbar .ftable-toolbar-item span.ftable-toolbar-item-text{display:inline-block;margin:2px;vertical-align:middle}div.ftable-main-container div.ftable-title .ftable-close-button+div.ftable-toolbar{margin-right:30px}div.ftable-main-container table.ftable{width:100%}div.ftable-main-container table.ftable thead th{padding:0 3px 0 6px;vertical-align:middle;text-align:left}div.ftable-main-container table.ftable thead th.ftable-column-header{height:1px}div.ftable-main-container table.ftable thead th.ftable-column-header div.ftable-column-header-container{position:relative;display:table;width:100%;height:100%!important}div.ftable-main-container table.ftable thead th.ftable-column-header div.ftable-column-header-container span.ftable-column-header-text{display:table-cell;vertical-align:middle;padding-top:4px;padding-bottom:3px}div.ftable-main-container table.ftable thead th.ftable-column-header div.ftable-column-header-container div.ftable-column-resize-handler{position:absolute;display:table-cell;vertical-align:middle;height:100%;width:8px;right:-8px;z-index:2;cursor:col-resize}div.ftable-main-container table.ftable thead th.ftable-command-column-header{text-align:center}div.ftable-main-container table.ftable thead th.ftable-column-header-select{text-align:center;width:1%}div.ftable-main-container table.ftable thead th.ftable-column-header-select input{cursor:pointer}div.ftable-main-container table.ftable thead th.ftable-column-header-sortable{cursor:pointer}div.ftable-main-container table.ftable tbody tr>td .ftable-command-button{margin:5px;padding:0;cursor:pointer;border:none;display:inline}div.ftable-main-container table.ftable tbody tr>td .ftable-command-button span{display:none}div.ftable-main-container table.ftable tbody tr>td.ftable-command-column{text-align:center;vertical-align:middle}div.ftable-main-container table.ftable tbody tr>td.ftable-selecting-column{text-align:center;vertical-align:middle}div.ftable-main-container table.ftable tbody tr>td.ftable-selecting-column input{cursor:pointer}div.ftable-main-container table.ftable tbody tr.ftable-no-data-row{text-align:center}div.ftable-main-container>div.ftable-bottom-panel{position:relative;min-height:24px;text-align:left}div.ftable-main-container>div.ftable-bottom-panel div.ftable-right-area{right:0;top:0;bottom:0;position:absolute}div.ftable-main-container>div.ftable-bottom-panel .ftable-page-list{display:inline-block}div.ftable-main-container>div.ftable-bottom-panel .ftable-page-list .ftable-page-number,div.ftable-main-container>div.ftable-bottom-panel .ftable-page-list .ftable-page-number-active,div.ftable-main-container>div.ftable-bottom-panel .ftable-page-list .ftable-page-number-first,div.ftable-main-container>div.ftable-bottom-panel .ftable-page-list .ftable-page-number-last,div.ftable-main-container>div.ftable-bottom-panel .ftable-page-list .ftable-page-number-next,div.ftable-main-container>div.ftable-bottom-panel .ftable-page-list .ftable-page-number-previous,div.ftable-main-container>div.ftable-bottom-panel .ftable-page-list .ftable-page-number-space{padding:2px 5px;display:inline-block;cursor:pointer}div.ftable-main-container>div.ftable-bottom-panel .ftable-page-list .ftable-page-number-active,div.ftable-main-container>div.ftable-bottom-panel .ftable-page-list .ftable-page-number-disabled,div.ftable-main-container>div.ftable-bottom-panel .ftable-page-list .ftable-page-number-space{cursor:default}div.ftable-main-container>div.ftable-bottom-panel span.ftable-page-size-change{margin-left:5px}div.ftable-main-container>div.ftable-bottom-panel span.ftable-goto-page{margin-left:5px}div.ftable-main-container>div.ftable-bottom-panel span.ftable-goto-page input[type=text]{width:22px}div.ftable-main-container>div.ftable-bottom-panel span.ftable-page-info{vertical-align:middle}div.ftable-main-container div.ftable-column-resize-bar{opacity:.5;position:absolute;width:1px;background-color:#000}div.ftable-main-container div.ftable-column-selection-container{position:absolute;border:1px solid #c8c8c8;background:#fff;color:#000;z-index:101;padding:5px}div.ftable-main-container div.ftable-column-selection-container ul.ftable-column-select-list{margin:0;padding:0;list-style:none}div.ftable-main-container div.ftable-column-selection-container ul.ftable-column-select-list li{margin:0;padding:2px 0}div.ftable-main-container div.ftable-column-selection-container ul.ftable-column-select-list li label span{position:relative;top:-1px;margin-left:4px}div.ftable-main-container div.ftable-column-selection-container ul.ftable-column-select-list li input[type=checkbox]{cursor:pointer}form.ftable-dialog-form div.ftable-input-field-container{padding:2px 0 3px 0;border-bottom:1px solid #ddd}form.ftable-dialog-form div.ftable-input-field-container:last-child{border:none}form.ftable-dialog-form div.ftable-input-label{padding:2px 3px;font-size:1.1em;color:#666}form.ftable-dialog-form div.ftable-input{padding:2px}form.ftable-dialog-form span.ftable-option-text-clickable{position:relative;top:-2px}form.ftable-dialog-form div.ftable-textarea-input textarea{width:300px;min-height:60px}form.ftable-dialog-form div.ftable-checkbox-input span,form.ftable-dialog-form div.ftable-radio-input span{padding-left:4px}form.ftable-dialog-form div.ftable-checkbox-input input,form.ftable-dialog-form div.ftable-radio-input input,form.ftable-dialog-form span.ftable-option-text-clickable{cursor:pointer}.ftable-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);z-index:1000;display:none}.ftable-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;padding:20px;border-radius:5px;box-shadow:0 2px 10px rgba(0,0,0,.3);z-index:1001;max-width:90%;max-height:90vh;overflow:auto}.ftable-modal-header{margin-bottom:15px;margin-top:0;padding-bottom:10px;border-bottom:1px solid #eee}.ftable-modal-footer{margin-top:15px;padding-top:10px;border-top:1px solid #eee;text-align:right}.ftable-modal-close{position:absolute;top:10px;right:10px;cursor:pointer;font-size:28px;font-weight:700;color:#aaa}.ftable-busy-modal{padding:0}.ftable-dialog-button{opacity:.8;border:1px solid #ccc;padding:5px;margin:5px}.ftable-dialog-button:hover{background-color:#dedede}div.ftable-busy-message{cursor:wait;margin:0}div.ftable-contextmenu-overlay{position:fixed;left:0;top:0;width:100%;height:100%;z-index:100}.ftable-table-div{display:block;overflow-x:auto}.ftable-table-div>table{overflow:hidden}.ftable-toolbarsearch{width:90%;min-width:fit-content}th.ftable-toolbarsearch-reset{text-align:center!important}div.ftable-main-container div.ftable-title div.ftable-title-text{font-size:16px;font-weight:700}div.ftable-main-container div.ftable-title .ftable-close-button{background:url('close.png') no-repeat;width:16px;height:16px}div.ftable-main-container table.ftable thead th.ftable-column-header-sortable div.ftable-column-header-container{background:url('column-sortable.png') no-repeat right}div.ftable-main-container table.ftable thead th.ftable-column-header-sorted-asc div.ftable-column-header-container{background:url('column-asc.png') no-repeat right}div.ftable-main-container table.ftable thead th.ftable-column-header-sorted-desc div.ftable-column-header-container{background:url('column-desc.png') no-repeat right}div.ftable-main-container table.ftable tbody>tr>td .ftable-edit-command-button{background:url('edit.png') no-repeat;width:16px;height:16px}div.ftable-main-container table.ftable tbody>tr>td .ftable-clone-command-button{background:url('clone.png') no-repeat;width:16px;height:16px}div.ftable-main-container table.ftable tbody>tr>td .ftable-delete-command-button{background:url('delete.png') no-repeat;width:16px;height:16px}div.ftable-busy-message{color:#000;background-color:#ddd;font-size:1.25em}
|