@spalger/kibana
Version:
Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic
161 lines (132 loc) • 2.9 kB
text/less
/* _tilemap */
.tilemap {
margin-bottom: 6px;
border: 1px solid #DDD;
position: relative;
}
/* leaflet Dom Util div for map label */
.tilemap-legend {
padding: 5px 7px 5px 7px;
margin: 0;
font: 11px/13px Arial, Helvetica, sans-serif;
background: white;
background: rgba(255,255,255,0.92);
box-shadow: 0 0 12px rgba(0,0,0,0.3);
border-radius: 5px;
text-align: left;
line-height: 15px;
color: #666;
}
.tilemap-legend i {
width: 10px;
height: 10px;
float: left;
margin: 2px 4px 0 0;
opacity: 1;
border-radius: 50%;
border-width: 1px;
border-style: solid;
border-color: #999;
background: #aaa;
}
/* leaflet Dom Util div for map legend */
.tilemap-info {
padding: 3px 7px 3px 7px;
margin: 0;
font-size: 12px;
background: white;
background: rgba(255,255,255,0.92);
box-shadow: 0 0 12px rgba(0,0,0,0.3);
border-radius: 5px;
}
.tilemap-info h2 {
font-size: 12px ;
margin: 0 ;
padding: 0;
color: #444;
}
.leaflet-control-fit {
text-align: center;
background: #fff;
width: 26px;
height: 26px;
outline: 1px black;
}
/* over-rides leaflet popup styles to look like kibana tooltip */
.leaflet-container {
background: #fff ;
outline: 0 ;
}
.leaflet-popup-content-wrapper {
margin: 0;
padding: 0;
}
.leaflet-popup {
margin-bottom: 16px ;
pointer-events: none;
}
.leaflet-popup-content-wrapper {
background: @tooltip-bg ;
color: @tooltip-color ;
border-radius: 4px ;
padding: 0 ;
}
.leaflet-popup-content {
margin: 0 ;
line-height: 1.1 ;
font-size: 12px;
font-weight: normal;
word-wrap: break-word;
overflow: hidden;
pointer-events: none;
> :last-child {
margin-bottom: @tooltip-space;
}
> * {
margin: @tooltip-space @tooltip-space 0;
}
table {
td,th {
padding: @tooltip-space-tight;
&.row-bucket {
word-break: break-all;
}
}
// if there is a header, give it a border that matches
// those in the body
thead tr {
border-bottom: 1px solid @gray;
}
// only apply to tr in the body, not the header
tbody tr {
border-top: 1px solid @gray;
&:first-child {
border-top: none;
}
}
}
}
.leaflet-popup-tip-container, .leaflet-popup-close-button {
display: none ;
}
.leaflet-control-layers-expanded {
padding: 0;
margin: 0;
font: 12px/13px Arial, Helvetica, sans-serif;
line-height: 14px ;
}
.leaflet-control-layers-expanded label {
font-weight: normal ;
margin: 0 ;
padding: 0 ;
}
.leaflet-draw-tooltip {
display: none;
}
/* filter to desaturate mapquest tiles */
img.leaflet-tile {
filter: brightness(1.03) grayscale(0.83) contrast(1.07);
}
img.leaflet-tile.filters-off {
filter: none;
}