Browse Source

Move donate menu item to other menu line

Fixes #541
master
Reinhard Müller 2 weeks ago
parent
commit
38a0b101cc
3 changed files with 12 additions and 20 deletions
  1. 9
    9
      build/xslt/fsfe_pageheader.xsl
  2. 1
    2
      look/fsfe.less
  3. 2
    9
      look/style.less

+ 9
- 9
build/xslt/fsfe_pageheader.xsl View File

@@ -43,15 +43,6 @@
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'page-info'" /></xsl:call-template>
</xsl:element>

<xsl:element name="a">
<xsl:attribute name="href">https://my.fsfe.org/support</xsl:attribute>
<xsl:attribute name="id">direct-to-join</xsl:attribute>
<xsl:element name="i">
<xsl:attribute name="class">fa fa-user-plus fa-lg</xsl:attribute>
</xsl:element>
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'support/become'" /></xsl:call-template>
</xsl:element>

<xsl:element name="a">
<xsl:attribute name="href">https://my.fsfe.org/</xsl:attribute>
<xsl:attribute name="id">direct-to-login</xsl:attribute>
@@ -95,6 +86,9 @@
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'fsfe/campaigns'" /></xsl:call-template>
</xsl:element>
</xsl:element>
<xsl:element name="br">
<xsl:attribute name="class">hidden-lg</xsl:attribute>
</xsl:element>
<xsl:element name="li">
<xsl:element name="a">
<xsl:attribute name="href">/contribute/contribute.html</xsl:attribute>
@@ -107,6 +101,12 @@
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'fsfe/press'" /></xsl:call-template>
</xsl:element>
</xsl:element>
<xsl:element name="li">
<xsl:element name="a">
<xsl:attribute name="href">https://my.fsfe.org/donate</xsl:attribute>
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'donate'" /></xsl:call-template>
</xsl:element>
</xsl:element>
</xsl:element>
<!--/ul#menu-list-->


+ 1
- 2
look/fsfe.less View File

@@ -88,8 +88,7 @@ body {
}
}

#direct-to-home,
#direct-to-join {
#direct-to-home {
display: none;
}
}

+ 2
- 9
look/style.less View File

@@ -248,7 +248,7 @@ div#subpages, .grid-row {
padding: .5em;
}

#direct-to-menu-list, #direct-to-translations, #direct-to-login, #direct-to-join {
#direct-to-menu-list, #direct-to-translations, #direct-to-login {
visibility: visible;
display: inline-block;

@@ -273,12 +273,6 @@ div#subpages, .grid-row {
#direct-to-translations, #direct-to-menu-list {display: none;}
}

@media (min-width: @screen-xs-min) {
#menu-list, #search {
display: inline-block;
}
}

#menu-list {
.list-no-style;
.collapse;
@@ -286,7 +280,6 @@ div#subpages, .grid-row {

@media (min-width: @screen-xs-min) {
.collapse.in;
display: inline-block;
padding-bottom: 0.5em;
}

@@ -297,7 +290,7 @@ div#subpages, .grid-row {
.btn;
font-weight: 400;

@media (min-width: @screen-md-min) {
@media (min-width: @screen-lg-min) {
.btn-lg;
}
}

Loading…
Cancel
Save