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.

2.1 KB
Raw Blame
.ActivityLog {
    &.notifications-menu {
        max-width: 25rem;
    }

    .ActivityDescription {
        padding: 1rem;
        background: var(--color-bg-surface-primary);
        border: 1px solid var(--color-border-primary);
        border-radius: var(--radius);

        .taxonomic-breakdown-filter.tag-pill {
            padding: 0;
            font-size: 0.8125rem;
            vertical-align: unset;
            background: none;
            border: none;
            border-radius: 0;
        }

        section:not(:last-child) {
            margin-bottom: 0.5rem;
        }
    }

    .page-caption {
        max-width: 50rem;
    }
}

.ActivityLogRow-wrapper {
    .ActivityLogRow__copy-link {
        pointer-events: none;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.15s ease-in-out;
    }

    &:hover .ActivityLogRow__copy-link,
    &:focus-within .ActivityLogRow__copy-link {
        pointer-events: auto;
        visibility: visible;
        opacity: 1;
    }
}

.ActivityLogRow--highlighted {
    border-radius: var(--radius);
    animation: ActivityLogRow__HighlightFade 3s ease-out;
}

.ActivityLogRow {
    line-height: 24px;
    overflow-wrap: anywhere;

    &--unread {
        background-color: var(--color-accent-highlight-secondary);
        border-radius: var(--radius);
    }

    .ProfilePicture {
        flex-grow: 0;
    }

    .ActivityLogRow__details {
        .highlighted-activity {
            display: inline;
            background-color: var(--mark);

            & > .PersonDisplay {
                min-width: 5.5rem;
            }
        }
    }

    .ActivityLogRow__summary,
    .ActivityLogRow__description {
        ul.bullet-list {
            padding-left: 20px;
            list-style-type: disc;

            li {
                display: list-item;
            }
        }
    }

    .ActivityLogRow__description__extended {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

@keyframes ActivityLogRow__HighlightFade {
    0% {
        background-color: var(--color-accent-highlight-secondary);
    }

    100% {
        background-color: transparent;
    }
}