diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index af9be0c..099a734 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -80,7 +80,7 @@ body,html{ } .description_page{ - margin-top: 60px; + margin-top: 50px; display: block; font-size: 24px; font-weight: 500; @@ -297,6 +297,10 @@ body,html{ transition: 300ms; } +.description_sections_buttons{ + display: none; +} + .section_btn:hover { height: 45px; position: relative; diff --git a/static/aerbimCSSMOBILE.css b/static/aerbimCSSMOBILE.css index 6c5caa0..b41dc78 100644 --- a/static/aerbimCSSMOBILE.css +++ b/static/aerbimCSSMOBILE.css @@ -112,11 +112,66 @@ margin-right: 20px; padding-right: 0; } + .line_go_to_sections{ + width: 100%; + color: #000000; + padding-bottom: 15px; + border-bottom: 1px solid #D1D1D1; + } + .description_txt{ + display: block; + width: 100%; + color: #000000; + margin-bottom: 10px; + } + .section_btn{ + height: unset; + } + .section_btn.open{ + height: unset; + } + .section_btn.close{ + height: unset; + background: #ffffff; + } + .container_sections_buttons { + height: unset; + background: #10212B; + position: unset; + top: 50px; + z-index: 100; + } + .txt_section { + color: #000000; + } + .section_btn.close > .txt_section { + color: #000000; + padding: 18px 30px 18px 30px; + transition: 500ms; + } + .section_btn:hover{ + height: unset; + } + .img_go_to_section{ + width: 8px; + } + .description_sections_buttons{ + display: block; + padding: 0 30px 20px 30px; + } + .cut-width.sections_btns { + margin: 0; + } + .section_btn{ + width: 100%; + } + .container_content_sections_buttons{ + flex-wrap: wrap; + height: unset; + } } -@media (max-width: 750px) { - - +@media (max-width: 675px) { } \ No newline at end of file diff --git a/static/images/arrow_right_for_sections.svg b/static/images/arrow_right_for_sections.svg new file mode 100644 index 0000000..c2122d4 --- /dev/null +++ b/static/images/arrow_right_for_sections.svg @@ -0,0 +1,3 @@ + + + diff --git a/templates/blocks/dynamic/b_sections_buttons.html b/templates/blocks/dynamic/b_sections_buttons.html index ae04608..95bc9a8 100644 --- a/templates/blocks/dynamic/b_sections_buttons.html +++ b/templates/blocks/dynamic/b_sections_buttons.html @@ -4,7 +4,11 @@
{% for section in sections %} -
{{ section.name }}
+
{{ section.name }}
+
+
{{ section.description }}
+
перейти в раздел
+
{% endfor %}