From f32e1271480392e27c410e8e32fa303d1ff992bc Mon Sep 17 00:00:00 2001 From: ArtemB Date: Wed, 29 Nov 2023 16:18:13 +0300 Subject: [PATCH] 0.0.263 resize to mobile since 1180px --- static/css/mobile_styles.css | 109 +++++++++--------- static/css/styles.css | 30 ++--- .../blocks/profile/b_profile_first_page.html | 6 +- 3 files changed, 76 insertions(+), 69 deletions(-) diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index 61ce936..f4c9fcd 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -104,58 +104,7 @@ padding-right: 10px; } } -@media (max-width: 1115px){ - - .header_logo>a, .header_btn_mover>a, .header_btn_sender>a, #customer_service, .registration_button, .enter_button{ - font-size: 14px; - } - - - .second-footer>div>div>a, - .second-footer>div>div{ - font-size: 14px; - } - - footer>div{ - - } - - .menu_buttons.curtain.left.close.chat{ - width: 275px; - } - - .info_profile{ - width: 94%; - } - - .phones_carrier_span, .email_carrier_span{ - width: calc(88% - 10px); - } - -} -@media (max-width: 1064px){ - .header_logo, .header_btn_mover{ - margin-right: 26px; -} - - .menu_buttons.curtain.left.close.chat{ - width: 265px; - } - - .social_media_footer{ - margin-bottom: 60px; - } - - .header_btn_sender{ - margin-right: 5px; - } - - .benefit_img_about_service>figure>img { - width: 153px; -} - -} -@media (max-width: 1024px){ +@media (max-width: 1180px){ @@ -1360,6 +1309,62 @@ } } +@media (max-width: 1115px){ + + .header_logo>a, .header_btn_mover>a, .header_btn_sender>a, #customer_service, .registration_button, .enter_button{ + font-size: 14px; + } + + + .second-footer>div>div>a, + .second-footer>div>div{ + font-size: 14px; + } + + footer>div{ + + } + + .menu_buttons.curtain.left.close.chat{ + width: 275px; + } + + /*.info_profile{*/ + /* width: 94%;*/ + /*}*/ + + .phones_carrier_span, .email_carrier_span{ + width: calc(88% - 10px); + } + +} +@media (max-width: 1064px){ + .header_logo, .header_btn_mover{ + margin-right: 26px; +} + + .menu_buttons.curtain.left.close.chat{ + width: 265px; + } + + .info_profile{ + width: 67%; + } + + .social_media_footer{ + margin-bottom: 60px; + } + + .header_btn_sender{ + margin-right: 5px; + } + + .benefit_img_about_service>figure>img { + width: 153px; +} + +} + @media (max-width: 950px){ diff --git a/static/css/styles.css b/static/css/styles.css index 61d054b..2463aa0 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -226,7 +226,7 @@ body { header { margin-top: 20px; - padding: 5px 10px; + padding: 5px 20px; position: sticky; top: 0; background: #F8F8F8; @@ -1310,16 +1310,27 @@ h2.title_new_route{ margin-bottom: 40px; } -.info_profile>div:nth-child(4) { +.info_profile>div:nth-child(3) { color: #272424; font-family: Inter; font-size: 16px; font-style: normal; margin-bottom: 40px; + margin-top: 20px; font-weight: 400; line-height: 22px; } +.info_profile>div:nth-child(4) { + color: #272424; + font-family: Inter; + font-size: 16px; + font-style: normal; + font-weight: 400; + line-height: 22px; + margin-bottom: 40px; +} + .info_profile>div:nth-child(5) { color: #272424; font-family: Inter; @@ -1327,16 +1338,10 @@ h2.title_new_route{ font-style: normal; font-weight: 400; line-height: 22px; - margin-bottom: 40px; } -.info_profile>div:nth-child(6) { - color: #272424; - font-family: Inter; - font-size: 16px; - font-style: normal; - font-weight: 400; - line-height: 22px; +.info_profile>div:nth-child(3)>a { + color: #FF613A; } .info_profile>div:nth-child(4)>a { @@ -1347,10 +1352,6 @@ h2.title_new_route{ color: #FF613A; } -.info_profile>div:nth-child(6)>a { - color: #FF613A; -} - .profile_prof>img { margin-right: 20px; border-radius: 10px; @@ -2490,6 +2491,7 @@ button#send_feedback_form{ display: flex; flex-direction: row; flex-wrap: wrap; + justify-content: center; } diff --git a/templates/blocks/profile/b_profile_first_page.html b/templates/blocks/profile/b_profile_first_page.html index 86380ae..774a209 100644 --- a/templates/blocks/profile/b_profile_first_page.html +++ b/templates/blocks/profile/b_profile_first_page.html @@ -11,7 +11,7 @@ {# src="{{ user.user_profile.avatar.url }}"#} {# {% else %}src="{% static "img/svg/User.svg" %}"{% endif %} >#} {# #} -
{% translate "Статус:" %} {{ user.user_profile.get_account_type_display }}
+{#
{% translate "Статус:" %} {{ user.user_profile.get_account_type_display }}
#} {#
#} {#
#} -
{% translate "Если хотите отправить посылку - зарегистрируйтесь, как отправитель" %}
+{#
{% translate "Если хотите отправить посылку - зарегистрируйтесь, как отправитель" %}
#}
{% translate "Если у Вас возникнут вопросы Вы можете связаться с нами:" %} support@twb.com
-
{% translate "У Вас" %} {% translate "три" %}{% translate "новых сообщения." %} {% translate "Посмотреть" %}
+
{% translate "У Вас" %} {% translate "три " %}{% translate "новых сообщения." %} {% translate "Посмотреть" %}
{% translate "Хотите получать уведомление о появлении посылок?" %} {% translate "Заполните форму" %}
\ No newline at end of file