1 /*******************************************************************************
2 * Copyright (c) 2005, 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 *******************************************************************************/
13 * Set up general fonts, sizes and colors
15 body { font-family : Arial, sans-serif; }
17 H1, H2, H3, H4, p, a { color : #4D4D4D; }
28 /* For regular div labels */
33 /* The label part of the folding section */
34 .section-title-link .section-title {
46 /* For the main page content's title */
47 #content-header H4 .div-label {
61 text-decoration : none;
69 /* Hide the 'special-effect' extra div in links by default. */
74 #navigation-links a .link-label {
83 p .group-description {
89 * Set up other general properties like padding/margins
91 html, body { width : 100%; height : 100%; }
93 html, body, div, h1, h4, p, a { margin : 0px; padding : 0px; }
95 .intro-header H1 { padding-top : 10px; margin-left : 10px; }
98 .section-body { display: none; padding : 0px; }
100 /* For regular div labels */
101 #page-content div H4 {
103 padding-bottom : 0px;
106 /* For the main page content's div label */
107 #page-content #content-header H4 {
108 padding-bottom : 10px;
112 /* special case for Mozilla's main content-header label.
113 Mozilla 1.4 needs more room at the top */
114 #page-content > #content-header H4 { padding-top : 10px; }
116 /* Needed in IE to get shift+tab to show the active image properly */
123 background-repeat : no-repeat;
127 * to get scrollbars working in both IE and Mozilla
129 html,body { overflow: auto; }
130 html>body { overflow: visible; }
133 * Set up the body, decorative background, and navigation for the content
135 * Note: the root page handles its own background and navigation; these
136 * settings primarily apply to the content pages
139 background-color : #FFFFFF;
140 background-repeat : no-repeat;
141 background-position : bottom right;
145 * We will use one of the general purpose groups to show
153 background-image : url(../graphics/contentpage/backgroundcurve.gif);
154 background-repeat : no-repeat;
155 background-position : top center;
161 * Hide the other general-purpose groups
171 .intro-header { background-color : transparent; z-index : 100;}
175 /* since IE doesn't support min-width, try expression */
176 width:expression(document.body.clientWidth < 770? "770px": "auto" );
179 height : expression(document.body.clientHeight < 425? "425px": "100%" );
184 background-image : url(../graphics/contentpage/background.jpg);
185 background-repeat : repeat-x;
186 background-position : top left;
190 background-repeat : no-repeat;
191 background-position : bottom right;
196 * Lay out the navigation links
197 * (Root page does something similar for its navigation)
207 #navigation-links a {
214 #navigation-links #customize {
221 #navigation-links a img {
224 vertical-align : middle;
227 #navigation-links a .link-label { display : block; margin-top : 5px;}
229 #navigation-links a .text { display : none; }
231 #navigation-links a:hover,
232 #navigation-links a:focus
233 #navigation-links a:active { border-right : 0px;}
235 /* properties for each of the navigation-links */
236 #navigation-links a#overview img { background-image : url(../graphics/icons/etool/overview48.gif); }
237 #navigation-links a#overview:hover img,
238 #navigation-links a#overview:focus img,
239 #navigation-links a#overview:active img { background-image : url(../graphics/icons/ctool/overview48.gif); }
241 #navigation-links a#tutorials img { background-image : url(../graphics/icons/etool/tutorials48.gif); }
242 #navigation-links a#tutorials:hover img,
243 #navigation-links a#tutorials:active img,
244 #navigation-links a#tutorials:focus img { background-image : url(../graphics/icons/ctool/tutorials48.gif); }
246 #navigation-links a#samples img { background-image : url(../graphics/icons/etool/samples48.gif); }
247 #navigation-links a#samples:hover img,
248 #navigation-links a#samples:active img,
249 #navigation-links a#samples:focus img { background-image : url(../graphics/icons/ctool/samples48.gif); }
251 #navigation-links a#whatsnew img { background-image : url(../graphics/icons/etool/whatsnew48.gif); }
252 #navigation-links a#whatsnew:hover img,
253 #navigation-links a#whatsnew:focus img,
254 #navigation-links a#whatsnew:active img { background-image : url(../graphics/icons/ctool/whatsnew48.gif); }
256 #navigation-links a#firststeps img { background-image : url(../graphics/icons/etool/firsteps48.gif); }
257 #navigation-links a#firststeps:hover img,
258 #navigation-links a#firststeps:focus img,
259 #navigation-links a#firststeps:active img { background-image : url(../graphics/icons/ctool/firsteps48.gif); }
261 #navigation-links a#webresources img { background-image : url(../graphics/icons/etool/webrsrc48.gif); }
262 #navigation-links a#webresources:hover img,
263 #navigation-links a#webresources:focus img,
264 #navigation-links a#webresources:active img { background-image : url(../graphics/icons/ctool/webrsrc48.gif); }
266 #navigation-links a#migrate img { background-image : url(../graphics/icons/etool/migrate48.gif); }
267 #navigation-links a#migrate:hover img,
268 #navigation-links a#migrate:focus img,
269 #navigation-links a#migrate:active img { background-image : url(../graphics/icons/ctool/migrate48.gif); }
272 #navigation-links a#workbench { position : absolute; right : 0px; top : -35px; text-align : right;}
273 #navigation-links a#workbench .text { display : none; }
274 #navigation-links a#workbench img { background-image : url(../graphics/icons/etool/wb48.gif); width : 53px; height : 53px;}
275 #navigation-links a#workbench:hover img,
276 #navigation-links a#workbench:focus img,
277 #navigation-links a#workbench:active img { background-image : url(../graphics/icons/ctool/wb48.gif); }
280 * Lay out the page title and description
282 h1, p { margin-left : 10px; } /* required in mozilla so the page description is properly indented */
284 /* position the page content so that the page title overlays the bottom
285 * of the background image, but make sure the content is always on top
294 .page > #page-content { margin-top : 50px; }
297 padding-bottom : 15px;
303 /* Page content bins */
305 #page-content #top-left {
306 border: none; float: left; margin: 0px; padding: 0px; width: 49%;
309 #page-content #top-right {
310 border: none; float: right; margin: 0px; padding: 0px; width: 49%;
314 /* top-bottom divider - runs the entire width to ensure
315 * bottom boxes start at the same y
317 #page-content #content-divider {
318 border: none; float: none; margin: 0; padding: 0px; width: 100%;
322 #page-content #bottom-left {
323 border: none; float: left; margin: 0px; padding: 0px; width: 49%;
326 #page-content #bottom-right {
327 border: none; float: right; margin: 0px; padding: 0px; width: 49%;
331 #page-content #content-header H4, .page-description {
338 #page-content #top-left > *,
339 #page-content #top-right > *,
340 #page-content #bottom-left > *,
341 #page-content #bottom-right > * {
345 #page-content * > a {
346 vertical-align : middle;
349 #page-content * a img {
352 vertical-align : middle;
355 #page-content * a .link-label {
363 #page-content * a > .link-label { left: 65px; }
365 #page-content * a p .text {
369 margin-bottom: -25px;
374 #page-content * a p > .text { left: 58px; }
376 #page-content * a:hover { border-right : 5px; }
379 /* The following rules are for extensions in all pages. Extensions should be placed in
380 * groups with the style 'content-group' and contain links with the style 'content-link'.
381 * Group is important so that importance mixin style can be applied to the group that
382 * uses block display. We need to see a solid rectangle around the extension, not
383 * a tight polygon around the link perimeter.
396 .categoryContentnav {
406 .content-link:hover { border-right : 0px; }
416 /* mozilla scrollbar appearing off page fix */
417 #page-content > iframe {