Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can — learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company 👇

1.9 KB
Raw Blame
// ©AngelaMos | 2026
// Globe.module.scss

.globeWrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.legend {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.legendRow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1;
}

.legendDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hbWrap {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: none;
}

.hbConnecting,
.hbLive,
.hbDead {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hbConnecting {
  background: var(--fg-3);
}

.hbLive {
  background: var(--ok);
}

.hbDead {
  background: #f87171;
}

.hbRing {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ok);
  animation: hb-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes hb-ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

.hbLabel {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1;
}

@keyframes drag-hint-fade {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}

.dragHint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  animation: drag-hint-fade 3.5s ease-in-out 1.2s 1 forwards;
}