{% extends 'areas/col/editables.html.twig' %}
{% import 'areas/col/helptexts.html.twig' as helptexts %}
{% block options %}
{% if editmode %}
{% set timestamp = 'now'|date('u') %}
<div class="editmode__options-icon" data-options-id="{{timestamp}}" data-bs-toggle="modal" data-bs-target="#colOptions{{timestamp}}"></div>
<div class="modal modal-editmode fade" id="colOptions{{timestamp}}" tabindex="-1" data-bs-backdrop="false" aria-labelledby="colOptionsLabel{{timestamp}}" aria-hidden="true" data-options-id="{{timestamp}}">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header justify-content-end">
<div class="x-tool-tool-el x-tool-img x-tool-close" data-bs-dismiss="modal" aria-label="Close"></div>
</div>
<div class="modal-body">
<ul class="nav nav-tabs" id="myTab{{timestamp}}" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="size-tab-{{timestamp}}" data-bs-toggle="tab" data-bs-target="#size{{timestamp}}" type="button" role="tab" aria-controls="size{{timestamp}}" aria-selected="true">{{'ercas_doc_be_col_label_tabSize' | trans}}</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="behave-tab-{{timestamp}}" data-bs-toggle="tab" data-bs-target="#behave{{timestamp}}" type="button" role="tab" aria-controls="behave{{timestamp}}" aria-selected="false">{{'ercas_doc_be_col_label_tabBehaviour' | trans}}</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="background-tab-{{timestamp}}" data-bs-toggle="tab" data-bs-target="#background{{timestamp}}" type="button" role="tab" aria-controls="background{{timestamp}}" aria-selected="false">{{'ercas_doc_be_col_label_tabBackground' | trans}}</button>
</li>
{% if colBackgroundSelect.getData() == 'image' or colBackgroundSelect.getData() == 'video' %}
<li class="nav-item" role="presentation">
<button class="nav-link" id="gradient-tab-{{timestamp}}" data-bs-toggle="tab" data-bs-target="#gradient{{timestamp}}" type="button" role="tab" aria-controls="gradient{{timestamp}}" aria-selected="false">{{'ercas_doc_be_col_label_tabGradient' | trans}}</button>
</li>
{% endif %}
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="size{{timestamp}}" role="tabpanel" aria-labelledby="size-tab-{{timestamp}}" tabindex="0">
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_sizeSM' | trans }}</div>
</legend>
{{ colSizeSmSelect | raw }}
</fieldset>
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_sizeMD' | trans }}</div>
</legend>
{{ colSizeMdSelect | raw }}
</fieldset>
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_sizeLG' | trans }}</div>
</legend>
{{ colSizeLgSelect | raw }}
</fieldset>
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_margin' | trans }}</div>
</legend>
{{ colMarginSelect | raw }}
</fieldset>
</div>
<div class="tab-pane" id="behave{{timestamp}}" role="tabpanel" aria-labelledby="behave-tab-{{timestamp}}" tabindex="0">
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_offset' | trans }}</div>
</legend>
{{ colBehaveOffset | raw }}
</fieldset>
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_alignment' | trans }}</div>
</legend>
{{ colAlignSelect | raw }}
</fieldset>
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_createSpacer' | trans }}</div>
</legend>
{{ colCreateSpacerSelect | raw }}
</fieldset>
{#<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_row_label_border' | trans }}</div>
</legend>
{{ colBorderSelect | raw }}
</fieldset>#}
{#<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_InneraddingTopBottom' | trans }}</div>
</legend>
{{ colInnerTopBottomSelect | raw }}
</fieldset>#}
{% if colStickyVisible == true %}
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_sticky' | trans }}</div>
</legend>
{{ colStickySelect | raw }}
</fieldset>
{% endif %}
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_equal' | trans }}</div>
</legend>
{{ colNotEqualHightSelect | raw }}
</fieldset>
</div>
<div class="tab-pane" id="background{{timestamp}}" role="tabpanel" aria-labelledby="background-tab-{{timestamp}}" tabindex="0">
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_backgroundColor' | trans }}</div>
</legend>
{{ colBackgroundSelect | raw }}
</fieldset>
{% if colBackgroundSelect.getData() != 'image' and colBackgroundSelect.getData() != 'video' and colBackgroundSelect.getData() != 'none' %}
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_opacity' | trans }}</div>
</legend>
{{ colOpacity | raw }}
</fieldset>
{% endif %}
{% if colBackgroundSelect.getData() == 'image' or colBackgroundSelect.getData() == 'video' %}
{% if colBackgroundSelect.getData() == 'image' %}
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_image' | trans }}</div>
</legend>
{{ colImage | raw }}
</fieldset>
{% endif %}
{% if colBackgroundSelect.getData() == 'video' %}
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_video' | trans }}</div>
</legend>
{{ colVideo | raw }}
</fieldset>
{% endif %}
{% endif %}
{% if colBackgroundSelect.getData() != 'none' %}
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_height' | trans }}</div>
</legend>
{{ colHeightSelect | raw }}
</fieldset>
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_paddingLeftRight' | trans }}</div>
</legend>
{{ colPaddingLeftRightSelect | raw }}
</fieldset>
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_paddingTopBottom' | trans }}</div>
</legend>
{{ colPaddingTopBottomSelect | raw }}
</fieldset>
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_alignContent' | trans }}</div>
</legend>
{{ colAlignConetentSelect | raw }}
</fieldset>
{% endif %}
</div>
<div class="tab-pane" id="gradient{{timestamp}}" role="tabpanel" aria-labelledby="gradient-tab-{{timestamp}}" tabindex="0">
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_gradientAlignment' | trans }}</div>
</legend>
{{ colGradientAlignment | raw }}
</fieldset>
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_gradientSize' | trans }}</div>
</legend>
{{ colGradientSize | raw }}
</fieldset>
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_gradientOpacity' | trans }}</div>
</legend>
{{ colGradientOpacity | raw }}
</fieldset>
<fieldset class="x-fieldset x-fieldset-with-title x-fieldset-with-legend x-fieldset-default">
<legend class="x-fieldset-header x-fieldset-header-default">
<div class="x-component x-fieldset-header-text x-component-default">{{ 'ercas_doc_be_col_label_gradientColor' | trans }}</div>
</legend>
{{ colGradientColorSelect | raw }}
</fieldset>
</div>
</div>
</div>
<div class="modal-footer">
{% include 'areas/includes/areas.buttons.html.twig' %}
</div>
</div>
</div>
</div>
{% endif %}
{% block view %}{% endblock %}
{% endblock %}