Added support box templates and css

svn path=/trunk/; revision=23333
This commit is contained in:
otto
2012-05-21 05:58:06 +00:00
parent 2266cb986a
commit 039d05d3d1
6 changed files with 16 additions and 8 deletions

View File

@@ -16,7 +16,8 @@
<div id="campaign-box-2">
<p class="donate-box"><a href="/donate/donate.html"><donate-label /></a></p>
<p class="fellowship-box"><a href="http://fellowship.fsfe.org/join"><join-label /></a></p>
<p class="support-box"><a href="/support"><support-label /></a></p>
<!-- p class="fellowship-box"><a href="http://fellowship.fsfe.org/join"><join-label /></a></p-->
</div>
<campaign-box4/>

View File

@@ -17,7 +17,7 @@
<div id="campaign-box-2">
<p class="donate-box"><a href="/donate/donate.html"><donate-label /></a></p>
<p class="fellowship-box"><a href="https://fellowship.fsfe.org/index.fi.html"><join-label /></a></p>
<p class="support-box"><a href="/support"><support-label /></a></p>
</div>
<campaign-box4/>

View File

@@ -202,6 +202,13 @@
<xsl:with-param name="id" select="'join'" />
</xsl:call-template>
</xsl:template>
<!--translated word "support"-->
<xsl:template match="support-label">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'support'" />
</xsl:call-template>
</xsl:template>
<xsl:template match="subscribe-nl">
<xsl:call-template name="subscribe-nl" />

View File

@@ -1289,8 +1289,7 @@ a.fn {
border-radius: 7px;
}
.donate-box,
.fellowship-box {
.donate-box, .fellowship-box, .support-box {
-moz-border-radius: 7px;
-webkit-border-radius: 7px;
border-radius: 7px;
@@ -1310,8 +1309,7 @@ a.fn {
background: url("/graphics/donate-button-bg.png") no-repeat top left;
}
#campaign-box-2 .donate-box:hover,
#campaign-box-2 .fellowship-box:hover {
#campaign-box-2 .donate-box:hover, #campaign-box-2 .fellowship-box:hover, #campaign-box-2 .support-box:hover {
text-decoration: none;
}
@@ -1322,7 +1320,7 @@ a.fn {
box-shadow: inset 0 0 6px rgb(0,34,43);
}
#campaign-box-2 .fellowship-box {
#campaign-box-2 .fellowship-box, #campaign-box-2 .support-box {
color: rgb(112,208,85);
-moz-box-shadow: inset 0 0 2px rgb(23,40,11);
-webkit-box-shadow: inset 0 0 2px rgb(23,40,11);
@@ -1330,7 +1328,7 @@ a.fn {
background: url("/graphics/join-button-bg.png") no-repeat top left;
}
#campaign-box-2 .fellowship-box:hover {
#campaign-box-2 .fellowship-box:hover, #campaign-box-2 .support-box:hover {
color: rgb(93,172,70);
-moz-box-shadow: inset 0 0 6px rgb(23,40,11);
-webkit-box-shadow: inset 0 0 6px rgb(23,40,11);

View File

@@ -31,6 +31,7 @@
<text id="join">Join</text>
<text id="ourwork2011">Our work in 2011</text>
<text id="support">Support the FSFE</text>
<text id="subscribe">Subscribe</text>

View File

@@ -27,6 +27,7 @@
<!-- end of texts for the campaign box -->
<text id="join">Liity</text>
<text id="support">Tue FSFE:tä</text>
<text id="subscribe">Tilaa</text>