248 lines
3.0 KiB
CSS
248 lines
3.0 KiB
CSS
.worldmap {
|
|
position: relative;
|
|
|
|
width: 2037px;
|
|
height: 1018px;
|
|
}
|
|
|
|
.map-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.area {
|
|
fill: rgba(255, 255, 255, 0);
|
|
transition: 0.2s ease;
|
|
cursor: pointer;
|
|
|
|
transition: 0.25s;
|
|
}
|
|
|
|
.area:hover {
|
|
fill: rgba(120, 200, 255, 0.18);
|
|
|
|
stroke: #6ec6ff;
|
|
|
|
stroke-width: 3;
|
|
|
|
filter: drop-shadow(0 0 14px #6ec6ff);
|
|
}
|
|
|
|
.building-popup {
|
|
position: fixed;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
width: 420px;
|
|
|
|
background: linear-gradient(#2b2115, #1b140b);
|
|
|
|
border: 3px solid #8b6a3c;
|
|
|
|
border-radius: 10px;
|
|
|
|
box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
|
|
|
|
display: none;
|
|
|
|
color: #f3e6c5;
|
|
|
|
font-family: serif;
|
|
|
|
z-index: 1000;
|
|
}
|
|
|
|
.popup-header {
|
|
padding: 12px;
|
|
|
|
background: #3a2a17;
|
|
|
|
border-bottom: 2px solid #8b6a3c;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
font-weight: bold;
|
|
}
|
|
|
|
.popup-tabs {
|
|
display: flex;
|
|
|
|
border-bottom: 2px solid #8b6a3c;
|
|
}
|
|
|
|
.popup-tabs button {
|
|
flex: 1;
|
|
|
|
padding: 10px;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
color: #f3e6c5;
|
|
|
|
cursor: pointer;
|
|
}
|
|
|
|
.popup-tabs button.active {
|
|
background: #5b4325;
|
|
}
|
|
|
|
.popup-content {
|
|
padding: 15px;
|
|
}
|
|
|
|
.tab-content {
|
|
display: none;
|
|
}
|
|
|
|
.tab-content.active {
|
|
display: block;
|
|
}
|
|
|
|
#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;
|
|
}
|