-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- D8CORE-2454: Changes to block config name. (#29) (27850e7) - D8CORE-2490: Super Footer (#27) (b997fff) - D8CORE-2642: changing the bg gradient to all be the same as the people one. (#28) (a434f03) - D8CORE-2539: correcting dev versions of composer.json and info.yml (e67ae18) - D8CORE-2539: removing the scroll (c4bc897) - D8CORE-2510: fixing spacing on the hero banner for the gradient (64f8c83)
- Loading branch information
Showing
24 changed files
with
6,457 additions
and
8,737 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
11.14.0 | ||
14.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
39 changes: 39 additions & 0 deletions
39
dist/templates/decanter/components/accordion/accordion.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{# | ||
Accordion | ||
Template for an expandable/collapsable section. | ||
* Available variables: | ||
* - attributes: For additional HTML attributes not already provided. | ||
* - modifier_class: Additional CSS classes to change look and behavior. | ||
* - accordion_title: Optional title for the whole accordion component. | ||
* - cta_button: Optional call-to-action link button at the bototm of the accordion. | ||
* - title: | ||
* - content: | ||
#} | ||
<div {{ attributes }} class="su-accordion no-js {{ modifier_class }}"> | ||
{% if accordion_title is not empty %} | ||
{{ accordion_title }} | ||
{% endif %} | ||
{% if accordion_control %} | ||
<button class="su-accordion__collapse-all su-button--secondary">Collapse all -</button> | ||
<button class="su-accordion__expand-all su-button--secondary">Expand all +</button> | ||
{% endif %} | ||
{% if accordion_items is iterable %} | ||
<ul class="su-accordion__list"> | ||
{% for item in accordion_items %} | ||
<li class="su-accordion__item"> | ||
{% if item.title is not empty %} | ||
<h2 class="su-accordion__title"><button class="su-accordion__button">{{ item.title }}</button></h2> | ||
{% endif %} | ||
<div class="su-accordion__content"> | ||
{{ item.content }} | ||
</div> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
{% if cta_button_text is not empty %} | ||
<a href="{{ cta_button_link }}" class="su-accordion__cta su-button {{ cta_button_modifier_class }}" {{ cta_button_attributes }}>{{ cta_button_text }}</a> | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.