diff --git a/public/opac/css/responsive.css b/public/opac/css/responsive.css index 07689d5754766074baa4d12103661cc4801cdda6..f902dd43dbd88d7a24af968f0f62dc7fe0379a37 100644 --- a/public/opac/css/responsive.css +++ b/public/opac/css/responsive.css @@ -610,11 +610,13 @@ } + .facette_outer > div, #col_wrapper .colGauche .boite .contenu { display: none !important; } + .facette_outer > h2, #col_wrapper .colGauche .boite .titre { padding-right: 40px; background-image: url(../images/buttons/down-chevron.png); @@ -623,17 +625,20 @@ } - #col_wrapper .colGauche .boite.show_content .titre { + .facette_outer.show_content > h2, + #col_wrapper .colGauche .boite .show_content .titre { background-image: url(../images/buttons/up-chevron.png); } + .facette_outer > h2, #col_wrapper .colGauche .boite .titre > * { overflow: hidden; } - #col_wrapper .colGauche .boite.show_content .contenu { + .facette_outer.show_content > div , + #col_wrapper .colGauche .boite .show_content .contenu { display: block !important; } } diff --git a/public/opac/js/responsive.js b/public/opac/js/responsive.js index 4332af2d6905979416cad3348cd845d8e0adb917..9e34174011818517e8332c667431c7289bf23e8b 100644 --- a/public/opac/js/responsive.js +++ b/public/opac/js/responsive.js @@ -8,8 +8,8 @@ $(document).ready(function() { } var enableWidgetButton = function() { - $("#col_wrapper .colGauche div.boite .titre").click(function(e) { - $(this).parents('.boite').toggleClass('show_content'); + $("#col_wrapper .colGauche div.boite .titre, .facette_outer > h2").click(function(e) { + $(this).parent().toggleClass('show_content'); e.stopPropagation(); }); }