HabitatMap/AirCasting

View on GitHub
app/assets/stylesheets/modules/heatmap-button.scss

Summary

Maintainability
Test Coverage
.heatmap-button {
  @include flexbox();
  @include justify-content(center);
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: $darker-shadow;
  cursor: pointer;
  height: 25px;
  margin: 0 0 3px 12px;
  width: 25px;

  &:first-of-type {
    margin-left: 20px;
  }

  &:not(.heatmap-button--fit-scale) {
    img {
      width: 11px;
    }
  }

  img {
    height: 25px;
  }

  @media screen and (max-width: $tablet-max) {
    display: none;
  }
}