svn path=/branches/design/; revision=17397

This commit is contained in:
samtuke 2010-10-09 15:34:22 +00:00
parent dd5d29769c
commit 9caddadfe6
2 changed files with 23 additions and 167 deletions

View File

@ -187,6 +187,15 @@
</xsl:element> <!-- /li -->
<!-- Planet portal menu -->
<xsl:element name="li">
<xsl:attribute name="class">planet</xsl:attribute>
Planet
<xsl:element name="ul">
</xsl:element>
</xsl:element>
<!-- Fellowship portal menu -->
<xsl:element name="li">
<xsl:attribute name="class">fellowship</xsl:attribute>
@ -396,50 +405,7 @@
</xsl:if>
</xsl:element>
<!-- End info box -->
<!-- Fundraising box
<xsl:if test="/buildinfo/fundraising">
<xsl:element name="div">
<xsl:attribute name="id">fundraising</xsl:attribute>
<xsl:element name="div">
<xsl:attribute name="class">box</xsl:attribute>
<xsl:if test="/buildinfo/fundraising/call1">
<xsl:element name="p">
<xsl:attribute name="class">call1</xsl:attribute>
<xsl:apply-templates select="/buildinfo/fundraising/call1/node()"/>
</xsl:element>
</xsl:if>
<xsl:if test="/buildinfo/fundraising/call2">
<xsl:element name="p">
<xsl:attribute name="class">call2</xsl:attribute>
<xsl:apply-templates select="/buildinfo/fundraising/call2/node()"/>
</xsl:element>
</xsl:if>
<xsl:if test="/buildinfo/fundraising/current">
<xsl:element name="div">
<xsl:attribute name="class">percentbox</xsl:attribute>
<xsl:element name="div">
<xsl:attribute name="class">percentbar</xsl:attribute>
<xsl:attribute name="style">width: 45.9%</xsl:attribute>
</xsl:element>
</xsl:element>
<xsl:element name="p">
<xsl:attribute name="class">current</xsl:attribute>
<xsl:apply-templates select="/buildinfo/fundraising/current/node()"/>
<xsl:text>€ 45 860</xsl:text>
</xsl:element>
<xsl:element name="p">
<xsl:attribute name="class">target</xsl:attribute>
<xsl:text>€ 100 000</xsl:text>
</xsl:element>
</xsl:if>
</xsl:element>
</xsl:element>
</xsl:if>
End Fundraising box -->
<!-- Content -->
<xsl:element name="div">
<xsl:attribute name="id">content</xsl:attribute>
@ -530,20 +496,7 @@
<xsl:value-of select="/buildinfo/textset/text[@id='translator3c']"/>
</xsl:if>
</p>
</div> <!-- /#notice -->
<!--
<div id="sister_organizations">
<h2>Sister organizations</h2>
<ul>
<li><a href="http://fsf.org/">North America</a></li>
<li><a href="http://fsf.org.in/">India</a></li>
<li><a href="http://fsfla.org/">Latin America</a></li>
</ul>
</div>
-->
</div> <!-- /#notice -->
<!-- FSF* netwok note -->
<p id="fsfnetwork">

View File

@ -484,48 +484,10 @@ ul.subpages li p {
/* menu */
#menu a {
color: rgb(120,120,120);
text-decoration: none;
display: block;
padding: .6em;
margin-left: -15px;
border-left: 15px solid rgb(220,220,220);
border-right: 1px solid rgb(240,240,240);
/*border-bottom: 1px solid rgb(240,240,240);*/
background-image: url("menu-bg.png");
background-repeat: no-repeat;
background-position: -44px 100%;
padding-left: 1em;
line-height: 50%;
font-size: 95%;
background-color: white;
}
#menu a:hover {
color: rgb(50,50,50);
}
#menu ul {
list-style: none;
margin: 0;
padding: 0;
border-top: 1px solid rgb(240,240,240);
}
#menu ul + ul {
border: 0;
}
#menu ul li:first-child a {
line-height: 100%;
font-size: 100%;
padding-left: .5em;
}
#menu ul li a:hover {
/*border-left: 15px solid rgb(200,200,200);*/
border-left: 15px solid rgb(51,148,206);
#menu ul li {
padding:0em 0.5em 1em 0;
border-left:15px solid #DCDCDC;
border-right:1px solid #F0F0F0;
}
#menu ul li.fsfe a,
@ -535,79 +497,20 @@ ul.subpages li p {
font-weight: bold;
}
#menu ul li.fsfe a {
background-color: rgb(51,147,206);
color: white;
#menu ul li.fsfe {
border-left: 15px solid #4ad2f0;
}
#menu ul li.fsfe a:hover {
border-left: 15px solid rgb(120,210,238);
#menu ul li.planet {
border-left: 15px solid #4aa0f0;
}
#menu ul li.planet a {
background-color: rgb(120,210,238);
color: rgb(18,100,151);
#menu ul li.wiki {
border-left: 15px solid #adff54;
}
#menu ul li.planet a:hover {
border-left: 15px solid rgb(214,234,245);
}
#menu ul li.wiki a {
background-color: rgb(189,228,85);
color: rgb(55,124,15);
}
#menu ul li.wiki a:hover {
border-left: 15px solid rgb(216,255,158);
}
#menu ul li.fellowship a {
background-color: rgb(99,152,41);
color: white;
}
#menu ul li.fellowship a:hover {
border-left: 15px solid rgb(107,179,64);
}
#menu ul li.selected a {
color: rgb(50,50,50);
border-left: 15px solid rgb(51,148,206);
}
#menu ul li.selected li a {
/*border-left: 15px solid rgb(220,220,220);*/
/*border-left: 15px solid white;*/
padding-left: 2em;
border-left: 0;
}
#menu ul li a:active,
#menu ul li.selected a:hover {
border-left: 15px solid rgb(74,210,240);
}
#menu ul ul {
font-size: 90%;
border-top: 0;
}
#menu ul ul li {
border-left: 15px solid rgb(240,240,240);
}
#menu ul ul li a,
#menu ul ul li:last-child a {
padding: .4em .5em .4em 2em;
border-bottom: 1px dashed rgb(240,240,240);
}
#menu ul ul li a:hover {
border-left: 15px solid rgb(74,210,240);
padding-left: .6em;
#menu ul li.fellowship {
border-left: 15px solid #639829;
}