2021-02-24 02:06:01 +08:00
|
|
|
/*
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-02-24 02:06:01 +08:00
|
|
|
Copyright 2021 Michael Weimann <mail@michael-weimann.eu>
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
2021-02-24 02:06:01 +08:00
|
|
|
|
2024-09-09 21:57:16 +08:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2021-02-24 02:06:01 +08:00
|
|
|
*/
|
|
|
|
|
2021-02-24 01:49:11 +08:00
|
|
|
.mx_MessageContextMenu {
|
|
|
|
.mx_IconizedContextMenu_icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
&::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
content: "";
|
2021-02-24 01:49:11 +08:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
display: block;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconCollapse::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/message/chevron-up.svg");
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconReport::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/warning-badge.svg");
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconLink::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/link.svg");
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconPermalink::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/room/share.svg");
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconUnhidePreview::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/settings/appearance.svg");
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|
|
|
|
|
2021-12-21 23:48:20 +08:00
|
|
|
.mx_MessageContextMenu_iconOpenInMapSite::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/external-link.svg");
|
2021-12-21 23:48:20 +08:00
|
|
|
}
|
|
|
|
|
2021-12-08 22:56:48 +08:00
|
|
|
.mx_MessageContextMenu_iconEndPoll::before {
|
2024-10-15 18:19:06 +08:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/check.svg");
|
2021-12-08 22:56:48 +08:00
|
|
|
}
|
|
|
|
|
2021-02-24 01:49:11 +08:00
|
|
|
.mx_MessageContextMenu_iconForward::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/message/fwd.svg");
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconRedact::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/trashcan.svg");
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconResend::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/retry.svg");
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconSource::before {
|
2024-10-04 20:42:23 +08:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/inline-code.svg");
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconQuote::before {
|
2024-10-04 20:42:23 +08:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/quote.svg");
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconPin::before {
|
2024-08-21 16:50:00 +08:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/pin.svg");
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconUnpin::before {
|
2024-08-21 16:50:00 +08:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/unpin.svg");
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|
2021-10-18 20:09:01 +08:00
|
|
|
|
2022-04-15 22:22:59 +08:00
|
|
|
.mx_MessageContextMenu_iconCopy::before {
|
2024-10-15 18:19:06 +08:00
|
|
|
height: 16px;
|
2022-04-15 22:22:59 +08:00
|
|
|
mask-image: url($copy-button-url);
|
2022-07-01 17:29:19 +08:00
|
|
|
position: relative;
|
2024-10-15 18:19:06 +08:00
|
|
|
width: 16px;
|
2022-04-15 22:22:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconEdit::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/room/message-bar/edit.svg");
|
2022-04-15 22:22:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageContextMenu_iconReply::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/room/message-bar/reply.svg");
|
2022-04-15 22:22:59 +08:00
|
|
|
}
|
|
|
|
|
2022-07-23 20:13:49 +08:00
|
|
|
.mx_MessageContextMenu_iconReplyInThread::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/message/thread.svg");
|
2022-07-23 20:13:49 +08:00
|
|
|
}
|
|
|
|
|
2022-04-15 22:22:59 +08:00
|
|
|
.mx_MessageContextMenu_iconReact::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/room/message-bar/emoji.svg");
|
2022-04-15 22:22:59 +08:00
|
|
|
}
|
|
|
|
|
2021-10-18 20:09:01 +08:00
|
|
|
.mx_MessageContextMenu_iconViewInRoom::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/view-in-room.svg");
|
2021-10-18 20:09:01 +08:00
|
|
|
}
|
2022-05-19 21:56:10 +08:00
|
|
|
|
|
|
|
.mx_MessageContextMenu_jumpToEvent::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
mask-image: url("$(res)/img/element-icons/child-relationship.svg");
|
2022-05-19 21:56:10 +08:00
|
|
|
}
|
2021-02-24 01:49:11 +08:00
|
|
|
}
|