1 /*******************************************************************************
2 * Copyright (c) 2006, 2010 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; }
20 background-color : #FFFFFF;
23 /* The label part of the folding section */
24 .section-title-link .section-title {
33 /* For regular div labels */
35 font-family: Verdana, Arial, Helvetica;
41 /* For the main page content's title */
42 #content-header H4 .div-label {
43 font-family: Verdana, Arial, Helvetica;
46 letter-spacing:-0.03em;
60 /* Page description if the page has it. */
63 font-family: Verdana, Arial, Helvetica;
74 text-decoration : none;
82 /* General link labels */
87 /* Floating link labels for navigation links */
88 #navigation-links a .link-label,
89 #action links a .text {
94 #navigation-links a#overview:hover .link-label
99 #navigation-links a#tutorials:hover .link-label,
100 #navigation-links a#samples:hover .link-label
105 #navigation-links a#whatsnew:hover .link-label,
106 #navigation-links a#firststeps:hover .link-label
111 #navigation-links a#webresources:hover .link-label ,
112 #navigation-links a#migrate:hover .link-label
117 #action-links a:hover .link-label {
123 font-weight : normal;
126 p .group-description {
127 font-family: Verdana, Arial, Helvetica;
128 font-weight : normal;
131 /* Hide the extra div in links by default. */
137 * Set up other general properties like padding/margins
139 html, body { width : 100%; height : 100%; }
141 html, body, div, h1, h4, p, a { margin : 0px; padding : 0px; }
144 * Page header - adding extra padding at the bottom to compensate
145 * for navigation background/header overlap.
147 #page-content #content-header {
149 padding-bottom : 22px;
152 /* For regular div labels */
153 #page-content div H4 {
155 padding-bottom : 0px;
158 /* For the main page content's div label */
159 #page-content #content-header H4 {
160 padding-bottom : 10px;
164 /* special case for Mozilla's main content-header label.
165 Mozilla 1.4 needs more room at the top */
166 #page-content > #content-header H4 { padding-top : 10px; }
168 /* Needed in IE to get shift+tab to show the active image properly */
175 background-repeat : no-repeat;
179 * to get scrollbars working in both IE and Mozilla
183 * to get scrollbars working in both IE and Mozilla
185 html,body { overflow: auto; }
186 html>body { overflow: visible; }
189 * Set up the body, decorative background, and navigation for the content
191 * Note: the root page handles its own background and navigation; these
192 * settings primarily apply to the content pages
195 background-image: url(../graphics/contentpage/banner_extension.jpg);
196 background-repeat: repeat-x;
197 background-position: top left;
201 * Hide the general-purpose groups - not using them in this theme.
215 /* since IE doesn't support min-width, try expression */
220 background-repeat : no-repeat;
221 background-position : top left;
224 width:expression(document.body.clientWidth < 770? "770px": "auto" );
226 height : expression(document.body.clientHeight < 425? "425px": "100%" );
230 background-repeat : no-repeat;
231 background-position : bottom right;
236 * Lay out the navigation links
237 * (Root page does something similar for its navigation)
247 #navigation-links a {
261 #navigation-links a img {
264 vertical-align : center;
265 horizontal-align : center;
273 #navigation-links a.high-contrast img {
279 * Not showing description for navigation links.
281 #navigation-links a .text { display : none; }
283 /* properties for each of the navigation-links */
284 #navigation-links a#overview img {
285 background-image : url(../graphics/icons/ctool/ov_nav_32.gif);
288 #navigation-links a#firststeps img {
289 background-image : url(../graphics/icons/ctool/fs_nav_32.gif);
292 #navigation-links a#tutorials img {
293 background-image : url(../graphics/icons/ctool/tu_nav_32.gif);
296 #navigation-links a#samples img {
297 background-image : url(../graphics/icons/ctool/sa_nav_32.gif);
300 #navigation-links a#whatsnew img {
301 background-image : url(../graphics/icons/ctool/wn_nav_32.gif);
304 #navigation-links a#migrate img {
305 background-image : url(../graphics/icons/ctool/mi_nav_32.gif);
308 #navigation-links a#webresources img {
309 background-image : url(../graphics/icons/ctool/wr_nav_32.gif);
312 #navigation-links a#workbench img {
313 background-image : url(../graphics/icons/ctool/wb_nav_32.gif);
320 #action-links a.high-contrast .link-label {
324 #navigation-links a.high-contrast .background-image {
328 #page-links a.high-contrast:focus .link-label,
329 #page-links a.high-contrast:active .link-label {
330 display: block !important;
331 text-decoration: underline;
341 * Lay out the page title and description
343 h1, p { margin-left : 10px; } /* required in mozilla so the page description is properly indented */
345 /* position the page content so that the page title overlays the bottom
346 * of the background image, but make sure the content is always on top
355 margin-bottom: -50px;
360 padding-bottom : 15px;
366 /* Page content quadrants. Page content is placed in four quadrants.
367 * Upper pair is separated from the bottom pair with a divider
368 * to ensure bottom pair is aligned even with the uneven content
372 #page-content #top-left {
373 border: none; float: left; margin: 0px; padding: 0px; width: 49%;
376 #page-content #top-right {
377 border: none; float: right; margin: 0px; padding: 0px; width: 49%;
380 /* top-bottom divider - runs the entire width to ensure
381 * bottom boxes start at the same y
383 #page-content #content-divider {
384 border: none; float: none; margin: 0; padding: 0px; width: 100%;
388 #page-content #bottom-left {
389 border: none; float: left; margin: 0px; padding: 0px; width: 49%;
392 #page-content #bottom-right {
393 border: none; float: right; margin: 0px; padding: 0px; width: 49%;
397 #page-content #content-header H4, .page-description {
404 #page-content * > a {
405 vertical-align : middle;
408 #page-content * a img {
411 vertical-align : middle;
414 #page-content * a .link-label {
422 #page-content * a > .link-label { left: 65px; }
424 #page-content * a p {
428 margin-bottom: -25px;
431 #page-content * a p .text {
438 #page-content * a p > .text { left: 56px; }
440 #page-content * a:hover { border-right : 5px; }
442 /* The following rules are for extensions in all pages. Extensions should be placed in
443 * groups with the style 'content-group' and contain links with the style 'content-link'.
444 * Group is important so that importance mixin style can be applied to the group that
445 * uses block display. We need to see a solid rectangle around the extension, not
446 * a tight polygon around the link perimeter.
459 .content-link .link-label {
460 font-family: Verdana, Arial, Helvetica;
466 .content-link:hover .link-label {
468 text-decoration : underline;
471 .content-link .text {
472 font-family: Verdana, Arial, Helvetica;
476 .categoryContentnav {
477 font-family: Verdana, Arial, Helvetica;
484 font-family: Verdana, Arial, Helvetica;
490 font-family: Verdana, Arial, Helvetica;
501 font-family: Verdana, Arial, Helvetica;
506 * This part is for hosting embedded document inside
518 /* mozilla scrollbar appearing off page fix */
519 #page-content > iframe {