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.5 KB
Raw Blame
// ===================
// ©AngelaMos | 2026
// alert-feed.module.scss
// ===================

@use 'index' as *;

.frame {
  height: 100%;
  min-height: 280px;
}

.aside {
  font-family: $font-mono;
  color: $ash;
}

.scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
}

.list {
  list-style: none;
}

.entry {
  padding: $space-3;
  border-bottom: 1px solid $line-faint;
  border-left: 2px solid $line-faint;

  &:hover {
    background: $ink-800;
  }
}

.entry[data-sev='high'],
.entry[data-sev='critical'] {
  border-left-color: var(--accent);
  background: linear-gradient(
    90deg,
    rgb(255, 77, 18, 7%),
    transparent 50%
  );
}

.entry[data-sev='medium'] {
  border-left-color: var(--accent);
}

.head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: $space-2;
  margin-bottom: $space-2;
}

.time {
  font-family: $font-mono;
  font-size: $font-size-3xs;
  color: $dust;
}

.ip {
  @include truncate;

  margin-left: auto;
  max-width: 60%;
  font-family: $font-mono;
  font-size: $font-size-3xs;
  color: $volt-soft;
}

.title {
  font-size: $font-size-xs;
  font-weight: 500;
  color: $bone;
  line-height: 1.35;
}

.detail {
  margin-top: $space-1-5;
  font-family: $font-mono;
  font-size: $font-size-3xs;
  line-height: 1.55;
  color: $dust;
}

.idle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 160px;
  font-family: $font-mono;
  font-size: $font-size-3xs;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: $soot;
}