.notification { display: flex; padding: 16px !important; gap: 12px; animation: appear 0.2s ease-out; } .notification.notification-mention { margin-top: 16px; } .only-mentions .notification:not(.notification-mention), .only-mentions .timeline-empty { display: none; } .notification.skeleton { color: var(--outline-color); } .notification-type { width: 24px; flex-shrink: 0; opacity: 0.75; color: var(--text-insignificant-color); line-height: 0; } .notification-type.notification-mention { color: var(--reply-to-color); } .notification-type.notification-favourite { color: var(--favourite-color); } .notification-type.notification-reblog { color: var(--reblog-color); } .notification-type.notification-poll { color: var(--link-color); } .notification .reblog-icon { color: var(--reblog-color); } .notification .favourite-icon { color: var(--favourite-color); } .notification .account-avatar-stack { position: relative; text-align: center; } .notification .account-avatar-stack .account-sub-icons { display: block; width: fit-content; margin: -0.25em auto 0; line-height: 1; background-color: var(--bg-blur-color); /* background-image: linear-gradient( to bottom, var(--bg-color), var(--bg-blur-color) ); */ backdrop-filter: blur(16px) saturate(3); padding: 2px 4px; border-radius: 999px; overflow: hidden; border: var(--hairline-width) solid var(--bg-color); box-shadow: 0 1px var(--drop-shadow-color); } .notification .avatars-stack .account-avatar-stack .account-sub-icons .icon { transition: transform 0.2s ease-out; } .notification .avatars-stack:hover .account-avatar-stack .account-sub-icons .icon { transform: rotate(-15deg); } .notification .avatars-stack:hover .account-avatar-stack .account-sub-icons .icon + .icon { transform: rotate(15deg); } .notification .status-link { border-radius: 8px; border: 1px solid var(--outline-color); max-height: 160px; overflow: hidden; filter: saturate(0.25); } .notification .status-link:not(.status-type-mention) > .status { max-height: 160px; overflow: hidden; /* fade out mask gradient bottom */ mask-image: linear-gradient( rgba(0, 0, 0, 1) 130px, rgba(0, 0, 0, 0.5) 145px, transparent 159px ); } .notification .status-link.status-type-mention { max-height: 320px; filter: none; background-color: var(--bg-color); margin-top: calc(-16px - 1px); border-color: var(--reply-to-color); box-shadow: 0 0 0 3px var(--reply-to-faded-color); } .notification .status-link:is(:hover, :focus) { background-color: var(--bg-blur-color); filter: saturate(1); border-color: var(--outline-hover-color); } .notification .status-link.status-type-mention:is(:hover, :focus) { border-color: var(--reply-to-color); box-shadow: 0 0 5px var(--reply-to-color); } .notification .status-link:active { filter: brightness(0.95); } .notification .status-link > * { pointer-events: none; } .notification-content { flex-grow: 1; min-width: 0; } .notification-content p:first-child { margin-top: 0; margin-bottom: 8px; } #mentions-option { float: right; margin-top: 0.5em; } #mentions-option label { color: var(--text-insignificant-color); display: inline-block; padding: 1em 16px; position: relative; cursor: pointer; z-index: 1; font-size: 90%; background-color: var(--bg-blur-color); border-radius: 2em; } #mentions-option label:has(:checked) { color: var(--text-color); background-color: var(--bg-color); } .follow-requests { padding-block-end: 16px; } .follow-requests ul { list-style: none; padding: 0; margin: 0; max-height: 50vh; max-height: 50dvh; overflow: auto; border-bottom: var(--hairline-width) solid var(--outline-color); } .follow-requests ul li { display: flex; align-items: center; padding: 16px; border-bottom: var(--hairline-width) solid var(--outline-color); justify-content: space-between; column-gap: 16px; row-gap: 4px; flex-wrap: wrap; } .follow-requests ul li:last-child { border-bottom: none; } .follow-requests ul li .follow-request-buttons { margin: 0; padding: 0; display: flex; flex: 1; gap: 4px; justify-content: flex-end; align-items: center; } .follow-requests ul li .follow-request-buttons .loader-container { order: -1; }