riot-web/res/css/views/messages/_HiddenBody.pcss

32 lines
706 B
Plaintext
Raw Permalink Normal View History

/*
Copyright 2024 New Vector Ltd.
Copyright 2022 The Matrix.org Foundation C.I.C.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
Please see LICENSE files in the repository root for full details.
*/
.mx_HiddenBody {
white-space: pre-wrap;
color: $muted-fg-color;
vertical-align: middle;
padding-left: 20px;
position: relative;
&::before {
height: 14px;
width: 14px;
background-color: $muted-fg-color;
2022-12-12 12:24:14 +01:00
mask-image: url("$(res)/img/element-icons/hide.svg");
mask-repeat: no-repeat;
mask-position: center;
mask-size: contain;
2022-12-12 12:24:14 +01:00
content: "";
position: absolute;
top: 1px;
left: 0;
}
}