mirror of
https://github.com/zadam/trilium.git
synced 2026-02-19 04:04:24 +01:00
74 lines
1.3 KiB
CSS
74 lines
1.3 KiB
CSS
.geo-view {
|
|
overflow: hidden;
|
|
position: relative;
|
|
height: 100%;
|
|
}
|
|
|
|
.geo-map-container {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.leaflet-pane {
|
|
z-index: 1;
|
|
}
|
|
|
|
.leaflet-top,
|
|
.leaflet-bottom {
|
|
z-index: 997;
|
|
}
|
|
|
|
.geo-map-container.placing-note {
|
|
cursor: crosshair;
|
|
}
|
|
|
|
.geo-map-container .marker-pin {
|
|
position: relative;
|
|
}
|
|
|
|
.geo-map-container .leaflet-div-icon {
|
|
position: relative;
|
|
background: transparent;
|
|
border: 0;
|
|
overflow: visible;
|
|
}
|
|
|
|
.geo-map-container .leaflet-div-icon .icon-shadow {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1;
|
|
}
|
|
|
|
.geo-map-container .leaflet-div-icon .bx {
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 2px;
|
|
background-color: white;
|
|
color: black;
|
|
padding: 2px;
|
|
border-radius: 50%;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.geo-map-container .leaflet-div-icon .title-label {
|
|
display: block;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-size: 0.75rem;
|
|
height: 1rem;
|
|
color: black;
|
|
width: 100px;
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
|
|
white-space: no-wrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.geo-map-container.dark .leaflet-div-icon .title-label {
|
|
color: white;
|
|
text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
|
|
} |