Les drapeaux sont maintenant gérés dans les css

This commit is contained in:
echarp 2014-08-07 00:33:24 +02:00
parent 4c2ecbe6e4
commit f803104bb1
9 changed files with 34 additions and 39 deletions

View File

@ -1,5 +1,5 @@
@import "compass" @import compass
@import "font-awesome" @import font-awesome
* *
height: auto height: auto
@ -69,18 +69,23 @@ header.top
ul.countries ul.countries
float: right float: right
height: 81px width: 80px
font-size: 0.7em font-size: 0.7em
margin-top: 2px margin-left: 29px
margin-right: 16px margin-right: 11px
list-style-type: none list-style-type: none
li li
text-align: left text-align: left
line-height: 1.3em & a:before
img
margin-left: 2.2em
margin-right: 0.75em margin-right: 0.75em
vertical-align: middle &.map_france a:before
content: image-url('france.png')
&.map_quebec a:before
content: image-url('quebec.png')
&.map_belgique a:before
content: image-url('belgique.png')
&.map_suisse a:before
content: image-url('suisse.png')
h1 h1
margin: 10px 5px 12px margin: 10px 5px 12px

View File

@ -9,13 +9,10 @@
* compiled file so the styles you add here take precedence over styles defined in any styles * compiled file so the styles you add here take precedence over styles defined in any styles
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope. * file per style scope.
*
*= require leaflet
*= require_tree .
*= require_self
*/ */
@import 'awesome_mixins' @import *
@import awesome_mixins
body.application body.application
&.infos h4 &.infos h4

View File

@ -1,4 +1,4 @@
@import "compass" @import compass
form.region_selector form.region_selector
left: 0 left: 0
@ -150,14 +150,12 @@ sidebar#lug-list
#advises #advises
border: 1px solid #FFB578 border: 1px solid #FFB578
margin: 10px 100px 20px 100px
text-align: left
padding-left: 10px padding-left: 10px
padding-right: 10px padding-right: 10px
margin-bottom: 1.2em
background-color: #ffe0c7 background-color: #ffe0c7
h1 h1
font-size: 1.9em font-size: 1.9em
text-align: center
font-weight: normal font-weight: normal
a a
color: #8F4900 color: #8F4900

View File

@ -1,4 +1,4 @@
@import "compass" @import compass
table table
margin: 1em auto margin: 1em auto

View File

@ -1,4 +1,4 @@
@import "compass" @import compass
img.favicon img.favicon
max-height: 2em max-height: 2em

View File

@ -1,4 +1,5 @@
@import "compass" @import compass
@import leaflet
#map #map
height: 60em height: 60em

View File

@ -1,4 +1,4 @@
@import "compass" @import compass
.sessions .sessions
form form

View File

@ -17,25 +17,18 @@
%body(class = "#{controller.controller_name} #{controller.action_name}") %body(class = "#{controller.controller_name} #{controller.action_name}")
%header.top %header.top
= image_tag 'baby_gnu_adl.png', alt: 'Baby GNU', class: :logo = image_tag 'baby_gnu_adl.png', alt: 'Baby GNU', class: :logo,
width: 100, height: 83
%ul.countries %ul.countries
%li %li.map_france
= link_to 'http://www.agendadulibre.org' do = link_to t('.france'), 'http://www.agendadulibre.org'
= image_tag 'france.png', alt: '' %li.map_quebec
=t '.france' = link_to t('.quebec'), 'http://www.agendadulibre.qc.ca'
%li %li.map_belgique
= link_to 'http://www.agendadulibre.qc.ca' do = link_to t('.belgique'), 'http://www.agendadulibre.be'
= image_tag 'quebec.png', alt: '' %li.map_suisse
=t '.quebec' = link_to t('.suisse'), 'http://www.agendadulibre.ch'
%li
= link_to 'http://www.agendadulibre.be' do
= image_tag 'belgique.png', alt: ''
=t '.belgique'
%li
= link_to 'http://www.agendadulibre.ch' do
= image_tag 'suisse.png', alt: ''
=t '.suisse'
%h1= link_to t('.title'), root_url %h1= link_to t('.title'), root_url
%h2=t '.subtitle' %h2=t '.subtitle'

View File

@ -35,5 +35,6 @@ module AgendaDuLibreRails
} }
# config.quiet_assets = false # config.quiet_assets = false
config.sass.preferred_syntax = :sass
end end
end end