Region filter should be, a bit, better displayed on its full width
This commit is contained in:
parent
6d88263eec
commit
24131d7410
@ -18,14 +18,14 @@ html
|
|||||||
padding: 0
|
padding: 0
|
||||||
background-color: transparent
|
background-color: transparent
|
||||||
& > header, & > footer,
|
& > header, & > footer,
|
||||||
h2, nav, .region_filter, .orga_search, #banner
|
h2, nav, .orga_search, #banner
|
||||||
display: none
|
display: none
|
||||||
|
|
||||||
body
|
body
|
||||||
border: 1px solid #68A6E5
|
border: 1px solid #68A6E5
|
||||||
margin: 0.2%
|
margin: 0.2%
|
||||||
padding: 1%
|
padding: 1%
|
||||||
font-size: calc(8px + 1vw)
|
font-size: calc(6px + 0.8vw)
|
||||||
min-height: 99.1%
|
min-height: 99.1%
|
||||||
text-align: center
|
text-align: center
|
||||||
font-family: sans-serif
|
font-family: sans-serif
|
||||||
@ -87,6 +87,17 @@ header.top
|
|||||||
weight: normal
|
weight: normal
|
||||||
margin-top: 0.2em
|
margin-top: 0.2em
|
||||||
|
|
||||||
|
nav
|
||||||
|
float: right
|
||||||
|
font-size: smaller
|
||||||
|
margin-top: -3.1em
|
||||||
|
form
|
||||||
|
margin-top: 1.9em
|
||||||
|
&:hover nav
|
||||||
|
margin-top: 0
|
||||||
|
form
|
||||||
|
margin-top: 0
|
||||||
|
|
||||||
main, body.mce-content-body
|
main, body.mce-content-body
|
||||||
clear: both
|
clear: both
|
||||||
position: relative
|
position: relative
|
||||||
|
@ -118,6 +118,7 @@ html.iframe main
|
|||||||
|
|
||||||
#advises
|
#advises
|
||||||
border: 1px solid #FFB578
|
border: 1px solid #FFB578
|
||||||
|
max-width: 60em
|
||||||
border-radius: 0.2em
|
border-radius: 0.2em
|
||||||
padding-left: 10px
|
padding-left: 10px
|
||||||
padding-right: 10px
|
padding-right: 10px
|
||||||
|
@ -129,10 +129,3 @@
|
|||||||
padding: 1px 0
|
padding: 1px 0
|
||||||
.mce-btn-group .mce-btn
|
.mce-btn-group .mce-btn
|
||||||
margin-left: 0 !important
|
margin-left: 0 !important
|
||||||
|
|
||||||
@media all and (min-width: 1600px)
|
|
||||||
body
|
|
||||||
font-size: larger
|
|
||||||
|
|
||||||
#advises
|
|
||||||
max-width: 60em
|
|
||||||
|
@ -4,10 +4,8 @@ img.favicon
|
|||||||
vertical-align: middle
|
vertical-align: middle
|
||||||
|
|
||||||
form#orga_search
|
form#orga_search
|
||||||
clear: right
|
|
||||||
float: right
|
float: right
|
||||||
font-size: larger
|
font-size: larger
|
||||||
margin-top: 0.9em
|
|
||||||
margin-left: 1em
|
margin-left: 1em
|
||||||
label
|
label
|
||||||
display: none
|
display: none
|
||||||
|
@ -1,13 +1,4 @@
|
|||||||
header
|
header nav
|
||||||
nav
|
|
||||||
max-width: calc(99% - 91px)
|
|
||||||
margin-top: -3.1em
|
|
||||||
&:hover nav
|
|
||||||
margin-top: 0
|
|
||||||
|
|
||||||
.region_filter
|
|
||||||
float: right
|
|
||||||
font-size: smaller
|
|
||||||
& > ul > li
|
& > ul > li
|
||||||
float: left
|
float: left
|
||||||
ul
|
ul
|
||||||
|
@ -19,12 +19,12 @@
|
|||||||
- sub = request.domain ? request.domain.split('.')[0] : ''
|
- sub = request.domain ? request.domain.split('.')[0] : ''
|
||||||
%body{ class: [sub, controller_name, action_name, params[:tag]] }
|
%body{ class: [sub, controller_name, action_name, params[:tag]] }
|
||||||
%header.top
|
%header.top
|
||||||
= image_tag 'baby_gnu_adl.png', alt: '', class: :logo
|
%nav
|
||||||
|
|
||||||
= render '/regions/filter'
|
= render '/regions/filter'
|
||||||
= render '/orgas/search'
|
= render '/orgas/search'
|
||||||
= render '/pages/search'
|
= render '/pages/search'
|
||||||
|
|
||||||
|
= image_tag 'baby_gnu_adl.png', alt: '', class: :logo
|
||||||
%h1= link_to t('.title'), root_path
|
%h1= link_to t('.title'), root_path
|
||||||
%h2= t '.subtitle'
|
%h2= t '.subtitle'
|
||||||
|
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
-# Choose a region to filter events with
|
-# Choose a region to filter events with
|
||||||
%nav.region_filter
|
%ul= render partial: '/regions/filter_region', collection: Region.top
|
||||||
%ul= render partial: '/regions/filter_region', collection: Region.top
|
|
||||||
|
Loading…
Reference in New Issue
Block a user