The organisation search bar and countries selector are moved up

This commit is contained in:
echarp 2018-04-08 00:17:18 +02:00
parent 8af801cf72
commit f79271520c
6 changed files with 10 additions and 11 deletions

View File

@ -4,12 +4,10 @@ img.favicon
vertical-align: middle
form#orga_search
right: 0
width: 15em
position: absolute
clear: right
float: right
font-size: larger
text-align: right
white-space: nowrap
margin-top: 1em
label
display: none
em.fa
@ -22,7 +20,6 @@ form#orga_search
margin-right: -1.3em
padding-left: 1.5em
padding-right: 1.2em
button.search
color: #258
border: none

View File

@ -1,3 +1,9 @@
html.js header
nav
margin-top: -3em
&:hover nav
margin-top: 0
.region_filter
float: right
font-size: smaller

View File

@ -1,5 +1,3 @@
= render '/orgas/search'
- if params[:year]
%header.calendar-header.year
= link_to year: params[:year].to_i - 1, tag: params[:tag] do

View File

@ -23,6 +23,7 @@
%header.top
= image_tag 'baby_gnu_adl.png', alt: '', class: :logo
= render '/regions/filter'
= render '/orgas/search'
%h1= link_to t('.title'), root_path
%h2= t '.subtitle'

View File

@ -1,5 +1,3 @@
= render 'search'
%h2
%em.fa.fa-users
= title t '.title'

View File

@ -90,4 +90,3 @@
= button_tag formaction: digest_url(:markdown) do
%em.fa.fa-hashtag
= t '.digest'