diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index 5351bc3..1e72ae1 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -70,7 +70,7 @@ border: 2px solid #E6E6E6; } .daterangepicker{ - width: 305px; + width: 291px; } .cont-el-form-search-carrier > button{ width: 97%; @@ -129,7 +129,7 @@ margin-top: 40px; } #title_static{ - font-size: 34px; + font-size: 33px; line-height: 42px; } .cards_wrapper{ @@ -189,7 +189,7 @@ margin: 0 0 120px 0; } .news_item { - margin-bottom: 20px; + margin-bottom: 40px; } @@ -337,6 +337,8 @@ .benefit_img_about_service{ display: inline-block; text-align: center; + margin-bottom: unset; + margin-top: unset; } .benefit_img_about_service>figure>figcaption{ margin: 15px auto; @@ -374,6 +376,22 @@ .bottom_block_static img{ display: none; } + .bottom_block_static{ + padding: unset; + width: unset; + } + .bottom_block_static>form>.inputs_l{ + width: unset; + padding: 10px 0; + } + .bottom_block_static>form>.button_register{ + margin: 10px 0; + width: 92%; + padding: unset; + } + span#sub_title_static{ + margin: unset; + } #title_static_customer{ font-size: 24px; font-style: normal; @@ -388,6 +406,9 @@ background-image: url("/static/img/svg/mobMap.svg"); background-size: cover; } + .arrange_subscribe{ + margin: 20px auto 20px auto; + } /* for_customers*/ @@ -496,6 +517,7 @@ .info_profile{ width: 100%; float: none; + margin-left: 25px; } .block-list-of-users{ @@ -519,7 +541,64 @@ /* END user_profile*/ +/* feedback_form*/ + .feedback_form{ + padding: unset; + } + .feedback_form>form{ + width: unset; + } + .left_inputs_form, + .right_inputs_form{ + float: none; + width: 99%; + } + .inputs_l>input{ + width: 93%; + } + .counter-box>textarea{ + width: 99%; + max-width: unset; + min-width: unset; + } + button#send_feedback_form{ + width: 102%; + } +/* END feedback_form*/ +/* news_page*/ + .wrapper_advertisement{ + padding: unset; + } + .advertisement_block_news{ + height: 80px; + } + .three_pinned_news{ + margin: unset; + } + .news_gradient{ + height: 36px; + } + .news_item_pagination{ + width: unset; + padding-top: 1px; + margin-bottom: 40px; + } + .news_item_pagination:nth-child(odd) .pag_news_img, .news_item_pagination:nth-child(odd) .pag_news_item_text, + .news_item_pagination:nth-child(even) .pag_news_img, .news_item_pagination:nth-child(even) .pag_news_item_text{ + float: none; + 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 9c5ea3d..9fc4ab3 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -588,14 +588,27 @@ header>div>a>span{ vertical-align: middle; } -header>div>div>a { - text-decoration: none; - color: #272424; - font-family: Inter; - font-size: 16px; - font-style: normal; - font-weight: 500; - line-height: 22px; +/*header>div>div>a {*/ +/* text-decoration: none;*/ +/* color: #272424;*/ +/* font-family: Inter;*/ +/* font-size: 16px;*/ +/* font-style: normal;*/ +/* font-weight: 500;*/ +/* line-height: 22px;*/ +/*}*/ +.registration_button{ + color: #FFFFFF; + padding: 12px 23px; + background: #FF613A; + border-radius: 10px; + +} +.enter_button{ + color: #FFFFFF; + padding: 12px 23px; + background: #FF613A; + border-radius: 10px; } header .header-second { @@ -951,7 +964,7 @@ input.deactive { margin-top: 7px; display: inline-block; position: relative; - left: 31%; + left: 34%; } .title_for_msg_by_email{ @@ -1246,6 +1259,7 @@ h2.title_new_route{ .profile_prof>img { margin-right: 20px; + border-radius: 10px; } .profile_prof>div>div:first-child { @@ -1394,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; + + } @@ -1597,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; @@ -2338,8 +2358,8 @@ button#send_feedback_form{ /* Shadow 1 */ box-shadow: -1px 4px 10px 0px rgba(198, 199, 203, 0.20), 0px -1px 10px 0px rgba(198, 199, 203, 0.20); margin: 10px; - padding: 0 20px 30px 20px; } + .cards_item_1_left, .cards_item_2_left, .cards_item_3_left, @@ -2655,7 +2675,7 @@ details[open] summary ~ *{ .three_pinned_news{ display: flex; - margin: 0 80px 0 80px; + /*margin: 0 80px 0 80px;*/ justify-content: space-between; flex-wrap: wrap; } 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(); diff --git a/templates/blocks/static_pages_blocks/b_feedback_form.html b/templates/blocks/static_pages_blocks/b_feedback_form.html index e5f510c..933a7cc 100644 --- a/templates/blocks/static_pages_blocks/b_feedback_form.html +++ b/templates/blocks/static_pages_blocks/b_feedback_form.html @@ -13,9 +13,6 @@ {% translate "Пожалуйста опишите Ваш вопрос максимально подробно, а также укажите Ваш e-mail для обратной связи." %} {% endif %} - - -
diff --git a/templates/blocks/static_pages_blocks/b_partners.html b/templates/blocks/static_pages_blocks/b_partners.html index b309ecd..cd31a5e 100644 --- a/templates/blocks/static_pages_blocks/b_partners.html +++ b/templates/blocks/static_pages_blocks/b_partners.html @@ -13,12 +13,17 @@
{% translate "О сервисе Trip With Bonus" %}
- {% translate "Trip With Bonus- это сервис, который соединяет отправителя посылки и перевозчика." %} +
+ {% translate "Trip With Bonus- это сервис, который соединяет отправителя посылки и перевозчика." %} - {% translate "Вы можете разместить объявление о перевозке посылки и перевозчики со всего мира откликнуться на ваше объявление или воспользовавшись поиском на сайте найти перевозчика, который будет готов взять Вашу посылку и доставить в указанное место авто- или авива транспортом." %} - - {% translate "Если же Вы часто путешествуете или в разъездах, Вы можете самостоятельно перевозить посылки и при этом получать бонусы и благодарности." %} + {% translate "Вы можете разместить объявление о перевозке посылки и перевозчики со всего мира откликнуться на ваше объявление или воспользовавшись поиском на сайте найти перевозчика, который будет готов взять Вашу посылку и доставить в указанное место авто- или авива транспортом." %} + {% translate "Если же Вы часто путешествуете или в разъездах, Вы можете самостоятельно перевозить посылки и при этом получать бонусы и благодарности." %} +
+
+ +
+
{% include "blocks/static_pages_blocks/b_benefit_img_about_service.html" %}
diff --git a/templates/pages/p_main.html b/templates/pages/p_main.html index f21fa84..bd5cec8 100644 --- a/templates/pages/p_main.html +++ b/templates/pages/p_main.html @@ -151,54 +151,54 @@
-{#
#} -{#

{% translate "Trip With Bonus это комфорт и эффективность!" %}

#} -{##} -{#
#} -{#
#} -{#
{% translate "+5%" %}
#} -{#
{% translate "рост путешествий ежегодно" %}
#} -{#
{% translate "В среднем на 5% растёт количество путешествий ежегодно. Просто путешествуй и получай бонусы." %}
#} -{##} +
+

{% translate "Trip With Bonus это комфорт и эффективность!" %}

+ +
+
+
{% translate "+5%" %}
+
{% translate "рост путешествий ежегодно" %}
+
{% translate "В среднем на 5% растёт количество путешествий ежегодно. Просто путешествуй и получай бонусы." %}
+ {#
#} {#
#} {#
#} -{#
#} -{#
#} -{##} -{#
{% translate "в 3 раза" %}
#} -{#
{% translate "быстрее других сервисов" %}
#} -{#
{% translate "Почтовые сервисы доставляет посылки в среднем за 10 дней. С нами - быстрее!" %}
#} -{##} -{##} -{##} +
+
+ +
{% translate "в 3 раза" %}
+
{% translate "быстрее других сервисов" %}
+
{% translate "Почтовые сервисы доставляет посылки в среднем за 10 дней. С нами - быстрее!" %}
+ + + {#
#} {#
#} {#
#} -{#
#} -{#
#} -{##} -{#
{% translate "+142" %}
#} -{#
{% translate "заявки ежедневно" %}
#} -{#
{% translate "На перевозку или отправку посылок в разные уголки мира" %}
#} -{##} +
+
+ +
{% translate "+142" %}
+
{% translate "заявки ежедневно" %}
+
{% translate "На перевозку или отправку посылок в разные уголки мира" %}
+ {#
#} {#
#} {#
#} -{#
#} -{#
#} -{##} -{#
{% translate "30+" %}
#} -{#
{% translate "стран" %}
#} -{#
{% translate "С TWB отправляй посылки по всему миру! С нами нет границ!" %}
#} -{##} +
+
+ +
{% translate "30+" %}
+
{% translate "стран" %}
+
{% translate "С TWB отправляй посылки по всему миру! С нами нет границ!" %}
+ {#
#} {#
#} {#
#} -{#
#} -{#
#} -{##} -{#
#} +
+
+ +

{% translate "Частые вопросы" %}