View | Details | Raw Unified | Return to bug 55383
Collapse All | Expand All

(-)xdocs/stylesheets/tomcat-printer.css (-2 / +19 lines)
Lines 1-3 Link Here
1
.noPrint {display: none;}
1
@charset "utf-8";
2
td#mainBody {width: 100%;}
2
/*
3
* Copyright 2002-2013 The Apache Software Foundation
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
*     http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*/
3
17
18
.noPrint { display: none; }
19
#middle > div > div#mainLeft { display: none; }
20
a { color: inherit; text-decoration: none; }
(-)xdocs/stylesheets/tomcat-site.xsl (-198 / +143 lines)
Lines 1-35 Link Here
1
<?xml version="1.0" encoding="ISO-8859-1"?>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3
  Licensed to the Apache Software Foundation (ASF) under one or more
4
  contributor license agreements.  See the NOTICE file distributed with
5
  this work for additional information regarding copyright ownership.
6
  The ASF licenses this file to You under the Apache License, Version 2.0
7
  (the "License"); you may not use this file except in compliance with
8
  the License.  You may obtain a copy of the License at
9
10
      http://www.apache.org/licenses/LICENSE-2.0
11
12
  Unless required by applicable law or agreed to in writing, software
13
  distributed under the License is distributed on an "AS IS" BASIS,
14
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
  See the License for the specific language governing permissions and
16
  limitations under the License.
17
-->
2
<!-- Content Stylesheet for "tomcat-site" Documentation -->
18
<!-- Content Stylesheet for "tomcat-site" Documentation -->
3
19
4
<!-- $Id$ -->
20
<!-- $Id$ -->
5
21
6
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
22
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7
  version="1.0">
23
  version="3.0">
8
24
9
25
10
  <!-- Output method -->
26
  <!-- Output method -->
11
  <xsl:output method="html"
27
  <xsl:output method="html"
12
              encoding="utf-8"
28
              html-version="5.0"
13
              indent="yes"/>
29
              encoding="UTF-8"
30
              indent="no"
31
              doctype-system="about:legacy-compat"/>
14
32
15
33
16
  <!-- Defined parameters (overrideable) -->
34
  <!-- Defined parameters (overrideable) -->
17
  <xsl:param    name="relative-path" select="'.'"/>
35
  <xsl:param    name="relative-path" select="'.'"/>
36
  <xsl:param    name="home-logo"     select="'/images/tomcat.png'"/>
18
  <xsl:param    name="buglink"       select="'https://issues.apache.org/bugzilla/show_bug.cgi?id='"/>
37
  <xsl:param    name="buglink"       select="'https://issues.apache.org/bugzilla/show_bug.cgi?id='"/>
19
  <xsl:param    name="revlink"       select="'http://svn.apache.org/viewvc?view=rev&amp;rev='"/>
38
  <xsl:param    name="revlink"       select="'http://svn.apache.org/viewvc?view=rev&amp;rev='"/>
20
  <xsl:param    name="cvelink"       select="'http://cve.mitre.org/cgi-bin/cvename.cgi?name='"/>
39
  <xsl:param    name="cvelink"       select="'http://cve.mitre.org/cgi-bin/cvename.cgi?name='"/>
21
40
22
  <!-- Defined variables (non-overrideable) -->
41
  <!-- Defined variables (non-overrideable) -->
23
  <xsl:variable name="body-bg"       select="'#ffffff'"/>
24
  <xsl:variable name="body-fg"       select="'#000000'"/>
25
  <xsl:variable name="body-link"     select="'#525D76'"/>
26
  <xsl:variable name="banner-bg"     select="'#525D76'"/>
27
  <xsl:variable name="banner-fg"     select="'#ffffff'"/>
28
  <xsl:variable name="sub-banner-bg" select="'#828DA6'"/>
29
  <xsl:variable name="sub-banner-fg" select="'#ffffff'"/>
30
  <xsl:variable name="table-th-bg"   select="'#039acc'"/>
31
  <xsl:variable name="table-td-bg"   select="'#a0ddf0'"/>
32
  <xsl:variable name="source-color"  select="'#023264'"/>
