2021-07-23 07:46:20 +00:00
|
|
|
/*
|
2024-09-09 13:57:16 +00:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-07-23 07:46:20 +00:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 13:57:16 +00: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-07-23 07:46:20 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_JoinRuleDropdown {
|
|
|
|
margin-bottom: 8px;
|
2023-06-29 10:30:25 +00:00
|
|
|
font: var(--cpd-font-body-md-regular);
|
2021-08-12 09:27:12 +00:00
|
|
|
color: $primary-content;
|
2021-07-23 07:46:20 +00:00
|
|
|
|
|
|
|
.mx_Dropdown_option {
|
2023-06-29 10:30:25 +00:00
|
|
|
font: var(--cpd-font-body-md-regular);
|
2021-07-23 07:46:20 +00:00
|
|
|
line-height: $font-32px;
|
|
|
|
height: 32px;
|
|
|
|
min-height: 32px;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
padding-left: 30px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
left: 6px;
|
|
|
|
top: 8px;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
2021-08-12 09:30:35 +00:00
|
|
|
background-color: $secondary-content;
|
2021-07-23 07:46:20 +00:00
|
|
|
}
|
2023-07-10 08:01:03 +00:00
|
|
|
|
|
|
|
&.mx_JoinRuleDropdown_knock::before {
|
|
|
|
content: normal;
|
|
|
|
}
|
2021-07-23 07:46:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_JoinRuleDropdown_invite::before {
|
2023-01-05 08:19:54 +00:00
|
|
|
box-sizing: border-box;
|
2022-12-12 11:24:14 +00:00
|
|
|
mask-image: url("$(res)/img/element-icons/lock.svg");
|
2021-07-23 07:46:20 +00:00
|
|
|
mask-size: contain;
|
2023-01-05 08:19:54 +00:00
|
|
|
padding: 1px;
|
2021-07-23 07:46:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_JoinRuleDropdown_public::before {
|
2022-12-12 11:24:14 +00:00
|
|
|
mask-image: url("$(res)/img/globe.svg");
|
2021-07-23 07:46:20 +00:00
|
|
|
mask-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_JoinRuleDropdown_restricted::before {
|
2022-12-12 11:24:14 +00:00
|
|
|
mask-image: url("$(res)/img/element-icons/group-members.svg");
|
2021-07-23 07:46:20 +00:00
|
|
|
mask-size: contain;
|
|
|
|
}
|
2023-07-10 08:01:03 +00:00
|
|
|
|
|
|
|
.mx_JoinRuleDropdown_icon {
|
|
|
|
color: $secondary-content;
|
|
|
|
position: absolute;
|
|
|
|
left: 6px;
|
|
|
|
top: 8px;
|
|
|
|
}
|
2021-07-23 07:46:20 +00:00
|
|
|
}
|