Updates header and footer
This commit is contained in:
@@ -229,7 +229,7 @@ header {
|
|||||||
background-position: 50% 50%;
|
background-position: 50% 50%;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
color: $text;
|
color: $text;
|
||||||
min-height: rem-calc(600);
|
min-height: rem-calc(624);
|
||||||
|
|
||||||
&.results {
|
&.results {
|
||||||
min-height: rem-calc(48);
|
min-height: rem-calc(48);
|
||||||
@@ -543,9 +543,14 @@ footer {
|
|||||||
a {
|
a {
|
||||||
color: white;
|
color: white;
|
||||||
|
|
||||||
&.link:hover {
|
&:hover {
|
||||||
color: white;
|
color: white;
|
||||||
opacity: .5;
|
opacity: .5;
|
||||||
|
transition: opacity 275ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active, &:focus {
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -554,7 +559,14 @@ footer {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: rgba(255,255,255,.6);
|
color: white;
|
||||||
|
opacity: .5;
|
||||||
|
transition: opacity 275ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active, &:focus {
|
||||||
|
color: white;
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -752,6 +764,13 @@ form {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.captcha {
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 09. Alerts
|
// 09. Alerts
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
@@ -1122,13 +1141,23 @@ table {
|
|||||||
|
|
||||||
.page {
|
.page {
|
||||||
background: white;
|
background: white;
|
||||||
min-height: 100%;
|
min-height: rem-calc(600);
|
||||||
|
|
||||||
.menu {
|
.menu {
|
||||||
margin-top: rem-calc(24);
|
margin-top: rem-calc(24);
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style-type: none;
|
||||||
|
margin-left: 0;
|
||||||
|
|
||||||
|
& ul {
|
||||||
|
margin-left: rem-calc(12);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
|
font-size: rem-calc(13);
|
||||||
margin-bottom: rem-calc(12);
|
margin-bottom: rem-calc(12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1137,7 +1166,12 @@ table {
|
|||||||
margin-top: rem-calc(24);
|
margin-top: rem-calc(24);
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
|
|
||||||
ul {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul, ol {
|
||||||
|
margin-left: rem-calc(12);
|
||||||
|
|
||||||
li {
|
li {
|
||||||
font-size: rem-calc(13);
|
font-size: rem-calc(13);
|
||||||
@@ -1146,8 +1180,3 @@ table {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,13 @@
|
|||||||
|
|
||||||
<p class="footer-description">
|
<p class="footer-description">
|
||||||
<%= t("layouts.footer.description",
|
<%= t("layouts.footer.description",
|
||||||
open_source: link_to(t('layouts.footer.open_source'), t('layouts.footer.open_source_url'), target: 'blank'),
|
more_info: link_to(t("layouts.footer.more_info"), t("layouts.footer.more_info_url")),
|
||||||
github_url: link_to(t('layouts.footer.github_url'), t('layouts.footer.github_url'), target: 'blank')).html_safe
|
open_source: link_to(t("layouts.footer.open_source"), t("layouts.footer.open_source_url"), target: "blank"),
|
||||||
|
github: link_to(t("layouts.footer.github"), t("layouts.footer.github_url"), target: "blank")).html_safe
|
||||||
%>
|
%>
|
||||||
|
<br>
|
||||||
|
<%= t("layouts.footer.contact_us") %>
|
||||||
|
<%= mail_to "web.gobiernoabierto@madrid.es" %>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -35,7 +39,9 @@
|
|||||||
|
|
||||||
<div class="subfooter row">
|
<div class="subfooter row">
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<%= t("layouts.footer.copyright", year: Time.now.year) %>
|
<%= t("layouts.footer.copyright", year: Time.now.year) %> |
|
||||||
|
<%= link_to t("layouts.footer.privacy"), "/privacy" %> |
|
||||||
|
<%= link_to t("layouts.footer.conditions"), "/conditions" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<%= render "shared/locale_switcher" %>
|
<%= render "shared/locale_switcher" %>
|
||||||
<div class="external-links">
|
<div class="external-links">
|
||||||
<%= link_to t("layouts.header.participation"), root_path, class: "selected" %> |
|
<%= link_to t("layouts.header.participation"), root_path, class: ("selected" unless current_page?("/transparency") || current_page?("/opendata")) %> |
|
||||||
<%= link_to t("layouts.header.external_link_transparency"), "/transparency" %> |
|
<%= link_to t("layouts.header.external_link_transparency"), "/transparency", class: ("selected" if current_page?("/transparency")) %> |
|
||||||
<%= link_to t("layouts.header.external_link_opendata"), "/opendata" %>
|
<%= link_to t("layouts.header.external_link_opendata"), "/opendata", class: ("selected" if current_page?("/opendata")) %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -38,10 +38,7 @@
|
|||||||
<%#= link_to t("layouts.header.initiatives"), "#" %>
|
<%#= link_to t("layouts.header.initiatives"), "#" %>
|
||||||
</div> -->
|
</div> -->
|
||||||
<div class="small-12 medium-2 column end">
|
<div class="small-12 medium-2 column end">
|
||||||
<%= link_to t("layouts.header.how_it_works"), "/how_it_works" %>
|
<%= link_to t("layouts.header.more_information"), "/more_information" %>
|
||||||
</div>
|
|
||||||
<div class="small-12 medium-2 column end">
|
|
||||||
<%= link_to t("layouts.header.help"), "/help" %>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="small-12 medium-2 column end">
|
<div class="small-12 medium-2 column end">
|
||||||
<%= link_to t("layouts.header.external_link_blog"), t("layouts.header.external_link_blog_url"), target: "_blank" %>
|
<%= link_to t("layouts.header.external_link_blog"), t("layouts.header.external_link_blog_url"), target: "_blank" %>
|
||||||
|
|||||||
Reference in New Issue
Block a user