mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-25 16:02:50 +00:00
- Add geojson example - Add introduction, credit and link to source to all examples - CSS bug fixes - Remove unused website components - Header image
31 lines
478 B
JavaScript
31 lines
478 B
JavaScript
export default `
|
|
.station:before {
|
|
content: ' ';
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
background: red;
|
|
border-radius: 8px;
|
|
margin: 0 8px;
|
|
}
|
|
.station {
|
|
border-radius: 20px;
|
|
padding-right: 12px;
|
|
margin: -12px;
|
|
color: transparent;
|
|
line-height: 24px;
|
|
font-size: 13px;
|
|
white-space: nowrap;
|
|
}
|
|
.station span {
|
|
display: none;
|
|
}
|
|
.station:hover {
|
|
background: rgba(0,0,0,0.8);
|
|
color: #fff;
|
|
}
|
|
.station:hover span {
|
|
display: inline-block;
|
|
}
|
|
`;
|