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