From 617683ba92a54b342bb0efb869556e864edd632a Mon Sep 17 00:00:00 2001 From: SBD Date: Fri, 19 Jan 2024 14:59:15 +0300 Subject: [PATCH] 0.0.158 --- static/aerbimCSS.css | 11 +++++- static/aerbimCSSMOBILE.css | 69 ++++++++++++++++++++++++++++----- static/aerbimJS.js | 11 ++++++ templates/blocks/b_curtain.html | 10 ++--- templates/forms/f_feedback.html | 14 +++++-- 5 files changed, 96 insertions(+), 19 deletions(-) diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index 88b4f1b..ef42c12 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -921,7 +921,7 @@ body.n_scroll{ width: 100%; display: flex; flex-wrap: wrap; - justify-content: left; + justify-content: center; } .how_dev_widget{ @@ -1380,6 +1380,15 @@ body.n_scroll{ text-align: left; width: 100%; } +.mobile_additionals_btns .checkbox_container{ + display: none; +} +.mobile_additionals_btns .checkbox_container{ + display: none; +} +.mobile_additionals_btns .button_form_feedback{ + display: none; +} .cards_contacts_container { padding: 80px 70px; diff --git a/static/aerbimCSSMOBILE.css b/static/aerbimCSSMOBILE.css index a4b4c47..8e0311e 100644 --- a/static/aerbimCSSMOBILE.css +++ b/static/aerbimCSSMOBILE.css @@ -7,6 +7,13 @@ } @media (max-width: 1024px) { + .name_language { + color: #FFFFFF; + } + .img_arrow_language_select{ + filter: brightness(0) saturate(100%) invert(100%) sepia(12%) saturate(0%) hue-rotate(69deg) brightness(103%) contrast(102%); + } + .line_go_to_sections{ width: 100%; color: #000000; @@ -43,6 +50,15 @@ top: 50px; z-index: 100; } + .container_sections_buttons.main{ + display: block; + } + .container_sections_buttons.not_main{ + display: none; + } + .container_sliders{ + display: none; + } .txt_section { color: #000000; } @@ -251,6 +267,7 @@ font-size: 16px; text-align: right; padding-bottom: 15px; + text-decoration: none; } } @@ -272,22 +289,48 @@ } @media (max-width: 800px) { - .container_sections_buttons.main{ - display: block; - } - .container_sections_buttons.not_main{ - display: none; - } - .container_sliders{ - display: none; - } + .container_content_functional_features_block_items{ flex-wrap: wrap; } .container_content_features_block_item{ width: 45%; } - + .desctop_additionals_btns .checkbox_container{ + display: none; + } + .desctop_additionals_btns .checkbox_container{ + display: none; + } + .desctop_additionals_btns .button_form_feedback{ + display: none; + } + .mobile_additionals_btns .checkbox_container{ + display: block; + position: unset; + } + .mobile_additionals_btns .checkbox_container{ + display: block; + } + .mobile_additionals_btns .button_form_feedback{ + display: block; + position: unset; + } + .mobile_additionals_btns{ + margin-top: 30px; + } + .form_feedback_content{ + width: 100%; + } + .description_form_feedback{ + width: 100%; + } + .container_content_form_feedback{ + flex-direction: column; + } + .description_form_feedback_txt{ + margin-bottom: 30px; + } } @media (max-width: 700px) { @@ -310,6 +353,12 @@ } +@media (max-width: 670px) { + .how_dev_widget_description{ + height: unset; + } +} + @media (max-width: 600px) { .first_line_block_functional_features{ flex-direction: column-reverse; diff --git a/static/aerbimJS.js b/static/aerbimJS.js index f97242e..f037a66 100644 --- a/static/aerbimJS.js +++ b/static/aerbimJS.js @@ -2,6 +2,7 @@ $(document).ready(function (){ if (document.querySelector(".header").dataset['page'] === 'True' && getInfoAboutUser()[0] !== 'mobile' && getInfoAboutUser()[0] !== 'laptop'){ resetSlider() renderContent() + resize_iframe() } else { let el = document.querySelector(".container_sections_buttons") if (el){ @@ -9,11 +10,21 @@ $(document).ready(function (){ replace_select_language() resetSlider() autoPlaySlider() + resize_iframe() } } }) autoplayInterval = null +function resize_iframe () { + $("iframe").each(function() { + let old_width = $(this).width() + $(this).width('100%'); + var new_width = $(this).width (); + let height = $(this).height() + $(this).css("height", height/(old_width/new_width) + "px"); + }); +} function getInfoAboutUser (){ let user_type = '' diff --git a/templates/blocks/b_curtain.html b/templates/blocks/b_curtain.html index 5f2d2c4..4322f76 100644 --- a/templates/blocks/b_curtain.html +++ b/templates/blocks/b_curtain.html @@ -24,13 +24,13 @@
- {% translate "Проектирование" %} - {% translate "Разработка плагинов" %} - {% translate "3D SECURITY DESIGNER" %} + {% for section in sections %} + {{ section.name }} + {% endfor %}
- {% translate "Поддержка" %} - {% translate "Контакты" %} +{# {% translate "Поддержка" %}#} + {% translate "Контакты" %}
diff --git a/templates/forms/f_feedback.html b/templates/forms/f_feedback.html index f52cc4d..6817e8e 100644 --- a/templates/forms/f_feedback.html +++ b/templates/forms/f_feedback.html @@ -6,11 +6,19 @@
{{ block.description|linebreaksbr }}
+
+
+ {% include 'widgets/w_checkbox_f_feedback.html' %} +
+ +
+ +
+ {% include 'widgets/elements_form_feedback.html' %} +
+
{% include 'widgets/w_checkbox_f_feedback.html' %}
-
-
- {% include 'widgets/elements_form_feedback.html' %}
\ No newline at end of file