This commit is contained in:
SBD
2023-12-08 18:07:54 +03:00
parent 413233cc16
commit 5bf743c98a
4 changed files with 77 additions and 13 deletions

View File

@@ -1057,4 +1057,58 @@ body.n_scroll{
.description_slide{
overflow-wrap: break-word;
}
/* presentation aerBim*/
.container_block_presentation_aerBim{
width: 100%;
display: block;
}
.w_one_present{
width: 100%;
display: flex;
flex-wrap: wrap;
margin-bottom: 100px;
}
.w_one_present.odd{
flex-direction: row-reverse;
}
.w_one_present.even{
flex-direction: row;
}
.txt_part_w_one_present{
width: 45%;
}
.w_one_present.even .txt_part_w_one_present{
margin-right: 5%;
}
.w_one_present.odd .txt_part_w_one_present{
margin-left: 5%;
}
.title_w_one_present{
color: #000000;
text-transform: uppercase;
font-size: 36px;
font-weight: 600;
}
.splinner_w_one_present{
height: 1px;
margin: 30px 0;
width: 50%;
background: #9CDDF7;
}
.description_w_one_present{
color: #000000;
font-size: 16px;
font-weight: 400;
}
.img_container_part_w_one_present{
width: 50%;
}

View File

@@ -3,7 +3,7 @@
<div class="container_block_presentation_aerBim">
<div class="cut-width">
<div class="container_content_presentation_aerBim">
{% for section in sections %}
{% for widget in block.get_widgets %}
{% include "widgets/w_one_present_aerBim.html" %}
{% endfor %}
</div>

View File

@@ -23,7 +23,7 @@
{% elif block.block_type == 'main_block_w_subblocks' %}
{% include 'blocks/b_functional_features.html' %}
{% elif block.block_type == 'photo_n_text' %}
{% include 'blocks/b_photo_n_text.html' %}
{% include 'blocks/b_presentation_aerBim.html' %}
{% endif %}
{% endfor %}

View File

@@ -1,15 +1,25 @@
{% load static %}
<div class="w_one_present {% if forloop|divisibleby:2 %}{% endif %}">
<div class="w_one_present{% if forloop.counter|divisibleby:2 %} even{% else %} odd{% endif %}">
<div class="txt_part_w_one_present">
<div class="title_w_one_present standart_txt">
видеообзор функционала плагина 3D Security Designer
</div>
<div class="splinner_w_one_present"></div>
<div class="description_w_one_present standart_txt">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley
</div>
</div>
<div class="img_container_part_w_one_present">
<img class="img_part_w_one_present" src="{% static "images/delete_later/img_f_test_presentation.jpg" %}" alt="">
{% if widget.name %}
<div class="title_w_one_present standart_txt">
видеообзор функционала плагина 3D Security Designer
</div>
{% endif %}
{% if widget.description %}
<div class="splinner_w_one_present"></div>
<div class="description_w_one_present standart_txt">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley
</div>
{% endif %}
</div>
{% if widget.video_url or widget.picture %}
<div class="img_container_part_w_one_present">
{% if widget.picture %}
<img class="img_part_w_one_present" src="{{ MEDIA_URL }}{{ widget.picture }}" alt="">
{% elif widget.video_url %}
<div>{{ widget.video_url|safe }}</div>
{% endif %}
</div>
{% endif %}
</div>