forked from ScaleDrone/react-chat-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHome.module.css
More file actions
117 lines (100 loc) · 1.71 KB
/
Home.module.css
File metadata and controls
117 lines (100 loc) · 1.71 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
.app {
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
background-color: rgba(99,99,191,.07);
}
.upsell {
background: #6363bf;
color: white;
text-decoration: none;
align-self: center;
border-radius: 12px;
font-size: 14px;
line-height: 24px;
padding: 0 12px;
font-weight: 500;
margin: 10px 0;
box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.1);
}
.appContent {
width: 100%;
max-width: 900px;
height: 100%;
display: flex;
flex-direction: column;
box-sizing: border-box;
padding: 0 10px;
}
.messagesList {
list-style: none;
padding-left: 0;
flex-grow: 1;
overflow: auto;
}
.messagesMessage {
display: flex;
margin-top: 10px;
}
.messagesMessage.currentMember {
flex-direction: row-reverse;
text-align: right;
}
.avatar {
height: 35px;
width: 35px;
border-radius: 50%;
}
.messagesMessage > .avatar {
margin: 0 10px -10px;
}
.username {
color: gray;
font-size: 14px;
}
.messageContent > .username {
padding-bottom: 4px;
}
.messageContent > .text {
padding: 10px;
max-width: 400px;
margin: 0;
border-radius: 12px;
background-color: #6363bf;
color: white;
display: inline-block;
}
.members {
border-bottom: solid #6363bf1c;
background: white;
padding: 8px;
}
.membersCount {
margin-bottom: 8px;
}
.membersList {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.membersList > .member {
display: flex;
flex-direction: row;
align-items: center;
margin-right: 8px;
}
.member > .avatar {
margin-right: 5px;
height: 24px;
width: 24px;
}
.currentMember > .messageContent .text {
background-color: white;
border-top-right-radius: 0;
color: black;
}
.typingIndicator {
color: gray;
font-size: 14px;
}