This commit is contained in:
2023-08-06 12:58:02 +03:00
parent db430edb90
commit 29d3431dde
3 changed files with 18 additions and 9 deletions

View File

@@ -778,7 +778,7 @@
display: inline-block;
/*width: 5%;*/
margin-bottom: 4px;
margin-left: 6px;
margin-left: 9px;
}
.container_inf_about_moving{
@@ -788,12 +788,12 @@
.carrier_inf_moving.left{
width: 50%;
width: 41%;
float: left;
text-align: left;
}
.carrier_inf_moving.right{
width: 50%;
width: 41%;
float: right;
text-align: right;
}
@@ -934,4 +934,10 @@
font-size: 14px;
color: #27242499;
padding-top: 10px;
}
.arrow_inf_about_moving{
position: relative;
top: 19px;
left: 18px;
}

3
static/img/svg/arrow.svg Normal file
View File

@@ -0,0 +1,3 @@
<svg width="96" height="10" viewBox="0 0 96 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<path id="arrow" fill-rule="evenodd" clip-rule="evenodd" d="M96 5C96 5.21733 95.7803 5.35456 95.3409 5.62903L88.6981 9.77837C88.4399 9.93965 88.3108 10.0203 88.2152 9.99563C88.1345 9.97479 88.0652 9.9108 88.0255 9.82055C87.9785 9.7137 88.0023 9.53583 88.0497 9.1801L88.0498 9.17981C88.2598 7.60568 88.3648 6.81856 88.406 6.02668C88.4064 6.01778 88.4069 6.00889 88.4073 6H1.21333C0.543227 6 0 5.55717 0 5.0109C0 4.46464 0.543228 4.02181 1.21333 4.02181H1.24893C1.28678 3.99273 1.34312 3.99273 1.38096 4.02181H3.06945C3.10731 3.99273 3.16364 3.99273 3.20149 4.02181H4.88998C4.92783 3.99273 4.98416 3.99273 5.02201 4.02181H6.7105C6.74835 3.99273 6.80469 3.99273 6.84254 4.02181H8.53102C8.56888 3.99273 8.62521 3.99273 8.66306 4.02181H10.3515C10.3894 3.99273 10.4457 3.99273 10.4836 4.02181H12.1721C12.2099 3.99273 12.2663 3.99273 12.3041 4.02181H13.9926C14.0304 3.99273 14.0868 3.99273 14.1246 4.02181H15.8131C15.851 3.99273 15.9073 3.99273 15.9452 4.02181H17.6336C17.6715 3.99273 17.7278 3.99273 17.7657 4.02181H19.4542C19.492 3.99273 19.5484 3.99273 19.5862 4.02181H21.2747C21.3125 3.99273 21.3689 3.99273 21.4067 4.02181H23.0952C23.1331 3.99273 23.1894 3.99273 23.2272 4.02181H24.9157C24.9536 3.99273 25.0099 3.99273 25.0478 4.02181H26.7363C26.7741 3.99273 26.8304 3.99273 26.8683 4.02181H28.5568C28.5946 3.99273 28.651 3.99273 28.6888 4.02181H30.3773C30.4152 3.99273 30.4715 3.99273 30.5093 4.02181H32.1978C32.2357 3.99273 32.292 3.99273 32.3299 4.02181H34.0184C34.0562 3.99273 34.1125 3.99273 34.1504 4.02181H35.8389C35.8767 3.99273 35.9331 3.99273 35.9709 4.02181H37.6594C37.6973 3.99273 37.7536 3.99273 37.7914 4.02181H39.4799C39.5178 3.99273 39.5741 3.99273 39.612 4.02181H41.3004C41.3383 3.99273 41.3946 3.99273 41.4325 4.02181H43.121C43.1588 3.99273 43.2152 3.99273 43.253 4.02181H44.9415C44.9793 3.99273 45.0357 3.99273 45.0735 4.02181H46.762C46.7999 3.99273 46.8562 3.99273 46.894 4.02181H48.5825C48.6204 3.99273 48.6767 3.99273 48.7146 4.02181H50.4031C50.4409 3.99273 50.4972 3.99273 50.5351 4.02181H52.2236C52.2614 3.99273 52.3178 3.99273 52.3556 4.02181H54.0441C54.082 3.99273 54.1383 3.99273 54.1761 4.02181H55.8646C55.9025 3.99273 55.9588 3.99273 55.9967 4.02181H57.6852C57.723 3.99273 57.7793 3.99273 57.8172 4.02181H59.5057C59.5435 3.99273 59.5999 3.99273 59.6377 4.02181H61.3262C61.364 3.99273 61.4204 3.99273 61.4582 4.02181H63.1467C63.1846 3.99273 63.2409 3.99273 63.2788 4.02181H64.9672C65.0051 3.99273 65.0614 3.99273 65.0993 4.02181H66.7878C66.8256 3.99273 66.882 3.99273 66.9198 4.02181H68.6083C68.6461 3.99273 68.7025 3.99273 68.7403 4.02181H70.4288C70.4667 3.99273 70.523 3.99273 70.5608 4.02181H72.2493C72.2872 3.99273 72.3435 3.99273 72.3814 4.02181H74.0699C74.1077 3.99273 74.164 3.99273 74.2019 4.02181H75.8904C75.9282 3.99273 75.9846 3.99273 76.0224 4.02181H77.7109C77.7487 3.99273 77.8051 3.99273 77.8429 4.02181H79.5314C79.5693 3.99273 79.6256 3.99273 79.6635 4.02181H81.352C81.3898 3.99273 81.4461 3.99273 81.484 4.02181H83.1725C83.2103 3.99273 83.2667 3.99273 83.3045 4.02181H84.993C85.0309 3.99273 85.0872 3.99273 85.125 4.02181H86.8135C86.8514 3.99273 86.9077 3.99273 86.9456 4.02181H88.4084C88.4076 4.00564 88.4068 3.98948 88.406 3.97333C88.3648 3.18144 88.2598 2.39432 88.0498 0.820179L88.0497 0.819904C88.0023 0.464169 87.9785 0.286303 88.0255 0.179455C88.0652 0.089202 88.1345 0.0252118 88.2152 0.00437444C88.3108 -0.0202936 88.4399 0.0603426 88.6981 0.221616L88.6981 0.221631L95.3409 4.37097C95.7803 4.64544 96 4.78267 96 5Z" fill="#FF613A"/>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -6,7 +6,7 @@
<div class="from-to-city-text">{% if route.arrival_DT %}{{ route.arrival_DT }}{% else %}Неизвестно{% endif %}</div>
</div>
<img>
<img class="arrow_inf_about_moving" src="{% static "/img/svg/arrow.svg" %}">
<div class="carrier_inf_moving right">
<div>Прибытие:</div>
<div class="from-to-city-text">{% if route.departure_DT %}{{ route.departure_DT }}{% else %}Неизвестно{% endif %}</div>
@@ -16,14 +16,14 @@
</div>
<div class="line_inf_about_moving second">
<div class="carrier_inf_moving left">
<div>Отправка:</div>
<div class="from-to-city-text">{% if route.from_city %}{{ route.from_city }}{% else %}Неизвестно{% endif %} / {% if route.from_airport %}{{ route.from_airport }}{% else %}Неизвестно{% endif %}</div>
<div>Откуда заберёт:</div>
<div class="from-to-city-text">{% if route.type_transport == 'avia' %}{{ route.from_airport }}{% else %}{{ route.get_from_place_display }}{% endif %}</div>
</div>
<img>
<img class="arrow_inf_about_moving" src="{% static "/img/svg/arrow.svg" %}">
<div class="carrier_inf_moving right">
<div>Прибытие:</div>
<div class="from-to-city-text">{% if route.to_city %}{{ route.to_city }}{% else %}Неизвестно{% endif %} / {% if to.from_airport %}{{ route.to_airport }}{% else %}Неизвестно{% endif %}</div>
<div>Куда доставит:</div>
<div class="from-to-city-text">{% if route.type_transport == 'avia' %}{{ route.to_airport }}{% else %}{{ route.get_to_place_display }}{% endif %}</div>
</div>
<div class="clear_both"></div>