.status { @apply min-h-[54px] cursor-default; @supports (-ms-overflow-style: -ms-autohiding-scrollbar) { // Add margin to avoid Edge auto-hiding scrollbar appearing over content. // On Edge 16 this is 16px and Edge <=15 it's 12px, so aim for 16px. padding-right: 26px; // 10px + 16px } @keyframes fade { 0% { opacity: 0; } 100% { opacity: 1; } } opacity: 1; animation: fade 150ms linear; &.light { .display-name { strong { color: var(--primary-text-color); } span { color: var(--primary-text-color--faint); } } .status__content { color: var(--primary-text-color); a { color: var(--highlight-text-color); } } } &__meta { font-size: 14px; color: var(--primary-text-color--faint); a { color: var(--brand-color); font-weight: bold; text-decoration: none; &:hover { text-decoration: underline; } } } } [column-type=filled] .status__wrapper, [column-type=filled] .status-placeholder { @apply rounded-none shadow-none p-4; } .status-check-box { @apply flex items-center justify-between; .status-check-box__status { @apply py-2; .media-gallery { max-width: 250px; } .status__content { @apply p-0 text-gray-700 dark:text-gray-500 text-sm whitespace-normal; } .video-player, .audio-player { margin-top: 8px; max-width: 250px; } .media-gallery__item-thumbnail { cursor: default; } } } .status-check-box-toggle { align-items: center; display: flex; flex: 0 0 auto; justify-content: center; padding: 10px; } .focusable:focus, .focusable-within:focus-within { outline: 0; /* Required b/c HotKeys lib sets this outline */ @apply ring-2 ring-primary-300; .status.status-direct { &.muted { background: transparent; } } } .status-card { @apply flex text-sm border border-solid border-gray-200 dark:border-gray-800 rounded-lg text-gray-800 dark:text-gray-200 mt-3 min-h-[150px] no-underline overflow-hidden; } a.status-card { @apply cursor-pointer hover:bg-gray-100 dark:hover:bg-primary-800/30 hover:no-underline; } .status-card-photo { @apply cursor-zoom-in block no-underline w-full h-auto; } .status-card-video, .status-card-audio { iframe { width: 100% !important; height: 100% !important; } } .status-card__host { @apply text-primary-600 dark:text-accent-blue; display: flex; margin-top: 10px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; align-items: center; .svg-icon { height: 15px; width: 15px; margin-right: 3px; } } .status-card__image { flex: 0 0 40%; background: var(--brand-color--med); position: relative; overflow: hidden; & > .svg-icon { width: 40px; height: 40px; position: absolute; transform-origin: 50% 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); svg { stroke-width: 1px; } } &--empty { flex: 0 0 80px; } } .status-card.horizontal { display: block; .status-card__title { white-space: inherit; } } .status-card.compact { @apply border-gray-200 dark:border-gray-800; } .status-card__image-image { @apply block w-full h-full object-cover bg-cover bg-center; } .status-card--link { @apply flex flex-col md:flex-row; } .material-status { padding-bottom: 10px; &__status { @include standard-panel; padding: 15px 0 10px; } .status { padding: 8px 10px; &__avatar { position: relative; margin-right: 10px; top: 0; left: 0; } &__profile { display: flex; align-items: center; } &__content { padding-top: 10px; } &__display-name { .display-name__account { display: block; } } } } @media screen and (min-width: 630px) { .columns-area .material-status .status { padding: 15px; &__avatar { top: 0; left: 0; } &__content { padding-top: 10px; } } } .attachment-thumbs { position: relative; &__clickable-region { cursor: pointer; position: absolute; width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0; } }