From ccf016999bfa9edb2f67299ceac6ecf39867a3da Mon Sep 17 00:00:00 2001 From: ArtemB Date: Thu, 25 Jan 2024 14:51:49 +0300 Subject: [PATCH 1/5] 0.1.342 small bug fix with buttons style --- static/css/mobile_styles.css | 10 ++++++++-- static/css/styles.css | 7 ++++++- .../blocks/static_pages_blocks/b_mover_search.html | 6 +++--- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index c28ee50..2686377 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -431,10 +431,11 @@ margin-top: unset; } - #more_button{ + #more_button, #send_parcel_button{ width: 50%; - /*margin-top: 40px;*/ + } + #title_static{ font-size: 33px; line-height: 42px; @@ -1847,6 +1848,11 @@ margin-top: 40px; } + #send_parcel_button{ + width: 100%; + margin-top: 40px; + } + .news_block_main{ justify-content: center; diff --git a/static/css/styles.css b/static/css/styles.css index 5d97f54..7b580ae 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -2137,7 +2137,7 @@ span#sub_title_static{ } -#more_button{ +#more_button, #send_parcel_button{ display: inline-block; /*height: 60px;*/ width: 20%; @@ -2157,6 +2157,11 @@ span#sub_title_static{ } + +#send_parcel_button{ + height: 60px; +} + .top_block_static{ position: relative; width: 90%; diff --git a/templates/blocks/static_pages_blocks/b_mover_search.html b/templates/blocks/static_pages_blocks/b_mover_search.html index d470eb1..a1a83cf 100644 --- a/templates/blocks/static_pages_blocks/b_mover_search.html +++ b/templates/blocks/static_pages_blocks/b_mover_search.html @@ -17,15 +17,15 @@ {% if page.url == 'for_customers' %} - + id="send_parcel_button">{% translate "Отправить посылку" %} + {% endif %} {% if page.url == 'for_movers' %} + id="send_parcel_button">{% translate "Перевезти посылку" %} {% endif %} From 01e221196f445c5382388da89a3d3ad3e353f5c0 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Thu, 25 Jan 2024 14:57:26 +0300 Subject: [PATCH 2/5] 0.1.343 small bug fix with buttons style v.2 --- templates/blocks/static_pages_blocks/b_about_service.html | 4 ++-- templates/blocks/static_pages_blocks/b_mover_search.html | 2 +- templates/blocks/static_pages_blocks/b_send_parcel.html | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/blocks/static_pages_blocks/b_about_service.html b/templates/blocks/static_pages_blocks/b_about_service.html index 7b3a077..fbc7f6e 100644 --- a/templates/blocks/static_pages_blocks/b_about_service.html +++ b/templates/blocks/static_pages_blocks/b_about_service.html @@ -6,7 +6,7 @@
+ id="send_parcel_button">{% translate "Отправить посылку" %}
{% translate "Как это работает?" %}
@@ -49,7 +49,7 @@
+ id="send_parcel_button">{% translate "Читать подробнее" %}
diff --git a/templates/blocks/static_pages_blocks/b_mover_search.html b/templates/blocks/static_pages_blocks/b_mover_search.html index a1a83cf..6683893 100644 --- a/templates/blocks/static_pages_blocks/b_mover_search.html +++ b/templates/blocks/static_pages_blocks/b_mover_search.html @@ -203,7 +203,7 @@ onclick="document.location='{% url 'profile_page' 'my_subscribe' %}'" > - +
diff --git a/templates/blocks/static_pages_blocks/b_send_parcel.html b/templates/blocks/static_pages_blocks/b_send_parcel.html index 3efb86c..e8f9523 100644 --- a/templates/blocks/static_pages_blocks/b_send_parcel.html +++ b/templates/blocks/static_pages_blocks/b_send_parcel.html @@ -36,7 +36,9 @@
- +
From 6b118d00b617f57d03cbdddf468ec79eb7bae316 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Thu, 25 Jan 2024 15:39:15 +0300 Subject: [PATCH 3/5] 0.1.344 hide div with phone number --- templates/blocks/b_footer.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/blocks/b_footer.html b/templates/blocks/b_footer.html index 8d78d51..f148a93 100644 --- a/templates/blocks/b_footer.html +++ b/templates/blocks/b_footer.html @@ -46,9 +46,9 @@