recette - ligne 20
This commit is contained in:
parent
c861fda0a7
commit
80a4bb59e8
@ -193,7 +193,8 @@ body.noScroll { overflow-y:hidden;}
|
|||||||
}
|
}
|
||||||
#header #mainmenu:hover .menu-icon { color:#5986d5; }
|
#header #mainmenu:hover .menu-icon { color:#5986d5; }
|
||||||
#header #mainmenu:hover .block-mainmenu { display:block; }
|
#header #mainmenu:hover .block-mainmenu { display:block; }
|
||||||
#header #mainmenu li:hover .main-submenu { display:block; }
|
/*#header #mainmenu li:hover .main-submenu { display:block; }*/
|
||||||
|
#header #mainmenu li.open .main-submenu { display:block; }
|
||||||
|
|
||||||
#header #mainmenu .main-submenu .backButton { display:none; }
|
#header #mainmenu .main-submenu .backButton { display:none; }
|
||||||
#header #mainmenu .main-submenu .main-submenu-img {
|
#header #mainmenu .main-submenu .main-submenu-img {
|
||||||
@ -269,6 +270,9 @@ body.noScroll { overflow-y:hidden;}
|
|||||||
margin:13px 0;
|
margin:13px 0;
|
||||||
font-size:0;
|
font-size:0;
|
||||||
}
|
}
|
||||||
|
#header #mainmenu .main-submenu .main-submenu-infos .submenu-infos-list li:first-child { display:block;}
|
||||||
|
#header #mainmenu .main-submenu .main-submenu-infos .submenu-infos-list li:first-child a { color: #606064; font-size: 16px; font-family: "RubikMedium"; padding: 7px 4px; margin-bottom: 5px;}
|
||||||
|
#header #mainmenu .main-submenu .main-submenu-infos .submenu-infos-list li:first-child a:hover { color: #fff;}
|
||||||
#header #mainmenu .main-submenu .main-submenu-infos .submenu-infos-list a {
|
#header #mainmenu .main-submenu .main-submenu-infos .submenu-infos-list a {
|
||||||
font-family:"RubikRegular";
|
font-family:"RubikRegular";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -316,6 +320,8 @@ body.noScroll { overflow-y:hidden;}
|
|||||||
}
|
}
|
||||||
#header #mainmenu .menu-content > li:last-child > * { }
|
#header #mainmenu .menu-content > li:last-child > * { }
|
||||||
|
|
||||||
|
#header #mainmenu .menu-content > li.open > a,
|
||||||
|
#header #mainmenu .menu-content > li.open > span,
|
||||||
#header #mainmenu .menu-content > li:hover > a,
|
#header #mainmenu .menu-content > li:hover > a,
|
||||||
#header #mainmenu .menu-content > li:hover > span {
|
#header #mainmenu .menu-content > li:hover > span {
|
||||||
color: #5986d5;
|
color: #5986d5;
|
||||||
|
@ -353,6 +353,10 @@ $(document).ready(function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#mainmenu").mouseleave(function(){
|
||||||
|
$(this).find("li.open").removeClass("open");
|
||||||
|
});
|
||||||
|
|
||||||
$("#cms .matrice p").find("strong").parent().css("marginBottom",5);
|
$("#cms .matrice p").find("strong").parent().css("marginBottom",5);
|
||||||
|
|
||||||
$("#cms .cms-banner").length ? $("#breadcrumbs *").css("color","#fff") : $("#breadcrumbs .crumb").css("color","#000");
|
$("#cms .cms-banner").length ? $("#breadcrumbs *").css("color","#fff") : $("#breadcrumbs .crumb").css("color","#000");
|
||||||
@ -729,6 +733,7 @@ function advancedDropdownMenu()
|
|||||||
|
|
||||||
$menuLinks.on('click', function(e) {
|
$menuLinks.on('click', function(e) {
|
||||||
$that = $(this);
|
$that = $(this);
|
||||||
|
$thatBro = $(this).siblings("li");
|
||||||
$hasSubMenu = $that.find('.main-submenu').length ? true : false;
|
$hasSubMenu = $that.find('.main-submenu').length ? true : false;
|
||||||
|
|
||||||
$subMenuLinks = $that.find('li');
|
$subMenuLinks = $that.find('li');
|
||||||
@ -739,7 +744,7 @@ function advancedDropdownMenu()
|
|||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
|
$thatBro.removeClass("open");
|
||||||
$that.addClass('open');
|
$that.addClass('open');
|
||||||
|
|
||||||
$subMenuLinks.on('click', function(e) {
|
$subMenuLinks.on('click', function(e) {
|
||||||
|
@ -20,7 +20,8 @@
|
|||||||
{foreach $menuLinks item='rootLink' name='rootlink'}
|
{foreach $menuLinks item='rootLink' name='rootlink'}
|
||||||
<li>
|
<li>
|
||||||
{if !empty($rootLink.url)}
|
{if !empty($rootLink.url)}
|
||||||
<a title="{$rootLink.title}" href="{if !$rootLink.external}{$link->getCategoryLink($rootLink.id_category)}{/if}" {if !empty($rootLink.classbloc)}class="{$rootLink.classbloc}"{/if} {if $rootLink.external}target="_blank"{/if}>{$rootLink.title}</a>
|
{*<a title="{$rootLink.title}" href="{if !$rootLink.external}{$link->getCategoryLink($rootLink.id_category)}{/if}" {if !empty($rootLink.classbloc)}class="{$rootLink.classbloc}"{/if} {if $rootLink.external}target="_blank"{/if}>{$rootLink.title}</a>*}
|
||||||
|
<a title="{$rootLink.title}" href="#" {if !empty($rootLink.classbloc)}class="{$rootLink.classbloc}"{/if} {if $rootLink.external}target="_blank"{/if}>{$rootLink.title}</a>
|
||||||
{else}
|
{else}
|
||||||
<span {if !empty($rootLink.classbloc)}class="{$rootLink.classbloc}"{/if}>{$rootLink.title}</span>
|
<span {if !empty($rootLink.classbloc)}class="{$rootLink.classbloc}"{/if}>{$rootLink.title}</span>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user