mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
86 lines
1.6 KiB
CSS
86 lines
1.6 KiB
CSS
/* -------------------------------------------------------------- /*
|
|
$Mentions
|
|
/* -------------------------------------------------------------- */
|
|
|
|
/* stylelint-disable selector-max-compound-selectors */
|
|
/* stylelint-disable selector-no-qualifying-type */
|
|
|
|
/* Mention block
|
|
---------------------------------------- */
|
|
.mention {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Mention dropdown
|
|
---------------------------------------- */
|
|
.atwho-view { /* mention-container */
|
|
text-align: left;
|
|
border-radius: 2px;
|
|
position: absolute;
|
|
z-index: 999;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.atwho-view-ul { /* mention-list */
|
|
overflow: auto;
|
|
max-height: 200px;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
}
|
|
|
|
.mention-media {
|
|
display: inline-flex;
|
|
flex-shrink: 0;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-right: 16px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.mention-media-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
svg { /* TODO: remove it after general normalization */
|
|
fill: currentColor;
|
|
}
|
|
|
|
.mention-item {
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
line-height: 1.5;
|
|
letter-spacing: 0.04em;
|
|
border-bottom: 1px solid transparent;
|
|
position: relative;
|
|
display: flex;
|
|
overflow: hidden;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
padding: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mention-item:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mention-name,
|
|
.mention-rank {
|
|
display: block;
|
|
}
|
|
|
|
.mention-name {
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.mention-rank {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
line-height: 1.2871;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
/* stylelint-enable selector-max-compound-selectors */
|
|
/* stylelint-enable selector-no-qualifying-type */
|