.topic-map { // Hide the Top Replies label if summarization is enabled &:has(.topic-map__additional-contents .ai-summarization-button) { .top-replies { .d-icon { margin: 0; height: 1.2em; } .d-button-label { display: none; } } } // Hide the Summarize label when there are many stats &:has(.--many-stats):has(.top-replies) .topic-map__additional-contents { button { .d-icon { margin: 0; height: 1.2em; } .d-button-label { display: none; } } } .topic-map__additional-contents { .ai-summarization-button { padding-block: 0.5em; display: flex; gap: 0.5em; button span { white-space: nowrap; } } } } .topic-map__ai-summary-content { .ai-summary-container { width: 100vw; } .ai-summary { &__list { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0; } &__list-item { background: var(--primary-300); border-radius: var(--d-border-radius); margin-right: 8px; margin-bottom: 8px; height: 1em; opacity: 0; display: block; &:nth-child(1) { width: 10%; } &:nth-child(2) { width: 12%; } &:nth-child(3) { width: 18%; } &:nth-child(4) { width: 14%; } &:nth-child(5) { width: 18%; } &:nth-child(6) { width: 14%; } &:nth-child(7) { width: 22%; } &:nth-child(8) { width: 05%; } &:nth-child(9) { width: 25%; } &:nth-child(10) { width: 14%; } &:nth-child(11) { width: 18%; } &:nth-child(12) { width: 12%; } &:nth-child(13) { width: 22%; } &:nth-child(14) { width: 18%; } &:nth-child(15) { width: 13%; } &:nth-child(16) { width: 22%; } &:nth-child(17) { width: 19%; } &:nth-child(18) { width: 13%; } &:nth-child(19) { width: 22%; } &:nth-child(20) { width: 25%; } &.is-shown { opacity: 1; } &.show { animation: appear 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95) 0s forwards; @media (prefers-reduced-motion) { animation-duration: 0s; } } @media (prefers-reduced-motion: no-preference) { &.blink { animation: blink 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both; } } } &__generating-text { display: inline-block; margin-left: 3px; } } .placeholder-summary { padding-top: 0.5em; } .placeholder-summary-text { display: inline-block; height: 1em; margin-top: 0.6em; width: 100%; } .generated-summary p { margin: 0; } .summarized-on p { display: flex; align-items: center; justify-content: flex-end; gap: 0.25em; margin-bottom: 0; } .outdated-summary { display: flex; flex-direction: column; align-items: flex-end; button { margin-top: 0.5em; } p { color: var(--primary-medium); } } } @keyframes appear { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } } .ai-topic-gist { width: 100%; .mobile-view & { position: relative; top: -0.33em; line-height: 1.4; width: 90%; } &__text { color: var(--primary-high); text-wrap: pretty; word-wrap: break-word; font-size: var(--font-down-1); max-width: 65ch; .visited & { color: var(--primary-medium); } } } .--topic-list-with-gist { .topic-list-item { .main-link { line-height: var(--line-height-medium); } .link-bottom-line { font-size: var(--font-down-1); margin-top: 0.25em; } .ai-topic-gist { font-size: var(--font-up-1); line-height: var(--line-height-large); margin-top: 0.25em; margin-bottom: 0.15em; } .topic-post-badges { font-size: var(--font-down-1); } } .mobile-view & { .topic-list { .topic-list-item > .topic-list-data { padding: 1em 0; } .topic-item-stats .num.activity { align-self: end; margin-bottom: -0.15em; // vertical alignment } .pull-left { padding-top: 0.25em; } .right { margin-left: 3.75em; } } } } .ai-gists-dropdown-trigger { font-size: var(--font-down-1); color: var(--primary-medium); padding-left: 0.25em; .mobile-view & { padding-left: 0; color: var(--primary-high); } .d-icon { color: var(--primary-low-mid); margin-left: 0.15em; } }