mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
94 lines
1.6 KiB
SCSS
94 lines
1.6 KiB
SCSS
@charset 'UTF-8';
|
|
|
|
.mention {
|
|
@include border-radius(3px);
|
|
background: $primary-color;
|
|
color: $white;
|
|
padding-bottom: 2px;
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
|
|
.badge {
|
|
background-color: #777;
|
|
border-radius: 10px;
|
|
color: #fff;
|
|
display: inline-block;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
min-width: 10px;
|
|
padding: 3px 7px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mentions__name {
|
|
@include clearfix;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
margin: 0;
|
|
padding: 6px 10px;
|
|
position: relative;
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
z-index: 101;
|
|
|
|
.status {
|
|
font-size: 15px;
|
|
text-align: center;
|
|
vertical-align: bottom;
|
|
width: 20px;
|
|
}
|
|
|
|
.fa-user {
|
|
position: relative;
|
|
top: -1px;
|
|
}
|
|
|
|
.mention--align {
|
|
@include clearfix;
|
|
text-overflow: ellipsis;
|
|
width: calc(100% - 50px);
|
|
}
|
|
}
|
|
|
|
.mention__image {
|
|
@include border-radius(20px);
|
|
display: block;
|
|
font-size: 15px;
|
|
height: 20px;
|
|
line-height: 20px;
|
|
margin-right: 6px;
|
|
text-align: center;
|
|
width: 20px;
|
|
|
|
.mention--align {
|
|
display: inline-block;
|
|
max-width: 80%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
.mention__fullname {
|
|
@include opacity(.5);
|
|
}
|
|
|
|
.mention--highlight {
|
|
background-color: $yellow;
|
|
}
|
|
|
|
.mention__purpose {
|
|
@include opacity(.5);
|
|
line-height: normal;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.mention__channelname {
|
|
@include opacity(.5);
|
|
}
|