soapbox/app/styles/components/detailed-status.scss

161 lines
2.5 KiB
SCSS
Raw Normal View History

2020-05-22 01:33:55 +00:00
.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;
}
}
2020-05-22 01:33:55 +00:00
}
2020-06-25 02:53:25 +00:00
.video-player,
.audio-player {
2020-05-22 01:33:55 +00:00
margin-top: 8px;
}
}
.detailed-status__meta {
margin-top: 15px;
2020-06-07 03:55:00 +00:00
color: var(--primary-text-color--faint);
2020-05-22 01:33:55 +00:00
font-size: 14px;
line-height: 18px;
display: flex;
2020-07-06 21:39:20 +00:00
i {
margin-right: 0.4em;
}
2020-05-22 01:33:55 +00:00
}
.detailed-status__action-bar {
2020-06-07 03:55:00 +00:00
border-top: 1px solid var(--brand-color--faint);
border-bottom: 1px solid var(--brand-color--faint);
2020-05-22 01:33:55 +00:00
display: flex;
flex-direction: row;
}
.detailed-status__link {
2020-06-07 03:55:00 +00:00
color: var(--primary-text-color--faint);
2020-05-22 01:33:55 +00:00
cursor: pointer;
text-decoration: none;
font-size: 13px;
}
.detailed-status__button {
2020-05-23 17:18:13 +00:00
padding: 10px 0;
}
2020-05-23 17:18:13 +00:00
.status__button,
.detailed-status__button {
2020-05-22 01:33:55 +00:00
.icon-button {
display: inline-flex;
align-items: center;
.icon_button__text {
font-size: 14px;
padding-left: 3px;
}
}
.emoji-picker-expand {
display: none;
}
&:focus-within {
.emoji-picker-expand {
display: inline-flex;
width: 0;
overflow: hidden;
&:focus-within {
width: unset;
}
}
}
2020-05-22 01:33:55 +00:00
}
2020-05-23 17:18:13 +00:00
.detailed-status__wrapper {
2021-09-13 00:33:00 +00:00
@include standard-panel;
margin: 10px 0;
2020-05-23 17:18:13 +00:00
position: relative;
2021-09-13 00:33:00 +00:00
overflow: hidden;
2020-05-23 17:18:13 +00:00
}
2020-06-03 02:11:01 +00:00
.detailed-status__application,
.detailed-status__datetime {
color: inherit;
}
.detailed-status__display-name {
2020-06-07 03:55:00 +00:00
color: var(--primary-text-color--faint);
2020-06-03 02:11:01 +00:00
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;
}
2020-06-03 02:11:01 +00:00
.display-name__account {
display: block;
margin-top: -5px;
2020-06-03 02:11:01 +00:00
}
}
.detailed-status__display-avatar {
float: left;
margin-right: 10px;
}
2020-09-03 01:49:40 +00:00
.detailed-status .status__favicon {
float: left;
margin-right: 5px;
}