Files
mostlymatter/webapp/sass/components/_mentions.scss
Harrison Healey 734818790f PLT-2640 Added searching users by additional field when autocompleting @mentions (#3412)
* Added the ability to search users by their first/last name or nickname when using @mentions

* Changed @mention autocomplete to display a user's nickname
2016-07-04 11:03:43 -04:00

58 строки
1.0 KiB
SCSS

@charset 'UTF-8';
.mention {
@include border-radius(3px);
background: $primary-color;
color: $white;
padding-bottom: 2px;
position: relative;
z-index: 10;
}
.mentions__name {
@include clearfix;
cursor: pointer;
font-size: 13px;
height: 39px;
line-height: 35px;
margin: 0;
padding: 3px 8px;
position: relative;
white-space: nowrap;
width: 100%;
z-index: 101;
.mention--align {
@include clearfix;
text-overflow: ellipsis;
width: calc(100% - 50px);
}
}
.mention__image {
@include border-radius(32px);
display: block;
font-size: 20px;
height: 32px;
line-height: 36px;
margin-right: 6px;
text-align: center;
width: 32px;
.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;
}