@import "../../resources/scss/util/variables";
@import "../../resources/scss/util/mixins";
.block-content-accordion {
--transitionLength: 0.3s;
--transitionTiming: ease-in-out;
padding: rem-calc(48) 0;
@include bp($lg) {
padding: rem-calc(110) 0;
}
&__content {
@include bp($md) {
padding: 0 1rem;
}
@include bp($lg) {
padding: 0;
}
}
@include accordion;
}
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "strategiq/content-accordion",
"title": "Content Accordion",
"description": "Example block to be used as a template",
"category": "strategiq",
"icon": "strategiq",
"acf": {
"mode": "edit",
"renderTemplate": "block-content-accordion.php"
},
"supports": {
"anchor": true,
"align": false,
"color": {
"background": true,
"text": false,
"gradients": true
},
"spacing": {
"padding": [
"top",
"bottom"
],
"margin": [
"top",
"bottom"
]
}
},
"example": {
"attributes": {
"mode": "preview",
"data": {
"heading_type": "h2",
"heading_text": "Example - Content Accordion",
"content": "This is some example content to represent what the content will look like"
}
}
},
"style": ["file:../../assets/css/content-accordion/block-content-accordion.css"]
}
This component is not currently used on any pages.