Commit aed1a3ee authored by Davis King's avatar Davis King

Fixed CSS to use class instead of id tags.

parent 4db5b041
...@@ -167,7 +167,7 @@ function BigToggle(node) ...@@ -167,7 +167,7 @@ function BigToggle(node)
li#term { list-style: none; } li#term { list-style: none; }
div#component { div.component {
background-color:white; background-color:white;
border: 2px solid rgb(102,102,102); border: 2px solid rgb(102,102,102);
text-align:left; text-align:left;
...@@ -175,7 +175,7 @@ function BigToggle(node) ...@@ -175,7 +175,7 @@ function BigToggle(node)
padding: 0.7em; padding: 0.7em;
} }
div#question { div.question {
background-color:white; background-color:white;
border: 2px solid rgb(102,102,102); border: 2px solid rgb(102,102,102);
text-align:left; text-align:left;
...@@ -184,7 +184,7 @@ function BigToggle(node) ...@@ -184,7 +184,7 @@ function BigToggle(node)
padding: 0.7em; padding: 0.7em;
} }
div#function { div.function {
background-color:white; background-color:white;
border: 2px solid rgb(102,102,255); border: 2px solid rgb(102,102,255);
text-align:left; text-align:left;
...@@ -192,7 +192,7 @@ function BigToggle(node) ...@@ -192,7 +192,7 @@ function BigToggle(node)
padding: 0.3em; padding: 0.3em;
} }
div#class { div.class {
background-color:white; background-color:white;
border: 2px solid rgb(255,102,102); border: 2px solid rgb(255,102,102);
text-align:left; text-align:left;
...@@ -200,7 +200,7 @@ function BigToggle(node) ...@@ -200,7 +200,7 @@ function BigToggle(node)
padding: 0.3em; padding: 0.3em;
} }
div#extension { div.extension {
background-color:#FDFDFD; background-color:#FDFDFD;
border: 1px solid rgb(102,102,102); border: 1px solid rgb(102,102,102);
text-align:left; text-align:left;
...@@ -208,7 +208,7 @@ function BigToggle(node) ...@@ -208,7 +208,7 @@ function BigToggle(node)
padding: 0.7em; padding: 0.7em;
} }
div#logb { div.logb {
text-align:left; text-align:left;
padding: 0.0em; padding: 0.0em;
float: left; float: left;
...@@ -217,19 +217,19 @@ function BigToggle(node) ...@@ -217,19 +217,19 @@ function BigToggle(node)
margin: 0.5em; margin: 0.5em;
} }
div#name { div.name {
float: left; float: left;
} }
div#line1 { div.line1 {
float:left; float:left;
width:100%; width:100%;
background-color:#dfdfdf; background-color:#dfdfdf;
} }
div#line2 { div.line2 {
float:left; float:left;
width:100%; width:100%;
} }
div#inc { div.inc {
float: right; float: right;
} }
...@@ -257,21 +257,21 @@ function BigToggle(node) ...@@ -257,21 +257,21 @@ function BigToggle(node)
.binset {border-bottom: 1px inset} .binset {border-bottom: 1px inset}
.boutset {border-bottom: 1px outset} .boutset {border-bottom: 1px outset}
div#row1 { div.row1 {
background-color:#dfdfdf; background-color:#dfdfdf;
} }
div#row2 { div.row2 {
background-color:#f2f2f2; background-color:#f2f2f2;
} }
div#typedefs { div.typedefs {
margin-left: 1.5em; margin-left: 1.5em;
margin-top: 0.2em; margin-top: 0.2em;
border: 1px dotted; border: 1px dotted;
width: 52em; width: 52em;
} }
div#tdn { div.tdn {
width: 10em; width: 10em;
} }
...@@ -283,14 +283,14 @@ function BigToggle(node) ...@@ -283,14 +283,14 @@ function BigToggle(node)
text-align: center; text-align: center;
} }
div#entire_page_header { div.entire_page_header {
width:62.5em; width:62.5em;
text-align: left; text-align: left;
margin-top: 0.4em; margin-top: 0.4em;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
div#entire_page { div.entire_page {
width:62.5em; width:62.5em;
text-align: left; text-align: left;
margin-left: auto; margin-left: auto;
...@@ -313,7 +313,7 @@ function BigToggle(node) ...@@ -313,7 +313,7 @@ function BigToggle(node)
</head> </head>
<body bgcolor="{$background_color}"> <body bgcolor="{$background_color}">
<a name="top" /> <a name="top" />
<div id="entire_page_header"> <div class="entire_page_header">
<xsl:if test="$is_chm != 'true'"> <xsl:if test="$is_chm != 'true'">
<div style="float:right;width:450px"> <div style="float:right;width:450px">
<script> <script>
...@@ -332,7 +332,7 @@ function BigToggle(node) ...@@ -332,7 +332,7 @@ function BigToggle(node)
</xsl:if> </xsl:if>
<a href="http://dlib.net"><img src="dlib-logo.png"/></a> <a href="http://dlib.net"><img src="dlib-logo.png"/></a>
</div> </div>
<div id="entire_page"> <div class="entire_page">
<table bgcolor="white" height="100%" bordercolor="{$background_color}" <table bgcolor="white" height="100%" bordercolor="{$background_color}"
CELLSPACING="0" CELLPADDING="10" style="border:0px;margin-top:2px"> CELLSPACING="0" CELLPADDING="10" style="border:0px;margin-top:2px">
...@@ -528,7 +528,7 @@ function BigToggle(node) ...@@ -528,7 +528,7 @@ function BigToggle(node)
<xsl:sort select="translate(@text,$lcletters, $ucletters)"/> <xsl:sort select="translate(@text,$lcletters, $ucletters)"/>
<a name = "{@text}"> <a name = "{@text}">
<div id="question"> <div class="question">
<a href="#top"><font size='2'><center>[top]</center></font></a> <a href="#top"><font size='2'><center>[top]</center></font></a>
<h2><xsl:value-of select="@text"/></h2> <h2><xsl:value-of select="@text"/></h2>
<xsl:apply-templates select="."/> <xsl:apply-templates select="."/>
...@@ -546,7 +546,7 @@ function BigToggle(node) ...@@ -546,7 +546,7 @@ function BigToggle(node)
<xsl:variable name="checked" select="@checked"/> <xsl:variable name="checked" select="@checked"/>
<a name = "{name}"> <a name = "{name}">
<div id="component" > <div class="component" >
<a href="#top"><font size='2'><center>[top]</center></font></a> <a href="#top"><font size='2'><center>[top]</center></font></a>
<h1 style="margin:0px;"><xsl:value-of select="name"/></h1> <h1 style="margin:0px;"><xsl:value-of select="name"/></h1>
...@@ -596,7 +596,7 @@ function BigToggle(node) ...@@ -596,7 +596,7 @@ function BigToggle(node)
<xsl:for-each select="extensions/extension"> <xsl:for-each select="extensions/extension">
<xsl:sort select="translate(name,$lcletters, $ucletters)"/> <xsl:sort select="translate(name,$lcletters, $ucletters)"/>
<div id="extension"> <div class="extension">
<a name="{name}"><B><font size='5'><xsl:value-of select="name"/></font></B></a><Br/> <a name="{name}"><B><font size='5'><xsl:value-of select="name"/></font></B></a><Br/>
<BR/> <BR/>
<xsl:apply-templates select="description"/> <xsl:apply-templates select="description"/>
...@@ -716,19 +716,19 @@ function BigToggle(node) ...@@ -716,19 +716,19 @@ function BigToggle(node)
<xsl:param name="checked" /> <xsl:param name="checked" />
<div id="typedefs"><table CELLSPACING='0' CELLPADDING='0' bgcolor="white" > <div class="typedefs"><table CELLSPACING='0' CELLPADDING='0' bgcolor="white" >
<xsl:for-each select="typedef"> <xsl:for-each select="typedef">
<xsl:choose> <xsl:choose>
<xsl:when test="$checked = 'true'"> <xsl:when test="$checked = 'true'">
<tr><td bgcolor="{$gray}" valign="top"> <tr><td bgcolor="{$gray}" valign="top">
<div id="tdn"><xsl:value-of select="name"/></div> <div class="tdn"><xsl:value-of select="name"/></div>
</td><td width="100%" bgcolor="{$gray}"> </td><td width="100%" bgcolor="{$gray}">
<xsl:apply-templates select="description"/> <xsl:apply-templates select="description"/>
</td></tr> </td></tr>
<tr><td valign="top"> <tr><td valign="top">
<div id="tdn"><xsl:value-of select="name"/>_c</div> <div class="tdn"><xsl:value-of select="name"/>_c</div>
</td><td width="100%"> </td><td width="100%">
is a typedef for <xsl:value-of select="name"/> that checks its preconditions. is a typedef for <xsl:value-of select="name"/> that checks its preconditions.
</td></tr> </td></tr>
...@@ -737,14 +737,14 @@ function BigToggle(node) ...@@ -737,14 +737,14 @@ function BigToggle(node)
<xsl:choose> <xsl:choose>
<xsl:when test="position() mod 2 = 0"> <xsl:when test="position() mod 2 = 0">
<tr><td valign="top"> <tr><td valign="top">
<div id="tdn"><xsl:value-of select="name"/></div> <div class="tdn"><xsl:value-of select="name"/></div>
</td><td width="100%"> </td><td width="100%">
<xsl:apply-templates select="description"/> <xsl:apply-templates select="description"/>
</td></tr> </td></tr>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<tr><td bgcolor="{$gray}" valign="top"> <tr><td bgcolor="{$gray}" valign="top">
<div id="tdn"><xsl:value-of select="name"/></div> <div class="tdn"><xsl:value-of select="name"/></div>
</td><td width="100%" bgcolor="{$gray}"> </td><td width="100%" bgcolor="{$gray}">
<xsl:apply-templates select="description"/> <xsl:apply-templates select="description"/>
</td></tr> </td></tr>
...@@ -1020,13 +1020,13 @@ function BigToggle(node) ...@@ -1020,13 +1020,13 @@ function BigToggle(node)
<xsl:if test="$cur_letter = substring(translate(@name,$lcletters, $ucletters),1,1)"> <xsl:if test="$cur_letter = substring(translate(@name,$lcletters, $ucletters),1,1)">
<xsl:choose> <xsl:choose>
<xsl:when test="@link"> <xsl:when test="@link">
<div id='{$line}'><div id='name'><a href="{@link}"><xsl:value-of select="@name"/></a></div> <div class='{$line}'><div class='name'><a href="{@link}"><xsl:value-of select="@name"/></a></div>
<div id='inc'><xsl:if test='@include'><b>#include &lt;<xsl:value-of select="@include"/>&gt;</b></xsl:if></div> <div class='inc'><xsl:if test='@include'><b>#include &lt;<xsl:value-of select="@include"/>&gt;</b></xsl:if></div>
</div> </div>
</xsl:when> </xsl:when>
<xsl:when test="@file"> <xsl:when test="@file">
<div id='{$line}'><div id='name'><a href="{@file}#{@name}"><xsl:value-of select="@name"/></a></div> <div class='{$line}'><div class='name'><a href="{@file}#{@name}"><xsl:value-of select="@name"/></a></div>
<div id='inc'><xsl:if test='@include'><b>#include &lt;<xsl:value-of select="@include"/>&gt;</b></xsl:if></div> <div class='inc'><xsl:if test='@include'><b>#include &lt;<xsl:value-of select="@include"/>&gt;</b></xsl:if></div>
</div> </div>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
...@@ -1036,8 +1036,8 @@ function BigToggle(node) ...@@ -1036,8 +1036,8 @@ function BigToggle(node)
<xsl:sort order="ascending" select="translate(@name,$lcletters, $ucletters)"/> <xsl:sort order="ascending" select="translate(@name,$lcletters, $ucletters)"/>
<xsl:variable name="alt2" select="1+(($alt+position()) mod 2)"/> <xsl:variable name="alt2" select="1+(($alt+position()) mod 2)"/>
<xsl:variable name="line2" select="concat('line',format-number($alt2,'0'))"/> <xsl:variable name="line2" select="concat('line',format-number($alt2,'0'))"/>
<div id='{$line2}'><div id='name'><a href="{@link}"><xsl:value-of select="@name"/></a></div> <div class='{$line2}'><div class='name'><a href="{@link}"><xsl:value-of select="@name"/></a></div>
<div id='inc'><xsl:if test='@include'><b>#include &lt;<xsl:value-of select="@include"/>&gt;</b></xsl:if></div> <div class='inc'><xsl:if test='@include'><b>#include &lt;<xsl:value-of select="@include"/>&gt;</b></xsl:if></div>
</div> </div>
</xsl:for-each> </xsl:for-each>
</div> </div>
...@@ -1181,16 +1181,16 @@ function BigToggle(node) ...@@ -1181,16 +1181,16 @@ function BigToggle(node)
<xsl:if test="path[@action=$type]"> <xsl:if test="path[@action=$type]">
<div id="logb"> <div class="logb">
<div class="bsolid"><b><font color="{$color}"><xsl:value-of select="$name"/></font></b></div> <div class="bsolid"><b><font color="{$color}"><xsl:value-of select="$name"/></font></b></div>
<xsl:for-each select="path[@action = $type]"> <xsl:for-each select="path[@action = $type]">
<xsl:sort select="."/> <xsl:sort select="."/>
<xsl:choose> <xsl:choose>
<xsl:when test="position() mod 2 = 0"> <xsl:when test="position() mod 2 = 0">
<div id="row1"><xsl:value-of select="."/></div> <div class="row1"><xsl:value-of select="."/></div>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<div id="row2"><xsl:value-of select="."/></div> <div class="row2"><xsl:value-of select="."/></div>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:for-each> </xsl:for-each>
...@@ -1244,7 +1244,7 @@ function BigToggle(node) ...@@ -1244,7 +1244,7 @@ function BigToggle(node)
<h1>Global Functions:</h1> <h1>Global Functions:</h1>
<xsl:for-each select="global_functions/function"> <xsl:for-each select="global_functions/function">
<xsl:sort select="translate(concat(name,.),$lcletters, $ucletters)"/> <xsl:sort select="translate(concat(name,.),$lcletters, $ucletters)"/>
<div id="function"> <div class="function">
<a onclick="Toggle(this)" style="cursor: pointer"><img src="plus.gif" border="0"/><font color="blue"> <a onclick="Toggle(this)" style="cursor: pointer"><img src="plus.gif" border="0"/><font color="blue">
<u><b><xsl:value-of select="name"/>()</b></u></font></a> <u><b><xsl:value-of select="name"/>()</b></u></font></a>
<div style="display:none;"> <div style="display:none;">
...@@ -1267,7 +1267,7 @@ function BigToggle(node) ...@@ -1267,7 +1267,7 @@ function BigToggle(node)
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<xsl:template match="class"> <xsl:template match="class">
<div id="class"> <div class="class">
<a onclick="Toggle(this)" style="cursor: pointer"><img src="plus.gif" border="0"/><font color="blue"> <a onclick="Toggle(this)" style="cursor: pointer"><img src="plus.gif" border="0"/><font color="blue">
<u><b><xsl:value-of select="name"/></b></u></font></a> <u><b><xsl:value-of select="name"/></b></u></font></a>
<div style="display:none;"> <div style="display:none;">
...@@ -1338,7 +1338,7 @@ function BigToggle(node) ...@@ -1338,7 +1338,7 @@ function BigToggle(node)
<u style="font-size:2em">Protected Methods</u></font></a> <u style="font-size:2em">Protected Methods</u></font></a>
<div style="display:none;"> <div style="display:none;">
<xsl:for-each select="protected_methods/method"> <xsl:for-each select="protected_methods/method">
<div id="function"> <div class="function">
<u>Method Name</u>: <b><xsl:value-of select="name"/></b> <br/><br/> <u>Method Name</u>: <b><xsl:value-of select="name"/></b> <br/><br/>
<div style="margin-left:1.5em"> <div style="margin-left:1.5em">
<pre style="font-size:1.1em;"><xsl:value-of select="declaration"/>;</pre> <pre style="font-size:1.1em;"><xsl:value-of select="declaration"/>;</pre>
...@@ -1355,7 +1355,7 @@ function BigToggle(node) ...@@ -1355,7 +1355,7 @@ function BigToggle(node)
<u style="font-size:2em">Public Methods</u></font></a> <u style="font-size:2em">Public Methods</u></font></a>
<div style="display:none;"> <div style="display:none;">
<xsl:for-each select="public_methods/method"> <xsl:for-each select="public_methods/method">
<div id="function"> <div class="function">
<u>Method Name</u>: <b><xsl:value-of select="name"/></b> <br/><br/> <u>Method Name</u>: <b><xsl:value-of select="name"/></b> <br/><br/>
<div style="margin-left:1.5em"> <div style="margin-left:1.5em">
<pre style="font-size:1.1em;"><xsl:value-of select="declaration"/>;</pre> <pre style="font-size:1.1em;"><xsl:value-of select="declaration"/>;</pre>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment