diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 6362622..87d34d0 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -198,4 +198,74 @@ /*border-radius: 3px;*/ } -/**/ \ No newline at end of file +/*messenger*/ + +.container-messenger{ + width: 100%; + height: 100%; + margin-bottom: 30px; +} + +.block-chat{ + width: 70%; + height: 100%; + border-radius: 10px; + border: 1px solid #E6E6E6; + background: #ffffff; + box-shadow: -1px 4px 10px 0 rgba(198, 199, 203, 0.20), 0 -1px 10px 0 rgba(198, 199, 203, 0.20); + float: left; + +} + +.container-header-chat{ + border-radius: 10px; + border: 1px solid #E6E6E6; + background: #FFF; + width: calc(100% - 40px); + height: 60px; + padding: 20px; +} + +.header-chat-left-part{ + width: 50%; + float: left; + text-align: left; + padding-top: 15px; +} + +.header-chat-right-part{ + width: 50%; + float: right; + text-align: right; + padding-top: 25px; +} + +.chat-avatar{ + height: 40px; +} + +.chat-username { + color: #000000; + font-weight: 600; + font-size: 18px; + padding-left: 10px; + position: relative; + top: 10px; +} + +.header-icons-right-part-padding{ + padding-left: 5px; +} + +.container-messages{ + height: 63%; + width: 100%; +} + +.footer-chat{ + width: 100%; + height: 60px; + background: #FFFFFF; + border-radius: 10px; + border: 1px solid #E6E6E6; +} \ No newline at end of file diff --git a/static/delete_later/Avatar.png b/static/delete_later/Avatar.png new file mode 100644 index 0000000..e054753 Binary files /dev/null and b/static/delete_later/Avatar.png differ diff --git a/static/img/svg/info.svg b/static/img/svg/info.svg new file mode 100644 index 0000000..cec06e1 --- /dev/null +++ b/static/img/svg/info.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/static/img/svg/phone.svg b/static/img/svg/phone.svg new file mode 100644 index 0000000..751aefc --- /dev/null +++ b/static/img/svg/phone.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/blocks/profile/b_new_msg_to_user.html b/templates/blocks/profile/b_new_msg_to_user.html index cb85219..06032ed 100644 --- a/templates/blocks/profile/b_new_msg_to_user.html +++ b/templates/blocks/profile/b_new_msg_to_user.html @@ -1,11 +1,32 @@ +{% load static %} +

Написать сообщение

-
-
-
+
+
+
+
+ + Сергейко Сергей +
+
+ + +
+
+
+ {% include "widgets/w_message.html" %} +
+
diff --git a/templates/widgets/w_message.html b/templates/widgets/w_message.html new file mode 100644 index 0000000..b0797a4 --- /dev/null +++ b/templates/widgets/w_message.html @@ -0,0 +1 @@ +{% load static %} \ No newline at end of file