This commit is contained in:
SBD
2023-12-08 16:45:50 +03:00
parent 9f12bd058d
commit efade523e1
4 changed files with 28 additions and 9 deletions

View File

@@ -21,7 +21,9 @@
{{ widget.name }}
</div>
{% endif %}
{% with name_w='how_with_us_working' %}
{% include "blocks/block_elements/be_button.html" %}
{% endwith %}
</div>
{% endfor %}
{# <div class="descript_process_container">#}

View File

@@ -25,12 +25,9 @@
<div class="description_slide">{{ slide.description|linebreaksbr }}</div>
{% endif %}
{% if slide.but_title %}
<a href="{{ slide.url }}">
{% if slide.but_icon %}
<img src="{{ MEDIA_URL }}{{ slide.but_icon }}" alt="{{ slide.but_title }}" />
{% endif %}
<div style="border: {{ slide.but_color }} solid 5px; color: {{ slide.but_color }}">{{ slide.but_title }}</div>
</a>
{% with slide as widget name_w='slide' %}
{% include 'blocks/block_elements/be_button.html' %}
{% endwith %}
{% endif %}
</div>
</div>

View File

@@ -1,5 +1,23 @@
{% if widget.but_title %}
<a href="{{ widget.url }}" style="border: {{ widget.but_color }} solid 2px; color: {{ widget.but_color }};text-decoration: none;padding: 5px;display: block;">
<style>
.{{ widget.name_w }}_{{ widget.id }}_widget_btn_a{
border: {{ widget.but_color }} solid 2px;
color: {{ widget.but_color }};
width: 80%;
text-decoration: none;
display: block;
padding: 5px 0;
border-radius: 5px;
transition: 200ms;
margin-top: 8px;
}
.{{ widget.name_w }}_{{ widget.id }}_widget_btn_a:hover {
background: {{ widget.but_color }};
color: #ffffff;
transition: 200ms;
}
</style>
<a class="{{ widget.name_w }}_{{ widget.id }}_widget_btn_a_" href="{{ widget.url }}">
{{ widget.but_title }}
</a>
{% endif %}

View File

@@ -16,6 +16,8 @@
{{ widget.description|safe|linebreaksbr }}
</div>
{% endif %}
{% with name_w='functional_features' %}
{% include "blocks/block_elements/be_button.html" %}
{% endwith %}
</div>
</div>