mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-26 10:28:46 +08:00
c05c429803
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com> Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Florian Duros <florian.duros@ormaz.fr> Co-authored-by: Kim Brose <kim.brose@nordeck.net> Co-authored-by: Florian Duros <florianduros@element.io> Co-authored-by: R Midhun Suresh <hi@midhun.dev> Co-authored-by: dbkr <986903+dbkr@users.noreply.github.com> Co-authored-by: ElementRobot <releases@riot.im> Co-authored-by: dbkr <dbkr@users.noreply.github.com> Co-authored-by: David Baker <dbkr@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Co-authored-by: David Langley <davidl@element.io> Co-authored-by: Michael Weimann <michaelw@matrix.org> Co-authored-by: Timshel <Timshel@users.noreply.github.com> Co-authored-by: Sahil Silare <32628578+sahil9001@users.noreply.github.com> Co-authored-by: Will Hunt <will@half-shot.uk> Co-authored-by: Hubert Chathi <hubert@uhoreg.ca> Co-authored-by: Andrew Ferrazzutti <andrewf@element.io> Co-authored-by: Robin <robin@robin.town> Co-authored-by: Tulir Asokan <tulir@maunium.net>
235 lines
5.5 KiB
Plaintext
235 lines
5.5 KiB
Plaintext
/*
|
|
Copyright 2024 New Vector Ltd.
|
|
Copyright 2021 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.
|
|
*/
|
|
|
|
.mx_AddExistingToSpaceDialog_wrapper {
|
|
.mx_Dialog {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
.mx_AddExistingToSpace {
|
|
.mx_SearchBox {
|
|
/* To match the space around the title */
|
|
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 {
|
|
margin-right: 12px;
|
|
|
|
// provides space for scrollbar so that checkbox and scrollbar do not collide
|
|
|
|
&:not(:first-child) {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
> h3 {
|
|
margin: 0;
|
|
color: $secondary-content;
|
|
font-size: $font-12px;
|
|
font-weight: var(--cpd-font-weight-semibold);
|
|
line-height: $font-15px;
|
|
}
|
|
|
|
.mx_AccessibleButton_kind_link {
|
|
font-size: $font-12px;
|
|
line-height: $font-15px;
|
|
margin-top: 8px;
|
|
}
|
|
}
|
|
|
|
.mx_AddExistingToSpace_footer {
|
|
display: flex;
|
|
margin-top: 20px;
|
|
|
|
> span {
|
|
flex-grow: 1;
|
|
font-size: $font-12px;
|
|
line-height: $font-15px;
|
|
color: $secondary-content;
|
|
|
|
.mx_ProgressBar {
|
|
height: 8px;
|
|
width: 100%;
|
|
|
|
@mixin ProgressBarBorderRadius 8px;
|
|
}
|
|
|
|
.mx_AddExistingToSpaceDialog_progressText {
|
|
margin-top: 8px;
|
|
font-size: $font-15px;
|
|
line-height: $font-24px;
|
|
color: $primary-content;
|
|
}
|
|
|
|
> * {
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
|
|
.mx_AddExistingToSpace_error {
|
|
padding-left: 12px;
|
|
|
|
> img {
|
|
align-self: center;
|
|
}
|
|
|
|
.mx_AddExistingToSpace_errorHeading {
|
|
font-weight: var(--cpd-font-weight-semibold);
|
|
font-size: $font-15px;
|
|
line-height: $font-18px;
|
|
color: $alert;
|
|
}
|
|
|
|
.mx_AddExistingToSpace_errorCaption {
|
|
margin-top: 4px;
|
|
font-size: $font-12px;
|
|
line-height: $font-15px;
|
|
color: $primary-content;
|
|
}
|
|
}
|
|
|
|
.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 {
|
|
content: "";
|
|
position: absolute;
|
|
background-color: $primary-content;
|
|
mask-repeat: no-repeat;
|
|
mask-position: center;
|
|
mask-size: contain;
|
|
mask-image: url("$(res)/img/element-icons/retry.svg");
|
|
width: 18px;
|
|
height: 18px;
|
|
left: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.mx_AddExistingToSpaceDialog {
|
|
width: 480px;
|
|
color: $primary-content;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: nowrap;
|
|
min-height: 0;
|
|
height: 80vh;
|
|
|
|
.mx_AddExistingToSpace {
|
|
display: contents;
|
|
}
|
|
}
|
|
|
|
.mx_SubspaceSelector {
|
|
display: flex;
|
|
|
|
.mx_BaseAvatar {
|
|
margin: auto 16px auto 5px;
|
|
}
|
|
|
|
> div {
|
|
> h1 {
|
|
font-weight: var(--cpd-font-weight-semibold);
|
|
font-size: $font-18px;
|
|
line-height: $font-22px;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.mx_Dropdown_input {
|
|
border: none;
|
|
|
|
> .mx_Dropdown_option {
|
|
padding-left: 0;
|
|
flex: unset;
|
|
height: unset;
|
|
color: $secondary-content;
|
|
font-size: $font-15px;
|
|
line-height: $font-24px;
|
|
|
|
.mx_BaseAvatar {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.mx_Dropdown_menu {
|
|
.mx_SubspaceSelector_dropdownOptionActive {
|
|
color: $accent;
|
|
padding-right: 32px;
|
|
position: relative;
|
|
|
|
&::before {
|
|
content: "";
|
|
width: 20px;
|
|
height: 20px;
|
|
top: 8px;
|
|
right: 0;
|
|
position: absolute;
|
|
mask-position: center;
|
|
mask-size: contain;
|
|
mask-repeat: no-repeat;
|
|
background-color: $accent;
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/check.svg");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.mx_SubspaceSelector_onlySpace {
|
|
color: $secondary-content;
|
|
font-size: $font-15px;
|
|
line-height: $font-24px;
|
|
}
|
|
}
|
|
|
|
.mx_AddExistingToSpace_entry {
|
|
display: flex;
|
|
margin-top: 12px;
|
|
|
|
.mx_DecoratedRoomAvatar, /* we can't target .mx_BaseAvatar here as it'll break the decorated avatar styling */ {
|
|
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;
|
|
}
|
|
}
|