Skip to content
Snippets Groups Projects
Commit 14dbf70f authored by Otto Zaiser's avatar Otto Zaiser
Browse files

Ajustes y nuevo Font Awesome

parent 56a58bae
No related branches found
No related tags found
No related merge requests found
Showing
with 3779 additions and 707 deletions
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17.71 20.45"><title>Bullet</title><path fill="#005c84" d="M8.86 10.22z"/><path fill="#b9cc2e" d="M8.86 0L0 5.11l8.86 5.11 8.85-5.11L8.86 0z"/><path fill="#d9e264" d="M8.86 10.22v10.23l8.85-5.11V5.11l-8.85 5.11z"/><path fill="#9da811" d="M8.86 10.22L0 5.11v10.23l8.86 5.11V10.22z"/></svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17.71 20.45" width="25" height="30"><title>Bullet</title><path fill="#005c84" d="M8.86 10.22z"/><path fill="#b9cc2e" d="M8.86 0L0 5.11l8.86 5.11 8.85-5.11L8.86 0z"/><path fill="#d9e264" d="M8.86 10.22v10.23l8.85-5.11V5.11l-8.85 5.11z"/><path fill="#9da811" d="M8.86 10.22L0 5.11v10.23l8.86 5.11V10.22z"/></svg>
\ No newline at end of file \ No newline at end of file
...@@ -8,12 +8,30 @@ ...@@ -8,12 +8,30 @@
var currentScroll = $(this).scrollTop(); var currentScroll = $(this).scrollTop();
if(currentScroll > 110) { if(currentScroll > 110) {
$('#navbar').addClass('navbar-fondo'); $('#navbar').addClass('navbar-fondo');
$(".path-frontpage #logo").attr("src", "/themes/bfa/logo.svg"); if(isIE()) $(".path-frontpage #logo").attr("src", "/themes/bfa/logo.svg");
} else { } else {
$('#navbar').removeClass('navbar-fondo'); $('#navbar').removeClass('navbar-fondo');
$(".path-frontpage #logo").attr("src", "/themes/bfa/logo-white.svg"); if(isIE()) $(".path-frontpage #logo").attr("src", "/themes/bfa/logo-white.svg");
} }
} }
function isIE() {
var ua = window.navigator.userAgent;
var msie = ua.indexOf("MSIE ");
if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) // If Internet Explorer, return version number
{
//alert(parseInt(ua.substring(msie + 5, ua.indexOf(".", msie))));
return true;
}
else // If another browser, return 0
{
return false;
}
return false;
}
checkNav(); checkNav();
$(document).on('click', '[data-toggle="lightbox"]', function(event) { $(document).on('click', '[data-toggle="lightbox"]', function(event) {
......
...@@ -13,11 +13,22 @@ footer { ...@@ -13,11 +13,22 @@ footer {
margin: 0px 10px; margin: 0px 10px;
a{ a{
color: $blanco; color: $negro;
font-size: 16px; font-size: 16px;
display: inline-block;
background-color: $blanco;
border-radius: 60px;
width: 50px;
height: 50px;
padding: .55em 0em;
vertical-align: middle;
transition: all 0.2s ease;
} }
a:hover, a:focus{ a:hover, a:focus{
color: transparentize($color: $blanco, $amount: 0.2); color: transparentize($color: $blanco, $amount: 0.2);
color: $blanco;
background-color: $primaryColor;
transform: scale(1.2);
} }
} }
...@@ -27,22 +38,4 @@ footer { ...@@ -27,22 +38,4 @@ footer {
h2{ h2{
@extend %sr-only; @extend %sr-only;
} }
.fa {
color: $negro;
display: inline-block;
background-color: $blanco;
border-radius: 60px;
width: 50px;
height: 50px;
padding: 0.3em 0.3em;
vertical-align: middle;
transition: all 0.2s ease;
&:hover, &:focus{
color: $blanco;
background-color: $primaryColor;
transform: scale(1.2);
}
}
} }
...@@ -116,4 +116,17 @@ a.skip-link{ ...@@ -116,4 +116,17 @@ a.skip-link{
color: $blanco; color: $blanco;
border-color: $claro; border-color: $claro;
background-color: $claro; background-color: $claro;
}
//Lightbox IE Fix
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
/* IE10+ CSS */
.ekko-lightbox .modal-dialog {
flex: 100%!important;
margin-left: 0;
margin-right: 0;
overflow: hidden;
-ms-overflow-style: none;
}
} }
\ No newline at end of file
.path-frontpage nav:not(.navbar-fondo) .navbar-header {
.logo{
img{
filter: brightness(500%);
}
}
}
.navbar-header{ .navbar-header{
.logo{ .logo{
img{ img{
height: 100px; height: 100px;
width: 140px; width: 140px;
} &:hover{
opacity: .9;
}
}
} }
} }
.navbar-default{ .navbar-default{
...@@ -251,9 +260,12 @@ ...@@ -251,9 +260,12 @@
background: $blanco; background: $blanco;
border-color: #e7e7e7; border-color: #e7e7e7;
padding-top: 0px; padding-top: 0px;
.logo img { .logo {
height: 75px !important; //margin-bottom: 0px;
margin-top: 0px; img {
height: 75px !important;
margin-top: 0px;
}
} }
.navbar-toggle { .navbar-toggle {
border-color: $primaryColor; border-color: $primaryColor;
......
...@@ -173,6 +173,7 @@ ...@@ -173,6 +173,7 @@
margin: 0 auto; margin: 0 auto;
padding-left: 0px; padding-left: 0px;
width: 80%; width: 80%;
list-style-type: none;
@media (min-width: 768px) { @media (min-width: 768px) {
column-count: 2; column-count: 2;
} }
...@@ -185,7 +186,7 @@ ...@@ -185,7 +186,7 @@
padding-left: 1.8em; padding-left: 1.8em;
background-image: url('../images/bullet.svg'); background-image: url('../images/bullet.svg');
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 0; background-position: 0px 50%;
margin-bottom: 20px; margin-bottom: 20px;
} }
......
...@@ -2,10 +2,12 @@ ...@@ -2,10 +2,12 @@
margin-bottom: 50px; margin-bottom: 50px;
.row{ .row{
.inner{ .col-md-6{
padding: 50px; padding: 50px;
border: 1px solid $claro; border: 1px solid $claro;
margin-top: 125px; margin-top: 125px;
margin-left: 10px;
margin-right: 10px;
border-radius: 10px; border-radius: 10px;
&:hover{ &:hover{
...@@ -22,7 +24,9 @@ ...@@ -22,7 +24,9 @@
h2{ h2{
margin-top: 0px; margin-top: 0px;
} }
ul{
margin-bottom: 40px;
}
@media (min-width: 992px) { @media (min-width: 992px) {
.btn{ .btn{
width: 100%; width: 100%;
...@@ -32,15 +36,17 @@ ...@@ -32,15 +36,17 @@
} }
} }
@media (max-width: 992px) { @media (max-width: 992px) {
.row .inner { .row .col-md-6 {
margin-top: 0; margin-top: 0;
margin-left: 50px; margin-left: 50px;
padding-left: 100px; padding-left: 100px;
position: relative;
img{ img{
position: absolute; position: absolute;
width: 200px; width: 200px;
margin: auto; margin: auto;
left: -35px; left: -100px;
top: -20px;
} }
} }
.row .col-md-6:not(first-child){ .row .col-md-6:not(first-child){
...@@ -51,16 +57,18 @@ ...@@ -51,16 +57,18 @@
.row{ .row{
display: flex; display: flex;
.col-md-6{ .col-md-6{
display: flex; display: flex;
flex-direction: column;
p, ul{
flex-grow: 1;
}
.btn{
align-self: flex-end;
}
.inner{ .inner{
display: flex; display: flex;
flex-direction: column; flex-direction: column;
p{
flex-grow: 1;
}
.btn{
align-self: flex-end;
}
} }
} }
} }
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File deleted
File deleted
This diff is collapsed.
File deleted
File deleted
File deleted
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17.71 20.45"><title>Bullet</title><path fill="#b9cc2e" d="M8.86 0L0 5.11l8.86 5.11 8.85-5.11L8.86 0z"/><path fill="#d9e264" d="M8.86 10.22v10.23l8.85-5.11V5.11l-8.85 5.11z"/><path fill="#9da811" d="M8.86 10.22L0 5.11v10.23l8.86 5.11V10.22z"/></svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17.71 20.45" width="25" height="30"><title>Bullet</title><path fill="#b9cc2e" d="M8.86 0L0 5.11l8.86 5.11 8.85-5.11L8.86 0z"/><path fill="#d9e264" d="M8.86 10.22v10.23l8.85-5.11V5.11l-8.85 5.11z"/><path fill="#9da811" d="M8.86 10.22L0 5.11v10.23l8.86 5.11V10.22z"/></svg>
\ No newline at end of file \ No newline at end of file
!function(o,t){function a(){o(this).scrollTop()>110?(o("#navbar").addClass("navbar-fondo"),o(".path-frontpage #logo").attr("src","/themes/bfa/logo.svg")):(o("#navbar").removeClass("navbar-fondo"),o(".path-frontpage #logo").attr("src","/themes/bfa/logo-white.svg"))}o(".bt-top").hide(),o(window).scroll(function(){a()}),a(),o(document).on("click",'[data-toggle="lightbox"]',function(t){t.preventDefault(),o(this).ekkoLightbox({alwaysShowClose:!1})})}(jQuery,Drupal); !function(o,t){function a(){o(this).scrollTop()>110?(o("#navbar").addClass("navbar-fondo"),n()&&o(".path-frontpage #logo").attr("src","/themes/bfa/logo.svg")):(o("#navbar").removeClass("navbar-fondo"),n()&&o(".path-frontpage #logo").attr("src","/themes/bfa/logo-white.svg"))}function n(){return!!(window.navigator.userAgent.indexOf("MSIE ")>0||navigator.userAgent.match(/Trident.*rv\:11\./))}o(".bt-top").hide(),o(window).scroll(function(){a()}),a(),o(document).on("click",'[data-toggle="lightbox"]',function(t){t.preventDefault(),o(this).ekkoLightbox({alwaysShowClose:!1})})}(jQuery,Drupal);
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment