add messure, I <3 JS, not

This commit is contained in:
TuxCoder 2019-07-23 18:53:58 +02:00
parent b6b4a309d8
commit 46ef181ec7
8 changed files with 8080 additions and 4054 deletions

1
dist/index.html vendored
View file

@ -2,6 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>CCCamp19 map of milliways</title>
<link rel="stylesheet" href="./main.css" type="text/css">
<style>

40
dist/main.css vendored
View file

@ -384,5 +384,45 @@ html, body {
bottom: 0;
width: 100%; }
.hidden {
display: none; }
.ol-messure {
right: .25em;
top: 10em;
font-size: 1.5em; }
.tooltip {
position: relative;
background: rgba(0, 0, 0, 0.5);
border-radius: 4px;
color: white;
padding: 4px 8px;
opacity: 0.7;
white-space: nowrap; }
.tooltip-measure {
opacity: 1;
font-weight: bold; }
.tooltip-static {
background-color: #ffcc33;
color: black;
border: 1px solid white; }
.tooltip-measure:before,
.tooltip-static:before {
border-top: 6px solid rgba(0, 0, 0, 0.5);
border-right: 6px solid transparent;
border-left: 6px solid transparent;
content: "";
position: absolute;
bottom: -6px;
margin-left: -7px;
left: 50%; }
.tooltip-static:before {
border-top-color: #ffcc33; }
/*# sourceMappingURL=main.css.map*/

2
dist/main.css.map vendored

File diff suppressed because one or more lines are too long

11606
dist/main.js vendored

File diff suppressed because it is too large Load diff

2
dist/main.js.map vendored

File diff suppressed because one or more lines are too long