mirror of
https://github.com/meshcore-dev/map.meshcore.dev.git
synced 2026-04-20 22:13:50 +00:00
246 lines
No EOL
3.8 KiB
CSS
246 lines
No EOL
3.8 KiB
CSS
@font-face {
|
|
font-family: Material Symbols Outlined;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: block;
|
|
src: url(https://cdn.jsdelivr.net/npm/beercss@3.9.4/dist/cdn/material-symbols-outlined.woff2) format("woff2")
|
|
}
|
|
|
|
[v-cloak] {
|
|
display: none !important;
|
|
}
|
|
|
|
body { margin: 0; }
|
|
body:has(dialog[open])::after {
|
|
content: '';
|
|
position: absolute;
|
|
z-index: 1049;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
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;
|
|
}
|
|
|
|
#map { height: 100vh; }
|
|
table.node-info {
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
}
|
|
table.node-info td {
|
|
padding: 2px 0;
|
|
}
|
|
|
|
table.node-info tr td:first-child {
|
|
width: 150px;
|
|
}
|
|
table.node-info tr td:last-child {
|
|
word-break:break-all;
|
|
}
|
|
|
|
.search-results {
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.search-results li {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.search-pkey {
|
|
max-width: 400px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
#app {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.add-dialog {
|
|
z-index: 1050;
|
|
padding: 15px;
|
|
max-height: 80vh;
|
|
}
|
|
|
|
.add-dialog .page {
|
|
text-align: center;
|
|
}
|
|
|
|
.add-dialog .page img {
|
|
max-width: 50%;
|
|
max-height: 300px;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
.add-dialog {
|
|
width: 95%;
|
|
max-height: 100vh;
|
|
}
|
|
}
|
|
|
|
.pointer-help {
|
|
cursor: help
|
|
}
|
|
|
|
.stats {
|
|
position: fixed;
|
|
z-index: 1000;
|
|
top: 0;
|
|
left: 0;
|
|
display: flex;
|
|
align-self: center;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
column-gap: 15px;
|
|
row-gap: 32px;
|
|
height: 30px;
|
|
width: 100%;
|
|
min-width: 700px;
|
|
overflow-y: hidden;
|
|
overflow-x: auto;
|
|
color: #000;
|
|
background-color: #ffffff55;
|
|
backdrop-filter: blur(10px);
|
|
padding-left: 15px;
|
|
}
|
|
|
|
.stats > span {
|
|
line-height: 0;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.stats i.node-type {
|
|
background-color: #667a8c;
|
|
border-radius: 50%;
|
|
font-size: 14px;
|
|
color: #fff;
|
|
margin-left: 7px;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.stats a img {
|
|
width: 16px;
|
|
min-inline-size: 0px !important;
|
|
}
|
|
.stats a.github {
|
|
margin-right: 15px;
|
|
}
|
|
.search {
|
|
position: fixed;
|
|
z-index: 1000;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 10px;
|
|
top: 30px;
|
|
max-width: 600px;
|
|
flex-grow: 1;
|
|
width: calc(100% - 20px);
|
|
align-self: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
}
|
|
.search .field {
|
|
width: 100%;
|
|
display: flex;
|
|
}
|
|
|
|
.search .submit {
|
|
width: 12px;
|
|
height: 35px;
|
|
}
|
|
|
|
.search .filter {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.search-text b {
|
|
background-color: #ee0;
|
|
}
|
|
.manual-add {
|
|
position: fixed;
|
|
z-index: 1000;
|
|
display: block;
|
|
padding: 12px !important;
|
|
bottom: 55px;
|
|
right: 10px;
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.leaflet-bottom {
|
|
position: fixed !important;
|
|
}
|
|
.leaflet-control-layers-list {
|
|
margin-block-start: 0 !important;
|
|
}
|
|
.leaflet-bottom .leaflet-control-layers {
|
|
margin-bottom: 55px !important;
|
|
}
|
|
.marker-cluster span {
|
|
color: #000;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.leaflet-popup-close-button span {
|
|
font-size: 30px;
|
|
padding: 5px;
|
|
}
|
|
|
|
.leaflet-container a.leaflet-popup-close-button {
|
|
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;
|
|
} |