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
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
12 /* Hide the extra div for links in the normal state. */
17 /* Link label properties */
18 #page-links a .link-label {
21 top: -1.2em;
\r font-weight : 600;
25 margin-bottom: -1.2pm;
29 #page-links a:active .link-label,
30 #page-links a:focus .link-label,
31 #page-links a:hover .link-label {
32 background-image: url("../graphics/icons/ctool/root_midhov2.gif");
33 background-repeat: repeat-y;
37 #page-links a#overview .link-label {
43 #page-links a:active#overview .link-label,
44 #page-links a:focus#overview .link-label,
45 #page-links a:hover#overview .link-label {
50 #page-links a#workbench .link-label {
55 /* Necessary for hover text to align in rtl mode */
60 /* Link description properties */
61 #page-links a p .text {
68 margin-bottom: -1.6em;
\r font-weight : 500;
70 background-image: url("../graphics/icons/ctool/root_midhov2.gif");
71 background-repeat: repeat-y;
74 #page-links a#overview p .text {
78 #page-links a#workbench p .text {
82 /* Some differences between Mozilla and IE here */
84 #page-links a#workbench > p .text {
90 * Set up the content for the root page.
95 background-image : url("../graphics/rootpage/welcomebckgrd.jpg");
\r background-repeat : no-repeat;
\r background-position : center center;
96 background-attachment : fixed;
98 overflow-clip: rect(0, auto, auto, 0);
99 background-color : #345365;
103 height : expression(document.body.clientHeight < 450? "450px": "100%" );
106 width:expression(document.body.clientWidth < 940? "940px": "auto" );
118 * Set up the navigation bar. It should be centered in the middle
140 /* Position root links using absolute coordinates */
146 #page-links a:active img,
147 #page-links a:focus img,
148 #page-links a:hover img
153 #page-links a#overview {
158 #page-links a#overview:hover {
162 #page-links a#overview img {
167 #page-links a#overview:active img,
168 #page-links a#overview:focus img,
169 #page-links a#overview:hover img {
174 #page-links a#workbench img {
176 background-position : right top;
180 /* Absolute positions of root links */
182 #page-links a#whatsnew {
187 #page-links a#tutorials {
192 #page-links a#samples {
197 #page-links a#firststeps {
202 #page-links a#webresources {
207 #page-links a#migrate {
212 #page-links a#workbench {
217 /* Paint bottom edge of the text box as a background image */
221 #page-links a:active {
222 background-image: url("../graphics/icons/ctool/root_bottomhov.gif");
223 background-repeat: no-repeat;
224 background-position: bottom left;
228 #page-links a#overview:hover,
229 #page-links a#overview:focus,
230 #page-links a#overview:active {
231 background-image: url("../graphics/icons/ctool/overview_bottomhov.gif");
234 #page-links a#workbench:hover,
235 #page-links a#workbench:focus,
236 #page-links a#workbench:active {
237 background-image: url("../graphics/icons/ctool/workbench_bottomhov.gif");
238 background-position: bottom left;
241 #page-links > a#workbench:hover,
242 #page-links > a#workbench:focus,
243 #page-links > a#workbench:active {
244 background-position: bottom 2px;
247 /* Hide the text in the normal state */
248 #page-links a .text {
252 /* Hide the links in the normal state */
253 #page-links a .link-label {
257 /* Note that the links can be made to show by including the following lines for example in the css for an extension.
258 #page-links a span.link-label {
263 /* Show the link label and link text as block on hover */
265 #page-links a:hover .link-label,
266 #page-links a:focus .link-label,
267 #page-links a:active .link-label {
271 #page-links a:hover p .text,
272 #page-links a:hover p .text,
273 #page-links a:focus p .text,
274 #page-links a:active p .text {
279 #page-links .link-label,
280 #page-links a:hover .link-label,
281 #page-links a:focus .link-label,
282 #page-links a:active .link-label {
286 #page-links a:hover p .text,
287 #page-links a:focus p .text,
288 #page-links a:active p .text {
292 #page-links a:hover > .link-label,
293 #page-links a:focus > .link-label,
294 #page-links a:active > .link-label {
298 #page-links a:hover > p .text,
299 #page-links a:focus > p .text,
300 #page-links a:active > p .text {
304 #page-links a#workbench:hover .link-label,
305 #page-links a#workbench:focus .link-label,
306 #page-links a#workbench:active .link-label {
310 #page-links a#workbench:hover p .text,
311 #page-links a#workbench:focus p .text,
312 #page-links a#workbench:active p .text {
316 #page-links a#workbench:hover > .link-label,
317 #page-links a#workbench:focus > .link-label,
318 #page-links a#workbench:active > .link-label {
322 #page-links a#workbench:hover p > .text,
323 #page-links a#workbench:focus p > .text,
324 #page-links a#workbench:active p > .text {
328 #page-links a .background-image {
332 #page-links a .link-extra-div {
337 #page-links a#overview .content-img { background-image : url("../graphics/icons/ctool/overview.gif"); }
338 #page-links a:active#overview .content-img,
339 #page-links a:focus#overview .content-img ,
340 #page-links a:hover#overview .content-img { background-image : url("../graphics/icons/ctool/overview_tophov.gif"); }
342 #page-links a#tutorials .content-img { background-image : url("../graphics/icons/ctool/tutorials.gif"); }
343 #page-links a:active#tutorials .content-img,
344 #page-links a:focus#tutorials .content-img ,
345 #page-links a:hover#tutorials .content-img { background-image : url("../graphics/icons/ctool/tutorials_tophov.gif"); }
347 #page-links a#samples .content-img { background-image : url("../graphics/icons/ctool/samples.gif"); }
348 #page-links a:active#samples .content-img,
349 #page-links a:focus#samples .content-img ,
350 #page-links a:hover#samples .content-img { background-image : url("../graphics/icons/ctool/samples_tophov.gif"); }
352 #page-links a#whatsnew .content-img { background-image : url("../graphics/icons/ctool/whatsnew.gif"); }
353 #page-links a:active#whatsnew .content-img,
354 #page-links a:focus#whatsnew .content-img,
355 #page-links a:hover#whatsnew .content-img { background-image : url("../graphics/icons/ctool/whatsnew_tophov.gif"); }
357 #page-links a#firststeps .content-img { background-image : url("../graphics/icons/ctool/firststeps.gif"); }
358 #page-links a:active#firststeps .content-img,
359 #page-links a:focus#firststeps .content-img ,
360 #page-links a:hover#firststeps .content-img { background-image : url("../graphics/icons/ctool/firststeps_tophov.gif"); }
362 #page-links a#migrate .content-img { background-image : url("../graphics/icons/ctool/migrate.gif"); }
363 #page-links a:active#migrate .content-img,
364 #page-links a:focus#migrate .content-img ,
365 #page-links a:hover#migrate .content-img { background-image : url("../graphics/icons/ctool/migrate_tophov.gif"); }
367 #page-links a#webresources .content-img { background-image : url("../graphics/icons/ctool/webresources.gif"); }
368 #page-links a:active#webresources .content-img,
369 #page-links a:focus#webresources .content-img ,
370 #page-links a:hover#webresources .content-img { background-image : url("../graphics/icons/ctool/webresources_tophov.gif"); }
372 #page-links a#workbench .content-img { background-image : url("../graphics/icons/ctool/workbench.gif"); }
373 #page-links a:hover#workbench .content-img { background-image : url("../graphics/icons/ctool/workbench_tophov.gif"); }
374 #page-links a:active#workbench .content-img { background-image : url("../graphics/icons/ctool/workbench_tophov.gif"); }
375 #page-links a:focus#workbench .content-img { background-image : url("../graphics/icons/ctool/workbench_tophov.gif"); }
378 * Not using action links.