Commit bb2739c4 authored by agnez's avatar agnez

gasap map style and other

parent 83236555
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Local_geo-my-wp</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
This diff is collapsed.
This diff is collapsed.
/* current location shortcode */
#gmw-cl-form-wrapper {
display: none;
width: 300px;
min-height: 140px;
position: fixed;
top: 35%;
left: 50%;
background: white;
border: 1px solid #ddd;
padding: 5px;
-moz-box-shadow: 0px 0px 5px #ddd;
-webkit-box-shadow: 0px 0px 5px #ddd;
box-shadow: 0px 0px 5px #ddd;
z-index: 99999999999;
}
#gmw-cl-close-btn {
float: right;
margin-top: -3px;
font-size: 16px;
color: #777;
cursor: pointer;
}
#gmw-cl-form {
text-align: center;
}
#gmw-cl-info-wrapper div {
margin: 5px 0px;
}
\ No newline at end of file
/**
* GEO my WP main stylesheet
* @author Eyal Fitoussi
*/
div.pac-container {
z-index:99999999;
}
/** map **/
div.gmw-map img {
max-width: initial !important;
}
div.gmw-map-wrapper {
position: relative;
display: inline-block;
}
div.gmw-map-wrapper.gmw-map-frame {
border: 1px solid #999;
padding: 2px;
background: #f7f7f7;
border-bottom: 1px solid #BBB;
border-right: 1px solid #BBB;
border-left: 1px solid #DDD;
border-top: 1px solid #EEE;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
div.gmw-map-wrapper .gmw-map-loader {
position:absolute;
left:45%;
top:45%;
}
div.gmw-map-wrapper.gmw-expanded-map {
position:fixed !important;
z-index:99999999999 !important;
width:100% !important;
height:100% !important;
left:0px;
top:0px;
}
span.gmw-resize-map-trigger.fa-expand,
span.gmw-resize-map-trigger.fa-compress {
background: white;
color:#555;
cursor:pointer;
padding: 2px 4px;
font-size: 13px;
border: 1px solid rgba(0, 0, 0, 0.14902);
-webkit-box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
-webkit-background-clip: padding-box;
background-clip: padding-box;
margin-top:5px;
margin-right: 5px;
}
/** end map **/
.gmw-no-results-wrapper {
margin-top:15px;
}
.gmw-no-results-wrapper p {
font-weight: normal;
margin-top: 3px;
text-decoration: none;
background: #f8f8f8;
border: 1px solid #e1e1e1;
color: #440;
padding: 10px 15px;
display: block;
}
.gmw-geocode-error p {
background-color: #FFDDDD;
border: 1px solid #CC4222;
}
.gmw-form-wrapper input[type="text"] {
-ms-word-break: normal !important;
word-break: normal !important;
word-break :normal !important;
-webkit-hyphens: none !important;
-moz-hyphens: none !important;
hyphens: none !important;
}
/* single location shortcode */
.gmw-single-post-sc-wrapper {
}
/* Loading scren */
.gmw-screen-loader-wrapper {
display: none;
width: 100%;
height: 100%;
position: fixed;
background: #f8f8f8;
top: 0;
opacity: 0.93;
}
.gmw-screen-loader-wrapper .gmw-loading-message-wrapper {
margin: 0 auto;
position: absolute;
top: 40%;
text-align: center;
width: 100%;
}
.gmw-screen-loader-wrapper .gmw-loading-message-wrapper p {
margin: 20px 0px;
color: rgb(0, 150, 255);
font-size: 18px;
}
#gmw-locator-success-message {
font-size: 14px;
color: #40728F;
text-align: center;
}
#gmw-locator-error-message {
font-size: 14px;
color: red;
text-align: center;
}
/* post types info window */
.wppl-pt-info-window {
float: left;
width: 400px;
}
.wppl-pt-info-window .wppl-info-window-thumb {
float: left;
}
.wppl-pt-info-window .wppl-info-window-thumb img {
width: 120px;
height: 120px;
padding: 5px;
}
.wppl-pt-info-window .wppl-info-window-info {
float: left;
width: 230px;
font-size: 12px;
}
.wppl-pt-info-window .wppl-info-window-permalink {
float: left;
width: 230px;
font-size: 16px;
text-transform: capitalize;
}
.wppl-pt-info-window .wppl-info-window-info td {
padding: 2px 5px;
}
.wppl-pt-info-window .wppl-info-window-info span {
color: #5E5858;
font-weight: bold;
}
/* friends locator info window */
.gmw-fl-activity-map-marker {
font-size: 14px;
margin-right:3px
}
.wppl-fl-info-window {
float: left;
width: 400px;
}
.wppl-fl-info-window .wppl-info-window-thumb {
float: left;
}
.wppl-fl-info-window .wppl-info-window-thumb img {
width: 120px;
height: 120px;
padding: 5px;
}
.wppl-fl-info-window .wppl-info-window-info {
float: left;
width: 230px;
font-size: 12px;
}
.wppl-fl-info-window .wppl-info-window-permalink {
float: left;
width: 230px;
font-size: 16px;
text-transform: capitalize;
}
.wppl-fl-info-window .wppl-info-window-info td {
padding: 2px 5px;
}
.wppl-fl-info-window .wppl-info-window-info span {
color: #5E5858;
font-weight: bold;
}
/* groups locator info window */
.wppl-gl-info-window {
float: left;
width: 400px;
}
.wppl-gl-info-window .wppl-info-window-thumb {
float: left;
}
.wppl-gl-info-window .wppl-info-window-thumb img {
width: 80px;
height: auto;
padding: 5px;
margin-right: 5px;
}
.wppl-gl-info-window .wppl-info-window-info {
float: left;
width: 230px;
font-size: 12px;
}
.wppl-gl-info-window .wppl-info-window-permalink {
float: left;
width: 230px;
font-size: 16px;
text-transform: capitalize;
}
.wppl-gl-info-window .wppl-info-window-info td {
padding: 2px 5px;
}
.wppl-gl-info-window .wppl-info-window-info span {
color: #5E5858;
font-weight: bold;
}
/* groups locator */
#gmw-gl-group-address-wrapper {
margin-top:20px;
display:block;
width:
}
.gmw-gl-mt-address-wrapper {
display:inline-block;
}
.gmw-gl-gm-iw-wrapper {
min-width:200px;
}
.gmw-gl-gm-iw-wrapper .gmw-gl-gm-iw-thumb {
display: inline-block;
vertical-align: top;
margin:5px 5px 0px 0;
}
.gmw-gl-gm-iw-wrapper .gmw-gl-gm-iw-info {
display: inline-block;
}
.gmw-gl-gm-iw-wrapper .gmw-gl-gm-iw-thumb img.avatar {
width: 65px;
height: auto;
}
div.gmw-form-wrapper .gmw-address-field-wrapper {
position:relative;
}
div.gmw-form-wrapper div.gmw-locator-btn-within-wrapper {
cursor: pointer;
position: absolute;
right:0px;
top:0px;
padding: 5px 5px ;
width:initial;
height: initial;
z-index: 1;
background: none;
border: 0px;
font-size:16px;
}
div.gmw-form-wrapper div.gmw-locator-btn-wrapper i.gmw-locator-btn-within {
font-size:24px;
}
div.gmw-form-wrapper div.gmw-locator-btn-within-wrapper:hover {
background: none;
border: 0px;
}
i.fa.fa-map-marker.gmw-locator-btn-within.gmw-locator-button::before {
content:"\f041" !important;
}
/* Component containers
----------------------------------*/
.ui-widget {
font-family: Verdana, Arial, sans-serif /*{ffDefault}*/;
font-size: 1.1em /*{fsDefault}*/;
}
.ui-widget .ui-widget {
font-size: 1em;
}
.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button {
font-family: Verdana, Arial, sans-serif /*{ffDefault}*/;
font-size: 1em;
}
.ui-widget-content {
border: 1px solid #aaaaaa;
background: #ffffff;
color: #222222;
}
.ui-widget-content a {
color: #222222 /*{fcContent}*/;
}
.ui-widget-header {
border: 1px solid #aaaaaa;
background: #cccccc;
repeat-x ;
color: #222222;
font-weight: bold;
}
.ui-widget-header a {
color: #222222 /*{fcHeader}*/;
}
/* Interaction states
----------------------------------*/
.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default {
border: 1px solid #d3d3d3;
background: #e6e6e6;
font-weight: normal;
color: #555555;
}
.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited {
color: #555555;
text-decoration: none;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
border: 1px solid #999999;
background: #dadada;
font-weight: normal;
color: #212121;
}
.ui-state-hover a,.ui-state-hover a:hover {
color: #212121;
text-decoration: none;
}
.ui-state-active,.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
border: 1px solid #aaaaaa;
background: #ffffff;
font-weight: normal;
color: #212121;
}
.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited {
color: #212121;
text-decoration: none;
}
.ui-widget :active {
outline: none;
}
.ui-slider { position: relative; text-align: left; }
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
.ui-slider-vertical { width: .8em; height: 100px; }
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { top: 0; }
/* Misc visuals
----------------------------------*/
/* Corner radius */
.ui-corner-tl { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; }
.ui-corner-tr { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; }
.ui-corner-bl { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; }
.ui-corner-br { -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; }
.ui-corner-top { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; }
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; }
.ui-corner-right { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; }
.ui-corner-left { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; }
.ui-corner-all { -moz-border-radius: 4px/*{cornerRadius}*/; -webkit-border-radius: 4px/*{cornerRadius}*/; border-radius: 4px/*{cornerRadius}*/; }
/* Datepicker
----------------------------------*/
.ui-datepicker { width: 17em; padding: .2em .2em 0; }
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
.ui-datepicker .ui-datepicker-prev { left:2px; }
.ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi { width:auto; }
.ui-datepicker-multi .ui-datepicker-group { float:left; }
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
.ui-datepicker-row-break { clear:both; width:100%; }
/* @end */
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
jQuery(document).ready(function($) {
$('.gmw-cl-form-trigger').click(function(e) {
e.preventDefault();
$(this).closest('.gmw-cl-wrapper').find('.gmw-cl-form-wrapper').slideToggle();
})
gmwClObject = {};
$('.gmw-cl-address-input').bind('keypress', function (e){
if ( e.keyCode == 13 ) {
$(this).closest('form').find('.gmw-cl-form-submit-icon').click();
}
});
/**
* Locator success message
* @param {[type]} returnedLocator [description]
* @return {[type]} [description]
*/
function gmwLocatorSuccess( returnedLocator ) {
gmwClObject['results'] = returnedLocator.results;
gmwClObject['address'] = returnedLocator.results[0].formatted_address;
gmwGetAddressFields( returnedLocator.results );
}
/**
* Locator failed message
* @param {return message} returnedLocator
* @return {[type]}
*/
function gmwLocatorFailed( returnedLocator ) {
//show faield message
$('#gmw-cl-message-'+gmwClObject['elementID']).addClass('error').html('Geocoder failed due to: ' + returnedLocator.message );
setTimeout(function() {
$('#gmw-cl-respond-wrapper-'+gmwClObject['elementID']).slideToggle();
$('#gmw-cl-message-'+gmwClObject['elementID']).html('');
$('.gmw-cl-address-input').