resolve some errors in php logic, like strlen with str containing space that is interpreted as array instead of string
This commit is contained in:
187
plug/map_prof/styles/mp_info_windows.css
Normal file
187
plug/map_prof/styles/mp_info_windows.css
Normal file
@@ -0,0 +1,187 @@
|
||||
|
||||
/*
|
||||
* INFO WINDOW
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
/* **************************************
|
||||
GOOGLE WINDOW
|
||||
*/
|
||||
|
||||
div.gm-style-iw.gm-style-iw-c {
|
||||
padding: 0px !important;
|
||||
background-color: transparent;
|
||||
pointer-events: none;
|
||||
box-shadow: 0 2px 7px 1px rgba(0,0,0,.3);
|
||||
box-shadow: none;
|
||||
border-radius: 0 !important;
|
||||
max-width: 75vw !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* **************************************
|
||||
GOOGLE TRIANGLE
|
||||
*/
|
||||
|
||||
.gm-style-iw-tc {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* **************************************
|
||||
GOOGLE CROICE
|
||||
*/
|
||||
|
||||
button.gm-ui-hover-effect {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* **************************************
|
||||
CONTENT
|
||||
*/
|
||||
|
||||
#infowindow_limits,
|
||||
#infowindow_limits * {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
position: relative;
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#infowindow_limits {
|
||||
/* height must be twice js 'height' value (mp_info_windows.js -> '{ ... height: XXX }' */
|
||||
height: 550px;
|
||||
max-width: 380px;
|
||||
flex-direction: column;
|
||||
pointer-events: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#infowindow_limits .infowindow {
|
||||
pointer-events: auto;
|
||||
height: auto;
|
||||
max-height: 400px;
|
||||
padding: 0px;
|
||||
overflow: scroll;
|
||||
flex-direction: column;
|
||||
border-radius: 3px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
#infowindow_limits #infowindow_close {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#infowindow_limits #infowindow_close::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: calc(50% - 0.8px);
|
||||
left: 25%;
|
||||
width: 50%;
|
||||
height: 1.6px;
|
||||
background-color: #fff;
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
|
||||
#infowindow_limits #infowindow_close::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: calc(50% - 0.8px);
|
||||
left: 25%;
|
||||
width: 50%;
|
||||
height: 1.6px;
|
||||
background-color: #fff;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
#infowindow_limits .infowindow_head {
|
||||
padding: 5px 10px;
|
||||
margin: 0px;
|
||||
background-color: #ab197a;
|
||||
}
|
||||
|
||||
#infowindow_limits .infowindow_head p {
|
||||
font-size: 115%;
|
||||
font-weight: 500;
|
||||
line-height: 1.7em;
|
||||
color: #fff;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
#infowindow_limits .infowindow_body {
|
||||
padding: 10px 10px 10px 10px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
#infowindow_limits .infowindow_body::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
margin: 0px;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
#infowindow_limits .infowindow_body p {
|
||||
font-size: 115%;
|
||||
font-weight: 500;
|
||||
line-height: 1.7em;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* **************************************
|
||||
HIDE SCROLL BARS
|
||||
*/
|
||||
/* chrome safari opera */
|
||||
.gm-style-iw-d::-webkit-scrollbar,
|
||||
#infowindow_limits::-webkit-scrollbar,
|
||||
#infowindow_limits .infowindow::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.gm-style-iw-d,
|
||||
#infowindow_limits,
|
||||
#infowindow_limits .infowindow {
|
||||
-ms-overflow-style: none; /* Ie edge */
|
||||
scrollbar-width: none; /* firefox */
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* **************************************
|
||||
MOBILE RESPONSIVE
|
||||
*/
|
||||
|
||||
@media only screen and (max-width: 400px) {
|
||||
#infowindow_limits .infowindow_body p,
|
||||
#infowindow_limits .infowindow_head p {
|
||||
font-size: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user