element-web/res/css/views/elements/_InfoTooltip.pcss

34 lines
779 B
Plaintext
Raw Normal View History

2020-08-25 21:58:15 +02:00
/*
Copyright 2024 New Vector Ltd.
2020-08-25 21:58:15 +02:00
Copyright 2020 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.
2020-08-25 21:58:15 +02:00
*/
.mx_InfoTooltip_icon {
width: 16px;
height: 16px;
display: inline-block;
}
.mx_InfoTooltip_icon::before {
display: inline-block;
background-color: $muted-fg-color;
mask-repeat: no-repeat;
mask-size: 16px;
width: 16px;
height: 16px;
mask-position: center;
2022-12-12 12:24:14 +01:00
content: "";
2020-08-25 21:58:15 +02:00
vertical-align: middle;
}
.mx_InfoTooltip_icon_info::before {
mask-image: url("@vector-im/compound-design-tokens/icons/info.svg");
2020-08-25 21:58:15 +02:00
}
.mx_InfoTooltip_icon_warning::before {
mask-image: url("@vector-im/compound-design-tokens/icons/error.svg");
}