-
Notifications
You must be signed in to change notification settings - Fork 0
/
Chat.css
81 lines (81 loc) · 1.33 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
.chat {
display: flex;
flex-direction: column;
flex: 0.65;
}
.header {
padding: 20px;
display: flex;
align-items: center;
border-bottom: 1px solid lightgray;
}
.info {
padding-left: 11px;
}
.info > h3 {
margin-bottom: 3px;
font-weight: 500;
}
.head_rg {
padding-left: 400px;
}
.chat_body {
flex: 1;
background-repeat: repeat;
background-position: center;
padding: 30px;
overflow: scroll;
background-image: url("https://i.imgur.com/1Rg03go.png");
}
.message {
position: relative;
font-size: 16px;
padding: 10px;
width: fit-content;
border-radius: 10px;
background-color: #ffffff;
margin-bottom: 30px;
}
.time {
margin-left: 10px;
font-size: xx-small;
}
.name {
position: absolute;
top: -15px;
font-weight: 800;
font-size: xx-small;
}
.reciver {
margin-left: auto;
background-color: #dcf8c6;
}
.footer {
display: flex;
align-items: center;
height: 62px;
justify-content: space-between;
border-top: 1px solid lightgray;
}
.footer > form {
display: flex;
flex: 1;
}
.footer > form > input {
flex: 1;
outline-width: 0;
border-radius: 30px;
padding: 10px;
border: none;
}
.footer > form > button {
display: none;
}
.insert {
padding: 10px;
color: gray;
}
.mic {
padding: 10px;
color: gray;
}