dok/public/css/launcher.css
2026-03-29 11:19:40 +01:00

244 lines
3.6 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

html,
body {
margin: 0;
padding: 0;
background: #0a0603;
overflow: hidden;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.worldmap {
position: relative;
width: 2037px;
height: 1018px;
flex-shrink: 0;
will-change: transform; /* translateZ(0) entfernt verhindert Zittern */
}
.map-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.map-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
will-change: transform; /* translateZ(0) entfernt verhindert Zittern */
}
.area {
fill: rgba(255, 255, 255, 0);
stroke: transparent;
stroke-width: 3;
cursor: pointer;
transition: fill 0.25s, stroke 0.25s;
will-change: fill, stroke;
}
.area:hover {
fill: rgba(120, 200, 255, 0.18);
stroke: #6ec6ff;
}
#game-chat {
position: fixed;
left: 20px;
bottom: 20px;
width: 400px;
height: 300px;
background: linear-gradient(#2b2115, #1a140d);
border: 3px solid #8b6a3c;
color: #f3e6c5;
font-family: serif;
display: flex;
flex-direction: column;
z-index: 1000;
}
#chat-messages {
flex: 1;
resize: none;
background: #1b140b;
border: none;
color: #f3e6c5;
padding: 5px;
font-size: 13px;
overflow-y: auto;
}
.chat-channels {
display: flex;
gap: 4px;
padding: 4px;
}
.chat-channels button {
background: linear-gradient(#6b4a25, #3a2512);
border: 1px solid #caa46a;
color: #f3e6c5;
font-family: serif;
font-size: 13px;
padding: 3px 8px;
cursor: pointer;
transition: all 0.15s ease;
}
.chat-channels button:hover {
background: linear-gradient(#8a6235, #4a3018);
border-color: #ffd27a;
box-shadow: 0 0 6px rgba(255, 210, 120, 0.6);
}
.chat-channels button.active {
background: linear-gradient(#a37742, #5c3a1a);
border-color: #ffd27a;
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
}
.global-chat {
color: #e6c48a;
}
.guild-chat {
color: #6ed37c;
}
.private-chat {
color: #7ec8ff;
}
#online-users {
position: fixed;
left: 20px;
bottom: 340px;
width: 350px;
background: linear-gradient(#2b2115, #1a140d);
border: 3px solid #8b6a3c;
color: #f3e6c5;
font-family: serif;
overflow-y: auto;
}
.online-header {
background: #3a2a17;
padding: 5px;
text-align: center;
border-bottom: 2px solid #8b6a3c;
}
#online-list div {
padding: 4px;
cursor: pointer;
}
#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;
}
/* ── Music Control ─────────────────────────────── */
#music-control {
position: fixed;
bottom: 16px;
right: 16px;
z-index: 9999;
display: flex;
align-items: center;
gap: 8px;
background: rgba(10, 5, 0, 0.85);
border: 1px solid #c8960c;
border-radius: 8px;
padding: 6px 10px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
#music-mute-btn {
background: none;
border: none;
cursor: pointer;
font-size: 20px;
line-height: 1;
padding: 0;
color: #f0d080;
transition: transform 0.15s;
}
#music-mute-btn:hover {
transform: scale(1.2);
}
#music-volume {
-webkit-appearance: none;
appearance: none;
width: 80px;
height: 4px;
background: #3a2000;
border-radius: 2px;
outline: none;
cursor: pointer;
}
#music-volume::-webkit-slider-thumb {
-webkit-appearance: none;
width: 12px;
height: 12px;
border-radius: 50%;
background: #c8960c;
cursor: pointer;
}