1
|
1 |
/*******************************************************************************
|
|
2 |
* Copyright (c) 2006 IBM Corporation and others.
|
|
3 |
* All rights reserved. This program and the accompanying materials
|
|
4 |
* are made available under the terms of the Eclipse Public License v1.0
|
|
5 |
* which accompanies this distribution, and is available at
|
|
6 |
* http://www.eclipse.org/legal/epl-v10.html
|
|
7 |
*
|
|
8 |
* Contributors:
|
|
9 |
* IBM Corporation - initial API and implementation
|
|
10 |
*******************************************************************************/
|
|
11 |
|
|
12 |
/*
|
|
13 |
* Set up general font colours, sizes, etc. Some of these will override
|
|
14 |
* settings from the shared CSS
|
|
15 |
*/
|
|
16 |
.intro-header H1 {
|
|
17 |
font-size : 18pt;
|
|
18 |
}
|
|
19 |
|
|
20 |
/* Hide the extra div for links in the normal state. */
|
|
21 |
a .link-extra-div {
|
|
22 |
display: none;
|
|
23 |
}
|
|
24 |
|
|
25 |
/* Link label properties */
|
|
26 |
#page-links a .link-label {
|
|
27 |
margin-left: 7px;
|
|
28 |
position: relative;
|
|
29 |
top: -1.2em;
|
|
30 |
font-size : 12.5pt;
font-weight : 600;
|
|
31 |
padding-left: 15px;
|
|
32 |
padding-right: 10px;
|
|
33 |
margin-bottom: -1.2pm;
|
|
34 |
}
|
|
35 |
|
|
36 |
#page-links a#overview .link-label {
|
|
37 |
margin-left: 8px;
|
|
38 |
}
|
|
39 |
|
|
40 |
#page-links a#workbench .link-label {
|
|
41 |
padding-left: 5px;
|
|
42 |
margin-left: 5px;
|
|
43 |
}
|
|
44 |
|
|
45 |
/* Link description properties */
|
|
46 |
#page-links a p .text {
|
|
47 |
margin-left: 3px;
|
|
48 |
position: relative;
|
|
49 |
top: -1.6em;
|
|
50 |
padding-top: 5px;
|
|
51 |
padding-left: 9px;
|
|
52 |
padding-right: 10px;
|
|
53 |
margin-bottom: -1.6em;
|
|
54 |
font-size : 11pt;
font-weight : 500;
|
|
55 |
padding-bottom: 5px;
|
|
56 |
background-image: url("../graphics/icons/ctool/root_midhov2.gif");
|
|
57 |
background-repeat: repeat-y;
|
|
58 |
}
|
|
59 |
|
|
60 |
#page-links a#overview p .text {
|
|
61 |
margin-left: 5px;
|
|
62 |
}
|
|
63 |
|
|
64 |
#page-links a#workbench p .text {
|
|
65 |
margin-left: -10px;
|
|
66 |
}
|
|
67 |
|
|
68 |
/* Some differences between Mozilla and IE here */
|
|
69 |
|
|
70 |
#page-links a#workbench > p .text {
|
|
71 |
margin-left: -10px;
|
|
72 |
}
|
|
73 |
|
|
74 |
|
|
75 |
/*
|
|
76 |
* Set up the content for the root page.
|
|
77 |
*/
|
|
78 |
html, body {
|
|
79 |
|
|
80 |
|
|
81 |
background-image : url("../graphics/rootpage/welcomebckgrd.jpg");
background-repeat : no-repeat;
background-position : center center;
|
|
82 |
background-attachment : fixed;
|
|
83 |
overflow : auto;
|
|
84 |
overflow-clip: rect(0, auto, auto, 0);
|
|
85 |
background-color : #345365;
|
|
86 |
}
|
|
87 |
#root {
|
|
88 |
min-height : 450px;
|
|
89 |
height : expression(document.body.clientHeight < 450? "450px": "100%" );
|
|
90 |
|
|
91 |
min-width : 940px;
|
|
92 |
width:expression(document.body.clientWidth < 940? "940px": "auto" );
|
|
93 |
|
|
94 |
overflow: hidden;
|
|
95 |
}
|
|
96 |
|
|
97 |
#branding {
|
|
98 |
position: absolute;
|
|
99 |
bottom : 20px;
|
|
100 |
left : 20px;
|
|
101 |
}
|
|
102 |
|
|
103 |
/*
|
|
104 |
* Set up the navigation bar. It should be centered in the middle
|
|
105 |
* of the page
|
|
106 |
*/
|
|
107 |
#links-background {
|
|
108 |
/*
|
|
109 |
width : 100%;
|
|
110 |
*/
|
|
111 |
position: absolute;
|
|
112 |
top: 50%;
|
|
113 |
left: 50%;
|
|
114 |
text-align : center;
|
|
115 |
}
|
|
116 |
|
|
117 |
#page-links {
|
|
118 |
position : relative;
|
|
119 |
left : 0px;
|
|
120 |
top : 0x;
|
|
121 |
}
|
|
122 |
|
|
123 |
#page-links a {
|
|
124 |
position : absolute;
|
|
125 |
text-align : left;
|
|
126 |
padding-bottom: 2px;
|
|
127 |
}
|
|
128 |
|
|
129 |
/* Position root links using absolute coordinates */
|
|
130 |
#page-links a img {
|
|
131 |
height : 103px;
|
|
132 |
width : 103px;
|
|
133 |
}
|
|
134 |
|
|
135 |
#page-links a:hover img {
|
|
136 |
width : 215px;
|
|
137 |
height : 84px;
|
|
138 |
}
|
|
139 |
|
|
140 |
#page-links a#overview {
|
|
141 |
left: -443px;
|
|
142 |
top: -188px;
|
|
143 |
}
|
|
144 |
|
|
145 |
#page-links a#overview:hover {
|
|
146 |
left: -444px;
|
|
147 |
}
|
|
148 |
|
|
149 |
#page-links a#overview img {
|
|
150 |
width : 141px;
|
|
151 |
height : 154px;
|
|
152 |
}
|
|
153 |
|
|
154 |
#page-links a#overview:hover img {
|
|
155 |
width : 217px;
|
|
156 |
height : 99px;
|
|
157 |
}
|
|
158 |
|
|
159 |
#page-links a#workbench img {
|
|
160 |
width : 107px;
|
|
161 |
height : 103px;
|
|
162 |
}
|
|
163 |
|
|
164 |
#page-links a#workbench:hover img {
|
|
165 |
width : 202px;
|
|
166 |
height : 84px;
|
|
167 |
}
|
|
168 |
|
|
169 |
/* Absolute positions of root links */
|
|
170 |
|
|
171 |
#page-links a#whatsnew {
|
|
172 |
left: -292px;
|
|
173 |
top: -82px;
|
|
174 |
}
|
|
175 |
|
|
176 |
#page-links a#tutorials {
|
|
177 |
left: -11px;
|
|
178 |
top: 104px;
|
|
179 |
}
|
|
180 |
|
|
181 |
#page-links a#samples {
|
|
182 |
left: -199px;
|
|
183 |
top: 104px;
|
|
184 |
}
|
|
185 |
|
|
186 |
#page-links a#firststeps {
|
|
187 |
left: -105px;
|
|
188 |
top: -82px;
|
|
189 |
}
|
|
190 |
|
|
191 |
#page-links a#webresources {
|
|
192 |
left: 82px;
|
|
193 |
top: 11px;
|
|
194 |
}
|
|
195 |
|
|
196 |
#page-links a#migrate {
|
|
197 |
left: 269px;
|
|
198 |
top: 104px;
|
|
199 |
}
|
|
200 |
|
|
201 |
#page-links a#workbench {
|
|
202 |
left: 366px;
|
|
203 |
top: -82px;
|
|
204 |
}
|
|
205 |
|
|
206 |
#page-links a:hover#workbench,
|
|
207 |
#page-links a:focus#workbench,
|
|
208 |
#page-links a:active#workbench {
|
|
209 |
left: 271px;
|
|
210 |
}
|
|
211 |
|
|
212 |
/* Paint bottom edge of the text box as a background image */
|
|
213 |
|
|
214 |
#page-links a:hover,
|
|
215 |
#page-links a:focus,
|
|
216 |
#page-links a:active {
|
|
217 |
background-image: url("../graphics/icons/ctool/root_bottomhov.gif");
|
|
218 |
background-repeat: no-repeat;
|
|
219 |
background-position: bottom left;
|
|
220 |
z-index: 20;
|
|
221 |
}
|
|
222 |
|
|
223 |
#page-links a#overview:hover,
|
|
224 |
#page-links a#overview:focus,
|
|
225 |
#page-links a#overview:active {
|
|
226 |
background-image: url("../graphics/icons/ctool/overview_bottomhov.gif");
|
|
227 |
}
|
|
228 |
|
|
229 |
#page-links a#workbench:hover,
|
|
230 |
#page-links a#workbench:focus,
|
|
231 |
#page-links a#workbench:active {
|
|
232 |
background-image: url("../graphics/icons/ctool/workbench_bottomhov.gif");
|
|
233 |
background-position: bottom left;
|
|
234 |
}
|
|
235 |
|
|
236 |
#page-links > a#workbench:hover,
|
|
237 |
#page-links > a#workbench:focus,
|
|
238 |
#page-links > a#workbench:active {
|
|
239 |
background-position: bottom 2px;
|
|
240 |
}
|
|
241 |
|
|
242 |
|
|
243 |
/* Hide the link label in the normal state */
|
|
244 |
#page-links a .link-label,
|
|
245 |
#page-links a .text {
|
|
246 |
display : none;
|
|
247 |
}
|
|
248 |
|
|
249 |
/* Show the link label and link text as block on hover */
|
|
250 |
|
|
251 |
#page-links a:hover .link-label,
|
|
252 |
#page-links a:focus .link-label,
|
|
253 |
#page-links a:active .link-label {
|
|
254 |
display : block;
|
|
255 |
z-index: 40;
|
|
256 |
}
|
|
257 |
|
|
258 |
#page-links a:hover p .text,
|
|
259 |
#page-links a:focus p .text,
|
|
260 |
#page-links a:active p .text {
|
|
261 |
display : block;
|
|
262 |
z-index: 35;
|
|
263 |
}
|
|
264 |
|
|
265 |
#page-links a:hover .link-label,
|
|
266 |
#page-links a:focus .link-label,
|
|
267 |
#page-links a:active .link-label {
|
|
268 |
width: 202px;
|
|
269 |
}
|
|
270 |
|
|
271 |
#page-links a:hover p .text,
|
|
272 |
#page-links a:focus p .text,
|
|
273 |
#page-links a:active p .text {
|
|
274 |
width: 202px;
|
|
275 |
}
|
|
276 |
|
|
277 |
#page-links a:hover > .link-label,
|
|
278 |
#page-links a:focus > .link-label,
|
|
279 |
#page-links a:active > .link-label {
|
|
280 |
width: 192px;
|
|
281 |
}
|
|
282 |
|
|
283 |
#page-links a:hover > p .text,
|
|
284 |
#page-links a:focus > p .text,
|
|
285 |
#page-links a:active > p .text {
|
|
286 |
width: 192px;
|
|
287 |
}
|
|
288 |
|
|
289 |
#page-links a#workbench:hover .link-label,
|
|
290 |
#page-links a#workbench:focus .link-label,
|
|
291 |
#page-links a#workbench:active .link-label {
|
|
292 |
width: 202px;
|
|
293 |
}
|
|
294 |
|
|
295 |
#page-links a#workbench:hover p .text,
|
|
296 |
#page-links a#workbench:focus p .text,
|
|
297 |
#page-links a#workbench:active p .text {
|
|
298 |
width: 202px;
|
|
299 |
}
|
|
300 |
|
|
301 |
#page-links a#workbench:hover > .link-label,
|
|
302 |
#page-links a#workbench:focus > .link-label,
|
|
303 |
#page-links a#workbench:active > .link-label {
|
|
304 |
width: 182px;
|
|
305 |
}
|
|
306 |
|
|
307 |
#page-links a#workbench:hover p > .text,
|
|
308 |
#page-links a#workbench:focus p > .text,
|
|
309 |
#page-links a#workbench:active p > .text {
|
|
310 |
width: 193px;
|
|
311 |
}
|
|
312 |
|
|
313 |
#page-links a .background-image {
|
|
314 |
display: none;
|
|
315 |
}
|
|
316 |
|
|
317 |
#page-links a .link-extra-div {
|
|
318 |
display :none;
|
|
319 |
}
|
|
320 |
|
|
321 |
#page-links a:hover .link-extra-div {
|
|
322 |
z-index: -100;
|
|
323 |
display: block;
|
|
324 |
font-size : 13pt;
|
|
325 |
font-weight : 600;
|
|
326 |
position: absolute;
|
|
327 |
left: 13px;
|
|
328 |
width: 201px;
|
|
329 |
height: 1em;
|
|
330 |
top: 84px;
|
|
331 |
background-image: url("../graphics/icons/ctool/root_midhov2.gif");
|
|
332 |
background-repeat: repeat-y;
|
|
333 |
}
|
|
334 |
|
|
335 |
#page-links a:hover#overview .link-extra-div {
|
|
336 |
top: 99px;
|
|
337 |
left: 15px;
|
|
338 |
}
|
|
339 |
|
|
340 |
#page-links a:hover#workbench .link-extra-div {
|
|
341 |
left: 0px;
|
|
342 |
}
|
|
343 |
|
|
344 |
/* Link images */
|
|
345 |
#page-links a#overview .content-img { background-image : url("../graphics/icons/ctool/overview.gif"); }
|
|
346 |
#page-links a:hover#overview .content-img { background-image : url("../graphics/icons/ctool/overview_tophov.gif"); }
|
|
347 |
|
|
348 |
#page-links a#tutorials .content-img { background-image : url("../graphics/icons/ctool/tutorials.gif"); }
|
|
349 |
#page-links a:hover#tutorials .content-img { background-image : url("../graphics/icons/ctool/tutorials_tophov.gif"); }
|
|
350 |
|
|
351 |
#page-links a#samples .content-img { background-image : url("../graphics/icons/ctool/samples.gif"); }
|
|
352 |
#page-links a:hover#samples .content-img { background-image : url("../graphics/icons/ctool/samples_tophov.gif"); }
|
|
353 |
|
|
354 |
#page-links a#whatsnew .content-img { background-image : url("../graphics/icons/ctool/whatsnew.gif"); }
|
|
355 |
#page-links a:hover#whatsnew .content-img { background-image : url("../graphics/icons/ctool/whatsnew_tophov.gif"); }
|
|
356 |
|
|
357 |
#page-links a#firststeps .content-img { background-image : url("../graphics/icons/ctool/firststeps.gif"); }
|
|
358 |
#page-links a:hover#firststeps .content-img { background-image : url("../graphics/icons/ctool/firststeps_tophov.gif"); }
|
|
359 |
|
|
360 |
#page-links a#migrate .content-img { background-image : url("../graphics/icons/ctool/migrate.gif"); }
|
|
361 |
#page-links a:hover#migrate .content-img { background-image : url("../graphics/icons/ctool/migrate_tophov.gif"); }
|
|
362 |
|
|
363 |
#page-links a#webresources .content-img { background-image : url("../graphics/icons/ctool/webresources.gif"); }
|
|
364 |
#page-links a:hover#webresources .content-img { background-image : url("../graphics/icons/ctool/webresources_tophov.gif"); }
|
|
365 |
|
|
366 |
#page-links a#workbench .content-img { background-image : url("../graphics/icons/ctool/workbench.gif"); }
|
|
367 |
#page-links a:hover#workbench .content-img { background-image : url("../graphics/icons/ctool/workbench_tophov.gif"); }
|
|
368 |
|
|
369 |
/*
|
|
370 |
* Not using action links.
|
|
371 |
*/
|
|
372 |
#action-links {
|
|
373 |
display: none;
|
|
374 |
} |