Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

2.4 KB
Raw Blame
@use "variables";

.wv-alert-dropdown {
  position: absolute;
  top: 60px;
  right: 50px;
  left: auto;
  width: 450px;
  background: #282828;


  button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    color: #fff;
    background: #282828;
    border: #282828;
    border-radius: 0;
    min-height: 40px;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    margin-bottom: 5px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.wv-alert-container {
  max-height: 300px;
  overflow-y: scroll;
}

.wv-alert {
  position: relative;
  color: #fff;
  background: #282828;
  border: #282828;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  margin-bottom: 5px;
}

.alert-content {
  padding-right: 3px;
  display: flex;
  align-items: center;
  min-height: 50px;
  width: 100%;
}

.alert-text {
  display: flex;
  flex-direction: column;
}

.wv-alert-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 40px;
  color: #fff;
}

.wv-alert .close-alert {
  padding: 11px 2px;
  text-align: center;
  width: 36px;
  margin: 0;
}

.wv-alert div:hover {
  background-color: #ddd;
  color: #333;
}

.wv-alert svg.svg-inline--fa {
  color: #d54e21;
  margin: 0 10px;
  font-size: 1.4em;
}

.wv-alert svg.svg-inline--fa.exit {
  color: #fff;
  margin-left: 10px;
}

.wv-alert div:hover .exit {
  color: #333;
}

.wv-alert-icon svg.svg-inline--fa {
  padding-left: 3px;
  margin-left: 5px;
}

/* ErrorBoundary */
.error-icon {
  margin-right: 10px;
  vertical-align: middle;
}

.error-header {
  margin-top: 5px;
}

.error-body {
  margin-top: 10px;
}

@media (max-width: variables.$mobile-max-width) {
  .wv-alert {
    min-height: 50px;
    font-size: 12px;

    svg.svg-inline--fa.wv-alert-icon {
      font-size: 2em;
    }
  }

  .alert-content {
    width: 85%;
    left: 0;
    position: absolute;
  }

  .wv-alert-container {
    position: absolute;
    top: 110px;
    right: 5px;
    left: 5px;
  }

  .wv-alert-icon {
    padding-left: 3px;
    margin-left: 5px;
  }

  .wv-alert-message {
    font-size: 14px;
    line-height: 16px;
  }

  .close-alert {
    position: absolute;
    right: 0;
    width: 15%;

    svg.svg-inline--fa.exit {
      font-size: 1.75em;
    }
  }
}