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

View File

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