Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

1.9 KB
Raw Blame
/* Colors */
$wv-orange: #d54e21;
$wv-transparent-black: rgb(40 40 40 / 85%);
$wv-solid-black: #282828;
$wv-white-font: #eee;
$wv-dark-gray: #666;
$wv-dark-blue: #295f92;

/* Shadows */
$wv-map-text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
$wv-modal-shadow: 2px 2px 16px rgb(0 0 0 / 65%);
$wv-tooltip-shadow: 3px 3px 6px rgb(0 0 0 / 75%);

/* Fonts */
$wv-base-font: "Public Sans", sans-serif;
$wv-bold-font: "Public Sans Bold", sans-serif;
$wv-monospace-font: "Droid Sans Mono", monospace;
$wv-menu-font-size: 16px;
$wv-date-text-shadow: 1px 1px 0 #111;

/* Misc */
$wv-menu-border-radius: 6px;
$wv-dark-menu-border: 1px solid #555;

/* Sidbar Heights */
$wv-mob-sb-tabs-height: 50px;
$wv-sidebar-event-filter-height: 65px;
$wv-sidebar-event-footer-height: 35px;
/* stylelint-disable-next-line max-line-length */
$wv-mobile-event-list-offset: $wv-mob-sb-tabs-height + $wv-sidebar-event-filter-height + $wv-sidebar-event-footer-height;

/* Responsive Breakpoints */
$mobile-max-width: 768px;
$tablet-min-width: 769px;
$tablet-max-width: 1023px;
$desktop-min-width: 1024px;

/* Mixins */
@mixin wv-modal-dialog {
  border-radius: $wv-menu-border-radius;
  box-shadow: $wv-modal-shadow;
}

@mixin wv-modal-content {
  background: $wv-solid-black;
  color: $wv-white-font;
  font-size: $wv-menu-font-size;
  border: $wv-dark-menu-border;
}

@mixin wv-map-button {
  background: $wv-transparent-black;
  border: $wv-dark-menu-border;
  border-radius: $wv-menu-border-radius;
  display: inline-block;

  &:focus {
    box-shadow: none;
  }

  &:hover {
    background-color: #eee;
    color: #1a1a1a;
  }

  &.disabled:hover {
    background-color: $wv-transparent-black;
    color: $wv-white-font;
  }
}

@mixin wv-date-chip {
  font-family: $wv-monospace-font;
  background: #555;
  color: #eee;
  text-shadow: $wv-date-text-shadow;
  border: 1px solid #000;
  border-radius: 4px;
}