Meilleure aide visuelle pour la sélection de région
This commit is contained in:
parent
4207954cd5
commit
aba7b8f8b1
@ -107,7 +107,7 @@ body.events.show main
|
||||
h2
|
||||
margin-top: 1em
|
||||
|
||||
sidebar#lug-list
|
||||
aside#lug-list
|
||||
float: right
|
||||
width: 16em
|
||||
border: 1px solid #96CFFF
|
||||
|
@ -8,7 +8,7 @@ img.favicon
|
||||
form#lug_search
|
||||
right: 5%
|
||||
position: absolute
|
||||
font-size: x-large
|
||||
font-size: larger
|
||||
text-align: right
|
||||
margin-top: -1.2em
|
||||
white-space: nowrap
|
||||
|
@ -2,7 +2,7 @@
|
||||
main
|
||||
font-size: larger
|
||||
|
||||
sidebar#lug-list
|
||||
aside#lug-list
|
||||
width: auto
|
||||
|
||||
#advises
|
||||
@ -44,10 +44,7 @@
|
||||
/* For small screen width */
|
||||
@media all and (max-width: 34em)
|
||||
form#lug_search
|
||||
position: relative
|
||||
|
||||
header.calendar-header
|
||||
margin-top: 0
|
||||
display: none
|
||||
|
||||
body.events.index table
|
||||
font-size: inherit
|
||||
@ -69,5 +66,8 @@
|
||||
li
|
||||
list-style-type: disc
|
||||
|
||||
sidebar
|
||||
aside
|
||||
display: none
|
||||
|
||||
.formats, a#banner
|
||||
float: none
|
||||
|
@ -8,20 +8,22 @@
|
||||
color: gray
|
||||
ul
|
||||
margin: 0
|
||||
padding: 1em
|
||||
display: none
|
||||
position: absolute
|
||||
list-style: none
|
||||
margin-top: -1.3em
|
||||
background-color: white
|
||||
@include box-shadow(1px 1px 4px gray)
|
||||
@include border-radius(3px)
|
||||
@include border-bottom-left-radius(0.4em)
|
||||
@include border-bottom-right-radius(0.4em)
|
||||
li
|
||||
margin: 0
|
||||
a
|
||||
display: block
|
||||
padding: 0.2em
|
||||
padding: 0.2em 1em
|
||||
border-top: solid thin black
|
||||
&:hover
|
||||
background-color: #eee
|
||||
@include text-shadow(1px 1px 0.2em gray)
|
||||
li:first-child a
|
||||
border-top: none
|
||||
|
@ -1,10 +1,10 @@
|
||||
= render '/lugs/search' unless controller.controller_name == 'lugs'
|
||||
|
||||
-# Seems necessary, for the time being, to ensure calendar is changing days correctly
|
||||
- Time.zone = 'Paris'
|
||||
|
||||
%nav.region_selector= render '/regions/selector'
|
||||
|
||||
= render '/lugs/search'
|
||||
|
||||
- if params[:year]
|
||||
-# Whole year calendar
|
||||
- @events = @events.year params[:year].to_i
|
||||
|
@ -5,7 +5,7 @@
|
||||
= title @event.title
|
||||
|
||||
- if @event.persisted? && request.format == 'text/html' && controller.controller_name == 'events' && controller.action_name == 'show'
|
||||
%sidebar#lug-list
|
||||
%aside#lug-list
|
||||
- if @event.related_region.lugs.present?
|
||||
%h1=t '.lug-list'
|
||||
- if @event.related_region
|
||||
|
Loading…
Reference in New Issue
Block a user