diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 2b7ca35..78c93e9 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -1095,7 +1095,8 @@ min-height: calc(100vh - 200px); background: #FFFFFF; box-shadow: -1px 4px 10px 0 rgba(198, 199, 203, 0.20), 0 -1px 10px 0 rgba(198, 199, 203, 0.20); - width: 26%; + /*!*width: 26%;*/ + width: 100%; float: left; padding: 2%; position: sticky; @@ -2228,6 +2229,10 @@ /*display: none;*/ } +.menu_buttons.filters{ + width: 320px; +} + /* for curtain right*/ .cut_width_f_curtain{ @@ -2241,6 +2246,17 @@ height: 695px; } +.cut_width_f_curtain.left{ + max-width: 1280px; + text-align: -webkit-right; + position: sticky; + margin: auto; + z-index: 998; + top: 61px; + float: left; + height: 695px; +} + .menu_buttons{ /*background: #FFFFFF;*/ /*height: 100vh;*/ @@ -2309,6 +2325,18 @@ } +.menu_buttons.left.open.filters{ + width: 300px; + background: #FFFFFF; + border-radius: 10px; + max-height: 83vh; + left: 0; + padding: 10px; + transition: 200ms; + /* position: fixed; */ + float: left; +} + .support .menu_buttons.left.open{ margin-top: 49px; } @@ -2473,7 +2501,7 @@ .img_one_news{ display: block; aspect-ratio: 4/3; - /*height: 300px;*/ + height: 225px; object-fit: cover; } diff --git a/templates/blocks/b_find_route_form.html b/templates/blocks/b_find_route_form.html index 7aab450..d4a0a47 100644 --- a/templates/blocks/b_find_route_form.html +++ b/templates/blocks/b_find_route_form.html @@ -10,7 +10,7 @@ {% if show_filter_and_results %}
- {% include "forms/f_find_route_filters_form.html" %} +{# {% include "forms/f_find_route_filters_form.html" %}#}
diff --git a/templates/forms/f_find_route_filters_form.html b/templates/forms/f_find_route_filters_form.html index f5a7495..59f2d61 100644 --- a/templates/forms/f_find_route_filters_form.html +++ b/templates/forms/f_find_route_filters_form.html @@ -1,6 +1,6 @@ {% load static %} -
+{#
#}
Все фильтры
Способ перевозки
@@ -86,4 +86,4 @@
-
\ No newline at end of file +{#
#} \ No newline at end of file diff --git a/templates/tb_base.html b/templates/tb_base.html index db68493..fa06e6c 100644 --- a/templates/tb_base.html +++ b/templates/tb_base.html @@ -70,6 +70,20 @@
+ {% if not page_type == 'profile' %} +
+ +
+ {% endif %}
{% block content %}