Travail sur affichage mobile

This commit is contained in:
echarp 2014-11-29 19:48:10 +01:00
parent d318e1d91e
commit 3995e22047
6 changed files with 27 additions and 8 deletions

View File

@ -17,6 +17,6 @@ $(document).ready ->
$(this).find('.sparkline').sparkline vals,
type: 'bar'
height: '3em'
barWidth: '80%'
barWidth: '100%'
barColor: '#9CC5EE'
barSpacing: 2

View File

@ -2,6 +2,7 @@
.quantity
text-align: right
white-space: nowrap
table
margin: 1em auto

View File

@ -17,7 +17,17 @@
form#lug_search
right: 0
.formats, a#banner
margin: 0
margin: 0.6em auto
table, table.list, table.dates, table.list.dates
border-spacing: 0
tbody th
overflow: hidden
max-width: 3em
th, td
padding: 0 !important
font-size: smaller
border-width: 0px !important
@media all and (max-width: 900px)
header.top
@ -42,13 +52,13 @@
td
border-width: 0
table tr td
border-width: 0px !important
/* For small screen width */
@media all and (max-width: 34em)
body
padding: 0
p
padding-left: 0.4em
padding-right: 0.4em
header.top
ul.countries
@ -77,11 +87,19 @@
display: none
.day_number
float: right
margin: 0
// Enough space for tactile displays
li a, .fa-li
padding: 0.4em 0
+inline-block()
dl
dt
min-width: auto
text-align: left
dd, dd.quantity
padding-right: 1em
aside
display: none

View File

@ -56,7 +56,7 @@
%tbody
- Region.all.each do |region|
%tr
%th.month= region
%th.region= region
- total = 0
- @years.each do |year|
%td.quantity

View File

@ -142,7 +142,7 @@ it more readable or agreable.
index:
title: Statistics
all: Validated events
allModeration: Events waiting for validation
allModeration: Waiting for validation
dates: Per date
regional: Per region
city: Per city

View File

@ -138,7 +138,7 @@ fr:
index:
title: Statistiques
all: Événements validés
allModeration: Événements en cours de modération
allModeration: En cours de modération
dates: Par date
regional: Par région
city: Par ville