0
0
mirror of https://github.com/Maks1mS/free-ozon-dpr.git synced 2024-12-23 18:42:59 +03:00
free-ozon-dpr/style.css
2024-06-05 14:56:19 +03:00

73 lines
1.3 KiB
CSS

html,
body {
margin: 0;
height: 100%;
font-family: "Roboto", sans-serif;
font-weight: 400;
font-style: normal;
}
#map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
height: 100vh;
}
.ol-popup {
position: absolute;
background-color: white;
padding: 15px;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
border: 1px solid #cccccc;
bottom: 12px;
left: -50px;
width: 300px; /* Увеличенная ширина */
max-width: 300px; /* Максимальная ширина */
font-size: 14px; /* Размер шрифта */
color: #333; /* Цвет текста */
line-height: 1.5; /* Межстрочный интервал */
}
.ol-popup:after,
.ol-popup:before {
top: 100%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.ol-popup:after {
border-top-color: white;
border-width: 10px;
left: 48px;
margin-left: -10px;
}
.ol-popup:before {
border-top-color: #cccccc;
border-width: 11px;
left: 48px;
margin-left: -11px;
}
#popup-closer {
position: absolute;
top: 2px;
right: 8px;
font-size: 16px;
text-decoration: none;
color: #333;
background-color: transparent;
border: none;
cursor: pointer;
}
#popup-operation-time {
white-space: pre-line
}