-
Notifications
You must be signed in to change notification settings - Fork 29
/
Chat.css
90 lines (77 loc) · 1.38 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
84
85
86
87
88
89
90
.chat {
background: var(--white);
position: absolute;
top: 4rem;
bottom: 4rem;
right: 0;
overflow-y: auto;
width: 400px;
display: flex;
flex-direction: column;
justify-content: flex-end;
border-left: 1px solid var(--grey);
}
.chat.hidden {
width: 0;
}
#cometchat {
width: 100%;
height: 100%;
}
@media only screen and (max-width: 600px) {
.chat {
width: 100%;
z-index: 3; /* overlay the usernames in the Call screen*/
}
}
.add-message {
padding: 1rem;
border-top: 1px solid var(--grey);
border-bottom: 1px solid var(--grey);
}
.chat-messages {
padding: 1rem;
margin: 0;
height: 100%;
overflow-y: auto;
}
.chat-message {
list-style-type: none;
margin-bottom: 1rem;
}
.chat-message-author {
font-weight: bold;
font-size: 14px;
}
.chat-message-body {
text-align: left;
margin: 0;
display: inline;
color: var(--dark-grey);
font-size: 14px;
}
.chat-form {
display: flex;
justify-content: space-between;
border-bottom: 2px solid var(--grey);
}
.chat-input {
background: transparent;
border: 0;
flex-grow: 1;
padding: 0.5rem;
}
.chat-submit-button {
background: transparent;
}
.close-chat {
background: var(--turquoise);
border: 1px solid var(--grey);
padding: 0.1em 0.2rem;
align-self: end;
font-weight: normal;
}
.close-chat:hover {
background: var(--grey);
border: 1px solid var(--dark-blue-border);
}