tournai: keep categories open (#18987)
This commit is contained in:
parent
3ccb84ad74
commit
b0e02106a9
|
@ -442,29 +442,17 @@ $category_icons: ((etat-civil, "\e86b"), /* icon-inbox-mail-2 */
|
|||
}
|
||||
div.description,
|
||||
div.intro,
|
||||
p, ul {
|
||||
p {
|
||||
display: none;
|
||||
background: $primary-color;
|
||||
}
|
||||
ul {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
z-index: 1000;
|
||||
}
|
||||
ul > li:last-child > a {
|
||||
border: none;
|
||||
}
|
||||
&.toggled {
|
||||
background: $primary-color;
|
||||
a,
|
||||
h2::before,
|
||||
h2 {
|
||||
color: white;
|
||||
}
|
||||
ul {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#content div.wcscurrentdraftscell,
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
$(function() {
|
||||
$('div.wcsformsofcategorycell').on('mouseenter', function() {
|
||||
$(this).addClass('toggled');
|
||||
});
|
||||
$('div.wcsformsofcategorycell').on('mouseleave', function() {
|
||||
$(this).removeClass('toggled');
|
||||
});
|
||||
$('div.wcsformsofcategorycell').delegate('h2', 'click', function() {
|
||||
$(this).parents('div.wcsformsofcategorycell').toggleClass('toggled');
|
||||
});
|
||||
});
|
|
@ -388,7 +388,8 @@
|
|||
"label": "Tournai",
|
||||
"variables": {
|
||||
"css_variant": "tournai",
|
||||
"theme_color": "#D62D8A"
|
||||
"theme_color": "#D62D8A",
|
||||
"no_extra_js": true
|
||||
}
|
||||
},
|
||||
{"id": "urville-nacqueville",
|
||||
|
|
Loading…
Reference in New Issue