Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.4 KB
Raw Blame
.TileDecorations__group-title {
    position: absolute;
    top: 0;
    left: 2rem;
    z-index: 10;
    max-width: calc(100% - 4rem);
    padding: 0 0.375rem;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25rem;
    color: var(--color-text-secondary);
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    background: var(--color-bg-surface-primary);
    border: 1px solid var(--color-border-primary);
    border-radius: var(--radius);
    transform: translateY(-50%);
}

.TileDecorations__crown {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    font-size: 1.5rem;
    color: var(--color-text-warning);
    pointer-events: none;
    transform: translate(-35%, -50%) rotate(-20deg);
}

// The window clips the hog, so it slides up from behind the card's top edge when the card that holds it is hovered.
.TileDecorations__hog {
    position: absolute;
    right: 1rem;
    bottom: 100%;
    z-index: 10;
    width: 3rem;
    height: 2.25rem;
    overflow: hidden;
    pointer-events: none;

    img {
        transition: transform var(--tile-hog-slide-duration, 200ms) ease-out;
        transform: translateY(100%);

        @media (prefers-reduced-motion: reduce) {
            transition: none;
        }
    }
}

:hover > .TileDecorations__hog img {
    transform: translateY(0);
}