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

(-)xdocs/stylesheets/tomcat-ie-fix.css (-22 lines)
Lines 1-22 Link Here
1
@charset "utf-8";
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
*/
17
18
/* This is a CSS hack for old IEs (IE ? 9). */
19
20
#header > div {
21
  background-color: #F8F3E4;
22
}
(-)xdocs/stylesheets/tomcat-site.xsl (-31 / +13 lines)
Lines 58-65 Link Here
58
       specified in the XML declaration.
58
       specified in the XML declaration.
59
  -->
59
  -->
60
  <link href="stylesheets/tomcat.css" rel="stylesheet" type="text/css"/>
60
  <link href="stylesheets/tomcat.css" rel="stylesheet" type="text/css"/>
61
  <!-- CSS hack for IEs ? 9. -->
62
  <xsl:comment><![CDATA[[if IE]><link href="stylesheets/tomcat-ie-fix.css" rel="stylesheet" type="text/css"/><![endif]]]></xsl:comment>
63
  <link href="stylesheets/tomcat-printer.css" rel="stylesheet" type="text/css" media="print"/>
61
  <link href="stylesheets/tomcat-printer.css" rel="stylesheet" type="text/css" media="print"/>
64
    <xsl:apply-templates select="meta"/>
62
    <xsl:apply-templates select="meta"/>
65
    <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>
Lines 85-96 Link Here
85
83
86
  <body>
84
  <body>
87
  <div id="wrapper">
85
  <div id="wrapper">
88
  <!-- Header -->
86
  <header><div id="header">
89
  <!-- Workaround for old IEs: use <div id="..."> instead of <header id="...">, otherwise the CSS will not apply.
90
       IE ? 10 dropped support for conditional comments in Standards Mode, so there it will use <header>. -->
91
  <xsl:comment><![CDATA[[if IE]><div id="header"><![endif]]]></xsl:comment><xsl:comment><![CDATA[[if !IE]>]]></xsl:comment>
92
  <header id="header">
93
    <xsl:comment><![CDATA[<![endif]]]></xsl:comment>
94
    <div>
87
    <div>
95
      <div>
88
      <div>
96
          <xsl:variable name="src">
89
          <xsl:variable name="src">
Lines 103-111 Link Here
103
        <div style="height: 1px;"/>
96
        <div style="height: 1px;"/>
104
        <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>
97
        <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>
105
        <h1 style="margin-top: 35px;"><xsl:value-of select="$project/title"/></h1>
98
        <h1 style="margin-top: 35px;"><xsl:value-of select="$project/title"/></h1>
106
		
99
        <div style="clear: right;"/>
107
		<div style="clear: right;"/>
100
108
	<!-- Search box: uses CSS positioning -->
101
    <!-- Search box: uses CSS positioning -->
109
    <div class="searchbox noPrint">
102
    <div class="searchbox noPrint">
110
      <form action="http://www.google.com/search" method="get">
103
      <form action="http://www.google.com/search" method="get">
111
        <input value="tomcat.apache.org" name="sitesearch" type="hidden" />
104
        <input value="tomcat.apache.org" name="sitesearch" type="hidden" />
Lines 114-130 Link Here
114
      </form>
107
      </form>
115
    </div>
108
    </div>
116
    <!-- End search box -->
109
    <!-- End search box -->
117
	
110
118
        <div style="height: 1px;"/>
111
        <div style="height: 1px;"/>
119
        <div style="clear: left;"/>
112
        <div style="clear: left;"/>
120
      </div>
113
      </div>
121
    </div>
114
    </div>
122
	<!-- Workaround for old IEs, see above. -->
115
  </div></header>
123
    <xsl:comment><![CDATA[[if IE]></div><![endif]]]></xsl:comment><xsl:comment><![CDATA[[if !IE]>]]></xsl:comment>
116
124
  </header>
125
  <xsl:comment><![CDATA[<![endif]]]></xsl:comment>
