149 lines
1.7 KiB
CSS
149 lines
1.7 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: absolute;
|
|
|
|
left: 0px;
|
|
top: 732px;
|
|
|
|
width: 296px;
|
|
height: 285px;
|
|
|
|
background: linear-gradient(#2b2115, #1a140d);
|
|
|
|
border: 3px solid #8b6a3c;
|
|
|
|
color: #f3e6c5;
|
|
|
|
font-family: serif;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
z-index: 200;
|
|
}
|
|
|
|
#chat-messages {
|
|
flex: 1;
|
|
|
|
resize: none;
|
|
|
|
background: #1b140b;
|
|
|
|
border: none;
|
|
|
|
color: #f3e6c5;
|
|
|
|
padding: 5px;
|
|
|
|
font-size: 13px;
|
|
|
|
overflow-y: auto;
|
|
}
|