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 : Verdana, Helvetica, sans-serif; } |
|
16 |
|
17 H1, H2, H3, H4, p, a { color : #000000; } |
|
18 |
|
19 .intro-header H1 { |
|
20 font-family: Verdana, Helvetica, sans-serif; |
|
21 font-size: 20px; |
|
22 color: #000000; |
|
23 } |
|
24 |
|
25 h2 { |
|
26 font-size : 13pt; |
|
27 font-weight : normal; |
|
28 color : #000000; |
|
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 : #000000; |
|
42 } |
|
43 |
|
44 /* For the main page content's title */ |
|
45 #content-header H4 .div-label { |
|
46 font-size : 14pt; |
|
47 font-weight : bold; |
|
48 color : #000000; |
|
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 : #000000; |
|
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 /* |
|
166 * Hide the other general-purpose groups |
|
167 */ |
|
168 |
|
169 #extra-group2, |
|
170 #extra-group3, |
|
171 #extra-group4, |
|
172 #extra-group5 { |
|
173 display : none; |
|
174 } |
|
175 |
|
176 .intro-header { background-color : transparent; z-index : 100;} |
|
177 |
|
178 body, .page{ |
|
179 min-width : 770px; |
|
180 /* since IE doesn't support min-width, try expression */ |
|
181 width:expression(document.body.clientWidth < 770? "770px": "auto" ); |
|
182 min-height : 425px; |
|
183 height : 100%; |
|
184 height : expression(document.body.clientHeight < 425? "425px": "100%" ); |
|
185 } |
|
186 |
|
187 .page { |
|
188 min-height : 475px; |
|
189 background-image : url(../graphics/root/background.jpg); |
|
190 background-repeat : repeat-x; |
|
191 background-position : top left; |
|
192 } |
|
193 |
|
194 #page-content { |
|
195 background-repeat : no-repeat; |
|
196 background-position : bottom right; |
|
197 height : 70%; |
|
198 } |
|
199 |
|
200 /* |
|
201 * Lay out the navigation links |
|
202 * (Root page does something similar for its navigation) |
|
203 */ |
|
204 #navigation-links { |
|
205 position : relative; |
|
206 left : 10px; |
|
207 top : 5px; |
|
208 height : 60px; |
|
209 width : 98%; |
|
210 } |
|
211 |
|
212 #navigation-links a { |
|
213 padding-left : 5px; |
|
214 padding-right : 5px; |
|
215 float : left; |
|
216 text-align : center; |
|
217 } |
|
218 |
|
219 #navigation-links #customize { |
|
220 padding-left : 5px; |
|
221 padding-right : 5px; |
|
222 float : left; |
|
223 text-align : center; |
|
224 } |
|
225 |
|
226 #navigation-links a img { |
|
227 height : 52px; |
|
228 width : 52px; |
|
229 vertical-align : middle; |
|
230 } |
|
231 |
|
232 #navigation-links a .link-label { display : block; margin-top : 5px;} |
|
233 |
|
234 #navigation-links a .text { display : none; } |
|
235 |
|
236 #navigation-links a:hover, |
|
237 #navigation-links a:focus |
|
238 #navigation-links a:active { border-right : 0px;} |
|
239 |
|
240 /* properties for each of the navigation-links */ |
|
241 #navigation-links a#overview img { background-image : url(../graphics/icons/etool/overview48.gif); } |
|
242 #navigation-links a#overview:hover img, |
|
243 #navigation-links a#overview:focus img, |
|
244 #navigation-links a#overview:active img { background-image : url(../graphics/icons/ctool/overview48.gif); } |
|
245 |
|
246 #navigation-links a#tutorials img { background-image : url(../graphics/icons/etool/tutorials48.gif); } |
|
247 #navigation-links a#tutorials:hover img, |
|
248 #navigation-links a#tutorials:active img, |
|
249 #navigation-links a#tutorials:focus img { background-image : url(../graphics/icons/ctool/tutorials48.gif); } |
|
250 |
|
251 #navigation-links a#samples img { background-image : url(../graphics/icons/etool/samples48.gif); } |
|
252 #navigation-links a#samples:hover img, |
|
253 #navigation-links a#samples:active img, |
|
254 #navigation-links a#samples:focus img { background-image : url(../graphics/icons/ctool/samples48.gif); } |
|
255 |
|
256 #navigation-links a#whatsnew img { background-image : url(../graphics/icons/etool/whatsnew48.gif); } |
|
257 #navigation-links a#whatsnew:hover img, |
|
258 #navigation-links a#whatsnew:focus img, |
|
259 #navigation-links a#whatsnew:active img { background-image : url(../graphics/icons/ctool/whatsnew48.gif); } |
|
260 |
|
261 #navigation-links a#firststeps img { background-image : url(../graphics/icons/etool/firsteps48.gif); } |
|
262 #navigation-links a#firststeps:hover img, |
|
263 #navigation-links a#firststeps:focus img, |
|
264 #navigation-links a#firststeps:active img { background-image : url(../graphics/icons/ctool/firsteps48.gif); } |
|
265 |
|
266 #navigation-links a#webresources img { background-image : url(../graphics/icons/etool/webrsrc48.gif); } |
|
267 #navigation-links a#webresources:hover img, |
|
268 #navigation-links a#webresources:focus img, |
|
269 #navigation-links a#webresources:active img { background-image : url(../graphics/icons/ctool/webrsrc48.gif); } |
|
270 |
|
271 #navigation-links a#migrate img { background-image : url(../graphics/icons/etool/migrate48.gif); } |
|
272 #navigation-links a#migrate:hover img, |
|
273 #navigation-links a#migrate:focus img, |
|
274 #navigation-links a#migrate:active img { background-image : url(../graphics/icons/ctool/migrate48.gif); } |
|
275 |
|
276 |
|
277 #navigation-links a#workbench { position : absolute; right : 0px; top : -35px; text-align : right;} |
|
278 #navigation-links a#workbench .text { display : none; } |
|
279 #navigation-links a#workbench img { background-image : url(../graphics/icons/etool/wb48.gif); width : 53px; height : 53px;} |
|
280 #navigation-links a#workbench:hover img, |
|
281 #navigation-links a#workbench:focus img, |
|
282 #navigation-links a#workbench:active img { background-image : url(../graphics/icons/ctool/wb48.gif); } |
|
283 |
|
284 /* |
|
285 * Lay out the page title and description |
|
286 */ |
|
287 h1, p { margin-left : 10px; } /* required in mozilla so the page description is properly indented */ |
|
288 |
|
289 /* position the page content so that the page title overlays the bottom |
|
290 * of the background image, but make sure the content is always on top |
|
291 * (using z-index) */ |
|
292 #page-content { |
|
293 float : none; |
|
294 clear : both; |
|
295 text-align : center; |
|
296 margin-top : 35px; |
|
297 } |
|
298 |
|
299 .page > #page-content { margin-top : 50px; } |
|
300 |
|
301 #page-content p { |
|
302 padding-bottom : 15px; |
|
303 text-align : left; |
|
304 float : none; |
|
305 clear : both; |
|
306 } |
|
307 |
|
308 /* Page content bins */ |
|
309 |
|
310 #page-content #top-left { |
|
311 border: none; float: left; margin: 0px; padding: 0px; width: 50%; |
|
312 clear: left; |
|
313 } |
|
314 #page-content #top-right { |
|
315 border: none; float: right; margin: 0px; padding: 0px; width: 50%; |
|
316 clear: right; |
|
317 } |
|
318 |
|
319 /* top-bottom divider - runs the entire width to ensure |
|
320 * bottom boxes start at the same y |
|
321 */ |
|
322 #page-content #content-divider { |
|
323 border: none; float: none; margin: 0; padding: 0px; width: 100%; |
|
324 clear: both; |
|
325 } |
|
326 |
|
327 #page-content #bottom-left { |
|
328 border: none; float: left; margin: 0px; padding: 0px; width: 50%; |
|
329 clear: left; |
|
330 } |
|
331 #page-content #bottom-right { |
|
332 border: none; float: right; margin: 0px; padding: 0px; width: 50%; |
|
333 clear: right; |
|
334 } |
|
335 |
|
336 #page-content #content-header H4, .page-description { |
|
337 text-align : left; |
|
338 margin-right : 10px; |
|
339 float : none; |
|
340 clear : both; |
|
341 } |
|
342 |
|
343 #page-content #top-left > *, |
|
344 #page-content #top-right > *, |
|
345 #page-content #bottom-left > *, |
|
346 #page-content #bottom-right > * { |
|
347 display: block; |
|
348 } |
|
349 |
|
350 #page-content * > a { |
|
351 vertical-align : middle; |
|
352 } |
|
353 |
|
354 #page-content * a img { |
|
355 height : 57px; |
|
356 width : 57px; |
|
357 vertical-align : middle; |
|
358 } |
|
359 |
|
360 /* Controls link titles on welcome page */ |
|
361 #page-content * a .link-label { |
|
362 font-weight : bold; |
|
363 display : block; |
|
364 position : relative; |
|
365 top : -50px; |
|
366 left : 60px; |
|
367 margin-right: 60px; |
|
368 } |
|
369 |
|
370 #page-content * a > .link-label { left: 65px; } |
|
371 |
|
372 /* Controls text description 0n welcome page */ |
|
373 #page-content * a p .text { |
|
374 display : block; |
|
375 position : relative; |
|
376 top : -45px; |
|
377 margin-bottom: -25px; |
|
378 left : 53px; |
|
379 margin-right: 53px; |
|
380 color: #000; |
|
381 } |
|
382 |
|
383 #page-content * a p > .text { left: 58px; } |
|
384 |
|
385 #page-content * a:hover { border-right : 5px; } |
|
386 |
|
387 |
|
388 /* The following rules are for extensions in all pages. Extensions should be placed in |
|
389 * groups with the style 'content-group' and contain links with the style 'content-link'. |
|
390 * Group is important so that importance mixin style can be applied to the group that |
|
391 * uses block display. We need to see a solid rectangle around the extension, not |
|
392 * a tight polygon around the link perimeter. |
|
393 */ |
|
394 |
|
395 .content-group { |
|
396 margin-left: 10px; |
|
397 margin-right: 10px; |
|
398 padding-left: 10px; |
|
399 padding-right: 10px; |
|
400 float : none; |
|
401 clear : both; |
|
402 text-align : left; |
|
403 /* color: #000000; */ |
|
404 /* Carbide branding mod |
|
405 margin-bottom : 0px; |
|
406 /* background-image : url(../graphics/contentpage/page-link-wide.gif); */ |
|
407 background-repeat:no-repeat; |
|
408 background-position : top left; |
|
409 */ |
|
410 } |
|
411 |
|
412 |
|
413 .categoryContentnav { |
|
414 font-size: 9pt; |
|
415 font-weight: bold; |
|
416 color: #4A4D4A; |
|
417 } |
|
418 |
|
419 .topicList { |
|
420 font-size: 8pt; |
|
421 line-height:1.75; |
|
422 color: #00507C; |
|
423 } |
|
424 |
|
425 /* .content-link:hover { border-right : 0px; } */ |
|
426 .content-link:hover { |
|
427 background-image : url(../graphics/contentpage/page-link-wide.gif); |
|
428 } |
|
429 |
|
430 |
|
431 iframe { |
|
432 position:relative; |
|
433 top:16px; |
|
434 width:100%; |
|
435 height:100%; |
|
436 padding-left:10px; |
|
437 } |
|
438 |
|
439 /* mozilla scrollbar appearing off page fix */ |
|
440 #page-content > iframe { |
|
441 width: 98%; |
|
442 padding-left: 2%; |
|
443 } |
|