From 696349befeee1b1e227e2b566140c43e1c08701e Mon Sep 17 00:00:00 2001 From: ArtemB Date: Fri, 28 Jul 2023 15:18:15 +0300 Subject: [PATCH] 0.0.49 upd styles.css --- static/css/styles.css | 59 +++++++++++++++++----- static/img/png/icon-arrow.png | Bin 247 -> 0 bytes templates/blocks/profile/b_new_route.html | 10 ++-- 3 files changed, 53 insertions(+), 16 deletions(-) delete mode 100644 static/img/png/icon-arrow.png diff --git a/static/css/styles.css b/static/css/styles.css index 2195506..704d101 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -879,7 +879,7 @@ select { font-weight: 400; line-height: 22px; appearance: none; - background: url("/static/img/png/icon-arrow.png") no-repeat calc(100% - 15px) center; + background: white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center; } @@ -902,7 +902,7 @@ select#id_type_transport{ font-weight: 400; line-height: 22px; appearance: none; - /*background: url("/static/img/png/icon-arrow.png") no-repeat calc(100% - 15px) center;*/ + } hr { @@ -914,9 +914,8 @@ hr { form.new_route>div{ margin-bottom: 30px; margin-top: 30px; - display: block ruby; - flex-direction: row; - flex-wrap: wrap; + /*display: block ruby;*/ + } form.new_route>div.range-slider{ margin-bottom: 30px; @@ -929,14 +928,25 @@ form.new_route{ } -.departure_arrival>div, -.from_to_place>div, -.from_to_country>div +.departure_arrival>div:first-child, +.from_to_place>div:first-child, +.from_to_country>div:first-child, +.phone>div:first-child { - display: flex; - flex-direction: column; - flex: 1; - margin-right: 20px; + width: 50%; + float: left; + margin-bottom: 20px; + + +} +.departure_arrival>div:last-child, +.from_to_place>div:last-child, +.from_to_country>div:last-child, +.phone>div:last-child +{ + width: 50%; + float: right; + margin-bottom: 20px; } @@ -952,10 +962,16 @@ div.from_to_country>div>input:nth-child(3){ font-weight: 400; line-height: 22px; appearance: none; - background: url("/static/img/png/icon-arrow.png") no-repeat calc(100% - 15px) center; + background: white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center; width: 392px; height: 60px; } + +input[type="datetime-local"] { + width: 160px; +} + + div.departure_arrival>div>input{ display: block; border-radius: 15px; @@ -1069,6 +1085,23 @@ div.from_to_place>div>select{ } +input#id_phone, +input#id_extra_phone +{ + display: block; + height: 60px; + width: 394px; + border-radius: 15px; + border: 2px solid #E6E6E6; + color: #272424; + font-family: Inter; + font-size: 16px; + font-style: normal; + font-weight: 400; + line-height: 22px; + appearance: none; +} + /*my routes*/ diff --git a/static/img/png/icon-arrow.png b/static/img/png/icon-arrow.png deleted file mode 100644 index ae3e8dabff154159856c8b36cb96e70a99ca6b4d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 247 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz&H|6fVg?3oVGw3ym^DWND9BhG zuan5l?+boy7^~vk!@arnA4qiW{t oHcFRT0^@vN>q|2*{5#3{{AAPAB}(o)fbL@OboFyt=akR{05Kv^MgRZ+ diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index 0e25838..6f2446c 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -27,15 +27,17 @@
-
+
- + {% if form.errors and form.errors.departure_DT %} {{ form.errors.departure_DT }} {% endif %} @@ -202,12 +204,13 @@
-
+
{% if form.errors and form.errors.extra_phone %}