Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Commit

Permalink
popup overhaul
Browse files Browse the repository at this point in the history
  • Loading branch information
MeijiRestored committed Sep 10, 2022
1 parent e503dc5 commit 5755994
Show file tree
Hide file tree
Showing 4 changed files with 260 additions and 32 deletions.
4 changes: 4 additions & 0 deletions docs/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,7 @@ li:hover:not(.active) {
padding: 3px;
bottom: 0;
}

a {
text-decoration: none;
}
12 changes: 12 additions & 0 deletions docs/css/popup.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.leaflet-popup-tip-container {
display: none;
}

/* !important definition required to overwrite leaflet.css */
.leaflet-popup-content-wrapper {
border-radius: 0px !important;
border: 2px solid #ffcc00 !important;
background: #222222 !important;
color: #dddddd !important;
box-shadow: 0px 0px 10px #111111 !important;
}
5 changes: 2 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/>

<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/popup.css" />
<link rel="stylesheet" href="css/w3.css" />
<script src="js/leaflet.js"></script>

Expand Down Expand Up @@ -80,7 +81,7 @@
><a href="https://github.com/32Vache/emc-mapmodes" target="_blank"
>Source code on Github</a
>
• Version 2.0Aug. 2022</span
• Version 2.1Sep. 2022</span
>
<span onclick="hideInfo()" id="hideBtn">Close</span>
</div>
Expand Down Expand Up @@ -188,8 +189,6 @@
tileSize: 128,
}
).addTo(emcmap);

loadTAeu4();
</script>
<script type="text/javascript" src="js/main.js"></script>
</body>
Expand Down
Loading

0 comments on commit 5755994

Please sign in to comment.