126
  
127
  
128
  <div id="middle">
117
  <div id="middle">
129
    <div>
118
    <div>
130
      <div id="mainLeft" class="noprint">
119
      <div id="mainLeft" class="noprint">
Lines 138-148 Link Here
138
      <div id="mainRight">
127
      <div id="mainRight">
139
        <div id="content">
128
        <div id="content">
140
          <!-- Main Part -->
129
          <!-- Main Part -->
141
          <main>
130
          <!-- Hidden heading -->
142
		    <!-- Hidden heading -->
131
          <h2 style="display: none;">Content</h2>
143
			<h2 style="display: none;">Content</h2>
132
          <xsl:apply-templates select="body/section"/>
144
            <xsl:apply-templates select="body/section"/>
145
          </main>
146
        </div>
133
        </div>
147
      </div>
134
      </div>
148
    </div>
135
    </div>
Lines 149-165 Link Here
149
  </div>
136
  </div>
150
137
151
  <!-- Footer -->
138
  <!-- Footer -->
152
  <!-- Workarounds for old IEs, see above. -->
139
  <footer><div id="footer">
153
  <xsl:comment><![CDATA[[if IE]><div id="footer"><![endif]]]></xsl:comment><xsl:comment><![CDATA[[if !IE]>]]></xsl:comment>
154
  <footer id="footer">
155
    <xsl:comment><![CDATA[<![endif]]]></xsl:comment>
156
    Copyright © 1999-2013, The Apache Software Foundation
140
    Copyright © 1999-2013, The Apache Software Foundation
157
    <br/>
141
    <br/>
158
    Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat
142
    Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat
159
    project logo are trademarks of the Apache Software Foundation.
143
    project logo are trademarks of the Apache Software Foundation.
160
    <xsl:comment><![CDATA[[if IE]></div><![endif]]]></xsl:comment><xsl:comment><![CDATA[[if !IE]>]]></xsl:comment>
144
  </div></footer>
161
  </footer>
162
  <xsl:comment><![CDATA[<![endif]]]></xsl:comment>
163
</div>
145
</div>
164
</body>
146
</body>
165
</html>
147
</html>
Lines 254-260 Link Here
254
    <xsl:variable name="name">
236
    <xsl:variable name="name">
255
      <xsl:value-of select="translate($name2, ' #', '__')"/>
237
      <xsl:value-of select="translate($name2, ' #', '__')"/>
256
    </xsl:variable>
238
    </xsl:variable>
257
	
239
258
    <div class="subsection">
240
    <div class="subsection">
259
      <!-- Subsection heading -->
241
      <!-- Subsection heading -->
260
      <!-- TODO: When a <subsection> is nested in another <subsection>,
242
      <!-- TODO: When a <subsection> is nested in another <subsection>,
(-)xdocs/stylesheets/tomcat.css (-3 / +6 lines)
Lines 64-69 Link Here
64
#header > div {
64
#header > div {
65
  padding-left: 15px;
65
  padding-left: 15px;
66
  padding-right: 15px;
66
  padding-right: 15px;
67
  /* Work-around for old browsers: */
68
  background-color: #F8F3E4;
69
67
  background: linear-gradient(to bottom, #ffffff -10%, #F8F3E4 100%);
70
  background: linear-gradient(to bottom, #ffffff -10%, #F8F3E4 100%);
68
  position: relative;
71
  position: relative;
69
}
72
}
Lines 242-250 Link Here
242
245
243
.searchbox {
246
.searchbox {
244
    text-align: right;
247
    text-align: right;
245
	margin-top: 8px;
248
    margin-top: 8px;
246
	margin-right: 10px;
249
    margin-right: 10px;
247
	margin-bottom: 6px;
250
    margin-bottom: 6px;
248
}
251
}
249
252
250
.searchbox form {
253
.searchbox form {

Return to bug 55383