33
42
34
43
35
  <!-- Process an entire document into an HTML page -->
44
  <!-- Process an entire document into an HTML page -->
Lines 37-44 Link Here
37
    <xsl:variable name="project"
46
    <xsl:variable name="project"
38
                select="document('project.xml')/project"/>
47
                select="document('project.xml')/project"/>
39
48
40
    <html>
49
<html lang="en">
41
    <head>
50
<head>
51
  <!-- Note: XLST seems to always output a
52
       <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
53
       when method="html",
54
       therefore we can't use
55
       <meta charset="UTF-8"/>.
56
57
       In XHTML, this is not needed as the encoding will be
58
       specified in the XML declaration.
59
  -->
60
  <link href="stylesheets/tomcat.css" rel="stylesheet" type="text/css"/>
61
  <link href="stylesheets/tomcat-printer.css" rel="stylesheet" type="text/css" media="print"/>
42
    <xsl:apply-templates select="meta"/>
62
    <xsl:apply-templates select="meta"/>
43
    <title><xsl:value-of select="$project/title"/> - <xsl:value-of select="properties/title"/></title>
63
    <title><xsl:value-of select="$project/title"/> - <xsl:value-of select="properties/title"/></title>
44
    <xsl:for-each select="properties/author">
64
    <xsl:for-each select="properties/author">
Lines 59-160 Link Here
59
    <xsl:if test="properties/base">
79
    <xsl:if test="properties/base">
60
      <base href="{properties/base/@href}"/>
80
      <base href="{properties/base/@href}"/>
61
    </xsl:if>
81
    </xsl:if>
82
  </head>
62
83
63
    <!-- YS 20051102: Add a stylesheet -->
84
  <body>
64
    <link type="text/css" href="stylesheets/tomcat.css" rel="stylesheet" />
85
  <div id="wrapper">
65
    <link type="text/css" href="stylesheets/tomcat-printer.css" rel="stylesheet" media="print" />
86
  <!-- Header -->
66
    </head>
87
  <header id="header">
88
    <div>
89
      <div>
90
          <xsl:variable name="src">
91
            <xsl:value-of select="$relative-path"/><xsl:value-of select="$home-logo"/>
92
          </xsl:variable>
93
          <div class="logo noPrint">
94
            <a href="{project/@href}"><img alt="Tomcat Home" src="{$src}"/></a>
95
          </div>
67
96
68
    <body bgcolor="{$body-bg}" text="{$body-fg}" link="{$body-link}"
97
        <div style="height: 1px;"/>
69
          alink="{$body-link}" vlink="{$body-link}">
98
        <div class="asfLogo"><a href="http://www.apache.org/" target="_blank"><img src="http://www.apache.org/images/feather.png" alt="The Apache Software Foundation" style="width: 266px; height: 83px;"/></a></div>
70
99
        <h1 style="margin-top: 35px;"><xsl:value-of select="$project/title"/></h1>
71
    <table border="0" width="100%" cellspacing="0">
100
		
72
101
		<div style="clear: right;"/>
73
      <xsl:comment>PAGE HEADER</xsl:comment>
102
	<!-- Search box: uses CSS positioning -->
74
      <tr>
75
        <td>
76
          <xsl:comment>PROJECT LOGO</xsl:comment>
77
          <a href="http://tomcat.apache.org/">
78
            <img src="./images/tomcat.gif" align="left" alt="Tomcat Logo" border="0"/>
79
          </a>
80
        </td>
81
        <td>
82
          <font face="arial,helvetica,sanserif">
83
            <h1><xsl:value-of select="$project/title"/></h1>
84
          </font>
85
        </td>
86
        <td>
87
          <xsl:comment>APACHE LOGO</xsl:comment>
88
          <a href="http://www.apache.org/">
89
            <img src="http://www.apache.org/images/asf-logo.gif"
90
                 align="right" alt="Apache Logo" border="0"/>
91
          </a>
92
        </td>
93
      </tr>
94
    </table>
95
96
    <!-- Search box: uses CSS positioning -->
97
    <div class="searchbox noPrint">
103
    <div class="searchbox noPrint">
98
      <form action="http://www.google.com/search" method="get">
