Browse Source

Country filter centered

remotes/origin/master
echarp 3 years ago
parent
commit
2f76efc4e4
  1. 3
      app/assets/stylesheets/all.sass
  2. 13
      app/assets/stylesheets/mobile.sass
  3. 1
      app/assets/stylesheets/orgas.sass
  4. 13
      app/assets/stylesheets/region.sass

3
app/assets/stylesheets/all.sass

@ -76,6 +76,7 @@ header.top
text-align: left
img.logo
float: left
max-width: 12vw
margin-right: 1%
h1
margin: 0
@ -88,9 +89,9 @@ header.top
margin-top: 0.2em
nav
float: right
font-size: smaller
margin-top: -3em
text-align: center
.digest, form
margin-top: 2em
&:hover nav

13
app/assets/stylesheets/mobile.sass

@ -13,13 +13,9 @@
border: none
margin: 0
padding: 1%
font-size: smaller
main ul
margin-left: 0
form#orga_search, button.search, .digest
font-size: smaller !important
table.list.dates
th, td
&, a
@ -34,13 +30,7 @@
padding-left: 0.4em
padding-right: 0.4em
header.top
nav
display: none
img.logo
max-width: 12vw
form#orga_search
header.top nav
display: none
body.index
@ -85,7 +75,6 @@
padding-right: 1em
#advises
font-size: smaller
& > *
display: none
& > :first-child:after

1
app/assets/stylesheets/orgas.sass

@ -7,6 +7,7 @@ form#orga_search
float: right
font-size: larger
margin-left: 1em
margin-right: 2em
label
display: none
em.fa

13
app/assets/stylesheets/region.sass

@ -1,23 +1,28 @@
header nav
width: 100%
position: absolute
& > ul > li
float: left
display: inline-block
ul
margin: 0
z-index: 1500
list-style: none
text-align: left
border-bottom-left-radius: 0.4em
border-bottom-right-radius: 0.4em
ul
position: absolute
background-color: white
text-align: left
li
display: none
border-top: solid thin #eee
& li:hover li, li.selected
li.selected
display: inline-block
& li:hover li, li li.selected
display: block
li
margin: 0
box-shadow: 0 0 1em white
background-color: white
&.selected
box-shadow: 0 0 0 6px lightgray
a

Loading…
Cancel
Save