2021-03-02 14:32:24 +01:00
|
|
|
/*
|
2024-09-09 15:57:16 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-03-02 14:32:24 +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-03-02 14:32:24 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_AddExistingToSpaceDialog_wrapper {
|
|
|
|
.mx_Dialog {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-26 13:41:04 +02:00
|
|
|
.mx_AddExistingToSpace {
|
|
|
|
.mx_SearchBox {
|
2022-07-27 15:39:29 +02:00
|
|
|
/* To match the space around the title */
|
2021-04-26 13:41:04 +02:00
|
|
|
margin: 0 0 15px 0;
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AddExistingToSpace_content {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AddExistingToSpace_noResults {
|
|
|
|
display: block;
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AddExistingToSpace_section {
|
2024-01-02 19:56:39 +01:00
|
|
|
margin-right: 12px;
|
|
|
|
|
|
|
|
// provides space for scrollbar so that checkbox and scrollbar do not collide
|
2023-02-07 10:37:52 +01:00
|
|
|
|
2021-04-26 13:41:04 +02:00
|
|
|
&:not(:first-child) {
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> h3 {
|
|
|
|
margin: 0;
|
2021-08-12 11:30:35 +02:00
|
|
|
color: $secondary-content;
|
2021-04-26 13:41:04 +02:00
|
|
|
font-size: $font-12px;
|
2023-06-29 12:30:25 +02:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-04-26 13:41:04 +02:00
|
|
|
line-height: $font-15px;
|
|
|
|
}
|
|
|
|
|
2021-07-23 09:46:20 +02:00
|
|
|
.mx_AccessibleButton_kind_link {
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
|
|
|
margin-top: 8px;
|
2021-05-05 18:53:31 +02:00
|
|
|
}
|
|
|
|
}
|
2021-05-13 10:46:45 +02:00
|
|
|
|
|
|
|
.mx_AddExistingToSpace_footer {
|
|
|
|
display: flex;
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
|
|
> span {
|
|
|
|
flex-grow: 1;
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2021-08-12 11:30:35 +02:00
|
|
|
color: $secondary-content;
|
2021-05-13 10:46:45 +02:00
|
|
|
|
|
|
|
.mx_ProgressBar {
|
|
|
|
height: 8px;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
@mixin ProgressBarBorderRadius 8px;
|
|
|
|
}
|
|
|
|
|
2021-09-30 14:43:59 +02:00
|
|
|
.mx_AddExistingToSpaceDialog_progressText {
|
2021-05-13 10:46:45 +02:00
|
|
|
margin-top: 8px;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
2021-08-12 11:27:12 +02:00
|
|
|
color: $primary-content;
|
2021-05-13 10:46:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
> * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AddExistingToSpace_error {
|
|
|
|
padding-left: 12px;
|
|
|
|
|
|
|
|
> img {
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AddExistingToSpace_errorHeading {
|
2023-06-29 12:30:25 +02:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-05-13 10:46:45 +02:00
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-18px;
|
2021-11-11 14:37:29 +01:00
|
|
|
color: $alert;
|
2021-05-13 10:46:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AddExistingToSpace_errorCaption {
|
|
|
|
margin-top: 4px;
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2021-08-12 11:27:12 +02:00
|
|
|
color: $primary-content;
|
2021-05-13 10:46:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
|
|
|
display: inline-block;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AccessibleButton_kind_primary {
|
|
|
|
padding: 8px 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AddExistingToSpace_retryButton {
|
|
|
|
margin-left: 12px;
|
|
|
|
padding-left: 24px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
content: "";
|
2021-05-13 10:46:45 +02:00
|
|
|
position: absolute;
|
2021-08-12 11:27:12 +02:00
|
|
|
background-color: $primary-content;
|
2021-05-13 10:46:45 +02:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
2024-11-07 12:39:18 +01:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/restart.svg");
|
2021-05-13 10:46:45 +02:00
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-04-26 13:41:04 +02:00
|
|
|
}
|
|
|
|
|
2021-03-02 14:32:24 +01:00
|
|
|
.mx_AddExistingToSpaceDialog {
|
|
|
|
width: 480px;
|
2021-08-12 11:27:12 +02:00
|
|
|
color: $primary-content;
|
2021-03-02 14:32:24 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
min-height: 0;
|
2021-03-24 15:10:26 +01:00
|
|
|
height: 80vh;
|
2021-03-02 14:32:24 +01:00
|
|
|
|
2021-07-23 09:46:20 +02:00
|
|
|
.mx_AddExistingToSpace {
|
|
|
|
display: contents;
|
|
|
|
}
|
|
|
|
}
|
2021-03-02 14:32:24 +01:00
|
|
|
|
2021-07-23 09:46:20 +02:00
|
|
|
.mx_SubspaceSelector {
|
|
|
|
display: flex;
|
2021-03-02 14:32:24 +01:00
|
|
|
|
2021-07-23 09:46:20 +02:00
|
|
|
.mx_BaseAvatar {
|
|
|
|
margin: auto 16px auto 5px;
|
|
|
|
}
|
2021-03-02 14:32:24 +01:00
|
|
|
|
2021-07-23 09:46:20 +02:00
|
|
|
> div {
|
|
|
|
> h1 {
|
2023-06-29 12:30:25 +02:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-07-23 09:46:20 +02:00
|
|
|
font-size: $font-18px;
|
|
|
|
line-height: $font-22px;
|
|
|
|
margin: 0;
|
2021-03-02 14:32:24 +01:00
|
|
|
}
|
2021-07-23 09:46:20 +02:00
|
|
|
}
|
2021-03-02 14:32:24 +01:00
|
|
|
|
2021-07-23 09:46:20 +02:00
|
|
|
.mx_Dropdown_input {
|
|
|
|
border: none;
|
2021-03-02 14:32:24 +01:00
|
|
|
|
2021-07-23 09:46:20 +02:00
|
|
|
> .mx_Dropdown_option {
|
|
|
|
padding-left: 0;
|
|
|
|
flex: unset;
|
|
|
|
height: unset;
|
2021-08-12 11:30:35 +02:00
|
|
|
color: $secondary-content;
|
2021-07-23 09:46:20 +02:00
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
2021-03-02 14:32:24 +01:00
|
|
|
|
2021-07-23 09:46:20 +02:00
|
|
|
.mx_BaseAvatar {
|
|
|
|
display: none;
|
2021-03-02 14:32:24 +01:00
|
|
|
}
|
2021-07-23 09:46:20 +02:00
|
|
|
}
|
2021-03-02 14:32:24 +01:00
|
|
|
|
2021-07-23 09:46:20 +02:00
|
|
|
.mx_Dropdown_menu {
|
|
|
|
.mx_SubspaceSelector_dropdownOptionActive {
|
2021-11-11 14:37:29 +01:00
|
|
|
color: $accent;
|
2021-07-23 09:46:20 +02:00
|
|
|
padding-right: 32px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
content: "";
|
2021-07-23 09:46:20 +02:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
top: 8px;
|
|
|
|
right: 0;
|
|
|
|
position: absolute;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-repeat: no-repeat;
|
2021-11-11 14:37:29 +01:00
|
|
|
background-color: $accent;
|
2024-10-15 12:19:06 +02:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/check.svg");
|
2021-03-02 14:32:24 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-23 09:46:20 +02:00
|
|
|
.mx_SubspaceSelector_onlySpace {
|
2021-08-12 11:30:35 +02:00
|
|
|
color: $secondary-content;
|
2021-07-23 09:46:20 +02:00
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
2021-03-02 14:32:24 +01:00
|
|
|
}
|
|
|
|
}
|
2021-07-21 10:57:10 +02:00
|
|
|
|
|
|
|
.mx_AddExistingToSpace_entry {
|
|
|
|
display: flex;
|
|
|
|
margin-top: 12px;
|
|
|
|
|
2023-08-24 05:48:35 +02:00
|
|
|
.mx_DecoratedRoomAvatar, /* we can't target .mx_BaseAvatar here as it'll break the decorated avatar styling */ {
|
2021-07-21 10:57:10 +02:00
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AddExistingToSpace_entry_name {
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: 30px;
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Checkbox {
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|