1
|
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
|
|
7 |
*
|
|
8 |
* Contributors:
|
|
9 |
* IBM Corporation - initial API and implementation
|
|
10 |
*******************************************************************************/
|
|
11 |
|
|
12 |
/*
|
|
13 |
* Set up general fonts, sizes and colors
|
|
14 |
*/
|
|
15 |
body { font-family : Arial, sans-serif; }
|
|
16 |
|
|
17 |
H1, H2, H3, H4, p, a { color : #4D4D4D; }
|
|
18 |
|
|
19 |
.intro-header H1 {
|
|
20 |
font-size : 16pt;
|
|
21 |
font-weight : normal;
|
|
22 |
color : #E5E5E5;
|
|
23 |
}
|
|
24 |
|
|
25 |
h2 {
|
|
26 |
font-size : 13pt;
|
|
27 |
font-weight : normal;
|
|
28 |
color : #7B8694;
|
|
29 |
}
|
|
30 |
/* For regular div labels */
|
|
31 |
H4 .div-label {
|
|
32 |
font-size : 10pt;
|
|
33 |
font-weight : bold;
|
|
34 |
}
|
|
35 |
|
|
36 |
/* For separators */
|
|
37 |
HR {
|
|
38 |
width: 90%;
|
|
39 |
align: left;
|
|
40 |
height : 1px;
|
|
41 |
color : #dfdfe4;
|
|
42 |
}
|
|
43 |
|
|
44 |
/* For the main page content's title */
|
|
45 |
#content-header H4 .div-label {
|
|
46 |
font-size : 14pt;
|
|
47 |
font-weight : normal;
|
|
48 |
color : #8C96A2;
|
|
49 |
float : none;
|
|
50 |
clear : both;
|
|
51 |
}
|
|
52 |
|
|
53 |
.page-description {
|
|
54 |
font-size : 10pt;
|
|
55 |
float : none;
|
|
56 |
clear : both;
|
|
57 |
}
|
|
58 |
|
|
59 |
a {
|
|
60 |
font-weight : bold;
|
|
61 |
text-decoration : none;
|
|
62 |
color : #4D4D4D;
|
|
63 |
}
|
|
64 |
|
|
65 |
a .link-label {
|
|
66 |
font-size : 10pt;
|
|
67 |
font-weight : normal;
|
|
68 |
}
|
|
69 |
|
|
70 |
/* Hide the 'special-effect' extra div in links by default. */
|
|
71 |
.link-extra-div {
|
|
72 |
display : none;
|
|
73 |
}
|
|
74 |
|
|
75 |
#navigation-links a .link-label {
|
|
76 |
font-size : 9pt;
|
|
77 |
font-weight : normal;
|
|
78 |
color : #E5E5E5;
|
|
79 |
}
|
|
80 |
|
|
81 |
a .text {
|
|
82 |
font-size : 8pt;
|
|
83 |
font-weight : normal;
|
|
84 |
}
|
|
85 |
|
|
86 |
p .group-description {
|
|
87 |
font-size : 10pt;
|
|
88 |
font-weight : normal;
|
|
89 |
}
|
|
90 |
|
|
91 |
|
|
92 |
/*
|
|
93 |
* Set up other general properties like padding/margins
|
|
94 |
*/
|
|
95 |
html, body { width : 100%; height : 100%; }
|
|
96 |
|
|
97 |
html, body, div, h1, h4, p, a { margin : 0px; padding : 0px; }
|
|
98 |
|
|
99 |
.intro-header H1 { padding-top : 10px; margin-left : 10px; }
|
|
100 |
|
|
101 |
.section { }
|
|
102 |
.section-body { display: none; padding : 0px; }
|
|
103 |
|
|
104 |
/* For regular div labels */
|
|
105 |
#page-content div H4 {
|
|
106 |
padding : 10px;
|
|
107 |
padding-bottom : 0px;
|
|
108 |
}
|
|
109 |
|
|
110 |
/* For the main page content's div label */
|
|
111 |
#page-content #content-header H4 {
|
|
112 |
padding-bottom : 10px;
|
|
113 |
padding-top : 0px;
|
|
114 |
}
|
|
115 |
|
|
116 |
/* special case for Mozilla's main content-header label.
|
|
117 |
Mozilla 1.4 needs more room at the top */
|
|
118 |
#page-content > #content-header H4 { padding-top : 10px; }
|
|
119 |
|
|
120 |
/* Needed in IE to get shift+tab to show the active image properly */
|
|
121 |
a:active {
|
|
122 |
border : solid 0px;
|
|
123 |
}
|
|
124 |
|
|
125 |
a img {
|
|
126 |
border-width : 0;
|
|
127 |
background-repeat : no-repeat;
|
|
128 |
}
|
|
129 |
|
|
130 |
/*
|
|
131 |
* to get scrollbars working in both IE and Mozilla
|
|
132 |
*/
|
|
133 |
html,body { overflow: auto; }
|
|
134 |
html>body { overflow: visible; }
|
|
135 |
|
|
136 |
/*
|
|
137 |
* Set up the body, decorative background, and navigation for the content
|
|
138 |
* pages.
|
|
139 |
* Note: the root page handles its own background and navigation; these
|
|
140 |
* settings primarily apply to the content pages
|
|
141 |
*/
|
|
142 |
body {
|
|
143 |
background-color : #FFFFFF;
|
|
144 |
background-repeat : no-repeat;
|
|
145 |
background-position : bottom right;
|
|
146 |
}
|
|
147 |
|
|
148 |
/*
|
|
149 |
* We will use one of the general purpose groups to show
|
|
150 |
* the curve image
|
|
151 |
*/
|
|
152 |
#extra-group1 {
|
|
153 |
width : 100%;
|
|
154 |
height : 164px;
|
|
155 |
position : absolute;
|
|
156 |
top : 0px;
|
|
157 |
background-image : url(../graphics/contentpage/backgroundcurve.gif);
|
|
158 |
background-repeat : no-repeat;
|
|
159 |
background-position : top center;
|
|
160 |
margin : 0;
|
|
161 |
padding : 0;
|
|
162 |
}
|
|
163 |
|
|
164 |
/*
|
|
165 |
* Hide the other general-purpose groups
|
|
166 |
*/
|
|
167 |
|
|
168 |
#extra-group2,
|
|
169 |
#extra-group3,
|
|
170 |
#extra-group4,
|
|
171 |
#extra-group5 {
|
|
172 |
display : none;
|
|
173 |
}
|
|
174 |
|
|
175 |
.intro-header { background-color : transparent; z-index : 100;}
|
|
176 |
|
|
177 |
body, .page{
|
|
178 |
min-width : 770px;
|
|
179 |
/* since IE doesn't support min-width, try expression */
|
|
180 |
width:expression(document.body.clientWidth < 770? "770px": "auto" );
|
|
181 |
min-height : 425px;
|
|
182 |
height : 100%;
|
|
183 |
height : expression(document.body.clientHeight < 425? "425px": "100%" );
|
|
184 |
}
|
|
185 |
|
|
186 |
.page {
|
|
187 |
min-height : 475px;
|
|
188 |
background-image : url(../graphics/contentpage/background.jpg);
|
|
189 |
background-repeat : repeat-x;
|
|
190 |
background-position : top left;
|
|
191 |
}
|
|
192 |
|
|
193 |
#page-content {
|
|
194 |
background-repeat : no-repeat;
|
|
195 |
background-position : bottom right;
|
|
196 |
height : 70%;
|
|
197 |
}
|
|
198 |
|
|
199 |
/*
|
|
200 |
* Lay out the navigation links
|
|
201 |
* (Root page does something similar for its navigation)
|
|
202 |
*/
|
|
203 |
#navigation-links {
|
|
204 |
position : relative;
|
|
205 |
left : 10px;
|
|
206 |
top : 5px;
|
|
207 |
height : 60px;
|
|
208 |
width : 98%;
|
|
209 |
}
|
|
210 |
|
|
211 |
#navigation-links a {
|
|
212 |
padding-left : 5px;
|
|
213 |
padding-right : 5px;
|
|
214 |
float : left;
|
|
215 |
text-align : center;
|
|
216 |
}
|
|
217 |
|
|
218 |
#navigation-links #customize {
|
|
219 |
padding-left : 5px;
|
|
220 |
padding-right : 5px;
|
|
221 |
float : left;
|
|
222 |
text-align : center;
|
|
223 |
}
|
|
224 |
|
|
225 |
#navigation-links a img {
|
|
226 |
height : 52px;
|
|
227 |
width : 52px;
|
|
228 |
vertical-align : middle;
|
|
229 |
}
|
|
230 |
|
|
231 |
#navigation-links a .link-label { display : block; margin-top : 5px;}
|
|
232 |
|
|
233 |
#navigation-links a .text { display : none; }
|
|
234 |
|
|
235 |
#navigation-links a:hover,
|
|
236 |
#navigation-links a:focus
|
|
237 |
#navigation-links a:active { border-right : 0px;}
|
|
238 |
|
|
239 |
/* properties for each of the navigation-links */
|
|
240 |
#navigation-links a#overview img { background-image : url(../graphics/icons/etool/overview48.gif); }
|
|
241 |
#navigation-links a#overview:hover img,
|
|
242 |
#navigation-links a#overview:focus img,
|
|
243 |
#navigation-links a#overview:active img { background-image : url(../graphics/icons/ctool/overview48.gif); }
|
|
244 |
|
|
245 |
#navigation-links a#tutorials img { background-image : url(../graphics/icons/etool/tutorials48.gif); }
|
|
246 |
#navigation-links a#tutorials:hover img,
|
|
247 |
#navigation-links a#tutorials:active img,
|
|
248 |
#navigation-links a#tutorials:focus img { background-image : url(../graphics/icons/ctool/tutorials48.gif); }
|
|
249 |
|
|
250 |
#navigation-links a#samples img { background-image : url(../graphics/icons/etool/samples48.gif); }
|
|
251 |
#navigation-links a#samples:hover img,
|
|
252 |
#navigation-links a#samples:active img,
|
|
253 |
#navigation-links a#samples:focus img { background-image : url(../graphics/icons/ctool/samples48.gif); }
|
|
254 |
|
|
255 |
#navigation-links a#whatsnew img { background-image : url(../graphics/icons/etool/whatsnew48.gif); }
|
|
256 |
#navigation-links a#whatsnew:hover img,
|
|
257 |
#navigation-links a#whatsnew:focus img,
|
|
258 |
#navigation-links a#whatsnew:active img { background-image : url(../graphics/icons/ctool/whatsnew48.gif); }
|
|
259 |
|
|
260 |
#navigation-links a#firststeps img { background-image : url(../graphics/icons/etool/firsteps48.gif); }
|
|
261 |
#navigation-links a#firststeps:hover img,
|
|
262 |
#navigation-links a#firststeps:focus img,
|
|
263 |
#navigation-links a#firststeps:active img { background-image : url(../graphics/icons/ctool/firsteps48.gif); }
|
|
264 |
|
|
265 |
#navigation-links a#webresources img { background-image : url(../graphics/icons/etool/webrsrc48.gif); }
|
|
266 |
#navigation-links a#webresources:hover img,
|
|
267 |
#navigation-links a#webresources:focus img,
|
|
268 |
#navigation-links a#webresources:active img { background-image : url(../graphics/icons/ctool/webrsrc48.gif); }
|
|
269 |
|
|
270 |
#navigation-links a#migrate img { background-image : url(../graphics/icons/etool/migrate48.gif); }
|
|
271 |
#navigation-links a#migrate:hover img,
|
|
272 |
#navigation-links a#migrate:focus img,
|
|
273 |
#navigation-links a#migrate:active img { background-image : url(../graphics/icons/ctool/migrate48.gif); }
|
|
274 |
|
|
275 |
|
|
276 |
#navigation-links a#workbench { position : absolute; right : 0px; top : -35px; text-align : right;}
|
|
277 |
#navigation-links a#workbench .text { display : none; }
|
|
278 |
#navigation-links a#workbench img { background-image : url(../graphics/icons/etool/wb48.gif); width : 53px; height : 53px;}
|
|
279 |
#navigation-links a#workbench:hover img,
|
|
280 |
#navigation-links a#workbench:focus img,
|
|
281 |
#navigation-links a#workbench:active img { background-image : url(../graphics/icons/ctool/wb48.gif); }
|
|
282 |
|
|
283 |
/*
|
|
284 |
* Lay out the page title and description
|
|
285 |
*/
|
|
286 |
h1, p { margin-left : 10px; } /* required in mozilla so the page description is properly indented */
|
|
287 |
|
|
288 |
/* position the page content so that the page title overlays the bottom
|
|
289 |
* of the background image, but make sure the content is always on top
|
|
290 |
* (using z-index) */
|
|
291 |
#page-content {
|
|
292 |
float : none;
|
|
293 |
clear : both;
|
|
294 |
text-align : center;
|
|
295 |
margin-top : 35px;
|
|
296 |
}
|
|
297 |
|
|
298 |
.page > #page-content { margin-top : 50px; }
|
|
299 |
|
|
300 |
#page-content p {
|
|
301 |
padding-bottom : 15px;
|
|
302 |
text-align : left;
|
|
303 |
float : none;
|
|
304 |
clear : both;
|
|
305 |
}
|
|
306 |
|
|
307 |
/* Page content bins */
|
|
308 |
|
|
309 |
#page-content #top-left {
|
|
310 |
border: none; float: left; margin: 0px; padding: 0px; width: 49%;
|
|
311 |
clear: left;
|
|
312 |
}
|
|
313 |
#page-content #top-right {
|
|
314 |
border: none; float: right; margin: 0px; padding: 0px; width: 49%;
|
|
315 |
clear: right;
|
|
316 |
}
|
|
317 |
|
|
318 |
/* top-bottom divider - runs the entire width to ensure
|
|
319 |
* bottom boxes start at the same y
|
|
320 |
*/
|
|
321 |
#page-content #content-divider {
|
|
322 |
border: none; float: none; margin: 0; padding: 0px; width: 100%;
|
|
323 |
clear: both;
|
|
324 |
}
|
|
325 |
|
|
326 |
#page-content #bottom-left {
|
|
327 |
border: none; float: left; margin: 0px; padding: 0px; width: 49%;
|
|
328 |
clear: left;
|
|
329 |
}
|
|
330 |
#page-content #bottom-right {
|
|
331 |
border: none; float: right; margin: 0px; padding: 0px; width: 49%;
|
|
332 |
clear: right;
|
|
333 |
}
|
|
334 |
|
|
335 |
#page-content #content-header H4, .page-description {
|
|
336 |
text-align : left;
|
|
337 |
margin-right : 10px;
|
|
338 |
float : none;
|
|
339 |
clear : both;
|
|
340 |
}
|
|
341 |
|
|
342 |
#page-content #top-left > *,
|
|
343 |
#page-content #top-right > *,
|
|
344 |
#page-content #bottom-left > *,
|
|
345 |
#page-content #bottom-right > * {
|
|
346 |
display: block;
|
|
347 |
}
|
|
348 |
|
|
349 |
#page-content * > a {
|
|
350 |
vertical-align : middle;
|
|
351 |
}
|
|
352 |
|
|
353 |
#page-content * a img {
|
|
354 |
height : 57px;
|
|
355 |
width : 57px;
|
|
356 |
vertical-align : middle;
|
|
357 |
}
|
|
358 |
|
|
359 |
#page-content * a .link-label {
|
|
360 |
display : block;
|
|
361 |
position : relative;
|
|
362 |
top : -50px;
|
|
363 |
left : 60px;
|
|
364 |
margin-right: 60px;
|
|
365 |
}
|
|
366 |
|
|
367 |
#page-content * a > .link-label { left: 65px; }
|
|
368 |
|
|
369 |
#page-content * a p .text {
|
|
370 |
display : block;
|
|
371 |
position : relative;
|
|
372 |
top : -45px;
|
|
373 |
margin-bottom: -25px;
|
|
374 |
left : 53px;
|
|
375 |
margin-right: 53px;
|
|
376 |
}
|
|
377 |
|
|
378 |
#page-content * a p > .text { left: 58px; }
|
|
379 |
|
|
380 |
#page-content * a:hover { border-right : 5px; }
|
|
381 |
|
|
382 |
|
|
383 |
/* The following rules are for extensions in all pages. Extensions should be placed in
|
|
384 |
* groups with the style 'content-group' and contain links with the style 'content-link'.
|
|
385 |
* Group is important so that importance mixin style can be applied to the group that
|
|
386 |
* uses block display. We need to see a solid rectangle around the extension, not
|
|
387 |
* a tight polygon around the link perimeter.
|
|
388 |
*/
|
|
389 |
|
|
390 |
.content-group {
|
|
391 |
margin-left: 10px;
|
|
392 |
margin-right: 10px;
|
|
393 |
padding-left: 10px;
|
|
394 |
padding-right: 10px;
|
|
395 |
float : none;
|
|
396 |
clear : both;
|
|
397 |
text-align : left;
|
|
398 |
}
|
|
399 |
|
|
400 |
.categoryContentnav {
|
|
401 |
font-size: 9pt;
|
|
402 |
font-weight: bold;
|
|
403 |
color: #4A4D4A;
|
|
404 |
}
|
|
405 |
|
|
406 |
.topicList {
|
|
407 |
font-size: 8pt;
|
|
408 |
line-height:1.75;
|
|
409 |
color: #00507C;
|
|
410 |
}
|
|
411 |
|
|
412 |
.content-link:hover { border-right : 0px; }
|
|
413 |
|
|
414 |
iframe {
|
|
415 |
position:relative;
|
|
416 |
top:16px;
|
|
417 |
width:100%;
|
|
418 |
height:100%;
|
|
419 |
padding-left:10px;
|
|
420 |
}
|
|
421 |
|
|
422 |
/* mozilla scrollbar appearing off page fix */
|
|
423 |
#page-content > iframe {
|
|
424 |
width: 98%;
|
|
425 |
padding-left: 2%;
|
|
426 |
}
|