2024-08-31 22:29:32 +00:00
|
|
|
body, html {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-widget {
|
|
|
|
position: relative;
|
|
|
|
flex: 1;
|
|
|
|
background-color: #f1f1f1;
|
|
|
|
color: black;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-widget .message-box {
|
|
|
|
position: absolute;
|
|
|
|
right: 5px;
|
|
|
|
max-width: 300px;
|
|
|
|
border: 2px solid dimgrey;
|
|
|
|
padding: 5px;
|
|
|
|
background-color: white;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* in #chat-widget .message-box */
|
|
|
|
.message-box-top{
|
|
|
|
/* You see, each message contains a 20+2+2 px high icon that HAS TO BE LOADED FIRST.
|
|
|
|
This happens after window.onload, so I added a crutch: loading won't update height in
|
|
|
|
unpredictable moment. cause it will be already high enough. BUGA-GA-GA!! */
|
|
|
|
min-height: 30px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-box-sender-name{
|
|
|
|
font-weight: bold;
|
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
|
|
|
padding: 2px;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-box-sender-name:hover{
|
|
|
|
color: #1060ff
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-box-button{
|
|
|
|
width: 20px;
|
|
|
|
padding: 2px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-box-msg{
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
#input-panel #message-input{
|
|
|
|
padding: 15px;
|
|
|
|
height: auto;
|
|
|
|
width: 100%;
|
|
|
|
display: inline-block;
|
|
|
|
background-color: white;
|
|
|
|
border: 1px solid #1000d0;
|
|
|
|
border-radius : 7px;
|
|
|
|
font-size: .9rem;
|
|
|
|
margin: 10px;
|
|
|
|
}
|