2022-11-06 03:29:01 +08:00
|
|
|
.PostMention, .UserMention, .GroupMention {
|
2023-01-22 21:11:13 +08:00
|
|
|
background: var(--control-bg);
|
|
|
|
color: var(--control-color);
|
2015-07-23 12:58:39 +08:00
|
|
|
border-radius: @border-radius;
|
|
|
|
padding: 2px 5px;
|
|
|
|
border: 0 !important;
|
2021-04-21 17:58:54 +08:00
|
|
|
font-weight: 600;
|
2015-07-23 12:58:39 +08:00
|
|
|
|
|
|
|
blockquote & {
|
2023-01-22 21:11:13 +08:00
|
|
|
background: var(--body-bg);
|
2015-07-23 12:58:39 +08:00
|
|
|
}
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
2023-01-22 21:11:13 +08:00
|
|
|
color: var(--link-color);
|
2015-07-23 12:58:39 +08:00
|
|
|
}
|
|
|
|
}
|
2022-11-06 03:29:01 +08:00
|
|
|
.UserMention, .PostMention, .GroupMention {
|
2021-04-21 17:58:54 +08:00
|
|
|
&--deleted {
|
|
|
|
opacity: 0.8;
|
|
|
|
filter: grayscale(1);
|
|
|
|
}
|
|
|
|
}
|
2015-07-23 12:58:39 +08:00
|
|
|
.PostMention {
|
|
|
|
margin: 0 3px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
2022-07-16 06:16:49 +08:00
|
|
|
.fas();
|
2015-07-23 12:58:39 +08:00
|
|
|
content: @fa-var-reply;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2015-11-21 10:41:22 +08:00
|
|
|
.ComposerBody-mentionsWrapper {
|
2015-07-23 12:58:39 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.MentionsDropdown {
|
|
|
|
max-width: 500px;
|
2017-09-19 18:08:02 +08:00
|
|
|
max-height: 150px;
|
2015-07-23 12:58:39 +08:00
|
|
|
overflow: auto;
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
mark {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
> li > a:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.MentionsDropdown, .PostMention-preview, .Post-mentionedBy-preview {
|
|
|
|
.PostPreview {
|
|
|
|
color: @muted-color;
|
|
|
|
|
|
|
|
.Avatar {
|
|
|
|
.Avatar--size(24px);
|
|
|
|
margin: 0 0 0 -37px;
|
|
|
|
|
|
|
|
.MentionsDropdown-post& {
|
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.username {
|
|
|
|
color: @text-color;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.PostPreview-content {
|
|
|
|
padding-left: 37px;
|
|
|
|
overflow: hidden;
|
|
|
|
line-height: 1.7em;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.Post-mentionedBy {
|
2016-05-26 20:56:05 +08:00
|
|
|
display: inline-block;
|
2015-07-23 12:58:39 +08:00
|
|
|
}
|
|
|
|
.Post-mentionedBy-summary {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.Post-mentionedBy-preview, .PostMention-preview, .MentionsDropdown {
|
|
|
|
margin: 5px 0 !important;
|
|
|
|
|
|
|
|
> li > a {
|
|
|
|
white-space: normal;
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-08-06 11:47:21 +08:00
|
|
|
.PostMention-preview-discussion {
|
|
|
|
padding-top: 0 !important;
|
|
|
|
font-weight: bold !important;
|
2015-09-16 13:13:48 +08:00
|
|
|
white-space: normal !important;
|
2015-08-06 11:47:21 +08:00
|
|
|
}
|
2016-04-16 04:14:33 +08:00
|
|
|
.PostQuoteButton {
|
|
|
|
position: absolute;
|
2016-05-22 12:35:38 +08:00
|
|
|
.Button--color(@tooltip-color, @tooltip-bg);
|
2016-04-16 04:14:33 +08:00
|
|
|
}
|
2022-11-06 03:29:01 +08:00
|
|
|
.GroupMention {
|
2023-01-22 21:11:13 +08:00
|
|
|
background-color: var(--group-color, var(--control-bg));
|
|
|
|
color: var(--control-color);
|
|
|
|
--link-color: currentColor;
|
2022-11-06 03:29:01 +08:00
|
|
|
|
2023-01-22 21:11:13 +08:00
|
|
|
&--colored {
|
|
|
|
--control-color: var(--contrast-color, var(--body-bg));
|
|
|
|
--link-color: var(--control-color);
|
2022-11-07 23:49:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-left: 5px;
|
2022-11-06 03:29:01 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.MentionsDropdown .Badge {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2020-05-21 09:33:32 +08:00
|
|
|
|
|
|
|
@media @phone {
|
2020-05-21 03:20:02 +08:00
|
|
|
.MentionsDropdown {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2020-05-23 06:50:26 +08:00
|
|
|
.Post-footer .item-replies {
|
|
|
|
position: relative;
|
|
|
|
}
|