Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

1.2 KB
Raw Blame
/*
 * WV Wait Widget
 */

.wv-wait-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  margin: 10px 0;
  background-color: #222;
  color: white;
  border: none;
  flex-direction: column;
  border-radius: 6px;
  opacity: 1;
}

.wv-wait-progress-message {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: white;
}

.wv-wait-progress-message::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: wv-wait-spin 1s linear infinite;
}

.wv-wait-progress-actions {
  flex-shrink: 0;
  padding: 1rem;
}

@keyframes wv-wait-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.wv-wait-progress-dialog {
  position: absolute;
  background-color: #222;
  color: white;
  left: 0;
  top: 40%;
  z-index: 9999999999;
  box-sizing: unset;
  opacity: 1;
  border: 1px solid #555;
  border-radius: 6px;

  button {
    cursor: pointer;
  }
}

.wv-wait-progress-overlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgb(0 0 0 / 95%);
  opacity: 1;
  cursor: wait;
  width: 100%;
  height: 100%;
  z-index: 2;
}