140 lines
2.2 KiB
SCSS
140 lines
2.2 KiB
SCSS
|
.reply-indicator {
|
||
|
border-radius: 4px;
|
||
|
margin-bottom: 10px;
|
||
|
background: $gab-background-base-light;
|
||
|
padding: 10px;
|
||
|
min-height: 23px;
|
||
|
overflow-y: auto;
|
||
|
flex: 0 2 auto;
|
||
|
max-height: 500px;
|
||
|
|
||
|
@media screen and (min-width: 320px) and (max-width: 375px) {
|
||
|
max-height: 220px;
|
||
|
}
|
||
|
|
||
|
@media screen and (max-width: 320px) {
|
||
|
max-height: 130px;
|
||
|
}
|
||
|
|
||
|
&__header {
|
||
|
margin-bottom: 5px;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
&__cancel {
|
||
|
float: right;
|
||
|
line-height: 24px;
|
||
|
}
|
||
|
|
||
|
&__display-name {
|
||
|
color: $inverted-text-color;
|
||
|
display: block;
|
||
|
max-width: 100%;
|
||
|
line-height: 24px;
|
||
|
overflow: hidden;
|
||
|
padding-right: 25px;
|
||
|
text-decoration: none;
|
||
|
|
||
|
&:hover strong {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__display-avatar {
|
||
|
float: left;
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.reply-indicator-content {
|
||
|
position: relative;
|
||
|
font-size: 15px;
|
||
|
line-height: 20px;
|
||
|
word-wrap: break-word;
|
||
|
font-weight: 400;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
padding-top: 2px;
|
||
|
color: $primary-text-color;
|
||
|
|
||
|
&:focus {
|
||
|
outline: 0;
|
||
|
}
|
||
|
|
||
|
&.status__content--with-spoiler {
|
||
|
white-space: normal;
|
||
|
|
||
|
.status__content__text {
|
||
|
white-space: pre-wrap;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.emojione {
|
||
|
width: 20px;
|
||
|
height: 20px;
|
||
|
margin: -3px 0 0;
|
||
|
}
|
||
|
|
||
|
p {
|
||
|
margin-bottom: 20px;
|
||
|
white-space: pre-wrap;
|
||
|
|
||
|
&:last-child {
|
||
|
margin-bottom: 2px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: $gab-brand-default;
|
||
|
text-decoration: none;
|
||
|
|
||
|
&:hover {
|
||
|
text-decoration: underline;
|
||
|
|
||
|
.fa {
|
||
|
color: lighten($dark-text-color, 7%);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&.mention {
|
||
|
&:hover {
|
||
|
text-decoration: none;
|
||
|
|
||
|
span {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.fa {
|
||
|
color: $dark-text-color;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.status__content__spoiler-link {
|
||
|
background: $action-button-color;
|
||
|
|
||
|
&:hover {
|
||
|
background: lighten($action-button-color, 7%);
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
&::-moz-focus-inner {
|
||
|
border: 0;
|
||
|
}
|
||
|
|
||
|
&::-moz-focus-inner,
|
||
|
&:focus,
|
||
|
&:active {
|
||
|
outline: 0 !important;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.status__content__text {
|
||
|
display: none;
|
||
|
|
||
|
&.status__content__text--visible {
|
||
|
display: block;
|
||
|
}
|
||
|
}
|
||
|
}
|