Show mentioned badges & enable scrolling to mentions in conversations
This commit is contained in:
parent
caaeda8abe
commit
d012779e87
21 changed files with 694 additions and 184 deletions
|
@ -2,68 +2,72 @@
|
|||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
.ScrollDownButton {
|
||||
z-index: $z-index-scroll-down-button;
|
||||
position: absolute;
|
||||
inset-inline-end: 16px;
|
||||
bottom: 12px;
|
||||
position: relative;
|
||||
|
||||
&__button {
|
||||
position: relative;
|
||||
height: 36px;
|
||||
width: 36px;
|
||||
|
||||
height: 36px;
|
||||
width: 36px;
|
||||
display: flex;
|
||||
border-radius: 18px;
|
||||
border: none;
|
||||
outline: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
display: flex;
|
||||
border-radius: 18px;
|
||||
border: none;
|
||||
outline: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-shadow: 0px 0px 2px $color-black-alpha-20,
|
||||
0px 2px 6px $color-black-alpha-12;
|
||||
|
||||
box-shadow: 0px 0px 2px $color-black-alpha-20,
|
||||
0px 2px 6px $color-black-alpha-12;
|
||||
@include light-theme {
|
||||
background-color: $color-white;
|
||||
}
|
||||
@include dark-theme {
|
||||
background-color: $color-gray-75;
|
||||
}
|
||||
|
||||
&__icon--unread-mentions {
|
||||
height: 17px;
|
||||
width: 17px;
|
||||
@include light-theme {
|
||||
background-color: $color-white;
|
||||
@include color-svg('../images/icons/v3/at/at.svg', $color-gray-75);
|
||||
}
|
||||
|
||||
@include dark-theme {
|
||||
background-color: $color-gray-75;
|
||||
}
|
||||
|
||||
&__icon {
|
||||
@include light-theme {
|
||||
@include color-svg(
|
||||
'../images/icons/v3/chevron/chevron-down.svg',
|
||||
$color-gray-75
|
||||
);
|
||||
}
|
||||
|
||||
@include dark-theme {
|
||||
@include color-svg(
|
||||
'../images/icons/v3/chevron/chevron-down.svg',
|
||||
$color-gray-15
|
||||
);
|
||||
}
|
||||
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
&__badge {
|
||||
position: absolute;
|
||||
top: -8px;
|
||||
height: 16px;
|
||||
min-width: 16px;
|
||||
border-radius: 8px;
|
||||
padding-block: 1px;
|
||||
padding-inline: 4px;
|
||||
background-color: $color-ultramarine;
|
||||
color: $color-white;
|
||||
|
||||
font-size: 10px;
|
||||
line-height: 14px;
|
||||
|
||||
box-shadow: 0px 1px 4px $color-black-alpha-24;
|
||||
@include color-svg('../images/icons/v3/at/at.svg', $color-gray-15);
|
||||
}
|
||||
}
|
||||
|
||||
&__icon--unread-messages {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
@include light-theme {
|
||||
@include color-svg(
|
||||
'../images/icons/v3/chevron/chevron-down.svg',
|
||||
$color-gray-75
|
||||
);
|
||||
}
|
||||
|
||||
@include dark-theme {
|
||||
@include color-svg(
|
||||
'../images/icons/v3/chevron/chevron-down.svg',
|
||||
$color-gray-15
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
&__badge {
|
||||
position: absolute;
|
||||
top: -8px;
|
||||
height: 16px;
|
||||
min-width: 16px;
|
||||
border-radius: 8px;
|
||||
padding-block: 1px;
|
||||
padding-inline: 4px;
|
||||
background-color: $color-ultramarine;
|
||||
color: $color-white;
|
||||
|
||||
font-size: 10px;
|
||||
line-height: 14px;
|
||||
|
||||
box-shadow: 0px 1px 4px $color-black-alpha-24;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue