diff --git a/static/css/styles.css b/static/css/styles.css index 7189d26..7e7f9a2 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -81,6 +81,7 @@ button::-moz-focus-inner { label { cursor: pointer; + margin-bottom: 7px; } legend { @@ -939,6 +940,36 @@ form.new_route{ } +div.from_to_country>div>input:nth-child(3){ + display: block; + border-radius: 15px; + border: 1px solid #E6E6E6; + padding: 10px; + color: #272424; + font-family: Inter; + font-size: 16px; + font-style: normal; + font-weight: 400; + line-height: 22px; + appearance: none; + background: url("/static/img/png/icon-arrow.png") no-repeat calc(100% - 15px) center; +} +div.departure_arrival>div>input{ + display: block; + border-radius: 15px; + border: 1px solid #E6E6E6; + padding: 10px; + color: #272424; + font-family: Inter; + font-size: 16px; + font-style: normal; + font-weight: 400; + line-height: 22px; + appearance: none; + +} + + /*end create new route*/ @@ -1008,7 +1039,10 @@ form.new_route{ .input_list.show{ display:block; width: 50%; - height: 200px; + height: max-content; + /*position: absolute;*/ + padding-top: 20px; + background-color: #ffcc80; } .input_list show.hide{ @@ -1017,4 +1051,12 @@ form.new_route{ select#id_cargo_type{ height: 120px; + background: none; + overflow: auto; + width: 193px; +} + +div.from_to_place>div>select{ + width: 392px; + } \ No newline at end of file diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index 13f10db..28f59f1 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -88,6 +88,7 @@ {% if form.fields.to_address_point.required %} required{% endif %} id="id_to_address_point_txt" {% if form.cleaned_data.to_address_point_txt %}value="{{ form.cleaned_data.to_address_point_txt}}"{% endif %} + />