From 2a12f9b1cf9c4ca30e6eae676b60af122555297c Mon Sep 17 00:00:00 2001 From: Kostya Date: Sun, 19 Nov 2023 14:53:34 +0300 Subject: [PATCH] added style for component write, for chat --- .../src/assets/css/ElementsStyles/chat.css | 38 ++++++++++++++++++ .../src/assets/icons-chat/sendmsg-icon.png | Bin 0 -> 1017 bytes .../src/components/WritechatComponent.vue | 18 +++++++++ luckydiamond/src/pages/ChatElement.vue | 9 ++--- 4 files changed, 59 insertions(+), 6 deletions(-) create mode 100644 luckydiamond/src/assets/icons-chat/sendmsg-icon.png create mode 100644 luckydiamond/src/components/WritechatComponent.vue diff --git a/luckydiamond/src/assets/css/ElementsStyles/chat.css b/luckydiamond/src/assets/css/ElementsStyles/chat.css index 97248b9..a09d47a 100644 --- a/luckydiamond/src/assets/css/ElementsStyles/chat.css +++ b/luckydiamond/src/assets/css/ElementsStyles/chat.css @@ -1,5 +1,6 @@ .chat { margin: 9px 12px 0px 0px; + } .chat__content { @@ -71,3 +72,40 @@ .content p { margin-top: 5px; } + +.write { + position: absolute; + bottom: 0; + margin: 24px 87px 22px 16px; + user-select: none; + width: 50%; +} + +.write__content { + display: flex; + align-items: center; + text-align: center; +} + +.write__content input { + padding: 14px 35% 14px 12px; + border-radius: 13px; + background: #22252F; + color: #A9A99D; + border: none; +} + +.write__content input::placeholder { + color: #A9A99D; + font-weight: 800; + font-family: Montserrat; + font-size: 12px; +} + +.write__content button { + padding: 8px 9px; + margin-left: -20px; + border-radius: 6px; + background: #3D3F48; + border: none; +} \ No newline at end of file diff --git a/luckydiamond/src/assets/icons-chat/sendmsg-icon.png b/luckydiamond/src/assets/icons-chat/sendmsg-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..50cf62bffef9eec36e920ef6f985dccdb93217b5 GIT binary patch literal 1017 zcmVF6KNDJB52bhi9%9J3M2%_XXX&t1H&K+O=B#~#2#oyL=@Vf;|q}% zEyPM~Q42Rhw6F+WM3E7>u_VWterLQ#kE7#UZC3r^aK8K9bI$*Jo_h_U!Q=59vfJ&& zh@1U>|A^1$tIf^L9TO3Tp@fc(jw&Ws(0f1QR#a3}U1nzH4-rYywzjq;o6R<=>3=fT zY0qPfs_g9Sry>HdnRBY9E8+0!rZszAt25wgl)at*pd2WXM_TViYMI&ZLp9mmx_d+-~=#=;-KD z#0!i#r6EHLl0$N*JlPS12=Ho-WJu8KfeOg#pIF5CFh#z!4hiniQ5fc;hMSF~& zJ7cNEl>H8-Msky`slALk!aFD|fZQJ8N^RCuFO;w#yiH9_3GwmqWq5dAXdwlC=!&hh z5C$hR)nIVS9EoAP%gV~y!z@3Q^PZZ?AK>sr?TokR%B^_E55NXOUkO=h(5t%1$;q3F zZ~-aR+Rvm2Wu;a?<`EVk+l2L()#YM(_lgVWVt#)9aPay7DgAjE50gyYv)I_!yo`*D zU*X7zPAbMeMofZGsmI9W8OVA=?F*3723xUA>F$OjY-wrP#Vr5OIGLO>39(%s#iNXQ-_9@WTX-s)+A2B*_G zAyx_X3z}lKjD&2L0p{a+3m~^*L|H*W!DsQ0(0{hOnKBnGFbsJyxU61(R$$i-chIYi n%qPU`<@^cn8Yz+n@ju`%MCXkMtyW*;00000NkvXXu0mjf%;(q+ literal 0 HcmV?d00001 diff --git a/luckydiamond/src/components/WritechatComponent.vue b/luckydiamond/src/components/WritechatComponent.vue new file mode 100644 index 0000000..9b0be2b --- /dev/null +++ b/luckydiamond/src/components/WritechatComponent.vue @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/luckydiamond/src/pages/ChatElement.vue b/luckydiamond/src/pages/ChatElement.vue index 2c383b4..ce53c2e 100644 --- a/luckydiamond/src/pages/ChatElement.vue +++ b/luckydiamond/src/pages/ChatElement.vue @@ -93,19 +93,16 @@ -
-
-

123

-
-
+