You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
soapbox/app/styles/components/detailed-status.scss

169 lines
2.8 KiB

.detailed-status__action-bar-dropdown {
flex: 1 1 auto;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.detailed-status {
padding: 14px 10px;
&--flex {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
.status__content,
.detailed-status__meta {
flex: 100%;
}
}
.status__content {
font-size: 19px;
line-height: 24px;
.emojione {
width: 24px;
height: 24px;
margin: -1px 0 0;
}
.status__content__spoiler-link {
line-height: 24px;
margin: -1px 0 0;
}
&--big {
img.emojione {
width: 56px;
height: 56px;
}
}
}
.video-player,
.audio-player {
margin-top: 8px;
}
}
.detailed-status__meta {
margin-top: 15px;
color: var(--primary-text-color--faint);
font-size: 14px;
line-height: 18px;
display: flex;
i {
margin-right: 0.4em;
}
}
.detailed-status__action-bar {
border-top: 1px solid var(--brand-color--faint);
border-bottom: 1px solid var(--brand-color--faint);
display: flex;
flex-direction: row;
}
.detailed-status__link {
color: var(--primary-text-color--faint);
cursor: pointer;
text-decoration: none;
font-size: 13px;
}
.detailed-status__button {
padding: 10px 0;
}
.status__button,
.detailed-status__button {
.icon-button {
display: inline-flex;
align-items: center;
&__text {
font-size: 14px;
padding-left: 5px;
}
}
.emoji-picker-expand {
display: none;
}
&:focus-within {
.emoji-picker-expand {
display: inline-flex;
width: 0;
height: 0;
overflow: hidden;
&:focus-within {
width: unset;
}
}
}
}
.detailed-status__wrapper {
@include standard-panel;
margin-bottom: 10px;
position: relative;
overflow: hidden;
}
.detailed-status__application,
.detailed-status__datetime {
color: inherit;
}
.detailed-status__display-name {
color: var(--primary-text-color--faint);
display: flex;
line-height: 24px;
margin-bottom: 15px;
overflow: hidden;
strong,
span {
text-overflow: ellipsis;
overflow: hidden;
}
strong {
font-size: 16px;
color: var(--primary-text-color);
}
span.hover-ref-wrapper {
display: inline;
}
.display-name__account {
display: block;
margin-top: -5px;
}
}
.detailed-status__display-avatar {
float: left;
margin-right: 10px;
}
.detailed-status .status__favicon {
float: left;
margin-right: 5px;
}
/* Connect the first status to the SubNavigation */
.detailed-status__ancestors .status-container:first-child .status__wrapper,
.detailed-status-container > div:first-child .detailed-status__wrapper {
border-top-left-radius: 0;
border-top-right-radius: 0;
}