mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
added style for component write, for chat
This commit is contained in:
@@ -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;
|
||||
}
|
||||
BIN
luckydiamond/src/assets/icons-chat/sendmsg-icon.png
Normal file
BIN
luckydiamond/src/assets/icons-chat/sendmsg-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1017 B |
18
luckydiamond/src/components/WritechatComponent.vue
Normal file
18
luckydiamond/src/components/WritechatComponent.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<div class="write">
|
||||
<div class="write__content">
|
||||
<input type="text" placeholder="Напишите сообщение...">
|
||||
<button type="submit"><img src="@/assets/icons-chat/sendmsg-icon.png"></button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
@@ -93,19 +93,16 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="write">
|
||||
<div class="write__content">
|
||||
<h1>123</h1>
|
||||
</div>
|
||||
</div>
|
||||
<writechat-component></writechat-component>
|
||||
</aside>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import '@/assets/css/ElementsStyles/chat.css'
|
||||
import WritechatComponent from "@/components/WritechatComponent.vue";
|
||||
|
||||
export default {
|
||||
|
||||
components: { WritechatComponent }
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user