From: Jérémy Fabre Date: Thu, 15 Sep 2016 12:07:35 +0000 (+0200) Subject: Implementation of the partners list X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=33aaaac355ef9c8ded137c39947066203969efef;p=mezzo.git Implementation of the partners list --- diff --git a/app/static/src/sass/modules/_all.scss b/app/static/src/sass/modules/_all.scss index b3adb81f..626043b4 100755 --- a/app/static/src/sass/modules/_all.scss +++ b/app/static/src/sass/modules/_all.scss @@ -28,6 +28,7 @@ @import 'pattern'; @import 'tag'; @import 'share-links'; +@import 'partners-list'; @import 'banner'; // Typography modules diff --git a/app/static/src/sass/modules/_partners-list.scss b/app/static/src/sass/modules/_partners-list.scss new file mode 100644 index 00000000..f610f07a --- /dev/null +++ b/app/static/src/sass/modules/_partners-list.scss @@ -0,0 +1,27 @@ +$module: ".partners-list"; + +#{$module} { + + list-style-type: none; + padding: 0; + margin: 0; + + &__item { + + display: inline-block; + width: 150px; + height: 100px; + background-size: contain; + background-position: center center; + background-repeat: no-repeat; + + @include margin(1 2 0 0); + + // SEO + img { + display: none; + } + + } + +} diff --git a/app/templates/core/inc/logo.html b/app/templates/core/inc/logo.html index 00799698..118f0137 100644 --- a/app/templates/core/inc/logo.html +++ b/app/templates/core/inc/logo.html @@ -1,8 +1,20 @@ -{% load mezzanine_tags %} +{% load mezzanine_tags i18n %} {% if images %} - +
+
+
+
+
+
+

{% trans 'Partners' %}

+
    + {% for image in images %} +
  • {{ image.title }}
  • + {% endfor %} +
+
+
+
+
+
{% endif %}