104
      <form action="http://www.google.com/search" method="get">
99
        <input value="tomcat.apache.org" name="sitesearch" type="hidden" />
105
        <input value="tomcat.apache.org" name="sitesearch" type="hidden" />
100
        <input value="Search the Site" size="25" name="q" id="query" type="text" />
106
        <input placeholder="Search the Site…" required="required" size="25" name="q" id="query" type="search" />
101
        <input name="Search" value="Search Site" type="submit" />
107
        <button>Search</button>
102
      </form>
108
      </form>
103
    </div>
109
    </div>
104
    <!-- End search box -->
110
    <!-- End search box -->
111
	
112
        <div style="height: 1px;"/>
113
        <div style="clear: left;"/>
114
      </div>
115
    </div>
116
  </header>
117
  
118
  
119
  <div id="middle">
120
    <div>
121
      <div id="mainLeft" class="noprint">
122
        <div>
123
          <!-- Navigation -->
124
          <nav>
125
            <xsl:apply-templates select="$project/body/menu"/>
126
          </nav>
127
        </div>
128
      </div>
129
      <div id="mainRight">
130
        <div id="content">
131
          <!-- Main Part -->
132
          <main>
133
		    <!-- Hidden heading -->
134
			<h2 style="display: none;">Content</h2>
135
            <xsl:apply-templates select="body/section"/>
136
          </main>
137
        </div>
138
      </div>
139
    </div>
140
  </div>
105
141
106
    <table border="0" width="100%" cellspacing="4">
142
  <!-- Footer -->
143
  <footer id="footer">
144
    Copyright © 1999-2013, The Apache Software Foundation
145
    <br/>
146
    Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat
147
    project logo are trademarks of the Apache Software Foundation.
148
  </footer>
149
</div>
150
</body>
151
</html>
107
152
108
      <xsl:comment>HEADER SEPARATOR</xsl:comment>
109
      <tr>
110
        <td colspan="2">
111
          <hr noshade="" size="1"/>
112
        </td>
113
      </tr>
114
115
      <tr>
116
        <xsl:comment>LEFT SIDE NAVIGATION</xsl:comment>
117
        <td width="20%" valign="top" nowrap="true" class="noPrint">
118
          <xsl:apply-templates select="$project/body/menu"/>
119
        </td>
120
121
        <xsl:comment>RIGHT SIDE MAIN BODY</xsl:comment>
122
        <td width="80%" valign="top" align="left" id="mainBody">
123
          <xsl:apply-templates select="body/section"/>
124
        </td>
125
126
      </tr>
127
128
      <xsl:comment>FOOTER SEPARATOR</xsl:comment>
129
      <tr>
130
        <td colspan="2">
131
          <hr noshade="" size="1"/>
132
        </td>
133
      </tr>
134
135
      <xsl:comment>PAGE FOOTER</xsl:comment>
136
      <tr><td colspan="2">
137
        <div align="center"><font color="{$body-link}" size="-1"><em>
138
        Copyright &#169; 1999-2013, The Apache Software Foundation
139
        <br/>
140
        Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat
141
        project logo are trademarks of the Apache Software Foundation.
142
        </em></font></div>
143
      </td></tr>
144
145
    </table>
146
    </body>
147
    </html>
148
149
  </xsl:template>
153
  </xsl:template>
150
154
151
155
152
  <!-- Process a menu for the navigation bar -->
156
  <!-- Process a menu for the navigation bar -->
153
  <xsl:template match="menu">
157
  <xsl:template match="menu">
154
    <p><strong><xsl:value-of select="@name"/></strong></p>
158
  <div>
159
    <h2><strong><xsl:value-of select="@name"/></strong></h2>
155
    <ul>
160
    <ul>
156
      <xsl:apply-templates select="item"/>
161
      <xsl:apply-templates select="item"/>
157
    </ul>
162
    </ul>
163
  </div>
158
  </xsl:template>
164
  </xsl:template>
159
165
160
166
Lines 182-188 Link Here
182
188
183
  <!-- Process a documentation section -->
189
  <!-- Process a documentation section -->
184
  <xsl:template match="section">
