src/map/app.scss
// Substance styles
@import 'node_modules/substance/ui/styles/index';

html, body, #map {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

::-webkit-scrollbar {
  width:3px;
  height:3px;
  border-left:0;
  background:rgba(0,0,0,0.1);
}
::-webkit-scrollbar-track {
  background:none;
}
::-webkit-scrollbar-thumb {
  background:#777;
  border-radius:0;
}

#map_container {
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
}

.map-sidebar {
  height: 100%;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  background: rgba(255,255,255,.9);
  width: 350px;
  z-index: 999;
  cursor: default;
  -webkit-box-shadow: 0px 7px 7px 5px #ccc;
  -moz-box-shadow: 0px 7px 7px 5px #ccc;
  box-shadow: 0px 7px 7px 5px #ccc;

  .details {
    overflow-y: auto;
    bottom: 75px;
    position: absolute;
    top: 0px;
    padding: 10px;
    width: 100%;
    .list {
      padding-top: 30px;
      .item {
        padding: 8px;
        line-height: 20px;
        border-top: 1px solid #ddd;
        font-size: 12px;
        cursor: pointer;
        z-index: 999999;
      }
    }
  }
}

.filters {
  background: #fff;
  position: absolute;
  bottom: 0px;
  z-index: 99999;
  border-radius: 3px;
  font-size: 14px;
  -webkit-box-shadow: 3px 0px 13px -3px #000;
  -moz-box-shadow: 3px 0px 13px -3px #000;
  box-shadow: 3px 0px 13px -3px #000;

  button {
    padding: 10px 10px;
    cursor: pointer;
    opacity: 0.4;
    width: 100%;
    float: left;
    padding-left: 35px;
    border-bottom: 1px solid #ddd;
    border-right: 5px solid #555;
    i {
      padding-right: 10px;
    }
    &.active {
      opacity: 1;
      border-right: 5px solid #A5D06C;
    }
  }

  .show {
    float: right;
    font-size: 16px;
    padding: 0px;
  }
}

.leaflet-marker-icon.icon {
  border-radius: 50%;
  background-color: rgba(129, 180, 232, 0.3);
  color: rgba(64, 62, 62, 0.5);
  padding-top: 4px;
  padding-left: 6px;
  font-size: 21px;
  &:hover {
    background-color: rgba(129, 180, 232, 0.4);
    color: rgba(64, 62, 62, 0.7);
  }
}

.leaflet-marker-icon.icon-prison {
  padding-top: 6px;
  padding-left: 7px;
  font-size: 18px;
}

.leaflet-marker-icon i {
  pointer-events: none;
}

/* Marker tweaks */
.leaflet-popup-close-button {
  display:none;
}
.leaflet-popup-content {
  font:400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
  padding:0;
  width:205px;

  div {
    padding:10px;
  }

  h3 {
    background: #A0A0A0;
    color: #fff;
    margin: 0;
    display: block;
    padding: 5px 10px;
    border-radius: 3px 3px 0 0;
    margin-top: -15px;
  }

  p.stats {
    padding: 10px;
    font-size: 12px;
  }
}
.leaflet-popup-content-wrapper {
  padding:0;
}


// Entities

.entity {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 24px;
  min-height: 100px;
  padding-top: 30px;
  .resource-header {
    position: relative;
    padding-bottom: 10px;
    color: rgb(80, 80, 80);
    .entity-type {
      font-weight: normal;
      font-size: 12px;
      padding-right: 140px;
      line-height: 18px;
      padding-top: 3px;
    }
    .location {
      position: absolute;
      right: 0px;
      overflow: auto;
      float: right;
      font-size: 12px;
      text-align: center;
      top: 0px;
      max-width: 140px;
    }
    .name {
      padding-right: 140px;
    }
  }
  .stats {
    padding: 10px 0px;
    font-size: 14px;

    i {
      padding-right: 10px;
    }
  }
  .description {
    font-size: 13px;
    padding-bottom: 10px;
  }
}

.entity.location .description {
  padding-top: 0px;
}


// Documents 

.document.preview {
  color: inherit;
  font-size: 15px;
  border-top: 1px solid #ddd;
  height: 100%;
  display: block;
  padding: 10px;
  &:hover {
    color: inherit;
  }
  .meta-info {
    overflow: auto;
    color: #888;
    font-style: italic;
    font-size: 13px;
    padding-bottom: 3px;
  }
}

.document.preview .meta-info > div {
  float: left;
  margin-right: 20px;
}

.helper.click {
  position: fixed;
  top: 0;
  right: 0;
  background: rgba(255,255,255,.7);
  text-align: center;
  font-size: 13px;
  height: 30px;
  border-bottom: 1px #E8E8E8 solid;
  line-height: 30px;
  color: #505050;
  width: 350px;
  -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.helper.back {
  background-color: #f7f7f7;
  background-image: -webkit-linear-gradient(#fcfcfc, #f7f7f7);
  background-image: linear-gradient(#fcfcfc, #f7f7f7);
  &:hover {
    text-decoration: none;
    background-color: #f1f1f1;
    background-image: -webkit-linear-gradient(#f7f7f7, #f1f1f1);
    background-image: linear-gradient(#f7f7f7, #f1f1f1);
  }
}

.helper.click.back {
  cursor: pointer;
}