contao-thememanager / ctm-accordion
Accordion integration for Contao Theme-Manager
Fund package maintenance!
oveleon
Installs: 182
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Language:JavaScript
Type:symfony-bundle
Requires
- php: ^8.1
- contao-thememanager/core: ^2.0.8
- contao/core-bundle: ^4.13 || ^5.2
Requires (Dev)
- contao/manager-plugin: ^2.3.1
Conflicts
- contao/core: *
- contao/manager-plugin: <2.0 || >=3.0
README
Description
- Extends the Contao ThemeManager palette with options to configure your accordion styles.
- Extends the following content-elements and modules with accordion settings:
- accordionStart
- accordionSingle
- faqpage (use the mod_faqpage_accordion template)
After compiling your theme, make sure to add:
- _accordion.css to your Layout stylesheet settings
- js_ctm_accordion to your javascript template
Settings
Accordion | |
---|---|
Option | Description |
$accordion-icon | Here you can add the accordion toggle icon. |
$accordion-icon-active | Here you can add the accordion toggle icon (active). |
$accordion-icon-font-size | Here you can set the font-size for the accordion toggle icon. |
$accordion-icon-font-family | Here you can set the font-family for the accordion toggle icon. |
$accordion-icon-line-height | Here you can set the line-height for the accordion toggle icon. |
$accordion-icon-font-weight | Here you can set the font-weight for the accordion toggle icon. |
$accordion-icon-width | Here you can set the width for the accordion toggle icon. |
$accordion-icon-height | Here you can set the height for the accordion toggle icon. |
$accordion-icon-offset | Here you can set the margin between labels and the accordion toggle icon. |
$accordion-icon-side | Here you can choose whether the accordion toggle icon should be left or right. |
$accordion-icon-border-radius | Here you can set the border-radius for the accordion toggle icon. |
$accordion-icon-border-width | Here you can set the border-width for the accordion toggle icon. |
$accordion-icon-border-style | Here you can choose the border-style for the accordion toggle icon. |
$accordion-icon-border-color | Here you set the border-color for the accordion toggle icon. |
$accordion-icon-background | Here you can set the background-color for the accordion toggle icon. |
$accordion-icon-color | Here you can set the text color for the accordion toggle icon. |
$accordion-content-margin | Here you can set the margin for the accordion content. |
$accordion-content-padding | Here you can set the padding for the accordion content. |