aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer/table/table.css
blob: 84c423bec9f2c89ebb1cc67cdb9f0769183883c6 (plain)
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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
/* Table on blue background */
.blue .v-table-header-wrap {
	border-color: #92a2aa;
}
.blue .v-table-body {
	border-color: #92a2aa;
	border-top-color: #c2c3c4;
}

/* Default & white style */
.v-table-header-wrap,
.white .v-table-header-wrap,
.v-table-footer-wrap,
.white .v-table-footer-wrap {
	border-color: #c2c3c4;
	background: transparent repeat-x;
	background-image: url(img/header-bg-light.png); /** sprite-ref: verticals; sprite-alignment: repeat */
	height: 20px;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: bold;
	color: #222;
	text-shadow: #f3f5f8 0 1px 0;
	line-height: normal;
}

.v-ie6 .v-table,
.v-ie6 .v-table-header-wrap,
.v-ie6 .v-table-footer-wrap,
.v-ie6 .v-table-column-selector{
	/* The header will overflow the Table due to a bug in IE6 after changes in #3003. To fix this (#7314) 
	 * we need to apply position:relative to the wrappers and selector to make them appear on top of the 
	 * header. We also need to apply it to the table root div to get rid of a really wierd IE6 rendering bug
	 * caused by all this relativeness (see attachment in #7314).  
	 */
	position:relative;
}

.v-ie6 .v-table.v-disabled,
.v-ie7 .v-table.v-disabled{
	/* Fixes ie issue #7324 where disabled shim does not cover table body */ 
	position:relative;
}

.v-table-footer-wrap,
.white .v-table-footer-wrap {
	text-transform: none;
	font-size: 12px;
	font-weight: normal;
}

.v-table-footer td,
.white .v-table-footer td {
	border-color: #c2c3c4;
}

.v-table-footer-container {
	padding-right: 7px;
}


.v-table-header,
.v-table-footer,
.v-table-footer table {
	height: 20px;
}

.v-table-caption-container {
	heigth: 16px;
	padding-top: 4px;
	padding-right: 4px;
}
.v-table-caption-container .v-icon {
	height: 16px;
	margin: -4px 3px 0 0;
	vertical-align: middle;
}
.v-ie .v-table-caption-container .v-icon {
	margin-top: -3px;
}
.v-table-footer-container {
	heigth: 16px;	
}
.v-table-resizer {
	height: 20px;
	width: 2px;
	background: transparent;
	border-right: 1px solid #c2c3c4;
}

.v-table-sort-indicator {
	background: transparent;
	width: 0px;
	height: 20px;
}

