Files
ThreadNet-Web/res/css/views/messages/_ReactionsRow.pcss
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

65 lines
1.6 KiB
Plaintext
Raw Normal View History

/*
2024-09-09 14:57:16 +01:00
Copyright 2019-2024 New Vector Ltd.
2024-09-09 14:57:16 +01:00
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
Please see LICENSE files in the repository root for full details.
*/
.mx_ReactionsRow {
margin: 6px 0;
2021-08-12 11:27:12 +02:00
color: $primary-content;
.mx_ReactionsRow_addReactionButton {
position: relative;
display: inline-block;
visibility: hidden; /* show on hover of the .mx_EventTile */
width: 24px;
height: 24px;
vertical-align: middle;
margin-left: 4px;
2021-06-18 18:59:22 +01:00
margin-right: 4px;
&::before {
content: "";
position: absolute;
height: 100%;
width: 100%;
mask-size: 16px;
mask-repeat: no-repeat;
mask-position: center;
2021-08-12 11:53:54 +02:00
background-color: $tertiary-content;
mask-image: url("$(res)/img/element-icons/room/message-bar/emoji.svg");
}
&.mx_ReactionsRow_addReactionButton_active {
visibility: visible; /* keep showing whilst the context menu is shown */
}
&:hover,
&.mx_ReactionsRow_addReactionButton_active {
&::before {
2021-08-12 11:27:12 +02:00
background-color: $primary-content;
}
}
}
}
2019-06-27 13:05:04 +01:00
.mx_EventTile:hover .mx_ReactionsRow_addReactionButton {
visibility: visible;
}
2019-06-27 13:05:04 +01:00
.mx_ReactionsRow_showAll {
2022-01-07 10:40:53 +01:00
color: $tertiary-content;
&.mx_AccessibleButton_kind_link_inline {
font-size: $font-12px;
line-height: $font-20px;
margin-inline-start: $spacing-4;
vertical-align: middle;
&:hover {
color: $primary-content;
}
2019-06-27 13:05:04 +01:00
}
}