From 51a65743d12cd1498ea61674fc9b991fe1f4303a Mon Sep 17 00:00:00 2001 From: borissedw Date: Wed, 16 Aug 2023 15:36:06 +0300 Subject: [PATCH] 0.0.148 --- static/css/styles.css | 46 +++++++++++++++-------- templates/blocks/profile/b_new_route.html | 8 ++-- 2 files changed, 34 insertions(+), 20 deletions(-) diff --git a/static/css/styles.css b/static/css/styles.css index 395cf57..f66a6b0 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -1097,7 +1097,29 @@ form.new_route{ } -input#id_from_address_point_txt{ +.from_address_point_txt{ + display: block; + border-radius: 15px; + border: 1px solid #E6E6E6; + color: #272424; + font-family: Inter; + font-size: 16px; + font-style: normal; + font-weight: 400; + line-height: 22px; + appearance: none; + background: white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center; + + height: 60px; + +} + +.from_address_point_txt.post_route{ + margin-top: 10px; + width: 392px; +} + +.to_address_point_txt{ display: block; border-radius: 15px; border: 1px solid #E6E6E6; @@ -1114,20 +1136,9 @@ input#id_from_address_point_txt{ margin-top: 10px; } -input#id_to_address_point_txt{ - display: block; - border-radius: 15px; - border: 1px solid #E6E6E6; - color: #272424; - font-family: Inter; - font-size: 16px; - font-style: normal; - font-weight: 400; - line-height: 22px; - appearance: none; - background: white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center; + +.to_address_point_txt.post_route{ width: 392px; - height: 60px; margin-top: 10px; } @@ -1220,17 +1231,20 @@ div.departure_arrival>div>input{ .input_list{ display: none; - max-width: 390px; max-height: 200px; width: 100%; position: absolute; - padding-top: 20px; background-color: #F8F8F8; overflow: scroll; overflow-x:hidden; } +.input_list.post_route{ + padding-top: 20px; + max-width: 390px; +} + .input_list.show{ display:inline-block; diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index 23806b2..a5325d9 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -106,7 +106,7 @@ type="text" minlength="3" name="from_address_point_txt" - class="from_address_point_txt" + class="from_address_point_txt post_route" {% if form.fields.from_address_point.required %} required{% endif %} id="id_from_address_point_txt" {% if form.initial.from_address_point_txt %}value="{{ form.initial.from_address_point_txt }}"{% endif %} @@ -115,7 +115,7 @@ -
+
{% if not errors_off and form.errors and form.errors.from_address_point %} @@ -142,11 +142,11 @@ name="to_address_point_txt" {% if form.fields.to_address_point.required %} required{% endif %} id="id_to_address_point_txt" - class="to_address_point_txt" + class="to_address_point_txt post_route" {% if form.initial.to_address_point_txt %}value="{{ form.initial.to_address_point_txt}}"{% endif %} /> -
+
{% if not errors_off and form.errors and form.errors.to_address_point %}