diff --git a/sigi/apps/home/static/home/css/openmap.css b/sigi/apps/home/static/home/css/openmap.css index 597ff43..bfda598 100644 --- a/sigi/apps/home/static/home/css/openmap.css +++ b/sigi/apps/home/static/home/css/openmap.css @@ -1,12 +1,17 @@ -body, html, .mapbox, #map { +body, +html, +.mapbox, +#map { height: 100%; width: 100%; } + #content { height: 91%; } + .filterwrap { - background-color: rgba(255,255,255,0.5); + background-color: rgba(255, 255, 255, 0.5); position: absolute; top: 0; left: 0; @@ -15,13 +20,15 @@ body, html, .mapbox, #map { max-height: 100%; overflow-y: auto; } + .region-ufs { margin-left: 15px; } + .autocomplete-content { max-width: 300px; - -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05); - box-shadow: 0 1px 2px rgba(0,0,0,.05); + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05); + box-shadow: 0 1px 2px rgba(0, 0, 0, .05); border-color: #ddd; margin-bottom: 20px; background-color: #fff; @@ -30,6 +37,7 @@ body, html, .mapbox, #map { padding: 15px; z-index: 99999 !important; } + .dropdown-content li>span { font-size: 13px; line-height: 13px; @@ -47,4 +55,16 @@ body, html, .mapbox, #map { display: list-item; padding: 3px 3px 3px 20px; font-weight: bold; +} + +li>a.center-map, +li>a.clear-filters { + padding: 0px; +} + +li>a.center-map>i.material-icons, +li>a.clear-filters>i.material-icons { + color: var(--main-bg-color); + border-color: var(--main-bg-color); + margin: 0px 10px 0px 0px; } \ No newline at end of file diff --git a/sigi/apps/home/templates/home/mapfilter.html b/sigi/apps/home/templates/home/mapfilter.html index 9916073..98247b9 100644 --- a/sigi/apps/home/templates/home/mapfilter.html +++ b/sigi/apps/home/templates/home/mapfilter.html @@ -33,8 +33,8 @@ Total de Órgãos selecionados: - -my_location -clear_all +my_location +clear_all
  • {% trans "Por Tipo de órgão" %}
    diff --git a/sigi/apps/home/templates/home/openmap.html b/sigi/apps/home/templates/home/openmap.html index 9bb7bec..ea919f0 100644 --- a/sigi/apps/home/templates/home/openmap.html +++ b/sigi/apps/home/templates/home/openmap.html @@ -160,7 +160,7 @@ }) } - $("#clear-filters").click(function(event) { + $(".clear-filters").click(function(event) { event.preventDefault(); $("input[type=checkbox][name=tipo_orgao]").prop('checked', false); $("input[type=checkbox][name=tipo_servico]").prop('checked', false); @@ -170,7 +170,7 @@ $("input[type=checkbox][name=gerente]").prop('checked', false); filtra(); }); - $("#center-map").click(function(event) { + $(".center-map").click(function(event) { event.preventDefault(); mymap.flyTo(map_center, 4.5); }); @@ -192,178 +192,5 @@ mark.openPopup(); } } - -{% endblock %} - -{% comment %} - - - - - - {% trans 'SIGI' %} - - - - -
    - -
    - -
    - -
    - - - - - -{% endcomment %} \ No newline at end of file +{% endblock %} \ No newline at end of file