From 00c7fd2a5f489a09987e513359af60272e6d2737 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Tue, 11 Oct 2016 15:13:54 +0200 Subject: [PATCH] Events filters --- app/static/src/sass/global/_buttons.scss | 20 +++++++++++++++++++- app/templates/agenda/event_list.html | 8 +++++--- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/app/static/src/sass/global/_buttons.scss b/app/static/src/sass/global/_buttons.scss index 38bc02a9..39808c05 100755 --- a/app/static/src/sass/global/_buttons.scss +++ b/app/static/src/sass/global/_buttons.scss @@ -11,7 +11,7 @@ $module: ".button"; @include font-size(l); @include line-height(1); @include typeface(sans-serif); - @include padding(.25 1 .5 1); + @include padding(.25 1 .25 1); //@include margin(0); font-weight: weight(light); @@ -77,4 +77,22 @@ $module: ".button"; @include margin(0 0 1 0); } + &--tournees { + + color: white; + @include line-height(1); + @include padding(.25 .5 .25 .5); + background: $color-black; + text-transform: uppercase; + font-weight: weight(regular); + border: 1px solid $color-black; + + &:hover { + background-color: $color-main; + color: $color-black; + border: 1px solid $color-main; + } + + } + } diff --git a/app/templates/agenda/event_list.html b/app/templates/agenda/event_list.html index d0c1035b..906ebeb7 100644 --- a/app/templates/agenda/event_list.html +++ b/app/templates/agenda/event_list.html @@ -74,10 +74,12 @@ {% keywords_for mezzanine_agenda.event as tags %} {% all_events as all_events %} {% if tags %} - {% trans "All events" %} + {% comment %} + {% trans "All events" %} + {% endcomment %} {% for t in tags %} - - {{ t }} + + {{ t }} {% if tag == t %}{% endif %} {% endfor %} {% endif %} -- 2.39.5