-
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.
release(2.17.0): tema dei termini di tassonomia in base alla sezione …
…di menu
- Loading branch information
Showing
8 changed files
with
396 additions
and
3 deletions.
There are no files selected for viewing
79 changes: 79 additions & 0 deletions
79
...omy/tipologia_documenti/taxonomy-term--type-tipologia-documenti--view-mode-full.html.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,79 @@ | ||
{# | ||
/** | ||
* @file | ||
* Default theme implementation to display a taxonomy term. | ||
* | ||
* Available variables: | ||
* - url: URL of the current term. | ||
* - name: (optional) Name of the current term. | ||
* - content: Items for the content of the term (fields and description). | ||
* Use 'content' to print them all, or print a subset such as | ||
* 'content.description'. Use the following code to exclude the | ||
* printing of a given child element: | ||
* @code | ||
* {{ content|without('description') }} | ||
* @endcode | ||
* - attributes: HTML attributes for the wrapper. | ||
* - page: Flag for the full page state. | ||
* - term: The taxonomy term entity, including: | ||
* - id: The ID of the taxonomy term. | ||
* - bundle: Machine name of the current vocabulary. | ||
* - view_mode: View mode, e.g. 'full', 'teaser', etc. | ||
* | ||
* @see template_preprocess_taxonomy_term() | ||
* | ||
* @ingroup themeable | ||
*/ | ||
#} | ||
{% apply spaceless %} | ||
{% set _section_classes = [ | ||
'section', | ||
'bg-redbrown', | ||
'bg-red-gradient', | ||
'py-5', | ||
'py-md-4', | ||
'py-lg-0', | ||
'position-relative', | ||
'overflow-hidden' | ||
] %} | ||
<section{{ create_attribute().addClass(_section_classes) }}> | ||
<div class="people-red-forms position-absolute top-0 end-0" aria-hidden="true"> | ||
{% include '@skenografia_components/inline-svg/cerchio.svg.twig' %} | ||
</div> | ||
<div class="container"> | ||
<div class="row variable-gutters"> | ||
{% if content.field_icona[0] is iterable %} | ||
<div class="col-12 col-sm-3 col-lg-3 d-none d-sm-block"> | ||
<div class="d-flex justify-content-center py-3"> | ||
{% include '@bi-bcl/icon/icon.html.twig' with { | ||
name: content.field_icona|render|striptags|trim, | ||
size: 'xxxl', | ||
color: 'white', | ||
icon_classes: [''] | ||
} %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
<div class="col-12 col-sm-9 col-md-8 col-lg-8"> | ||
<div class="hero-title text-start"> | ||
{{ title_prefix }} | ||
{% if name %} | ||
<h1{{ title_attributes.addClass('ps-0','mb-2','text-white','fw-lighter') }}>{{ name }}</h1> | ||
{% endif %} | ||
{{ title_suffix }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<section{{ attributes.addClass(['section', 'bg-white']) }}> | ||
<div class="container"> | ||
<div class="row variable-gutters"> | ||
<div class="col"> | ||
{{ content|without('field_icona') }} | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
{% endapply %} |
79 changes: 79 additions & 0 deletions
79
.../taxonomy/tipologia_eventi/taxonomy-term--type-tipologia-eventi--view-mode-full.html.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,79 @@ | ||
{# | ||
/** | ||
* @file | ||
* Default theme implementation to display a taxonomy term. | ||
* | ||
* Available variables: | ||
* - url: URL of the current term. | ||
* - name: (optional) Name of the current term. | ||
* - content: Items for the content of the term (fields and description). | ||
* Use 'content' to print them all, or print a subset such as | ||
* 'content.description'. Use the following code to exclude the | ||
* printing of a given child element: | ||
* @code | ||
* {{ content|without('description') }} | ||
* @endcode | ||
* - attributes: HTML attributes for the wrapper. | ||
* - page: Flag for the full page state. | ||
* - term: The taxonomy term entity, including: | ||
* - id: The ID of the taxonomy term. | ||
* - bundle: Machine name of the current vocabulary. | ||
* - view_mode: View mode, e.g. 'full', 'teaser', etc. | ||
* | ||
* @see template_preprocess_taxonomy_term() | ||
* | ||
* @ingroup themeable | ||
*/ | ||
#} | ||
{% apply spaceless %} | ||
{% set _section_classes = [ | ||
'section', | ||
'bg-greendark', | ||
'bg-greendarkgradient', | ||
'py-5', | ||
'py-md-4', | ||
'py-lg-0', | ||
'position-relative', | ||
'overflow-hidden' | ||
] %} | ||
<section{{ create_attribute().addClass(_section_classes) }}> | ||
<div class="green-square-forms position-absolute top-0 end-0 d-none d-lg-block" aria-hidden="true"> | ||
{% include '@skenografia_components/inline-svg/square-forms.svg.twig' %} | ||
</div> | ||
<div class="container"> | ||
<div class="row variable-gutters"> | ||
{% if content.field_icona[0] is iterable %} | ||
<div class="col-12 col-sm-3 col-lg-3 d-none d-sm-block"> | ||
<div class="d-flex justify-content-center py-3"> | ||
{% include '@bi-bcl/icon/icon.html.twig' with { | ||
name: content.field_icona|render|striptags|trim, | ||
size: 'xxxl', | ||
color: 'white', | ||
icon_classes: [''] | ||
} %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
<div class="col-12 col-sm-9 col-md-8 col-lg-8"> | ||
<div class="hero-title text-start"> | ||
{{ title_prefix }} | ||
{% if name %} | ||
<h1{{ title_attributes.addClass('ps-0','mb-2','text-white','fw-lighter') }}>{{ name }}</h1> | ||
{% endif %} | ||
{{ title_suffix }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<section{{ attributes.addClass(['section', 'bg-white']) }}> | ||
<div class="container"> | ||
<div class="row variable-gutters"> | ||
<div class="col"> | ||
{{ content|without('field_icona') }} | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
{% endapply %} |
79 changes: 79 additions & 0 deletions
79
.../taxonomy/tipologia_luoghi/taxonomy-term--type-tipologia-luoghi--view-mode-full.html.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,79 @@ | ||
{# | ||
/** | ||
* @file | ||
* Default theme implementation to display a taxonomy term. | ||
* | ||
* Available variables: | ||
* - url: URL of the current term. | ||
* - name: (optional) Name of the current term. | ||
* - content: Items for the content of the term (fields and description). | ||
* Use 'content' to print them all, or print a subset such as | ||
* 'content.description'. Use the following code to exclude the | ||
* printing of a given child element: | ||
* @code | ||
* {{ content|without('description') }} | ||
* @endcode | ||
* - attributes: HTML attributes for the wrapper. | ||
* - page: Flag for the full page state. | ||
* - term: The taxonomy term entity, including: | ||
* - id: The ID of the taxonomy term. | ||
* - bundle: Machine name of the current vocabulary. | ||
* - view_mode: View mode, e.g. 'full', 'teaser', etc. | ||
* | ||
* @see template_preprocess_taxonomy_term() | ||
* | ||
* @ingroup themeable | ||
*/ | ||
#} | ||
{% apply spaceless %} | ||
{% set _section_classes = [ | ||
'section', | ||
'bg-redbrown', | ||
'bg-red-gradient', | ||
'py-5', | ||
'py-md-4', | ||
'py-lg-0', | ||
'position-relative', | ||
'overflow-hidden' | ||
] %} | ||
<section{{ create_attribute().addClass(_section_classes) }}> | ||
<div class="people-red-forms position-absolute top-0 end-0" aria-hidden="true"> | ||
{% include '@skenografia_components/inline-svg/cerchio.svg.twig' %} | ||
</div> | ||
<div class="container"> | ||
<div class="row variable-gutters"> | ||
{% if content.field_icona[0] is iterable %} | ||
<div class="col-12 col-sm-3 col-lg-3 d-none d-sm-block"> | ||
<div class="d-flex justify-content-center py-3"> | ||
{% include '@bi-bcl/icon/icon.html.twig' with { | ||
name: content.field_icona|render|striptags|trim, | ||
size: 'xxxl', | ||
color: 'white', | ||
icon_classes: [''] | ||
} %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
<div class="col-12 col-sm-9 col-md-8 col-lg-8"> | ||
<div class="hero-title text-start"> | ||
{{ title_prefix }} | ||
{% if name %} | ||
<h1{{ title_attributes.addClass('ps-0','mb-2','text-white','fw-lighter') }}>{{ name }}</h1> | ||
{% endif %} | ||
{{ title_suffix }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<section{{ attributes.addClass(['section', 'bg-white']) }}> | ||
<div class="container"> | ||
<div class="row variable-gutters"> | ||
<div class="col"> | ||
{{ content|without('field_icona') }} | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
{% endapply %} |
79 changes: 79 additions & 0 deletions
79
...onomy/tipologia_progetti/taxonomy-term--type-tipologia-progetti--view-mode-full.html.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,79 @@ | ||
{# | ||
/** | ||
* @file | ||
* Default theme implementation to display a taxonomy term. | ||
* | ||
* Available variables: | ||
* - url: URL of the current term. | ||
* - name: (optional) Name of the current term. | ||
* - content: Items for the content of the term (fields and description). | ||
* Use 'content' to print them all, or print a subset such as | ||
* 'content.description'. Use the following code to exclude the | ||
* printing of a given child element: | ||
* @code | ||
* {{ content|without('description') }} | ||
* @endcode | ||
* - attributes: HTML attributes for the wrapper. | ||
* - page: Flag for the full page state. | ||
* - term: The taxonomy term entity, including: | ||
* - id: The ID of the taxonomy term. | ||
* - bundle: Machine name of the current vocabulary. | ||
* - view_mode: View mode, e.g. 'full', 'teaser', etc. | ||
* | ||
* @see template_preprocess_taxonomy_term() | ||
* | ||
* @ingroup themeable | ||
*/ | ||
#} | ||
{% apply spaceless %} | ||
{% set _section_classes = [ | ||
'section', | ||
'bg-bluelectric', | ||
'bg-bluelectricgradient', | ||
'py-5', | ||
'py-md-4', | ||
'py-lg-0', | ||
'position-relative', | ||
'overflow-hidden' | ||
] %} | ||
<section{{ create_attribute().addClass(_section_classes) }}> | ||
<div class="green-square-forms position-absolute top-0 end-0 d-none d-lg-block" aria-hidden="true"> | ||
{% include '@skenografia_components/inline-svg/square-forms.svg.twig' %} | ||
</div> | ||
<div class="container"> | ||
<div class="row variable-gutters"> | ||
{% if content.field_icona[0] is iterable %} | ||
<div class="col-12 col-sm-3 col-lg-3 d-none d-sm-block"> | ||
<div class="d-flex justify-content-center py-3"> | ||
{% include '@bi-bcl/icon/icon.html.twig' with { | ||
name: content.field_icona|render|striptags|trim, | ||
size: 'xxxl', | ||
color: 'white', | ||
icon_classes: [''] | ||
} %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
<div class="col-12 col-sm-9 col-md-8 col-lg-8"> | ||
<div class="hero-title text-start"> | ||
{{ title_prefix }} | ||
{% if name %} | ||
<h1{{ title_attributes.addClass('ps-0','mb-2','text-white','fw-lighter') }}>{{ name }}</h1> | ||
{% endif %} | ||
{{ title_suffix }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<section{{ attributes.addClass(['section', 'bg-white']) }}> | ||
<div class="container"> | ||
<div class="row variable-gutters"> | ||
<div class="col"> | ||
{{ content|without('field_icona') }} | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
templates/taxonomy/tipologia_servizi/page--taxonomy-term--tipologia-servizi.md
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.