Sha256: e4ee813f489382548438357a28ac91beed1037d05e0cd66ae16183217cd37c90

Contents?: true

Size: 1.47 KB

Versions: 15

Compression:

Stored size: 1.47 KB

Contents

/*
  NOTE: Bad practice. These dependencies should not be loaded in this way (as static files),
  but leaflet makes use of image files, which are being wrong resolved by webpack,
  as currently is missing the "file-loader" in the webpack.config.js

  See https://github.com/Leaflet/Leaflet/issues/4849 for further info
*/
@import "stylesheets/decidim/legacy/leaflet";
@import "stylesheets/decidim/legacy/MarkerCluster";
@import "stylesheets/decidim/legacy/MarkerCluster.Default";

/* overwrite leaflet and card styles */
.leaflet-popup-content-wrapper {
  @apply bg-black w-fit rounded text-left text-white;

  .card__list {
    @apply border-tertiary focus:outline-none;

    &-metadata {
      @apply gap-1 md:gap-4 flex-wrap md:flex-nowrap;
    }

    &-metadata span:not([class]) {
      @apply md:px-0 md:border-0;
    }

    &-metadata span:not([class]),
    &-metadata svg,
    &-title {
      @apply font-sans text-white;
    }

    &-title {
      @apply truncate;
    }

    &-content {
      @apply w-full;
    }

    &:focus &-title {
      @apply underline;
    }
  }
}

.leaflet-popup-tip {
  @apply bg-black;
}

.leaflet-div-icon {
  @apply text-secondary border-0 bg-transparent;
}

[data-decidim-map] {
  @apply h-full bg-background z-0;
}

.map__skip {
  @apply absolute z-10 top-1 left-1 -translate-y-full py-1 px-4 bg-primary rounded-br-lg text-white cursor-pointer transition focus:translate-y-0;

  &-container {
    @apply relative overflow-hidden focus-within:overflow-visible;
  }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
decidim-core-0.29.2 app/packs/stylesheets/decidim/map.scss
decidim-core-0.28.5 app/packs/stylesheets/decidim/map.scss
decidim-core-0.29.1 app/packs/stylesheets/decidim/map.scss
decidim-core-0.28.4 app/packs/stylesheets/decidim/map.scss
decidim-core-0.29.0 app/packs/stylesheets/decidim/map.scss
decidim-core-0.28.3 app/packs/stylesheets/decidim/map.scss
decidim-core-0.29.0.rc4 app/packs/stylesheets/decidim/map.scss
decidim-core-0.29.0.rc3 app/packs/stylesheets/decidim/map.scss
decidim-core-0.29.0.rc2 app/packs/stylesheets/decidim/map.scss
decidim-core-0.29.0.rc1 app/packs/stylesheets/decidim/map.scss
decidim-core-0.28.2 app/packs/stylesheets/decidim/map.scss
decidim-core-0.28.1 app/packs/stylesheets/decidim/map.scss
decidim-core-0.28.0 app/packs/stylesheets/decidim/map.scss
decidim-core-0.28.0.rc5 app/packs/stylesheets/decidim/map.scss
decidim-core-0.28.0.rc4 app/packs/stylesheets/decidim/map.scss