2021-11-15 12:39:25 +01:00
|
|
|
/*
|
2024-09-09 15:57:16 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-11-15 12:39:25 +01:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 15:57:16 +02: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-11-15 12:39:25 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_NotificationSettingsTab_notificationsSection {
|
|
|
|
width: 360px;
|
|
|
|
|
|
|
|
.mx_StyledRadioButton {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
color: $primary-content;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-18px;
|
2023-06-29 12:30:25 +02:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-11-15 12:39:25 +01:00
|
|
|
margin-top: 16px;
|
|
|
|
position: relative;
|
|
|
|
padding-left: 8px;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
left: 0;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
background-color: $secondary-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
input + div {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationSettingsTab_microCopy {
|
|
|
|
color: $secondary-content;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
|
|
|
margin-right: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationSettingsTab_defaultEntry::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/notifications.svg");
|
2021-11-15 12:39:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationSettingsTab_allMessagesEntry::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/notifications-default.svg");
|
2021-11-15 12:39:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationSettingsTab_mentionsKeywordsEntry::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/notifications-dm.svg");
|
2021-11-15 12:39:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationSettingsTab_noneEntry::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/notifications-off.svg");
|
2021-11-15 12:39:25 +01:00
|
|
|
}
|
|
|
|
}
|
2023-08-16 12:55:21 +02:00
|
|
|
|
|
|
|
input[type="file"].mx_NotificationSound_soundUpload {
|
|
|
|
display: none;
|
|
|
|
}
|