42 lines
722 B
SCSS
42 lines
722 B
SCSS
|
.leaflet-popup-content-wrapper {
|
||
|
border-radius: 8px !important;
|
||
|
padding: 1px !important;
|
||
|
}
|
||
|
|
||
|
.leaflet-popup-content {
|
||
|
margin: 2px !important;
|
||
|
|
||
|
.popup {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
a, img {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
border-radius: 8px;
|
||
|
max-width: unset;
|
||
|
}
|
||
|
|
||
|
.meta {
|
||
|
position: absolute;
|
||
|
bottom: 0;
|
||
|
padding: 32px 8px 4px 8px;
|
||
|
background-image: linear-gradient(to bottom, rgba(255,0,0,0), rgba(0,0,0,0.7));
|
||
|
color: var(--c-white);
|
||
|
opacity: 0.8;
|
||
|
width: 100%;
|
||
|
border-radius: 8px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
a.leaflet-popup-close-button {
|
||
|
padding: 6px 20px 0 0 !important;
|
||
|
color: white !important;
|
||
|
transition: color 0.2s ease-in-out;
|
||
|
|
||
|
&:hover {
|
||
|
color: darkgray !important;
|
||
|
}
|
||
|
}
|