Skip to content

Commit

Permalink
footer update
Browse files Browse the repository at this point in the history
simple search + socials moved from sidebar to footer
  • Loading branch information
fannymugnier committed Feb 13, 2021
1 parent 65665b8 commit 65b33c0
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 71 deletions.
Binary file removed user/pages/02.sidebar/02social/facebook.png
Binary file not shown.
Binary file removed user/pages/02.sidebar/02social/linkedin.png
Binary file not shown.
16 changes: 0 additions & 16 deletions user/pages/02.sidebar/02social/social.md

This file was deleted.

10 changes: 6 additions & 4 deletions user/themes/sheaft-theme/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,11 @@ display:none;
/*--- footer ---*/
.footer-wrapper{ position: relative; background-repeat: no-repeat; background-position: right top; }
.footer-wrapper a { cursor: pointer; }
.footer-wrapper .widget { margin-bottom: 60px; }
.footer-wrapper h2 { margin-bottom: 30px; font-size: 14px; text-transform: uppercase; font-weight: 700; letter-spacing: 2px; }
.footer-container{ padding-top: 60px; }
.footer-wrapper .widget { margin-bottom: 30px; }
.footer-wrapper h2 { margin-bottom: 8px; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-wrapper hr { margin: 8px 0 ; border-color: #525151; }
.footer-wrapper .follow-socials {text-align: center;}
.footer-container{ padding-top: 30px; }
.ie7 .footer-wrapper{ overflow: hidden; }

.copyright-left { margin: 0px 15px; float: left; }
Expand Down Expand Up @@ -2869,7 +2871,7 @@ input[type="text"], input[type="email"], input[type="password"], textarea{ color
.footer-wrapper a:hover{ color: #cecece; }
.footer-wrapper *{ border-color: #363636; }
.footer-wrapper input[type="text"], .footer-wrapper input[type="email"], .footer-wrapper input[type="password"], .footer-wrapper textarea{ background-color: #141414; }
.footer-wrapper input[type="text"], .footer-wrapper input[type="email"], .footer-wrapper input[type="password"], .footer-wrapper textarea{ color: #828282; }
.footer-wrapper input[type="text"], .footer-wrapper input[type="email"], .footer-wrapper input[type="password"], .footer-wrapper textarea{ color: #cacaca; }
.footer-wrapper input[type="text"], .footer-wrapper input[type="email"], .footer-wrapper input[type="password"], .footer-wrapper textarea{ border-color: #313131; }
.footer-wrapper .gdlr-button, .footer-wrapper .gdlr-button:hover, .footer-wrapper input[type="button"], .footer-wrapper input[type="submit"]{ color: #ffffff; }
.footer-wrapper input[type="button"], .footer-wrapper input[type="submit"]{ border-color: #ffffff; outline-color: #ffffff; }
Expand Down
File renamed without changes
58 changes: 16 additions & 42 deletions user/themes/sheaft-theme/templates/partials/footer.html.twig
Original file line number Diff line number Diff line change
@@ -1,59 +1,33 @@
<footer class="footer-wrapper">
{#

<div class="footer-container container">
<div class="footer-column four columns section" id="footer-widget-1">
<div class="widget FollowByEmail" id="FollowByEmail1">
<h2 class="title">{{ site.feedburner.title }}</h2>
<div class="content">
{{ site.feedburner.text }}
<div class="follow-by-email-inner">
<form action="https://feedburner.google.com/fb/a/mailverify" method="post" onsubmit="window.open(&quot;https://feedburner.google.com/fb/a/mailverify?uri={{ site.feedburner.id }}&quot;, &quot;popupwindow&quot;, &quot;scrollbars=yes,width=550,height=520&quot;); return true" target="popupwindow">
<table>
<tbody>
<tr>
<td>
<input class="follow-by-email-address" name="email" placeholder="Email address..." type="text">
</td>
<td>
<input class="follow-by-email-submit" type="submit" value="Submit">
</td>
</tr>
</tbody>
</table>
<input name="uri" type="hidden" value="{{ site.feedburner.id }}">
<input name="loc" type="hidden" value="en_US">
</form>
</div>
<div class="widget HTML">
<h2 class="title">Recherche rapide</h2>
<hr />
<div class="widget-content simplesearch">
{% include 'partials/simplesearch_searchbox.html.twig' %}
</div>
</div>
</div>
<div class="footer-column four columns section" id="footer-widget-2">
<div class="widget Label" id="Label2">
<h2>{{ site.labels.title }}</h2>
<div class="widget-content list-label-widget-content">
<ul>
{% for item in site.labels.items %}
<li>
<a dir="ltr" href="{{ item.url }}">{{ item.label }}</a>
</li>
{% endfor %}
</ul>
<div class="clear"></div>
</div>
</div>

</div>
<div class="footer-column four columns section" id="footer-widget-3">
<div class="widget HTML" id="HTML4">
<h2 class="title">{{ site.footer.title }}</h2>
<div class="widget-content">
{{ site.footer.content }}
<div class="widget HTML">
<h2 class="title">Nous suivre</h2>
<hr />
<div class="widget-content follow-socials">
<a class="social-shortcode" href="https://www.facebook.com/sheaftapp/" target="_blank"><img src="{{ theme_url }}/images/facebook.png" alt="" /></a>
<a class="social-shortcode" href="https://www.instagram.com/sheaft_app/?hl=fr" target="_blank"><img src="{{ theme_url }}/images/instagram.png" alt="" /></a>
<a class="social-shortcode" href="https://www.linkedin.com/company/sheaft/?originalSubdomain=fr" target="_blank"><img src="{{ theme_url }}/images/linkedin.png" alt="" /></a>
<a class="social-shortcode" href="https://www.youtube.com/channel/UC1YlSA4EMXD9rTLBD88rakQ" target="_blank"><img src="{{ theme_url }}/images/youtube.png" alt="" /></a>
</div>
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
</div>
#}

<div class="copyright-wrapper">
<div class="copyright-container container">
<div class="copyright-left">
Expand Down
8 changes: 0 additions & 8 deletions user/themes/sheaft-theme/templates/partials/sidebar.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@
{% endif %}
{% endfor %}

{% if config.plugins.simplesearch.enabled %}
<div class="widget HTML">
<h2 class="title">SimpleSearch</h2>
<div class="widget-content simplesearch">
{% include 'partials/simplesearch_searchbox.html.twig' %}
</div>
</div>
{% endif %}
{% if config.plugins.random.enabled %}
<div class="widget HTML">
<h2 class="title">Random Article</h2>
Expand Down
4 changes: 3 additions & 1 deletion user/themes/sheaft-theme/templates/social.html.twig
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{#
<div class="widget HTML">
<h2 class="title">{{ module.title }}</h2>
<div class="widget-content">
Expand All @@ -6,4 +7,5 @@
{% endfor %}
{{ module.content }}
</div>
</div>
</div>
#}

0 comments on commit 65b33c0

Please sign in to comment.