Sha256: 42abe70484059fa6e96959c6d277be3fbadb548aac1d3de9484a8acbc0ac499d

Contents?: true

Size: 1.08 KB

Versions: 8

Compression:

Stored size: 1.08 KB

Contents

// = require decidim/map
@import "decidim/decidim_awesome/awesome_map/leaflet";

// Increase z-index for components menu otherwise map hides menu extensions
.dropdown-pane{
  z-index: 1000;
}
// Override padding in this component
.wrapper{
  padding: 0;

  .callout.announcement{
    margin-top: 2rem;
  }

  .google-map{
    margin-bottom: 0;
  }

  .leaflet-control-layers-list{
    hr{
      margin: .5em 0;
    }

    b{
      margin: 1em 0;
      display: block;
    }

    label{
      line-height: 1;
      font-size: .8rem;
      margin: 0 0 .5em;

      i{
        display: inline-block;
        width: .8rem;
        height: .8rem;
        background-color: var(--primary);
      }
    }

    input{
      margin: 0;
    }
  }

  #map{
    height: 700px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    .leaflet-marker-icon.svg-icon svg path{
      filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, .7));
    }
  }

  .map-legend{
    background: rgba(255, 255, 255, .8);
    padding: 1em;
    border: 2px solid #bbb;
    border-radius: 4px;
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-decidim_awesome-0.6.6 app/assets/stylesheets/decidim/decidim_awesome/awesome_map/map.scss
decidim-decidim_awesome-0.6.5 app/assets/stylesheets/decidim/decidim_awesome/awesome_map/map.scss
decidim-decidim_awesome-0.6.4 app/assets/stylesheets/decidim/decidim_awesome/awesome_map/map.scss
decidim-decidim_awesome-0.6.3 app/assets/stylesheets/decidim/decidim_awesome/awesome_map/map.scss
decidim-decidim_awesome-0.6.2 app/assets/stylesheets/decidim/decidim_awesome/awesome_map/map.scss
decidim-decidim_awesome-0.6.1 app/assets/stylesheets/decidim/decidim_awesome/awesome_map/map.scss
decidim-decidim_awesome-0.6.0 app/assets/stylesheets/decidim/decidim_awesome/awesome_map/map.scss
decidim-decidim_awesome-0.5.1 app/assets/stylesheets/decidim/decidim_awesome/awesome_map/map.scss