Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

1.2 KB
Raw Blame
.marker {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--base-color-1, #fff);
  padding: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s ease-in-out;
}

.marker:hover,
.marker:focus-visible {
  transform: translate(-50%, -50%) scale(1.3);
  outline: none;
}

.count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 600;
  line-height: 14px;
  color: #fff;
  background: inherit;
  border: 1px solid var(--base-color-1, #fff);
  pointer-events: none;
}

.note {
  max-width: 300px;
  white-space: pre-wrap;
  word-break: break-word;
}

.noteFull {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.noteText {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.moreButton {
  align-self: center;
  min-height: 0;
  padding: 2px 4px;
  border-radius: 4px;
  color: inherit;
  opacity: 0.8;
}

.moreButton:hover,
.moreButton:focus-visible {
  background-color: rgba(255, 255, 255, 0.15);
  opacity: 1;
}