From 6131d2534a38573da8ee4d3a12112bba80931df0 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Wed, 8 Nov 2023 16:03:32 +0300 Subject: [PATCH] 0.0.206 add media 360px for create_route, my_routes --- static/css/mobile_styles.css | 103 ++++++++++++++++++++++++++++++++--- static/js/user_profile_2.js | 11 ++-- 2 files changed, 100 insertions(+), 14 deletions(-) diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index 35b30f6..77aa4dc 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -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*/ + } diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 05c42b3..3c79c3d 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -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' + } }