tgzkit
This commit is contained in:
parent
801f6e2831
commit
0cdf649e3a
@ -205,8 +205,6 @@
|
||||
|
||||
width: 350px;
|
||||
|
||||
max-height: 200px;
|
||||
|
||||
background: linear-gradient(#2b2115, #1a140d);
|
||||
|
||||
border: 3px solid #8b6a3c;
|
||||
@ -237,3 +235,13 @@
|
||||
#online-list div:hover {
|
||||
background: #5b4325;
|
||||
}
|
||||
|
||||
.online-dot {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background: #3cff3c;
|
||||
border-radius: 50%;
|
||||
margin-right: 6px;
|
||||
box-shadow: 0 0 6px #3cff3c;
|
||||
}
|
||||
|
||||
@ -97,7 +97,7 @@ socket.on("onlineUsers", (users) => {
|
||||
|
||||
const name = typeof user === "object" ? user.name : user;
|
||||
|
||||
div.innerText = name;
|
||||
div.innerHTML = `<span class="online-dot"></span> ${name}`;
|
||||
|
||||
div.onclick = () => {
|
||||
document.getElementById("chat-text").value = "/w " + name + " ";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user