2021-07-02 21:51:55 +08:00
|
|
|
/*
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-07-02 21:51:55 +08:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
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-07-02 21:51:55 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_ManageRestrictedJoinRuleDialog_wrapper {
|
|
|
|
.mx_Dialog {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ManageRestrictedJoinRuleDialog {
|
|
|
|
width: 480px;
|
2021-08-12 17:27:12 +08:00
|
|
|
color: $primary-content;
|
2021-07-02 21:51:55 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
min-height: 0;
|
|
|
|
height: 60vh;
|
|
|
|
|
|
|
|
.mx_SearchBox {
|
2022-07-27 21:39:29 +08:00
|
|
|
/* To match the space around the title */
|
2021-07-02 21:51:55 +08:00
|
|
|
margin: 0 0 15px 0;
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ManageRestrictedJoinRuleDialog_content {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ManageRestrictedJoinRuleDialog_noResults {
|
|
|
|
display: block;
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ManageRestrictedJoinRuleDialog_section {
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> h3 {
|
|
|
|
margin: 0;
|
2021-08-12 17:30:35 +08:00
|
|
|
color: $secondary-content;
|
2021-07-02 21:51:55 +08:00
|
|
|
font-size: $font-12px;
|
2023-06-29 18:30:25 +08:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-07-02 21:51:55 +08:00
|
|
|
line-height: $font-15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ManageRestrictedJoinRuleDialog_entry {
|
|
|
|
display: flex;
|
|
|
|
margin-top: 12px;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ManageRestrictedJoinRuleDialog_entry_name {
|
|
|
|
margin: 0 8px;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: 30px;
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ManageRestrictedJoinRuleDialog_entry_description {
|
|
|
|
margin-top: 8px;
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2021-08-12 17:53:54 +08:00
|
|
|
color: $tertiary-content;
|
2021-07-02 21:51:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Checkbox {
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ManageRestrictedJoinRuleDialog_section_spaces {
|
|
|
|
.mx_BaseAvatar {
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-06 17:10:25 +08:00
|
|
|
.mx_ManageRestrictedJoinRuleDialog_section_info {
|
2021-07-02 21:51:55 +08:00
|
|
|
position: relative;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin: 12px 0;
|
|
|
|
padding: 8px 8px 8px 42px;
|
|
|
|
background-color: $header-panel-bg-color;
|
|
|
|
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2021-08-12 17:30:35 +08:00
|
|
|
color: $secondary-content;
|
2021-07-02 21:51:55 +08:00
|
|
|
|
|
|
|
&::before {
|
2022-12-12 19:24:14 +08:00
|
|
|
content: "";
|
2021-07-02 21:51:55 +08:00
|
|
|
position: absolute;
|
|
|
|
left: 10px;
|
2022-07-27 21:39:29 +08:00
|
|
|
top: calc(50% - 8px); /* vertical centering */
|
2021-07-02 21:51:55 +08:00
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2021-08-12 17:30:35 +08:00
|
|
|
background-color: $secondary-content;
|
2021-07-02 21:51:55 +08:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: contain;
|
2024-11-18 23:47:15 +08:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/info-solid.svg");
|
2021-07-02 21:51:55 +08:00
|
|
|
mask-position: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ManageRestrictedJoinRuleDialog_footer {
|
|
|
|
margin-top: 20px;
|
|
|
|
|
2021-07-06 17:10:25 +08:00
|
|
|
.mx_ManageRestrictedJoinRuleDialog_footer_buttons {
|
|
|
|
display: flex;
|
|
|
|
width: max-content;
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
|
|
|
display: inline-block;
|
2021-07-02 21:51:55 +08:00
|
|
|
|
2021-07-06 17:10:25 +08:00
|
|
|
& + .mx_AccessibleButton {
|
|
|
|
margin-left: 24px;
|
|
|
|
}
|
2021-07-02 21:51:55 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|