tweaks to iitc-specific leaflet popup style

- restore close button
- pointer events only hit the main box, passing through the 'tip' area - this makes it easy to select differetn players after a marker spider
This commit is contained in:
Jon Atkins 2013-11-07 04:44:41 +00:00
parent 278a8e7536
commit 73fc584571

View File

@ -985,11 +985,16 @@ td + td {
/* leaflet popups - restyle to match the theme of IITC */ /* leaflet popups - restyle to match the theme of IITC */
#map .leaflet-popup {
pointer-events: none;
}
#map .leaflet-popup-content-wrapper { #map .leaflet-popup-content-wrapper {
border-radius: 0px; border-radius: 0px;
-webkit-border-radius: 0px; -webkit-border-radius: 0px;
border: 1px solid #20A8B1; border: 1px solid #20A8B1;
background: #0e3d4e; background: #0e3d4e;
pointer-events: auto;
} }
#map .leaflet-popup-content { #map .leaflet-popup-content {
@ -998,9 +1003,15 @@ td + td {
} }
#map .leaflet-popup-close-button { #map .leaflet-popup-close-button {
display: none; padding: 2px 1px 0 0;
font-size: 12px;
line-height: 8px;
width: 10px;
height: 10px;
pointer-events: auto;
} }
#map .leaflet-popup-tip { #map .leaflet-popup-tip {
/* change the tip from an arrow to a simple line */ /* change the tip from an arrow to a simple line */
background: #20A8B1; background: #20A8B1;
@ -1013,7 +1024,6 @@ td + td {
-ms-transform: none; -ms-transform: none;
-o-transform: none; -o-transform: none;
transform: none; transform: none;
} }