-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathChat.css
83 lines (76 loc) · 1.53 KB
/
Chat.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
.chat{
display:flex;
flex-direction: column;
flex:0.65;
}
.chat__header{
padding: 20px;
display:flex;
align-items:center;
border-bottom: 1px solid lightgray;
}
.chat__headerInfo{
flex:1;
padding-left:20px;
}
.chat__headerInfo > h3{
margin-bottom: 3px;
font-weight: 500;
}
.chat__headerInfo > p{
color: gray;
}
.chat__body{
flex: 1;
background-image: url("https://external-preview.redd.it/rEwFriCkfAtjOb5b-23b4tGGVcuvfaBqamYNJrgxnLM.png?auto=webp&s=f3bf0b5c90e4c5fda12ff2139781c854554fd198");
background-repeat: repeat;
padding: 30px;
overflow: scroll;
}
.chat__message{
position: relative;
font-size: 16px;
padding: 10px;
width: fit-content;
border-radius: 10px;
background-color: white;
margin: 30px;
}
.chat__receiver{
margin-left: auto;
background-color: #dcf8c6;
}
.chat__timestamp{
margin-left: 10px;
font-size: xx-small;
}
.chat__name{
position: absolute;
top: -15px;
font-weight: 800;
font-size: xx-small;
}
.chat__footer{
display: flex;
align-items: center;
justify-content: space-between;
height: 62px;
border-top:1px solid lightgray;
}
.chat__footer > form {
flex: 1;
display: flex;
}
.chat__footer > form > input{
flex: 1;
border-radius: 30px;
padding: 10px;
border: none;
}
.chat__footer > form > button{
display: none;
}
.chat__footer > .MuiSvgIcon-root{
padding: 10px;
color: gray;
}