2022-01-10 07:05:41 +00:00
|
|
|
@import '../../_variables.scss';
|
|
|
|
|
2021-06-07 13:16:10 +00:00
|
|
|
.MentionLink {
|
|
|
|
position: relative;
|
|
|
|
white-space: normal;
|
2022-02-04 12:20:56 +00:00
|
|
|
display: inline;
|
2021-06-07 20:42:04 +00:00
|
|
|
color: var(--link);
|
2021-06-07 13:16:10 +00:00
|
|
|
|
|
|
|
& .new,
|
2021-06-07 20:42:04 +00:00
|
|
|
& .original {
|
2022-02-04 12:20:56 +00:00
|
|
|
display: inline;
|
2021-06-07 13:16:10 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
2022-01-10 07:05:41 +00:00
|
|
|
.mention-avatar {
|
|
|
|
border-radius: var(--avatarAltRadius, $fallback--avatarAltRadius);
|
|
|
|
width: 1.5em;
|
|
|
|
height: 1.5em;
|
|
|
|
vertical-align: middle;
|
2022-01-10 07:10:42 +00:00
|
|
|
user-select: none;
|
|
|
|
margin-right: 0.2em;
|
2022-01-10 07:05:41 +00:00
|
|
|
}
|
|
|
|
|
2021-06-07 13:16:10 +00:00
|
|
|
.full {
|
|
|
|
position: absolute;
|
2021-06-07 20:42:04 +00:00
|
|
|
display: inline-block;
|
|
|
|
pointer-events: none;
|
2021-06-07 13:16:10 +00:00
|
|
|
opacity: 0;
|
2021-06-07 20:42:04 +00:00
|
|
|
top: 100%;
|
2021-06-07 13:16:10 +00:00
|
|
|
left: 0;
|
2021-06-07 20:42:04 +00:00
|
|
|
height: 100%;
|
2021-06-07 13:16:10 +00:00
|
|
|
word-wrap: normal;
|
|
|
|
white-space: nowrap;
|
|
|
|
transition: opacity 0.2s ease;
|
|
|
|
z-index: 1;
|
2021-06-07 20:42:04 +00:00
|
|
|
margin-top: 0.25em;
|
|
|
|
padding: 0.5em;
|
2021-06-11 08:49:32 +00:00
|
|
|
user-select: all;
|
|
|
|
}
|
|
|
|
|
2022-02-04 12:20:56 +00:00
|
|
|
& .short.-with-tooltip,
|
|
|
|
& .you {
|
2021-06-11 08:49:32 +00:00
|
|
|
user-select: none;
|
2021-06-07 13:16:10 +00:00
|
|
|
}
|
|
|
|
|
2021-06-07 20:42:04 +00:00
|
|
|
& .short,
|
|
|
|
& .full {
|
2021-06-10 10:22:36 +00:00
|
|
|
white-space: nowrap;
|
2021-06-07 20:42:04 +00:00
|
|
|
}
|
|
|
|
|
2022-02-04 12:20:56 +00:00
|
|
|
.shortName {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2021-06-07 21:03:59 +00:00
|
|
|
.new {
|
2021-06-08 09:58:28 +00:00
|
|
|
&.-you {
|
|
|
|
& .shortName,
|
|
|
|
& .full {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2021-06-08 08:38:44 +00:00
|
|
|
}
|
|
|
|
|
2021-06-10 15:52:23 +00:00
|
|
|
.at {
|
|
|
|
color: var(--link);
|
|
|
|
opacity: 0.8;
|
|
|
|
display: inline-block;
|
|
|
|
height: 50%;
|
|
|
|
line-height: 1;
|
|
|
|
padding: 0 0.1em;
|
|
|
|
vertical-align: -25%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2021-06-07 20:42:04 +00:00
|
|
|
&.-striped {
|
2022-01-10 06:37:20 +00:00
|
|
|
& .shortName,
|
2021-06-07 20:42:04 +00:00
|
|
|
& .full {
|
|
|
|
background-image:
|
|
|
|
repeating-linear-gradient(
|
|
|
|
135deg,
|
|
|
|
var(--____highlight-tintColor),
|
|
|
|
var(--____highlight-tintColor) 5px,
|
|
|
|
var(--____highlight-tintColor2) 5px,
|
|
|
|
var(--____highlight-tintColor2) 10px
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
2021-06-07 13:16:10 +00:00
|
|
|
|
2021-06-07 20:42:04 +00:00
|
|
|
&.-solid {
|
2022-01-10 06:37:20 +00:00
|
|
|
& .shortName,
|
2021-06-07 20:42:04 +00:00
|
|
|
& .full {
|
|
|
|
background-image: linear-gradient(var(--____highlight-tintColor2), var(--____highlight-tintColor2));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.-side {
|
2022-01-10 06:37:20 +00:00
|
|
|
& .shortName,
|
2021-06-07 20:42:04 +00:00
|
|
|
& .userNameFull {
|
|
|
|
box-shadow: 0 -5px 3px -4px inset var(--____highlight-solidColor);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-07 13:16:10 +00:00
|
|
|
&:hover .new .full {
|
|
|
|
opacity: 1;
|
2021-06-07 20:42:04 +00:00
|
|
|
pointer-events: initial;
|
2021-06-07 13:16:10 +00:00
|
|
|
}
|
2022-01-10 07:31:26 +00:00
|
|
|
|
|
|
|
.serverName.-faded {
|
|
|
|
color: var(--faintLink, $fallback--link);
|
|
|
|
}
|
|
|
|
|
|
|
|
.full .-faded {
|
|
|
|
color: var(--faint, $fallback--faint);
|
|
|
|
}
|
2021-06-07 13:16:10 +00:00
|
|
|
}
|