2020-03-20 21:34:33 +00:00
|
|
|
#chat-box {
|
2020-03-19 05:13:55 +00:00
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-radius: 4px;
|
|
|
|
height: 20em;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
2020-03-21 04:48:04 +00:00
|
|
|
|
2020-03-20 21:34:33 +00:00
|
|
|
#loader {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
width: 4%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-log {
|
|
|
|
padding: 0;
|
2020-03-21 04:48:04 +00:00
|
|
|
padding-top: 2em;
|
2020-03-20 21:34:33 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
2020-03-19 05:13:55 +00:00
|
|
|
|
|
|
|
#chat-log li {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-input {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0.4em;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-submit {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-pic {
|
|
|
|
height: 2.6em;
|
|
|
|
width: 2.6em;
|
|
|
|
border-radius: 0.3em;
|
|
|
|
margin-top: 0.1em;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.body-message {
|
|
|
|
padding-left: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-time {
|
|
|
|
margin-bottom: 0.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.time {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clear {
|
|
|
|
clear: both;
|
|
|
|
}
|
2020-03-21 04:48:04 +00:00
|
|
|
.content-message {
|
2020-03-19 05:13:55 +00:00
|
|
|
word-wrap: break-word;
|
2020-03-21 04:48:04 +00:00
|
|
|
white-space: pre-line;
|
2020-03-19 05:13:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|