190
  <xsl:template match="section">
185
    <xsl:variable name="name">
191
    <xsl:variable name="name2">
186
      <xsl:choose>
192
      <xsl:choose>
187
        <xsl:when test="@anchor">
193
        <xsl:when test="@anchor">
188
          <xsl:value-of select="@anchor" />
194
          <xsl:value-of select="@anchor" />
Lines 192-232 Link Here
192
        </xsl:otherwise>
198
        </xsl:otherwise>
193
      </xsl:choose>
199
      </xsl:choose>
194
    </xsl:variable>
200
    </xsl:variable>
195
    <xsl:variable name="name2">
201
    <xsl:variable name="name">
196
      <xsl:value-of select="translate($name, ' #', '__')"/>
202
      <xsl:value-of select="translate($name2, ' #', '__')"/>
197
    </xsl:variable>
203
    </xsl:variable>
198
    <table border="0" cellspacing="0" cellpadding="2" width="100%">
204
199
      <!-- Section heading -->
205
    <!-- Section heading -->
200
      <tr><td bgcolor="{$banner-bg}">
206
    <h3 id="{$name}">
201
          <font color="{$banner-fg}" face="arial,helvetica,sanserif">
202
          <xsl:if test="$name != $name2"><a name="{$name}"><xsl:comment>()</xsl:comment></a></xsl:if>
203
          <a name="{$name2}">
204
          <strong><xsl:value-of select="@name"/></strong></a></font>
205
          </td>
206
      <xsl:if test="@rtext">
207
      <xsl:if test="@rtext">
207
          <td align="right" bgcolor="{$banner-bg}">
208
        <!-- Additional right-aligned text cell in section heading. -->
208
          <font color="{$banner-fg}" face="arial,helvetica.sanserif">
209
        <span style="float: right;">
209
          <strong><xsl:value-of select="@rtext"/></strong></font>
210
          <xsl:value-of select="@rtext"/>
210
          </td>
211
        </span><xsl:text>&#x20;</xsl:text> <!-- Ensure a space follows after </span> -->
211
      </xsl:if>
212
      </xsl:if>
212
      </tr>
213
      <xsl:value-of select="@name"/>
213
      <!-- Section body -->
214
    </h3>
214
      <tr><td>
215
    <!-- Section body -->
215
      <xsl:if test="@rtext">
216
    <div class="text">
216
          <xsl:attribute name="colspan">2</xsl:attribute>
217
      <xsl:apply-templates/>
217
      </xsl:if>
218
    </div>
218
      <p><blockquote>
219
219
        <xsl:apply-templates/>
220
      </blockquote></p>
221
      </td></tr>
222
      <tr><td><br/></td></tr>
223
    </table>
224
  </xsl:template>
220
  </xsl:template>
225
221
226
222
227
  <!-- Process a documentation subsection -->
223
  <!-- Process a documentation subsection -->
228
  <xsl:template match="subsection">
224
  <xsl:template match="subsection">
229
    <xsl:variable name="name">
225
    <xsl:variable name="name2">
230
      <xsl:choose>
226
      <xsl:choose>
231
        <xsl:when test="@anchor">
227
        <xsl:when test="@anchor">
232
          <xsl:value-of select="@anchor" />
228
          <xsl:value-of select="@anchor" />
Lines 241-263 Link Here
241
        </xsl:otherwise>
237
        </xsl:otherwise>
242
      </xsl:choose>
238
      </xsl:choose>
243
    </xsl:variable>
239
    </xsl:variable>
244
    <xsl:variable name="name2">
240
    <xsl:variable name="name">
245
      <xsl:value-of select="translate($name, ' #', '__')"/>
241
      <xsl:value-of select="translate($name2, ' #', '__')"/>
246
    </xsl:variable>
242
    </xsl:variable>
247
    <table border="0" cellspacing="0" cellpadding="2" width="100%">
243
	
244
    <div class="subsection">
248
      <!-- Subsection heading -->
245
      <!-- Subsection heading -->
249
      <tr><td bgcolor="{$sub-banner-bg}">
246
      <!-- TODO: When a <subsection> is nested in another <subsection>,
