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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
|
/* Table theme building instructions
*
* Toolkit scroll table is very complex widget with dozens of features. These
* features set some limitations for theme builder. To keep things working, it
* is safest to try to just override values used in default theme and comfort to
* these instructions.
*
*
* Table cells in body:
* - padding/border for cells is to be defined for td elements (class name: .i-table-cell-content)
* - in default theme there are no borders, but they should work. Just set border-right or border-bottom
* - no padding or border is allowed for div inside cells (class name : .i-table-cell-wrapper) element
* - background is allowed for both elements
*
* Table headers:
* - table cells in header contain .i-table-resizer and
* .i-table-caption-container div elements, which are both floated to right
* - to align header caption to body content resizer width + .i-table-caption-container
* padding right should be equal to content cells padding-right and border-right.
* - Possible cell border in header must be themed into column resizer.
*
*/
.i-table {
overflow: hidden;
text-align: left /* Force default alignment */
}
.i-table.table-inline .i-table-header-wrap {
border-left: none;
border-right: none;
/*margin: -16px -18px 0 -18px;*/
}
.i-table-header-wrap {
height: 36px;
background: #e7edf3 url(img/header-bg.png) repeat-x;
border: 1px solid #b6bbbc;
border-bottom: none;
overflow: hidden;
}
.i-table-header {
height: 36px;
}
.i-table-header table,
.i-table-table {
margin: 0;
padding: 0;
border: 0;
border-spacing:0;
}
.i-table-header td {
margin: 0;
padding: 0;
border: 0;
}
.i-table-header td {
cursor: pointer;
}
.i-table-resizer {
display: block;
height: 36px;
width:4px;
float: right;
background: transparent url(img/resizer-bg.png) repeat-y 50% 50%;
cursor: col-resize;
}
.i-table-caption-container {
float: right;
overflow: hidden;
white-space: nowrap;
color: #393a3c;
font-size: 15px;
padding-top: 9px;
text-shadow: #ffffff 2px 2px 0;
/* To align captions and content to same place resizer width + caption
* container padding-right must be equal to table cell
* padding-right + border-righ
*/
padding-right:2px;
}
.i-table-header-cell-asc .i-table-caption-container {
background: transparent url(img/sort-asc.png) no-repeat right 80%;
}
.i-table-header-cell-desc .i-table-caption-container {
background: transparent url(img/sort-desc.png) no-repeat right 80%;
}
.i-table-header-cell:hover,
.i-table-header-cell-asc:hover,
.i-table-header-cell-desc:hover {
background: transparent url(img/header-bg-over.png) repeat-x;
}
.i-table-body {
background: #fff;
border: 1px solid #b6bbbc;
}
.i-table-row-spacer {
height: 10px;
overflow: hidden; /* IE hack to allow < one line height divs */
}
.i-table-row,
.i-table-row-odd {
border: 0;
margin: 0;
padding: 0;
background-color: #fff;
cursor: default;
}
.i-table-row-odd {
background-color: #f6f7f7;
}
.i-table-row:hover,
.i-table-row-odd:hover {
background-color: #edeeee;
}
.i-table .i-selected {
background: #57a7ed;
color: #fff;
}
.i-table-cell-content {
padding-top: 3px;
padding-left: 3px;
padding-right: 6px;
}
.i-table-cell-wrapper {
white-space: nowrap;
overflow: hidden;
line-height: 23px;
}
/* Fix textfield size to correspond label size inside table */
.i-table-cell-content .i-textfield,
.i-table-cell-content .i-button {
margin: -2px 0 -2px -3px;
}
.i-table-cell-content .i-textfield,
.i-table-cell-content .i-datefield {
width: 97%; /* approximate */
}
/* ...but not for datefield textarea */
.i-table-cell-content .i-datefield .i-textfield {
width: auto;
}
/* datefield button is too high for table cell */
.i-table-cell-content .i-datefield-button {
height: 25px;
margin: -2px 0;
}
.i-table-column-selector {
float: right;
background: transparent url(img/colsel.png) no-repeat;
margin: -36px 0 0 0;
height: 36px;
width: 15px;
position: relative; /* hide this from IE, it works without it */
}
* html .i-table-column-selector {
position: static;
}
*+html .i-table-column-selector {
position: static;
}
.i-table-focus-slot-left {
border-left: 2px solid #b6bbbc;
margin-right: -2px;
}
.i-table-focus-slot-right {
border-right: 2px solid #b6bbbc;
margin-left: -2px;
}
.i-table-header-drag {
position: absolute;
background: #e7edf3 url(img/header-bg.png) repeat-x;
border: 1px solid #b6bbbc;
padding: 4px;
font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
color: #464f52;
font-size: 15px;
opacity: 0.5;
filter: alpha(opacity=50);
margin-top: 20px;
z-index: 20000;
}
.i-table-scrollposition {
width: 160px;
height: 39px;
background: transparent url(img/scroll-position-bg.png);
}
.i-table-scrollposition span {
display: block;
margin-top: 8px;
text-align: center;
font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
color: #464f52;
font-size: 15px;
text-shadow: #ffffff 2px 2px 0;
}
/* row in column selector */
.i-on div {
background: transparent url(img/check.gif) no-repeat 2px 50%;
text-indent: 6px;
}
.i-off div {
text-indent: 6px;
}
.i-table .i-link {
display: inline;
}
/* IE6 hack */
* html .i-table-scrollposition {
background: transparent;
/*
AlphaImageLoader uses src attribute relative to host page, not CSS
We need multiple different filters because we cannot be sure how host page is served compared to theme resources
TODO: This actually does not work as expected, since only the last filter is applied.
*/
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../ITMILL/themes/default/table/img/scroll-position-bg.png", sizingMethod="scale");
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../ITMILL/themes/default/table/img/scroll-position-bg.png", sizingMethod="scale");
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="ITMILL/themes/default/table/img/scroll-position-bg.png", sizingMethod="scale");
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/ITMILL/themes/default/table/img/scroll-position-bg.png", sizingMethod="scale");
}
|