added show/hide capabilitie to form menu
This commit is contained in:
parent
1adc034dca
commit
747a7534f4
|
@ -1547,6 +1547,11 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
display: grid;
|
||||
grid: 1fr;
|
||||
}
|
||||
.edit-post-visual-editor__content-area .ofisuport-filtered-funds .os_fund_target .filter,
|
||||
.edit-post-visual-editor__content-area .ofisuport-filtered-funds .os_fund_source .filter,
|
||||
.edit-post-visual-editor__content-area .ofisuport-filtered-funds .os_fund_field .filter {
|
||||
display: none;
|
||||
}
|
||||
.edit-post-visual-editor__content-area .ofisuport-filters section {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -20,10 +20,20 @@ get_header();
|
|||
?>
|
||||
|
||||
<section id="filteredfunds" class="ofisuport-filtered-funds ofisuport-ajuts-filtrats">
|
||||
<aside id="fundsfilter" class="ofisuport-filter-funds ofisuport-filtre-ajuts">
|
||||
|
||||
<aside id="fundsfilter" class="ofisuport-filter-funds ofisuport-fitre-ajuts">
|
||||
<script type="text/javascript">
|
||||
<!-- https://stackoverflow.com/a/48314274 -->
|
||||
(function($) {
|
||||
$('.fund-filter').ready(function() {
|
||||
$('.oficinasuport-titol-opcions').click(function() {
|
||||
$(this).siblings(".filter").toggle();
|
||||
});
|
||||
});
|
||||
})(jQuery);
|
||||
</script>
|
||||
|
||||
<?php ofisuport_ajuts_filters_form(); // function defined in the plugin ?>
|
||||
<?php ofisuport_ajuts_filters_form(); // function defined in the plugin ?>
|
||||
|
||||
</aside>
|
||||
|
||||
|
|
|
@ -93,6 +93,13 @@
|
|||
.ofisuport-filtered-funds {
|
||||
display:grid;
|
||||
grid: 1fr;
|
||||
.os_fund_target,
|
||||
.os_fund_source,
|
||||
.os_fund_field {
|
||||
.filter {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ofisuport-filters{
|
||||
section {
|
||||
|
|
|
@ -1482,6 +1482,11 @@ textarea {
|
|||
display: grid;
|
||||
grid: 1fr;
|
||||
}
|
||||
.ofisuport-filtered-funds .os_fund_target .filter,
|
||||
.ofisuport-filtered-funds .os_fund_source .filter,
|
||||
.ofisuport-filtered-funds .os_fund_field .filter {
|
||||
display: none;
|
||||
}
|
||||
.ofisuport-filters section {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue