session-desktop/stylesheets/_mentions.scss

99 lines
1.6 KiB
SCSS

.member-list-container {
margin: 0;
padding: 0;
max-height: 240px;
overflow-y: scroll;
.member-item {
padding: 4px;
user-select: none;
&:hover:not(.member-selected) {
background-color: $color-light-20;
}
background-color: $color-light-10;
.name-part {
font-weight: 300;
margin-left: 6px;
}
.pubkey-part {
margin-left: 6px;
}
}
.member-selected {
background-color: $color-light-35;
}
}
.mention-profile-name {
color: rgb(194, 244, 255);
background-color: rgb(66, 121, 150);
text-decoration: underline;
border-radius: 4px;
margin: 2px;
padding: 2px;
user-select: none;
}
.mention-profile-name-us {
background-color: rgba(255, 197, 50, 1);
color: black;
}
.message-highlighted {
border-radius: $message-container-border-radius;
background-color: rgba(255, 197, 50, 0.2);
}
.dark-theme {
.member-list-container {
.member-item {
&:hover:not(.member-selected) {
background-color: $color-dark-55;
}
background-color: $color-dark-70;
color: white;
}
.member-selected {
background-color: $color-dark-60;
}
}
}
.module-conversation-list-item--mentioned-us {
border-left: 4px solid #ffb000 !important;
}
.at-symbol {
background-color: #ffb000;
color: $color-black;
text-align: center;
padding-top: 1px;
padding-left: 3px;
padding-right: 3px;
position: absolute;
right: -6px;
top: 12px;
font-weight: 300;
font-size: 11px;
letter-spacing: 0.25px;
height: 16px;
min-width: 16px;
border-radius: 8px;
box-shadow: 0px 0px 0px 1px $color-dark-85;
}