diff --git a/css/style.css b/css/style.css index 395badf..0f99aa8 100644 --- a/css/style.css +++ b/css/style.css @@ -22,6 +22,21 @@ body:has(dialog[open])::after { backdrop-filter: blur(10px); } +body:has(#app .loading)::before { + content: ''; + position: absolute; + z-index: 1049; + top: 0; + left: 0; + bottom: 0; + right: 0; + backdrop-filter: grayscale(1) blur(2px); + background-image: url('../img/loader.svg'); + background-position: center; + background-repeat: no-repeat; + background-size: 64px; +} + dialog[open] { z-index: 1050 !important; } @@ -165,21 +180,17 @@ table.node-info tr td:last-child { .search-text b { background-color: #ee0; } -button.manual-add { +.manual-add { position: fixed; z-index: 1000; display: block; + padding: 12px !important; bottom: 55px; right: 10px; width: 50px; height: 50px; border-radius: 5px; } -button.manual-add::after { - font-size: 40px; - content: '+'; - color: #fff; -} .leaflet-bottom { position: fixed !important; @@ -204,3 +215,33 @@ button.manual-add::after { width: auto !important; height: auto !important; } + +.leaflet-marker-icon.update-recent { + filter: saturate(5) hue-rotate(260deg) +} + +.leaflet-marker-icon.update-stale { + filter: saturate(28) hue-rotate(228deg) +} + +.leaflet-marker-icon.update-old { + filter: saturate(5) hue-rotate(165deg); +} + +.leaflet-marker-icon.update-extinct { + filter: grayscale(100) contrast(16); + opacity: 0.6; +} + +time { + cursor: help; + text-decoration: underline; + text-decoration-style: dotted; +} + +.user-actions { + display: flex; + justify-content: space-between; + width: 100%; + margin-top: 15px; +} \ No newline at end of file diff --git a/img/loader.svg b/img/loader.svg new file mode 100644 index 0000000..5af4af1 --- /dev/null +++ b/img/loader.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/index.html b/index.html index edc2af0..4387043 100644 --- a/index.html +++ b/index.html @@ -13,38 +13,11 @@ MeshCore Node Map -
-
- -
Add node / Replace node
-
- -
- - -
-
- - -
-
-
-
- Please paste your meshcore link.
- If you use link with same public key as node already on the map, it will get replaced. -
-
- -
- +
+
+ add
monitoring @@ -57,33 +30,58 @@