La liste de lugs d'une région est maintenant gérée comme une sidebar html5, et cachée sur les écrans de faible largeur

This commit is contained in:
echarp 2014-07-07 20:53:24 +02:00
parent 542eafc9e6
commit 9f425d9fe4
2 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,9 @@
body.events.index table
font-size: larger
sidebar#lug-list
width: auto
@media all and (max-width: 1024px)
body.events.index table
width: 100%
@ -10,7 +13,6 @@
body
border: none
margin: 0
padding: 0
header.top h1
margin-top: 0
main ul
@ -54,3 +56,6 @@
margin-left: 1em
li
list-style-type: disc
sidebar
display: none

View File

@ -3,7 +3,7 @@
= @event.title
- if @event.persisted? && request.format == 'text/html' && controller.controller_name != 'moderations' && controller.controller_name != 'notes' && controller.action_name != 'edit' && controller.action_name != 'cancel'
#lug-list
%sidebar#lug-list
%h1=t '.lug-list'
- if @event.related_region
%ul