250
          <font color="{$sub-banner-fg}" face="arial,helvetica,sanserif">
247
           the output should be <h5>, not <h4>. Same with <h6>. -->
251
          <xsl:if test="$name != $name2"><a name="{$name}"><xsl:comment>()</xsl:comment></a></xsl:if>
248
      <h4 id="{$name}">
252
          <a name="{$name2}">
249
        <xsl:value-of select="@name"/>
253
          <strong><xsl:value-of select="@name"/></strong></a></font>
250
      </h4>
254
      </td></tr>
255
      <!-- Subsection body -->
251
      <!-- Subsection body -->
256
      <tr><td><blockquote>
252
      <div class="text">
257
        <xsl:apply-templates/>
253
        <xsl:apply-templates/>
258
      </blockquote></td></tr>
254
      </div>
259
      <tr><td><br/></td></tr>
255
    </div>
260
    </table>
256
261
  </xsl:template>
257
  </xsl:template>
262
258
263
259
Lines 267-273 Link Here
267
  </xsl:template>
263
  </xsl:template>
268
264
269
  <xsl:template mode="toc" match="section|subsection">
265
  <xsl:template mode="toc" match="section|subsection">
270
    <xsl:variable name="name">
266
    <xsl:variable name="name2">
271
      <xsl:choose>
267
      <xsl:choose>
272
        <xsl:when test="@anchor">
268
        <xsl:when test="@anchor">
273
          <xsl:value-of select="@anchor" />
269
          <xsl:value-of select="@anchor" />
Lines 282-291 Link Here
282
        </xsl:otherwise>
278
        </xsl:otherwise>
283
      </xsl:choose>
279
      </xsl:choose>
284
    </xsl:variable>
280
    </xsl:variable>
285
    <xsl:variable name="name2">
281
    <xsl:variable name="name">
286
      <xsl:value-of select="translate($name, ' #', '__')"/>
282
      <xsl:value-of select="translate($name2, ' #', '__')"/>
287
    </xsl:variable>
283
    </xsl:variable>
288
    <li><a href="#{$name2}"><xsl:value-of select="@name"/></a>
284
    <li><a href="#{$name}"><xsl:value-of select="@name"/></a>
289
    <xsl:if test="subsection">
285
    <xsl:if test="subsection">
290
      <ol><xsl:apply-templates mode="toc" select="subsection"/></ol>
286
      <ol><xsl:apply-templates mode="toc" select="subsection"/></ol>
291
    </xsl:if>
287
    </xsl:if>
Lines 295-337 Link Here
295
291
296
  <!-- Process a source code example -->
292
  <!-- Process a source code example -->
297
  <xsl:template match="source">
293
  <xsl:template match="source">
298
    <div align="left">
294
  <div class="codeBox">
299
      <table cellspacing="4" cellpadding="0" border="0">
295
    <pre>
300
        <tr>
296
      <xsl:if test="@wrapped='true'">
301
          <td bgcolor="{$source-color}" width="1" height="1">
297
        <xsl:attribute name="class">wrap</xsl:attribute>
302
            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
298
      </xsl:if>
303
          </td>
299
      <code><xsl:apply-templates/></code>
304
          <td bgcolor="{$source-color}" height="1">
300
    </pre>
305
            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
301
  </div>
306
          </td>
307
          <td bgcolor="{$source-color}" width="1" height="1">
308
            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
309
          </td>
310
        </tr>
311
        <tr>
312
          <td bgcolor="{$source-color}" width="1">
313
            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
314
          </td>
315
          <td bgcolor="#ffffff" height="1"><pre>
316
            <xsl:value-of select="."/>
317
          </pre></td>
318
          <td bgcolor="{$source-color}" width="1">
319
            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
320
          </td>
321
        </tr>
322
        <tr>
323
          <td bgcolor="{$source-color}" width="1" height="1">
324
            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
325
          </td>
326
          <td bgcolor="{$source-color}" height="1">
327
            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
328
          </td>
329
          <td bgcolor="{$source-color}" width="1" height="1">
330
            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
331
          </td>
332
        </tr>
333
      </table>
334
    </div>
335
  </xsl:template>
