64 lines
845 B
CSS
64 lines
845 B
CSS
.chat {
|
|
position: fixed;
|
|
bottom: 23px;
|
|
right: 28px;
|
|
width: 280px;
|
|
border: solid;
|
|
border-color: black;
|
|
border-width: 2px;
|
|
background-color: #CCC;
|
|
display: inline-block;
|
|
max-height: calc(50vh - 23px);
|
|
}
|
|
|
|
.chat > button.open {
|
|
color: white;
|
|
background-color: grey;
|
|
}
|
|
|
|
.chat > button.send {
|
|
color: white;
|
|
background-color: green;
|
|
}
|
|
|
|
.chat > button.close {
|
|
color: black;
|
|
background-color: red;
|
|
}
|
|
|
|
.chat > button {
|
|
width: 100%;
|
|
height: 2em;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.chat > button:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.chat > .input {
|
|
width: calc(100% - 10px);
|
|
height: 2em;
|
|
}
|
|
|
|
.chat > .log {
|
|
min-height: 300px;
|
|
}
|
|
|
|
.chat > .log .username {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.chat .scrollable {
|
|
margin: 0;
|
|
padding: 10px;
|
|
min-height: 280px;
|
|
max-height: calc(50vh - 23px - 20px - 6em);
|
|
overflow-x: wrap;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.chat ul {
|
|
list-style: none;
|
|
}
|