Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

2.0 KB
Raw Blame
.banner {
  position: sticky;
  top: 0;
  z-index: 11;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, var(--mantine-color-primary-0), var(--mantine-color-secondary-0));
  border-bottom: 1px solid var(--mantine-color-primary-2);
  color: var(--hi-primary);
  animation: bannerSlideDown 0.35s ease-out;

  @media (max-width: 768px) {
    flex-wrap: wrap;
    padding: 0.65rem 1rem;
  }
}

@keyframes bannerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.bannerIcon {
  flex-shrink: 0;
  color: var(--hi-primary-alt);
}

.bannerText {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;

  @media (max-width: 768px) {
    flex-direction: column;
    gap: 0.15rem;
  }
}

.bannerTitle {
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.bannerContent {
  font-size: 0.9rem;
  color: var(--hi-secondary-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  @media (max-width: 768px) {
    white-space: normal;
  }
}

.bannerActions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.modal {
  :global(.mantine-Modal-body) {
    padding: 0;
  }
}

.modalContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

.modalEmoji {
  margin-bottom: 1rem;
}

.modalTitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mantine-color-dark-7);
  margin-bottom: 0.5rem;
}

.modalBody {
  color: var(--mantine-color-dimmed);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 100%;
  overflow-wrap: break-word;

  img {
    max-width: 100%;
    height: auto;
    border-radius: var(--hi-radius-md);
  }

  a {
    color: var(--hi-link-color);
  }

  p:last-child {
    margin-bottom: 0;
  }
}

.modalActions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}