chore: initial commit of Server Configs
This commit is contained in:
179
httpserver/data/chat.css
Normal file
179
httpserver/data/chat.css
Normal file
@@ -0,0 +1,179 @@
|
||||
/* chat.css */
|
||||
#chat-widget {
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
width: 320px;
|
||||
max-width: calc(100vw - 40px);
|
||||
background: rgba(10, 10, 15, 0.95);
|
||||
border: 2px solid var(--c-accent, #ff00ff);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 15px rgba(255, 0, 255, 0.4), inset 0 0 10px rgba(0, 255, 255, 0.1);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: 10000;
|
||||
font-family: inherit;
|
||||
color: var(--c-text, #fff);
|
||||
overflow: hidden;
|
||||
backdrop-filter: blur(5px);
|
||||
transition: height 0.3s ease, transform 0.3s ease;
|
||||
}
|
||||
|
||||
#chat-widget.collapsed {
|
||||
height: 40px !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#chat-header {
|
||||
background: linear-gradient(90deg, #2b00ff, #ff00ff);
|
||||
color: white;
|
||||
padding: 10px;
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
user-select: none;
|
||||
border-bottom: 1px solid rgba(255,255,255,0.2);
|
||||
}
|
||||
|
||||
#chat-header span {
|
||||
text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
|
||||
}
|
||||
|
||||
#chat-toggle {
|
||||
background: none;
|
||||
border: none;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#chat-body {
|
||||
height: 350px;
|
||||
max-height: 50vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#chat-messages {
|
||||
flex-grow: 1;
|
||||
padding: 10px;
|
||||
overflow-y: auto;
|
||||
font-size: 0.9rem;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--c-accent, #ff00ff) rgba(0,0,0,0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
#chat-messages::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
#chat-messages::-webkit-scrollbar-track {
|
||||
background: rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
#chat-messages::-webkit-scrollbar-thumb {
|
||||
background-color: var(--c-accent, #ff00ff);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.chat-message {
|
||||
word-break: break-word;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.chat-ts {
|
||||
color: #888;
|
||||
font-size: 0.75rem;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.chat-nick {
|
||||
color: var(--c-secondary, #00ffff);
|
||||
font-weight: bold;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.chat-text {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#chat-input-area {
|
||||
padding: 10px;
|
||||
border-top: 1px solid rgba(255, 0, 255, 0.3);
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.chat-settings {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.chat-settings input {
|
||||
flex-grow: 1;
|
||||
background: rgba(0,0,0,0.6);
|
||||
border: 1px solid rgba(255,255,255,0.2);
|
||||
color: #fff;
|
||||
padding: 4px 6px;
|
||||
font-size: 0.8rem;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.chat-settings input:focus {
|
||||
outline: none;
|
||||
border-color: var(--c-accent, #ff00ff);
|
||||
}
|
||||
|
||||
#chat-controls {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
#chat-input {
|
||||
flex-grow: 1;
|
||||
background: rgba(0,0,0,0.6);
|
||||
border: 1px solid var(--c-accent, #ff00ff);
|
||||
color: #fff;
|
||||
padding: 8px;
|
||||
font-size: 0.9rem;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
#chat-input:focus {
|
||||
outline: none;
|
||||
box-shadow: 0 0 5px var(--c-accent, #ff00ff);
|
||||
}
|
||||
|
||||
#chat-send {
|
||||
background: var(--c-accent, #ff00ff);
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 0 12px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
#chat-send:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
#chat-status {
|
||||
text-align: center;
|
||||
font-size: 0.75rem;
|
||||
color: #aaa;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.status-online { color: #0f0 !important; }
|
||||
.status-offline { color: #f00 !important; }
|
||||
Reference in New Issue
Block a user