From fc2be35f613ae9e10fccd61e55846f0d9a786b51 Mon Sep 17 00:00:00 2001 From: SBD Date: Wed, 29 Nov 2023 13:14:41 +0300 Subject: [PATCH] 0.0.47 --- static/aerbimCSS.css | 9 +- static/aerbimCSSMOBILE.css | 116 ++++++++++++++++++ static/images/burger_menu.svg | 7 ++ .../blocks/dynamic/b_sections_buttons.html | 14 ++- templates/blocks/static/header.html | 3 + .../pages/content/c_blocks_constructor.html | 4 - templates/tb_base.html | 1 + 7 files changed, 142 insertions(+), 12 deletions(-) create mode 100644 static/images/burger_menu.svg diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index 4658449..387d303 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -53,7 +53,7 @@ body,html{ /*header*/ .left_part_header{ - width: 23%; + width: 290px; float: left; text-align: -webkit-left; display: block; @@ -64,13 +64,17 @@ body,html{ } .right_part_header { - width: 77%; + width: calc(100% - 290px); float: right; padding: 17px 0 15px 0; position: relative; text-align: -webkit-right; } +.right_part_header_mobile{ + display: none; +} + .text_header{ padding-right: 90px; } @@ -318,6 +322,7 @@ body,html{ .service_block_container{ width: calc(33% - 70px); margin-right: 70px; + margin-bottom: 70px; } .service_block_container.two_cols{ diff --git a/static/aerbimCSSMOBILE.css b/static/aerbimCSSMOBILE.css index e69de29..a57002a 100644 --- a/static/aerbimCSSMOBILE.css +++ b/static/aerbimCSSMOBILE.css @@ -0,0 +1,116 @@ +@media(max-width: 1280px){ + .cut-width{ + margin: 0 40px; + } + +} + +@media (max-width: 1024px) { + .form_consultation_container{ + padding: 70px 0 90px 0; + } + .plugin_container{ + margin: 120px 0 0 0; + width: 100%; + } + .left_part_plugin_container{ + width: calc(60% - 20px); + margin-right: 20px; + } + .container_content_faq{ + margin: 100px 0 0 0; + } + .text_header{ + padding-right: 40px; + } + .standart_txt{ + font-size: 14px; + } + .language_select{ + margin-left: 30px; + margin-right: 30px; + padding-right: 0; + } +} + +@media (max-width: 850px) { + .block_service{ + flex-wrap: wrap; + } + .service_block_container { + width: calc(50% - 70px); + } + .left_part_header{ + width: 235px; + float: left; + text-align: -webkit-left; + display: block; + position: relative; + top: 10px; + } + .logo_header { + height: 40px; + } + .right_part_header { + width: calc(100% - 235px); + float: right; + padding: 17px 0 15px 0; + position: relative; + text-align: -webkit-right; + } +} + +@media (max-width: 800px) { + .text_header{ + padding-right: 20px; + } + .text_header.last_left { + padding-right: 20px; + } + .language_select { + margin-left: 20px; + margin-right: 20px; + padding-right: 0; + } +} + +@media (max-width: 750px) { + .right_part_header{ + display: none; + } + .logo_header { + height: 35px; + } + .left_part_header{ + width: 205px; + position: relative; + top: 3px; + } + .header{ + height: 40px; + } + .right_part_header_mobile{ + width: calc(100% - 205px); + float: right; + display: block; + position: relative; + top: 9px; + text-align: right; + } + .content{ + margin-top: 50px; + } + .container_sections_buttons { + height: 55px; + background: #10212B; + position: sticky; + top: 50px; + z-index: 100; + } + .cut-width.sections_btns{ + margin: 10px; + } + .cut-width{ + margin: 0 20px; + } +} \ No newline at end of file diff --git a/static/images/burger_menu.svg b/static/images/burger_menu.svg new file mode 100644 index 0000000..0cd153b --- /dev/null +++ b/static/images/burger_menu.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/templates/blocks/dynamic/b_sections_buttons.html b/templates/blocks/dynamic/b_sections_buttons.html index eced6b6..ae04608 100644 --- a/templates/blocks/dynamic/b_sections_buttons.html +++ b/templates/blocks/dynamic/b_sections_buttons.html @@ -1,10 +1,12 @@ {% load static %}
-
- {% for section in sections %} - -
{{ section.name }}
-
- {% endfor %} +
+
+ {% for section in sections %} + +
{{ section.name }}
+
+ {% endfor %} +
\ No newline at end of file diff --git a/templates/blocks/static/header.html b/templates/blocks/static/header.html index cf67490..d39e972 100644 --- a/templates/blocks/static/header.html +++ b/templates/blocks/static/header.html @@ -28,5 +28,8 @@
Личный кабинет +
+ +
\ No newline at end of file diff --git a/templates/pages/content/c_blocks_constructor.html b/templates/pages/content/c_blocks_constructor.html index caa5d3a..ecb824d 100644 --- a/templates/pages/content/c_blocks_constructor.html +++ b/templates/pages/content/c_blocks_constructor.html @@ -18,11 +18,7 @@ {% include 'blocks/b_how_dev.html' %} {% elif block.block_type == 'present_technology_block' %} {% include 'blocks/b_present_technology.html' %} - {% elif block.block_type == 'present_technology_block' %} - {% include 'blocks/b_present_technology.html' %} {% endif %} - - {% endfor %} {% if page.plugin_presentation.all %} {% include 'blocks/b_3d_s_d.html' with block=page.plugin_presentation.all.0 %} diff --git a/templates/tb_base.html b/templates/tb_base.html index 3d48152..47f5725 100644 --- a/templates/tb_base.html +++ b/templates/tb_base.html @@ -8,6 +8,7 @@ {% include 'head_includes/fonts_include.html' %} +