summaryrefslogtreecommitdiff
path: root/qpid/tools/src/java/bin/qpid-web/web/itablet/css/itablet-ie6.css
blob: d5bb6e349adb243b2c94e6035538eeee66fe6302 (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
/**
 * Stylesheet to try and make things look not *too* bad in IE6 and below. Supporting IE6 really is a nightmare :-(
 */

/* Needed to get rid of annoying "permanent" IE6 scrollbar. */
html
{
    overflow: hidden;
}

/* Explicitly setting height to 100% avoids some evil IE6 layout bugs */
html, .sidebar, .main, .popup-window, .popup-container, .popup, .scroll-area
{
    height: 100%;
}

/* Explicitly setting width to 100% avoids some evil IE6 layout bugs */
ul.list, .popup, .scroll-area
{
    width: 100%;
}

#sidebar-wrapper /* Make sure IE "hasLayout" is enabled by doing zoom: 1. */
{
    zoom: 1;
}

/* IE6 doesn't support color: inherit so we have to set it explicitly. */
ul li.grey a /* Grey text generally used to show inactive fields */
{
	color: #8f8f8f;
}

ul li a
{
	color: #060606;
}

ul li.active a
{
	color: #fff;
}

/* IE6 form has a default non-zero margin, so we need to zero it. */
form
{
    margin: 0;
}

.sidebar .scroll-area
{
    border-right: 1px solid #000;
}

ul.list li.first-child
{
	border-top: 1px groove #fff;
}

ul.list li.last-child
{
	border-bottom: 2px groove #fff;
}

ul.list li a p
{
    right: 0;
}

ul.list li.arrow a p, ul.list li.multiline a div p
{
    right: 18px;
}


ul.list li.multiline a.icon p, ul.list li.multiline a.icon div p
{
    right: 4px;
}

/**
 * white-space: nowrap; doesn't work especially well in IE6, so we set it to normal and constrain height.
 * Unfortunately with the approach below ellipses aren't displayed, but it's the lesser of the evils.
 * white-space: nowrap; does seem to work with an explicit width set, but doing that breaks loads of other things.
 */
ul li a p.sub, ul li a p.title
{
    white-space: normal;
}

ul li a p.title, ul li a p.sub
{
    height: 16px;
}

/* For IE6 we need to use a GIF instead of a PNG to make the input background transparent but still receive events. */
input, textarea
{
    background: url(/itablet/images/ie/transparent.gif) repeat;
}

/**
 * For IE6 button :before and :after don't work so we have to resort to some JavaScript to add extra classes and tags
 * IE6 doesn't support PNG images with alpha transparency, so we use gifs, which are OK but a littly more jagged.
 */

a.button
{
    background: url(/itablet/images/ie/button-sprite.gif) 0px -30px repeat-x;
}

a.button .before
{
    position: absolute;
    top: 0;
    left: -5px;
    width: 5px;
    height: 30px;
    background: url(/itablet/images/ie/button-sprite.gif) -18px 0;
}

a.button .after
{
    position: absolute;
    top: 0;
    right: -5px;
    width: 5px;
    height: 30px;
    background: url(/itablet/images/ie/button-sprite.gif) -13px 0;
}

a.button:active
{
    background-color: #766d69;
    background-position: 0px -60px;
}

a.button:active .before
{
    background-position: -41px 0;
}

a.button:active .after
{
    background-position: -36px 0;
}

a.button.back .before
{
    position: absolute;
    left: -13px;
    width: 13px;
    height: 30px;
    background-position: 0 0;
}

a.button.back:active .before
{
    background-position: -23px 0;
}

a.button.blue
{
    background: url(/itablet/images/ie/blue-button-sprite.gif) 0px -30px repeat-x;
}

a.button.blue .before
{
    background: url(/itablet/images/ie/blue-button-sprite.gif) -18px 0;
}

a.button.blue .after
{
    background: url(/itablet/images/ie/blue-button-sprite.gif) -13px 0;
}

a.button.blue-back .before
{
    background-position: 0 0;
}

a.button.blue:active
{
    background-color: #6b6f76;
    background-position: 0px -60px;
}

a.button.blue:active .before
{
    background-position: -41px 0;
}

a.button.blue:active .after
{
    background-position: -36px 0;
}

a.button.blue-back:active .before
{
    background-position: -23px 0;
}

.popup-window
{
    background: url(/itablet/images/ie/transparent.gif);
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/itablet/images/ie/transparent.png', sizingMethod='scale');
}

.popup-window.smoked
{
    background: url(/itablet/images/ie/transparent.gif);
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/itablet/images/ie/smoked.png', sizingMethod='scale');
}

div.mask
{
    background: url(/itablet/images/ie/transparent.gif);
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/itablet/images/mask.png', sizingMethod='crop');
}

div.onoff
{
    background: url(/itablet/images/ie/transparent.gif);
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/itablet/images/on_off.png', sizingMethod='crop');
}

/**
 * Unfortunately AlphaImageLoader doesn't play nicely with alignment and these images need to be right aligned.
 * Fortunately the single level of transparency allowed by gif images is good enough and only a little granier.
 */

ul.list li.arrow.radio
{
    background: #f7f7f7;
}

ul.list li.radio label
{
    padding: 0 11px 0 11px; /* top right bottom left */
}

ul li.active, ul.list li.radio.active, ul.list li.radio.ie6-checked-active /* Highlight in blue with white text */
{
    background: #035de7;
}

ul li.arrow
{
    background: url(/itablet/images/ie/chevron.gif) no-repeat right;
}

ul.list li.arrow
{
    background: #f7f7f7 url(/itablet/images/ie/chevron.gif) no-repeat right;
}

ul li.ie6-arrow-active, ul.list li.ie6-arrow-active
{
    background: #035de7 url(/itablet/images/ie/chevron-active.gif) no-repeat right;
}

ul.list li.radio.checked label
{
    background: url(/itablet/images/ie/tick.gif) no-repeat right;
}

ul.list li.radio.ie6-checked-active label
{
    background: url(/itablet/images/ie/tick-active.gif) no-repeat right;
}

ul.list li.ie6-radio-arrow
{
    background: #f7f7f7 url(/itablet/images/ie/blue-chevron.gif) no-repeat right;
}

ul.list li.ie6-radio-arrow label
{
    padding: 0 11px 0 32px; /* top right bottom left */
}

ul.list li.ie6-radio-arrow a
{
    height: 0;
    width: 0;
}

ul.list li.ie6-checked-arrow label
{
    background: url(/itablet/images/ie/tick.gif) no-repeat 11px;
}

ul.list li.ie6-radio-arrow-active, ul.list li.ie6-checked-arrow-active
{
    background: #035de7 url(/itablet/images/ie/blue-chevron.gif) no-repeat right;
}

ul.list li.ie6-checked-arrow-active label
{
	background: url(/itablet/images/ie/tick-active.gif) no-repeat 11px;
}