From c1ea4788a4b510d3495e233a948ab4fdeec83efb Mon Sep 17 00:00:00 2001 From: ArtemB Date: Fri, 3 Nov 2023 18:27:44 +0300 Subject: [PATCH] 0.0.199 small upd for my_routes --- static/css/mobile_styles.css | 12 ++++++++++-- static/css/styles.css | 17 ++++++++++++----- static/js/user_profile.js | 5 +++++ 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index 910527d..7cc4de6 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -504,6 +504,7 @@ .info_profile{ width: 100%; float: none; + margin-left: 25px; } .block-list-of-users{ @@ -576,8 +577,15 @@ width: unset; } /* END news_page*/ - - +/*profile_prof*/ + .info_profile>h1{ + font-size: 18px; + font-style: normal; + font-weight: 600; + line-height: 26px; + margin-bottom: 40px; + } +/*END profile_prof*/ } diff --git a/static/css/styles.css b/static/css/styles.css index d9a9e05..9fc4ab3 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -964,7 +964,7 @@ input.deactive { margin-top: 7px; display: inline-block; position: relative; - left: 31%; + left: 34%; } .title_for_msg_by_email{ @@ -1259,6 +1259,7 @@ h2.title_new_route{ .profile_prof>img { margin-right: 20px; + border-radius: 10px; } .profile_prof>div>div:first-child { @@ -1407,13 +1408,20 @@ form.new_route{ } .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) +.from_to_country>div:nth-child(2) + { width: 50%; float: right; margin-bottom: 20px; +} +.phone>div:nth-child(2){ + width: 49%; + float: right; + margin-bottom: 20px; + + } @@ -1610,11 +1618,10 @@ input#id_extra_phone { display: block; height: 60px; - width: 394px; + width: 380px; border-radius: 15px; border: 2px solid #E6E6E6; color: #272424; - font-family: Inter; font-size: 16px; font-style: normal; font-weight: 400; diff --git a/static/js/user_profile.js b/static/js/user_profile.js index aec893b..0663c30 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -694,6 +694,11 @@ function editRoute(id) { // location.href = '/profile' document.querySelector(".info_profile").innerHTML = data.html; + if(data.html){ + let changeTextButton = document.getElementById('registration') + changeTextButton.innerText = 'Сохранить изменения' + + } sliderInit();