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

View File

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

View File

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

View File

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

View File

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

View File

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