This commit is contained in:
SBD
2023-12-08 18:54:14 +03:00
parent 10cd06fc86
commit fd60f1a5f8
2 changed files with 14 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{% if widget.but_title %} {% if widget.but_title %}
<style> <style>
.{{ widget.name_w }}_{{ widget.id }}_widget_btn_a{ .{{ name_w }}_{{ widget.id }}_widget_btn_a{
border: {{ widget.but_color }} solid 2px; border: {{ widget.but_color }} solid 2px;
color: {{ widget.but_color }}; color: {{ widget.but_color }};
width: 80%; width: 80%;
@@ -12,18 +12,23 @@
margin-top: 8px; margin-top: 8px;
text-align: center; text-align: center;
} }
.{{ widget.name_w }}_{{ widget.id }}_widget_btn_a:hover { .{{ name_w }}_{{ widget.id }}_widget_btn_a:hover {
background: {{ widget.but_color }}; background: {{ widget.but_color }};
color: #ffffff; color: #ffffff;
transition: 200ms; transition: 200ms;
} }
.{{ widget.name_w }}_{{ widget.id }}_align_btn{ .{{ name_w }}_{{ widget.id }}_align_btn{
text-align: {% if not name_w == 'slide' %}-webkit-center{% else %}unset{% endif %}; text-align:
{% if name_w == 'slide' or name_w == 'presentAerBim' %}
unset
{% else %}
-webkit-center
{% endif %};
width: 100%; width: 100%;
} }
</style> </style>
<div class="{{ widget.name_w }}_{{ widget.id }}_align_btn"> <div class="{{ name_w }}_{{ widget.id }}_align_btn">
<a class="{{ widget.name_w }}_{{ widget.id }}_widget_btn_a" href="{{ widget.url }}"> <a class="{{ name_w }}_{{ widget.id }}_widget_btn_a" href="{{ widget.url }}">
{{ widget.but_title }} {{ widget.but_title }}
</a> </a>
</div> </div>

View File

@@ -12,6 +12,9 @@
{{ widget.description }} {{ widget.description }}
</div> </div>
{% endif %} {% endif %}
{% with name_w='presentAerBim' %}
{% include 'blocks/block_elements/be_button.html' %}
{% endwith %}
</div> </div>
{% if widget.video_url or widget.picture %} {% if widget.video_url or widget.picture %}
<div class="img_container_part_w_one_present"> <div class="img_container_part_w_one_present">