fix footer menu, fix #4

This commit is contained in:
Bachir Soussi Chiadmi
2018-03-13 19:46:48 +01:00
parent 74a4f4b695
commit 76565a8b28
6 changed files with 67 additions and 34 deletions
@@ -52,9 +52,18 @@ edlp_vars = {
function initEvents(){
$('body').on('on-studio-chutier-updated', function(e){
initAjaxLinks();
});
$('body')
.on('on-studio-chutier-updated', function(e){
initAjaxLinks();
})
.on('open_entree', function(e){
// e.tid available
closeAllModals();
})
.on('close_entree', function(e){
// e.tid available
closeAllModals();
});
}
// _ _ _
@@ -1771,6 +1771,26 @@ footer {
white-space: nowrap; }
footer nav.block-menu ul li:first-of-type {
margin-left: 1em; }
footer nav.block-menu ul li a:before {
content: "";
display: inline-block;
width: 7px;
height: 7px;
border: 1px solid black;
margin-right: 0.5em; }
footer nav.block-menu ul li a:hover:before, footer nav.block-menu ul li a.is-active:before {
background-color: black; }
footer nav.block-menu ul li a.ajax-loading:before {
-webkit-animation: rotation 2s infinite linear;
animation: rotation 2s infinite linear; }
@keyframes rotation {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg); }
to {
-webkit-transform: rotate(359deg);
transform: rotate(359deg); } }
footer .block-language {
display: inline-block;
position: relative; }
@@ -29,9 +29,18 @@
function initEvents(){
$('body').on('on-studio-chutier-updated', function(e){
initAjaxLinks();
});
$('body')
.on('on-studio-chutier-updated', function(e){
initAjaxLinks();
})
.on('open_entree', function(e){
// e.tid available
closeAllModals();
})
.on('close_entree', function(e){
// e.tid available
closeAllModals();
});
}
// _ _ _
@@ -754,6 +754,23 @@ footer{
&:first-of-type{
margin-left: 1em;
}
a{
&:before{
content: "";
display:inline-block;
$sq:7px;
width: $sq; height:$sq;
border: 1px solid black;
margin-right: 0.5em;
}
&:hover:before,
&.is-active:before{
background-color: black;
}
&.ajax-loading:before{
@include spining-loader-square;
}
}
}
}
}