302
  </xsl:template>
336
303
337
  <!-- Link to a bug report -->
304
  <!-- Link to a bug report -->
Lines 359-386 Link Here
359
      <a href="{$link}" rel="nofollow"><xsl:apply-templates/></a>
326
      <a href="{$link}" rel="nofollow"><xsl:apply-templates/></a>
360
  </xsl:template>
327
  </xsl:template>
361
328
362
  <!-- specially process td tags ala site.vsl -->
363
  <xsl:template match="table[@class='detail-table']/tr/td">
364
    <td bgcolor="{$table-td-bg}" valign="top" align="left">
365
        <xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
366
        <xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
367
        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
368
            <xsl:apply-templates/>
369
        </font>
370
    </td>
371
  </xsl:template>
372
373
  <!-- handle th ala site.vsl -->
374
  <xsl:template match="table[@class='detail-table']/tr/th">
375
    <td bgcolor="{$table-th-bg}" valign="top">
376
        <xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
377
        <xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
378
        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
379
            <xsl:apply-templates />
380
        </font>
381
    </td>
382
  </xsl:template>
383
384
  <!-- Process everything else by just passing it through -->
329
  <!-- Process everything else by just passing it through -->
385
  <xsl:template match="*|@*">
330
  <xsl:template match="*|@*">
386
    <xsl:copy>
331
    <xsl:copy>
(-)xdocs/stylesheets/tomcat.css (-9 / +229 lines)
Lines 1-3 Link Here
1
@charset "utf-8";
1
/*
2
/*
2
* Copyright 2002-2013 The Apache Software Foundation
3
* Copyright 2002-2013 The Apache Software Foundation
3
*
4
*
Lines 14-28 Link Here
14
* limitations under the License.
15
* limitations under the License.
15
*/
16
*/
16
17
18
19
/* General style */
20
21
body {
22
  margin: 0;
23
}
24
25
body, input {
26
  font-family: 'Lucida Sans Unicode', Arial, Helvetica, sans-serif;
27
  font-size: 10.5pt;
28
}
29
30
code, pre {
31
  font-family: Consolas, monospace;
32
}
33
34
img {
35
  border: 0;
36
}
37
38
table {
39
  border-collapse: collapse;
40
  text-align: left;
41
}
42
table *:not(table) {
43
  /* Prevent border-collapsing for table child elements like <div> */
44
  border-collapse: separate;
45
}
46
47
main {
48
  /* Remove this once all IEs support <main> element */
49
  display: block;
50
}
51
52
53
/* Layout */
54
55
#wrapper {
56
  min-width: 400px;
57
}
58
59
#header {
60
  box-shadow: 0 0 7px #aaa;
61
  border-bottom: 1px solid #bbb;
62
}
63
64
#header > div {
65
  padding-left: 15px;
66
  padding-right: 15px;
67
  background: linear-gradient(to bottom, #ffffff -10%, #F8F3E4 100%);
68
  position: relative;
69
}
70
71
#header .logo {
72
  float: left;
73
  padding-top: 20px;
74
  min-width: 190px;
75
}
76
77
#header .logo  img{
78
  /* To avoid that the Font Descender being added to the parent div's height */
79
  vertical-align: middle;
80
}
81
82
#header .asfLogo {
83
  float: right;
84
  position: relative;
85
  top: 8px;
86
}
87
88
#header h1 {
89
  margin-top: 0.6em;
90
  margin-bottom: 0;
91
}
92
93
#header .versionInfo {
94
  font-size: 13pt;
95
  margin-bottom: 1em;
96
}
97
98
#middle {
99
  display: table;
100
  table-layout: fixed;
101
  margin: 0;
102
  width: 100%;
103
}
104
#middle > div { display: table-row; }
105
#middle > div > div { display: table-cell; vertical-align: top; }
106
107
108
109
#mainLeft {
110
  width: 190px;
111
}
112
113
#mainLeft > div {
114
  margin-top: -1px; /* to overwrite border of element above */
115
  padding-left: 16px;
116
  padding-right: 14px;
117
  padding-top: 6px;
118
  padding-bottom: 15px;
