0.0.243 upd bug from 17:11 to 17:52

This commit is contained in:
2023-11-20 15:20:40 +03:00
parent 534defa36b
commit f7a587b7a5
5 changed files with 101 additions and 20 deletions

View File

@@ -11,6 +11,10 @@
.benefit_img_about_service>figure>img{ .benefit_img_about_service>figure>img{
width: 173px; width: 173px;
} }
.from-to-country-container-carrier{
padding-right: unset;
width: unset;
}
.type_of_subscribes{ .type_of_subscribes{
align-items: center; align-items: center;
@@ -120,7 +124,7 @@
margin-right: 26px; margin-right: 26px;
} }
header .header-first{ header .header-first{
margin-top: 5px; margin-top: 20px;
} }
header .header-second { header .header-second {
@@ -216,6 +220,10 @@
top: 43px; top: 43px;
} }
.self_news_img{
width: 40%;
}
.registration_button, .registration_button,
.enter_button{ .enter_button{
display: none; display: none;
@@ -912,7 +920,7 @@
padding-right: 10px; padding-right: 10px;
} }
.splitter-from-to-country{ .splitter-from-to-country{
margin-left: 5%; margin-left: 8%;
} }
.from-to-country-text.left, .from-to-country-text.right{ .from-to-country-text.left, .from-to-country-text.right{
@@ -1063,7 +1071,8 @@
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
line-height: 20px; line-height: 20px;
margin: 20px auto; /*margin: 20px auto;*/
margin: 0 auto 20px;
width: 100%; width: 100%;
} }
@@ -1156,6 +1165,12 @@
} }
} }
@media (max-width: 847px){ @media (max-width: 847px){
.info_profile{
width: 61%;
float: none;
/*margin-left: 25px;*/
}
.container_subscribe{ .container_subscribe{
margin: 20px 16px; margin: 20px 16px;
width: unset; width: unset;
@@ -1202,12 +1217,18 @@
/*margin-left: 25px;*/ /*margin-left: 25px;*/
} }
} }
@media (max-width: 776px){ @media (max-width: 776px){
.info_profile { .info_profile {
width: 56%; width: 56%;
float: none;} float: none;
}
.benefit_img>img{ .benefit_img>img{
@@ -1282,8 +1303,13 @@
/* width: 52.1%;*/ /* width: 52.1%;*/
/*}*/ /*}*/
.self_news_img{
width: 45%;
}
.subscribe_inf{ .subscribe_inf{
width: 95%; width: 95%;
margin-bottom: 20px;
} }
.subscribe_inf_right_part{ .subscribe_inf_right_part{
width: 100%; width: 100%;
@@ -1309,6 +1335,29 @@
} }
@media (max-width: 575px) { @media (max-width: 575px) {
.self_news_img{
width: 100%;
margin-left: unset;
float: unset;
margin-bottom: 20px;
}
.inf_carrier{
margin-bottom: unset;
}
.previous_next_news{
flex-wrap: wrap;
}
.previous_next_news>.news_item:nth-child(2){
margin: unset;
margin-bottom: 40px;
}
.splitter-from-to-country{
margin-left: 7%;
}
#how_it_work_b{ #how_it_work_b{
width: 100%; width: 100%;
margin-top: 20px; margin-top: 20px;
@@ -1349,9 +1398,10 @@
/* width: 51.1%;*/ /* width: 51.1%;*/
/*}*/ /*}*/
.another_subscribe{ .another_subscribe{
padding: unset; padding: 15px 0 0;
flex-direction: column; flex-direction: column;
justify-content: unset; justify-content: unset;
} }
.dropdown-content{ .dropdown-content{
@@ -1394,21 +1444,42 @@
} }
@media (max-width: 440px){ @media (max-width: 440px){
.splitter-from-to-country {
margin-left: 5%;
}
.benefit_img_about_service { .benefit_img_about_service {
flex-direction: column; flex-direction: column;
align-content: center; align-content: center;
} }
figure { figure {
width: unset; width: unset;
} }
button.confirm_remove{
width: 48.5%;
margin-bottom: 7px;
}
.phones_carrier_span, .email_carrier_span{
top: -1px;
}
.inf_carrier_icon { .inf_carrier_icon {
width: 5%; width: 6%;
} }
} }
@media (max-width: 360px){ @media (max-width: 360px){
.tab-btn-1{
padding: 5px 0 0;
}
.tab-btn-2{
padding: 0 0 5px;
}
.tab-btn-active{
padding: 10px;
}
.wrapper_tab_button{ .wrapper_tab_button{
width: 55%; width: 55%;

View File

@@ -2776,6 +2776,12 @@ details[open] summary ~ *{
margin: 0 auto 10px; margin: 0 auto 10px;
border-radius: 15px; border-radius: 15px;
} }
.news_item_pagination>a{
color: black;
}
.pag_news_img { .pag_news_img {
width: 20%; width: 20%;
@@ -2824,7 +2830,7 @@ details[open] summary ~ *{
.self_news_img{ .self_news_img{
float: right; float: right;
width: 30%; width: 40%;
margin-left: 20px; margin-left: 20px;
} }

View File

@@ -534,6 +534,8 @@ function sendRoute(el, routeID = null){
document.querySelector(".info_profile").innerHTML = data.responseJSON.html; document.querySelector(".info_profile").innerHTML = data.responseJSON.html;
// $(el).attr('disabled', 'false') // $(el).attr('disabled', 'false')
document.getElementById('id_type_transport').scrollIntoView({behavior: "smooth",block:'nearest',inline:'nearest'});
sliderInit(); sliderInit();

View File

@@ -8,8 +8,9 @@
</div> </div>
</div> </div>
<div class="self_news"> <div class="self_news">
<div><img class="self_news_img" src="{{ MEDIA_URL }}{{ art.picture }}" /></div>
<div class="self_news_header">{{ art.name }}</div> <div class="self_news_header">{{ art.name }}</div>
<div><img class="self_news_img" src="{{ MEDIA_URL }}{{ art.picture }}" /></div>
<div class="self_news_description">{{ art.description }}</div> <div class="self_news_description">{{ art.description }}</div>
<div class="self_news_text">{{ art.text|safe }}</div> <div class="self_news_text">{{ art.text|safe }}</div>
</div> </div>

View File

@@ -2,15 +2,16 @@
{% if not from_el or forloop.counter > from_el %} {% if not from_el or forloop.counter > from_el %}
<div class="news_item_pagination"> <div class="news_item_pagination">
<div class="pag_news_img"><img src="{{ MEDIA_URL }}{{ art.picture }}" /></div> <a href="{% url "article_one" art.url %}">
<div class="pag_news_item_text"> <div class="pag_news_img"><img src="{{ MEDIA_URL }}{{ art.picture }}" /></div>
<div class="news_header">{{ art.name }}</div> <div class="pag_news_item_text">
<div class="news_description"> <div class="news_header">{{ art.name }}</div>
{{ art.description|truncatechars:400 }} <div class="news_description">
{# <div class="news_gradient"></div>#} {{ art.description|truncatechars:400 }}
</div> {# <div class="news_gradient"></div>#}
</div> </div>
<div class="clear_both"></div> </div>
<div class="clear_both"></div>
</a>
</div> </div>
{% endif %} {% endif %}