index.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>staty | OSM Station Relationships</title>
  5. <meta charset="utf-8" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <link rel="shortcut icon" type="image/x-icon" href="docs/images/favicon.ico" />
  8. <link rel="stylesheet" href="https://unpkg.com/leaflet@1.5.1/dist/leaflet.css" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin=""/>
  9. <script src="https://unpkg.com/leaflet@1.5.1/dist/leaflet.js" integrity="sha512-GffPMF3RvMeYyc1LWMHtK8EbPv0iNZ8/oTtHPx9/cc2ILxQ+u905qIwdpULaqDkyBKgOaB57QTMg7ztg8Jm2Og==" crossorigin=""></script>
  10. <script src="leaflet-heat.js"></script>
  11. <link href="https://fonts.googleapis.com/css?family=Nunito:600&display=swap" rel="stylesheet">
  12. <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css?family=Inconsolata&display=swap" rel="stylesheet">
  14. <style>
  15. body {
  16. padding: 0;
  17. margin: 0;
  18. font-family: 'Roboto', sans-serif;
  19. }
  20. html, body {
  21. height: 100%;
  22. width: 100%;
  23. }
  24. tt {
  25. font-family: Inconsolata, monospace;
  26. }
  27. #attr-tbl tr {
  28. background-color: #c0f7c0;
  29. }
  30. .stat-label {
  31. white-space: nowrap;
  32. background: transparent;
  33. }
  34. #attr-tbl .err-10 {
  35. background-color: #ff0000;
  36. }
  37. #attr-tbl .err-9 {
  38. background-color: #ff1010;
  39. }
  40. #attr-tbl .err-8 {
  41. background-color: #f92424;
  42. }
  43. #attr-tbl .err-7 {
  44. background-color: #f93838;
  45. }
  46. #attr-tbl .err-6 {
  47. background-color: #f56262;
  48. }
  49. #attr-tbl .err-5 {
  50. background-color: #f38484;
  51. }
  52. .attr-err-info {
  53. margin-top:5px;
  54. font-size: 13px;
  55. font-style: italic;
  56. }
  57. .leaflet-popup-content-wrapper {
  58. border-radius: 5px;
  59. }
  60. #attr-tbl {
  61. margin-top: 10px;
  62. width: 100%;
  63. }
  64. .sugtit, .oldmemberstit, .newmemberstit {
  65. font-style: normal;
  66. font-weight: bold;
  67. }
  68. #group-stations-new, #group-stations-old {
  69. margin-top: 8px;
  70. padding-top: 4px;
  71. border-top: solid 1px #AAA;
  72. }
  73. #group-stations-new div {
  74. background-color: #0000ff36;
  75. border-left: solid 4px #0000ff;
  76. padding: 2px;
  77. margin: 2px;
  78. padding-left: 5px;
  79. }
  80. #group-stations-old div {
  81. background-color: #00ff0036;
  82. border-left: solid 4px #00ff00;
  83. padding: 2px;
  84. margin: 2px;
  85. padding-left: 5px;
  86. }
  87. #sugg {
  88. margin-top: 8px;
  89. padding-top: 4px;
  90. border-top: solid 1px #AAA;
  91. color: #0000c3;
  92. }
  93. #sugg ul {
  94. padding: 5px;
  95. margin: 5px;
  96. padding-top: 0;
  97. }
  98. #logo {
  99. text-decoration: none;
  100. font-weight:600;
  101. font-family: 'Nunito', sans-serif;
  102. font-size: 60px;
  103. position: absolute;
  104. z-index:1000;
  105. top: 0.3em;
  106. right: 1em;
  107. text-shadow: -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333;
  108. color: #fff;
  109. opacity: 0.7;
  110. }
  111. .leaflet-control-zoom a {
  112. font-family: 'Nunito', sans-serif !important;
  113. font-weight: bold !important;
  114. font-size: 38px !important;
  115. }
  116. .leaflet-touch .leaflet-bar a {
  117. width: 40px;
  118. height: 40px;
  119. line-height: 38px;
  120. overflow:hidden;
  121. display: block;
  122. }
  123. .leaflet-control-zoom-out {
  124. margin-top: 10px;
  125. }
  126. .leaflet-container {
  127. font-family: 'Roboto', sans-serif !important;
  128. font-size: 14px;
  129. }
  130. .leaflet-control-attribution a {
  131. font-family: 'Roboto', sans-serif !important;
  132. color: #666 !important;
  133. font-size: 12px;
  134. }
  135. .leaflet-control-zoom-in,
  136. .leaflet-control-zoom-out {
  137. border-radius: 25px !important;
  138. border: 1px solid #333 !important;
  139. opacity: 0.7;
  140. text-shadow: -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333;
  141. color: #fff !important;
  142. }
  143. .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
  144. border: none;
  145. background: transparent;
  146. }
  147. .leaflet-popup {left: -20px !important;}
  148. .leaflet-popup-tip-container {
  149. left: 20px;
  150. }
  151. .leaflet-popup-tip {
  152. box-shadow: none !important;
  153. }
  154. .leaflet-popup:before
  155. {
  156. content: "";
  157. position: absolute;
  158. border: 13px solid transparent;
  159. border-bottom-color: white;
  160. bottom: 0px;
  161. margin-left: -13px;
  162. }
  163. .attrval {
  164. font-weight: bold;
  165. }
  166. .grouplink {
  167. cursor: pointer;
  168. text-decoration: underline;
  169. z-index: 1000;
  170. }
  171. .noselect {
  172. -webkit-touch-callout: none; /* iOS Safari */
  173. -webkit-user-select: none; /* Safari */
  174. -khtml-user-select: none; /* Konqueror HTML */
  175. -moz-user-select: none; /* Old versions of Firefox */
  176. -ms-user-select: none; /* Internet Explorer/Edge */
  177. user-select: none; /* Non-prefixed version, currently
  178. supported by Chrome, Opera and Firefox */
  179. }
  180. #group-stations-old div.del-stat:before {
  181. content: "❌";
  182. position: relative;
  183. width: 0;
  184. color: #880000;
  185. margin-left: -1.15em;
  186. left: -0.6em;
  187. padding-right: 0.5em;
  188. }
  189. #group-stations-old div.del-stat {
  190. background-color: #F44336;
  191. border-left: solid 4px #880000;
  192. }
  193. </style>
  194. </head>
  195. <body>
  196. <a id="logo" class="noselect"href="/">staty</a>
  197. <div id="map" style="width: 100%;height: 100%;"></div>
  198. <script src="script.js">
  199. </script>
  200. </body>
  201. </html>