119
  background-color: #F8F3E4;
120
  border-right: 1px solid #bbb;
121
  border-bottom: 1px solid #bbb;
122
  font-size: 10pt;
123
  border-bottom-right-radius: 20px;
124
  box-shadow: 0 0 5px #aaa;
125
}
126
127
#mainLeft h2 {
128
  margin-bottom: 0.2em;
129
  font-size: 1.2em;
130
}
131
132
#mainLeft ul {
133
  padding: 0;
134
  margin: 0;
135
  list-style-type: none;
136
}
137
138
#mainLeft ul a {
139
  text-indent: -0.6em;
140
  padding-left: 1.4em;
141
  display: block;
142
  text-decoration: none;
143
  color: #444;
144
}
145
#mainLeft ul a:hover {
146
  color: #000;
147
  background-color: #D1c9b9;
148
}
149
150
#mainRight {
151
  padding-left: 14px;
152
  padding-right: 20px;
153
154
}
155
156
#footer {
157
  margin-top: 30px;
158
  padding-top: 20px;
159
  padding-bottom: 20px;
160
  padding-left: 20px;
161
  padding-right: 20px;
162
  border-top: 1px solid #ccc;
163
  color: #444;
164
  text-align: center;
165
  /* font-style: italic; */
166
  font-size: 9pt;
167
}
168
169
170
/* Content */
171
172
#content div.text {
173
  padding-left: 1em;
174
  padding-left: 1em;
175
}
176
177
#content h3, #content h4, #content h5, #content h6 {
178
  padding-left: 5px;
179
  padding-right: 5px;
180
  background-color: #eaeaea;
181
  border: 1px solid #ccc;
182
  border-radius: 4px;
183
}
184
185
#content h4, #content h5, #content h6 {
186
  background-color: #f6f6f6;
187
}
188
189
code {
190
  background-color: rgb(224,255,255);
191
}
192
193
div.codeBox pre code, code.attributeName, code.propertyName, code.noHighlight {
194
  background-color: transparent;
195
}
196
div.codeBox {
197
  overflow: auto;
198
  margin: 1em 0;
199
}
200
div.codeBox pre {
201
  margin: 0;
202
  padding: 4px;
203
  border: 1px solid #999;
204
  border-radius: 5px;
205
  background-color: #eff8ff;
206
  display: table; /* To prevent <pre>s from taking the complete available width. */
207
  /*
208
  When it is officially supported, use the following CSS instead of display: table
209
  to prevent big <pre>s from exceeding the browser window:
210
  max-width: available;
211
  width: min-content;
212
  */
213
}
214
215
div.codeBox pre.wrap {
216
  white-space: pre-wrap;
217
}
218
219
220
table.defaultTable tr, table.detail-table tr {
221
    border: 1px solid #CCC;
222
}
223
224
table.defaultTable tr:nth-child(even), table.detail-table tr:nth-child(even) {
225
    background-color: #FAFBFF;
226
}
227
228
table.defaultTable tr:nth-child(odd), table.detail-table tr:nth-child(odd) {
229
    background-color: #EEEFFF;
230
}
231
232
table.defaultTable th, table.detail-table th {
233
  background-color: #88b;
234
  color: #fff;
235
}
236
237
table.defaultTable th, table.defaultTable td, table.detail-table th, table.detail-table td {
238
  padding: 5px 8px;
239
}
240
241
242
17
.searchbox {
243
.searchbox {
18
    position: relative;
19
    left: -50px;
20
    top: 20px;
21
    height: 42px;
22
    white-space: nowrap;
23
    text-align: right;
244
    text-align: right;
24
    z-index:0;
245
	margin-top: 8px;
25
    bottom: -1px; /* compensate for IE rendering issue */
246
	margin-right: 10px;
247
	margin-bottom: 6px;
26
}
248
}
27
249
28
.searchbox form {
250
.searchbox form {
Lines 29-33 Link Here
29
    padding: 5px 10px;
251
    padding: 5px 10px;
30
    margin: 0;
252
    margin: 0;
31
}
253
}
32
33
code {background-color:rgb(224,255,255);padding:0 0.1em;}

Return to bug 55383