Added detail client info (voice) Added host connection link Added compose.yml Adjusted Dockerfile Adjusted entrypoint.sh Adjusted README.md
199 lines
3.1 KiB
CSS
199 lines
3.1 KiB
CSS
body {
|
|
font-family: 'Roboto', sans-serif;
|
|
background: #121212;
|
|
color: #e5e5e5;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 14px;
|
|
line-height: 16px;
|
|
}
|
|
|
|
h1, h2 {
|
|
margin: 10px 0;
|
|
text-align: center;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
line-height: 20px;
|
|
}
|
|
|
|
#refreshButton {
|
|
position: fixed;
|
|
top: 10px;
|
|
right: 10px;
|
|
background: #1f1f1f;
|
|
border: 1px solid #333;
|
|
padding: 6px 12px;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
color: #e5e5e5;
|
|
z-index: 9999;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.server-info {
|
|
width: 100%;
|
|
max-width: 300px;
|
|
margin: 12px auto;
|
|
padding: 8px 12px;
|
|
background: #1a1a1a;
|
|
border: 1px solid #333;
|
|
color: #ccc;
|
|
font-size: 16px;
|
|
line-height: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.server-info div {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 3px 0;
|
|
}
|
|
|
|
.server-info a {
|
|
color: #6aa9ff;
|
|
text-decoration: none;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.banner-url, .host-connection-link {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: center;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.banner-url a, .host-connection-link a {
|
|
display: inline-block;
|
|
color: #6aa9ff;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.server-info span {
|
|
font-weight: 600;
|
|
color: #bbb;
|
|
}
|
|
|
|
#channels {
|
|
width: 100%;
|
|
padding: 10px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.row {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 2px 0;
|
|
box-sizing: border-box;
|
|
white-space: pre-wrap;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.channel {
|
|
color: #ffffff;
|
|
padding-left: 16px;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.client {
|
|
color: #ffffff;
|
|
white-space: normal;
|
|
line-height: 16px;
|
|
position: relative;
|
|
padding-left: 26px;
|
|
}
|
|
|
|
.status-online {
|
|
color: #4CAF50;
|
|
margin-right: 6px;
|
|
font-size: 12px;
|
|
padding-left: 1px;
|
|
padding-right: 0.5px;
|
|
}
|
|
|
|
.status-mic {
|
|
color: #888;
|
|
margin-right: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.status-mic::before {
|
|
color: #d9534f;
|
|
}
|
|
|
|
.status-audio {
|
|
color: #888;
|
|
margin-right: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.status-audio::before {
|
|
color: #d9534f;
|
|
}
|
|
|
|
.client-name {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.spacer {
|
|
color: #888;
|
|
font-weight: bold;
|
|
width: 100%;
|
|
display: block;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.spacer-mono {
|
|
font-family: "Courier New", monospace;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.spacer-left { text-align: left; }
|
|
.spacer-center { text-align: center; }
|
|
.spacer-right { text-align: right; }
|
|
|
|
.blank-spacer {
|
|
height: 16px;
|
|
display: block;
|
|
}
|
|
|
|
.children {
|
|
margin-left: 12px;
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
body {
|
|
font-size: 13px;
|
|
}
|
|
|
|
#channels {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.server-info {
|
|
max-width: 800px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.children {
|
|
margin-left: 20px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.server-info {
|
|
max-width: 90%;
|
|
font-size: 16px;
|
|
padding: 10px 14px;
|
|
}
|
|
|
|
.server-info div {
|
|
padding: 3px 0;
|
|
}
|
|
}
|