.v-table-header-cell-asc .v-table-sort-indicator {
	background: transparent no-repeat right 7px;
	background-image: url(img/asc-light.png); /** sprite-ref: verticals; sprite-alignment: right; sprite-margin-top: 7px; sprite-margin-bottom: 6px; sprite-margin-right: 6px; */
	width: 16px;
}
.v-table-header-cell-desc .v-table-sort-indicator {
	background: transparent no-repeat right 7px;
	background-image: url(img/desc-light.png); /** sprite-ref: verticals; sprite-alignment: right; sprite-margin-top: 7px; sprite-margin-bottom: 6px; sprite-margin-right: 6px; */
	width: 16px;
}
.v-table-body,
.white .v-table-body {
	border-color: #c2c3c4;
	background: #fff;
}
.v-table-cell-content {
	padding-top: 0;
	border-right-color: #d3d4d5;
	vertical-align: top;
}
.v-table-cell-wrapper {
	padding-top: 3px;
	padding-bottom: 3px;
}
.v-table-row-odd {
	background: #eff0f1;
}
.v-table-cell-content:last-child {
	border-right-color: transparent;
}
.v-table .v-selected,
.black .v-table .v-selected {
	background: #4d749f url(../common/img/sel-bg.png) repeat-x; /* We can't include this in the sprite, since we don't know the row height */
	color: #fff;
	text-shadow: #3b5a7a 0 1px 0;
}
.v-table .v-selected .v-table-cell-content {
	border-right-color: #466c90;
}
.v-table-column-selector {
	width: 16px;
	height: 20px;
	margin-top: -20px;
	background: transparent no-repeat;
	background-image: url(img/col-sel-light.png); /** sprite-ref: verticals */
}
.v-table-column-selector:active {
	background-image: url(img/col-sel-light-pressed.png); /** sprite-ref: verticals */
}
.v-table-focus-slot-left {
	border-left-color: #222;
	margin-left: 0;
}
.v-table-focus-slot-right {
	border-right-color: #222;
	margin-right: 0;
}
.v-table-header-drag {
	font-family: arial, helvetica, verdana, sans-serif;
	background: transparent repeat-x;
	background-image: url(img/header-bg-light.png); /** sprite-ref: verticals; sprite-alignment: repeat */
	padding: 4px;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: bold;
	color: #222;
	text-shadow: #fff 0 1px 0;
	line-height: normal;
}
.v-table-header-drag * {
	vertical-align: middle;
}
.v-table-header-drag img {
	height: 16px;
	margin: -3px 3px 0 0;
}
.v-table-scrollposition {
	width: auto;
	background: transparent;
	border: none;
}
.v-table-scrollposition span {
	background: transparent repeat-x;
	background-image: url(img/scroll-indic-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
	border: 1px solid #939494;
	border: none;
	border-radius-bottomleft: 4px;
	border-radius-bottomright: 4px;
	-moz-border-radius-bottomleft: 4px;
	-moz-border-radius-bottomright: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	height: 13px;
	padding: 4px 30px;
	white-space: nowrap;
	color: #222;
	text-shadow: #fff 0 1px 0;
	position: relative;
	top: 1px;
	-webkit-box-shadow: rgba(0,0,0,.5) 0 1px 2px;
	-moz-box-shadow: rgba(0,0,0,.5) 0 1px 2px;
}
.v-table-borderless .v-table-scrollposition span {
	top: 0;
}
/* row in column selector */
.v-contextmenu .v-on,
.v-contextmenu .v-off {
	display: inline-block;
	zoom: 1;
	background: transparent no-repeat 0 4px;
	background-image: url(../common/icons/bullet.png); /** sprite-ref: verticals; sprite-margin-top: 4px; sprite-margin-bottom: 4px */
	padding-left: 12px;
	padding-right: 4px;
}
.v-contextmenu .v-off {
	background-image: none;
	color: #666;
}
.v-contextmenu .gwt-MenuItem-selected .v-on {
	background-image: url(../common/icons/bullet-white.png); /** sprite-ref: verticals; sprite-margin-top: 4px; sprite-margin-bottom: 5px */
}


/* Strong style */
.v-table-strong .v-table-header-wrap {
	border-color: #2b3033;
	border-top-color: #2b3033;
	background-image: url(img/header-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
	color: #e7e9ea;
	text-shadow: #000 0 -1px 0;
}
.v-table-strong .v-table-body {
	border-top-color: #2b3033;
}
.v-table-strong .v-table-resizer {
	border-right-color: #1c1f21;
}
.v-table-strong .v-table-header-cell-asc .v-table-sort-indicator {
	background-image: url(img/asc.png); /** sprite-ref: verticals; sprite-alignment: right; sprite-margin-top: 7px; sprite-margin-bottom: 6px; sprite-margin-right: 6px; */
}
.v-table-strong .v-table-header-cell-desc .v-table-sort-indicator {
	background-image: url(img/desc.png); /** sprite-ref: verticals; sprite-alignment: right; sprite-margin-top: 7px; sprite-margin-bottom: 6px; sprite-margin-right: 6px; */
}
.v-table-strong .v-table-column-selector {
	background-image: url(img/col-sel.png); /** sprite-ref: verticals */
}
.v-table-strong .v-table-column-selector:active {
	background-image: url(img/col-sel-pressed.png); /** sprite-ref: verticals */
}
.v-table-strong .v-table-header-drag {
	background-image: url(img/header-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
	color: #e7e9ea;
	text-shadow: #000 0 -1px 0;
}
.v-table-strong .v-table-focus-slot-left,
.v-table-strong .v-table-focus-slot-right {
	border-color: #9ca1a5;
}


/* Table on black background (normal style) */
.black .v-table-header-wrap {
	border-color: #252729;
	background-image: url(img/header-bg-black.png); /** sprite-ref: black-verticals; sprite-alignment: repeat */
	color: #e7eaee;
	text-shadow: #000 0 -1px 0;
}
.black .v-table-resizer {
	border-right-color: #252729;
}
.black .v-table-header-cell-asc .v-table-sort-indicator {
	background-image: url(img/asc.png); /** sprite-ref: black-verticals; sprite-alignment: right; sprite-margin-top: 7px; sprite-margin-bottom: 6px; sprite-margin-right: 6px; */
}
.black .v-table-header-cell-desc .v-table-sort-indicator {
	background-image: url(img/desc.png); /** sprite-ref: black-verticals; sprite-alignment: right; sprite-margin-top: 7px; sprite-margin-bottom: 6px; sprite-margin-right: 6px; */
}
.black .v-table-column-selector {
	background-image: url(img/col-sel-black.png); /** sprite-ref: black-verticals */
}
.black .v-table-column-selector:active {
	background-image: url(img/col-sel-black-pressed.png); /** sprite-ref: black-verticals */
}
.black .v-table-header-drag {
	background-image: url(img/header-bg-black.png); /** sprite-ref: black-verticals; sprite-alignment: repeat */
	color: #e7eaee;
	text-shadow: #000 0 -1px 0;
}
.black .v-table-focus-slot-left,
.black .v-table-focus-slot-right {
	border-color: #9ca1a5;
}
.black .v-table-body {
	border-color: #252729;
	background: transparent;
}
.black .v-table-cell-content {
	border-right-color: #252729;
	border-bottom: 1px solid #252729;
}
.black .v-table-cell-wrapper {
	padding-bottom: 2px;
}
.black .v-table-row-odd {
	background: transparent;
}
/* Selection background-color combined with default style selector, so we don't have to duplicate the sprite image in the final sprite collection */
.black .v-table .v-selected .v-table-cell-content {
	border-bottom: 1px solid #4d749f;
}


/* Borderless style */
.v-table-borderless .v-table-header-wrap,
.v-table-borderless .v-table-body {
	border: none;
}