0.0.206 add media 360px for create_route, my_routes

This commit is contained in:
2023-11-08 16:03:32 +03:00
parent 775ffe42d7
commit 6131d2534a
2 changed files with 100 additions and 14 deletions

View File

@@ -546,9 +546,9 @@
display: block;
}
/* .block_overlay.show{*/
/* display: block;*/
/*}*/
.block_overlay.show{
display: block;
}
/*этот стиль перекрывал блок диалога в сообщения блюром*/
.text_f_curtain{
@@ -583,11 +583,15 @@
}
.menu_profile>div>img.svg{
top: 18px;
left: 1px;
}
.info_profile{
width: 100%;
float: none;
margin-left: 25px;
/*margin-left: 25px;*/
}
.text_btn_profile{
font-size: 12px;
}
.block-list-of-users{
@@ -673,20 +677,101 @@
/*create_route*/
select#id_type_transport{
width: unset;
width: 96%;
background: white;
}
.departure_arrival>div:first-child, .from_to_place>div:first-child, .from_to_country>div:first-child, .phone>div:first-child{
.departure_arrival>div:first-child, .from_to_place>div:first-child, .from_to_country>div:first-child, .phone>div:first-child,
.departure_arrival>div:nth-child(2), .from_to_place>div:nth-child(2), .from_to_country>div:nth-child(2), .phone>div:nth-child(2){
width: unset;
float: none;
}
.departure_arrival>div:nth-child(2), .from_to_place>div:nth-child(2), .from_to_country>div:nth-child(2){
width: unset;
float: none;
.js-input{
width: 92%;
}
input#id_phone, input#id_extra_phone{
width: 92%;
}
#img_msg_by_email{
left: 81%;
}
/*END create_route*/
/* my_routes*/
.left-part-carrier-card, .inf_carrier_container{
width: unset;
float: none;
}
.route_info_about{
margin: unset;
text-align: center;
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 40px;
}
.route_info_about>span:first-child{
margin: unset;
float: left;
}
.route_info_about>span:last-child{
float: none;
margin: unset;
}
.route_info_about>span:nth-child(2){
float: right;
}
.from-to-country-container-carrier{
width: unset;
padding-left: 10px;
padding-right: 10px;
}
.splitter-from-to-country{
margin-left: 5%;
}
.from-to-country-text.left, .from-to-country-text.right{
width: 41%;
font-size: 12px;
font-style: normal;
font-weight: 600;
line-height: 20px;
}
.line_inf_about_moving{
font-size: 12px;
font-style: normal;
font-weight: 600;
}
.from-to-city-text{
font-size: 12px;
font-weight: 400;
}
.arrow_inf_about_moving{
top: 7px;
width: 17%;
left: unset;
}
.title_container_inf_carrier{
font-size: 14px;
font-style: normal;
font-weight: 600;
text-align: center;
}
.inf_carrier_icon{
width: 7%;
}
.name_carrier{
font-size: 12px;
}
/* my_routes*/
}

View File

@@ -752,12 +752,13 @@ function open_curtain (left=null,right=null,overlay=null,close=null){
handler_text.innerHTML = curtain_name
handler_text.style.fontSize = '16px'
}
//тут боди по неведомой для меня причне получал перманентный оверфлоу в значении hidden и вырубал все блоки кроме Новое Сообщение, вероятно для него эта проверка и делалась
// if (body.style.overflow === 'hidden'){
// body.style.overflow = ''
// } else {
// body.style.overflow = 'hidden'
// }
if (body.style.overflowX === 'hidden'){
body.style.overflowX = ''
} else {
body.style.overflowX = 'hidden'
}
}