| Current Path : /home/eolienneia/www/templates/yootheme/vendor/yootheme/builder/elements/headline/ |
| Current File : /home/eolienneia/www/templates/yootheme/vendor/yootheme/builder/elements/headline/element.json |
{
"@import": "./element.php",
"name": "headline",
"title": "Headline",
"group": "basic",
"icon": "${url:images/icon.svg}",
"iconSmall": "${url:images/iconSmall.svg}",
"element": true,
"width": 500,
"defaults": {
"title_element": "h1"
},
"placeholder": {
"props": {
"content": "Headline"
}
},
"templates": {
"render": "./templates/template.php",
"content": "./templates/content.php"
},
"fields": {
"content": {
"label": "Content",
"type": "editor",
"root": true,
"source": true
},
"link": "${builder.link}",
"link_target": "${builder.link_target}",
"title_style": {
"label": "Style",
"description": "Headline styles differ in font size and font family.",
"type": "select",
"options": {
"None": "",
"2X-Large": "heading-2xlarge",
"X-Large": "heading-xlarge",
"Large": "heading-large",
"Medium": "heading-medium",
"Small": "heading-small",
"H1": "h1",
"H2": "h2",
"H3": "h3",
"H4": "h4",
"H5": "h5",
"H6": "h6",
"Meta": "meta",
"Lead": "lead"
}
},
"title_decoration": {
"label": "Decoration",
"description": "Decorate the headline with a divider, bullet or a line that is vertically centered to the heading.",
"type": "select",
"options": {
"None": "",
"Divider": "divider",
"Bullet": "bullet",
"Line": "line"
}
},
"title_font_family": {
"label": "Font Family",
"description": "Select an alternative font family. Mind that not all styles have different font families.",
"type": "select",
"options": {
"None": "",
"Default": "default",
"Primary": "primary",
"Secondary": "secondary",
"Tertiary": "tertiary"
}
},
"title_color": {
"label": "Color",
"description": "Select the text color. If the Background option is selected, styles that don't apply a background image use the primary color instead.",
"type": "select",
"options": {
"None": "",
"Muted": "muted",
"Emphasis": "emphasis",
"Primary": "primary",
"Secondary": "secondary",
"Success": "success",
"Warning": "warning",
"Danger": "danger",
"Background": "background"
}
},
"link_style": {
"type": "checkbox",
"text": "Show hover effect if linked.",
"enable": "link"
},
"title_element": {
"label": "HTML Element",
"description": "Choose one of the HTML elements to fit the semantic structure.",
"type": "select",
"options": {
"h1": "h1",
"h2": "h2",
"h3": "h3",
"h4": "h4",
"h5": "h5",
"h6": "h6",
"div": "div"
}
},
"position": "${builder.position}",
"position_left": "${builder.position_left}",
"position_right": "${builder.position_right}",
"position_top": "${builder.position_top}",
"position_bottom": "${builder.position_bottom}",
"position_z_index": "${builder.position_z_index}",
"margin": "${builder.margin}",
"margin_remove_top": "${builder.margin_remove_top}",
"margin_remove_bottom": "${builder.margin_remove_bottom}",
"maxwidth": "${builder.maxwidth}",
"maxwidth_breakpoint": "${builder.maxwidth_breakpoint}",
"block_align": "${builder.block_align}",
"block_align_breakpoint": "${builder.block_align_breakpoint}",
"block_align_fallback": "${builder.block_align_fallback}",
"text_align": "${builder.text_align_justify}",
"text_align_breakpoint": "${builder.text_align_breakpoint}",
"text_align_fallback": "${builder.text_align_justify_fallback}",
"animation": "${builder.animation}",
"_parallax_button": "${builder._parallax_button}",
"visibility": "${builder.visibility}",
"name": "${builder.name}",
"status": "${builder.status}",
"source": "${builder.source}",
"id": "${builder.id}",
"class": "${builder.cls}",
"attributes": "${builder.attrs}",
"css": {
"label": "CSS",
"description": "Enter your own custom CSS. The following selectors will be prefixed automatically for this element: <code>.el-element</code>, <code>.el-link</code>",
"type": "editor",
"editor": "code",
"mode": "css",
"attrs": {
"debounce": 500
}
}
},
"fieldset": {
"default": {
"type": "tabs",
"fields": [
{
"title": "Content",
"fields": ["content", "link", "link_target"]
},
{
"title": "Settings",
"fields": [
{
"label": "Title",
"type": "group",
"divider": true,
"fields": [
"title_style",
"title_decoration",
"title_font_family",
"title_color",
"link_style",
"title_element"
]
},
{
"label": "General",
"type": "group",
"fields": [
"position",
"position_left",
"position_right",
"position_top",
"position_bottom",
"position_z_index",
"margin",
"margin_remove_top",
"margin_remove_bottom",
"maxwidth",
"maxwidth_breakpoint",
"block_align",
"block_align_breakpoint",
"block_align_fallback",
"text_align",
"text_align_breakpoint",
"text_align_fallback",
"animation",
"_parallax_button",
"visibility"
]
}
]
},
"${builder.advanced}"
]
}
}
}