wikipoints/public/css/leaflet-routing-machine.css

102 lines
2.0 KiB
CSS

.leaflet-routing-container {
width: 320px;
background-color: white;
padding-top: 4px;
}
.leaflet-routing-container h2 {
font-size: 14px;
}
.leaflet-routing-container h3 {
font-size: 12px;
font-weight: normal;
}
.leaflet-routing-alt, .leaflet-routing-geocoders {
padding: 6px;
margin-top: 2px;
margin-bottom: 6px;
border-bottom: 1px solid #ccc;
max-height: 320px;
overflow-y: auto;
transition: all 0.2s ease;
}
.leaflet-bar .leaflet-routing-alt:last-child {
border-bottom: none;
}
.leaflet-routing-alt-minimized {
color: #888;
max-height: 64px;
overflow: hidden;
cursor: pointer;
}
.leaflet-routing-alt table {
border-collapse: collapse;
}
.leaflet-routing-alt tr:hover {
background-color: #eee;
cursor: pointer;
}
.leaflet-routing-alt::-webkit-scrollbar {
width: 8px;
}
.leaflet-routing-alt::-webkit-scrollbar-track {
border-radius: 2px;
background-color: #eee;
}
.leaflet-routing-alt::-webkit-scrollbar-thumb {
border-radius: 2px;
background-color: #888;
}
.leaflet-routing-geocoders input {
width: 292px;
padding: 4px;
border: 1px solid #ccc;
}
.leaflet-routing-geocoders button {
font: bold 18px 'Lucida Console', Monaco, monospace;
border: 1px solid #ccc;
border-radius: 4px;
background-color: white;
margin: 0 6px;
float: right;
cursor: pointer;
transition: background-color 0.2s ease;
}
.leaflet-routing-geocoders button:hover {
background-color: #eee;
}
.leaflet-routing-geocoder-result {
position: absolute;
max-height: 0;
overflow: hidden;
transition: all 0.5s ease;
}
.leaflet-routing-geocoder-result table {
width: 100%;
border: 1px solid #ccc;
border-radius: 0 0 4px 4px;
background-color: white;
cursor: pointer;
}
.leaflet-routing-geocoder-result-open {
max-height: 800px;
}
.leaflet-routing-geocoder-selected, .leaflet-routing-geocoder-result tr:hover {
background-color: #eee;
}