155 lines
2.8 KiB
CSS
155 lines
2.8 KiB
CSS
.embedded-map-ui {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.embedded-map-ui__header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.embedded-map-ui__copy {
|
|
min-width: 0;
|
|
}
|
|
|
|
.embedded-map-ui__copy .ant-typography {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.embedded-map-ui__frame {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(148, 163, 184, 0.24);
|
|
border-radius: 24px;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 34%),
|
|
linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
|
|
box-shadow:
|
|
0 18px 40px rgba(15, 23, 42, 0.08),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.embedded-map-ui__canvas {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 240px;
|
|
border: 0;
|
|
background: #e2e8f0;
|
|
}
|
|
|
|
.embedded-map-ui__canvas--locked {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.embedded-map-ui__overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.embedded-map-ui__overlay-svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.embedded-map-ui__radius {
|
|
fill: rgba(56, 189, 248, 0.18);
|
|
stroke: rgba(2, 132, 199, 0.92);
|
|
stroke-width: 0.45;
|
|
}
|
|
|
|
.embedded-map-ui__link {
|
|
stroke: rgba(249, 115, 22, 0.72);
|
|
stroke-width: 0.5;
|
|
stroke-dasharray: 1.2 1;
|
|
}
|
|
|
|
.embedded-map-ui__marker {
|
|
stroke: rgba(15, 23, 42, 0.9);
|
|
stroke-width: 0.5;
|
|
}
|
|
|
|
.embedded-map-ui__marker--primary {
|
|
fill: #0ea5e9;
|
|
}
|
|
|
|
.embedded-map-ui__marker--secondary {
|
|
fill: #f97316;
|
|
}
|
|
|
|
.embedded-map-ui__label {
|
|
position: absolute;
|
|
transform: translate(-50%, calc(-100% - 14px));
|
|
border-radius: 999px;
|
|
padding: 6px 10px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.embedded-map-ui__label--primary {
|
|
background: rgba(14, 165, 233, 0.96);
|
|
color: #082f49;
|
|
}
|
|
|
|
.embedded-map-ui__label--secondary {
|
|
background: rgba(249, 115, 22, 0.94);
|
|
color: #431407;
|
|
}
|
|
|
|
.embedded-map-ui__lock-badge {
|
|
position: absolute;
|
|
right: 14px;
|
|
bottom: 14px;
|
|
border-radius: 999px;
|
|
padding: 6px 10px;
|
|
background: rgba(15, 23, 42, 0.82);
|
|
color: #f8fafc;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
|
|
}
|
|
|
|
.embedded-map-ui__slot {
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
|
|
.embedded-map-ui__footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.embedded-map-ui__meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.embedded-map-ui__header,
|
|
.embedded-map-ui__footer {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.embedded-map-ui__frame {
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.embedded-map-ui__label {
|
|
max-width: 45vw;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|