2021-03-01 18:10:17 +00:00
|
|
|
/*
|
2024-09-09 13:57:16 +00:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-03-01 18:10:17 +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-03-01 18:10:17 +00:00
|
|
|
*/
|
|
|
|
|
2021-03-19 13:16:36 +00:00
|
|
|
@define-mixin SpacePillButton {
|
|
|
|
position: relative;
|
|
|
|
padding: 16px 32px 16px 72px;
|
|
|
|
width: 432px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 8px;
|
2021-03-25 12:17:39 +00:00
|
|
|
border: 1px solid $input-border-color;
|
2023-04-21 09:48:48 +00:00
|
|
|
font-size: $font-17px;
|
2023-06-29 10:30:25 +00:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-03-19 13:16:36 +00:00
|
|
|
margin: 20px 0;
|
|
|
|
|
2023-04-21 09:48:48 +00:00
|
|
|
> div {
|
|
|
|
margin-top: 4px;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: $font-15px;
|
2021-08-12 09:30:35 +00:00
|
|
|
color: $secondary-content;
|
2021-03-19 13:16:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
2023-01-05 08:19:54 +00:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
top: 27px;
|
2021-03-19 13:16:36 +00:00
|
|
|
left: 20px;
|
|
|
|
mask-position: center;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: 24px;
|
2021-08-12 09:53:54 +00:00
|
|
|
background-color: $tertiary-content;
|
2021-03-19 13:16:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2024-03-05 04:25:47 +00:00
|
|
|
border-color: var(--cpd-color-bg-interactive-primary-rest);
|
2021-03-19 13:16:36 +00:00
|
|
|
|
|
|
|
&::before {
|
2024-03-05 04:25:47 +00:00
|
|
|
background-color: var(--cpd-color-icon-primary);
|
2021-03-19 13:16:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> span {
|
2021-08-12 09:27:12 +00:00
|
|
|
color: $primary-content;
|
2021-03-19 13:16:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-01 18:10:17 +00:00
|
|
|
.mx_SpaceRoomView {
|
2023-06-06 11:09:04 +00:00
|
|
|
--innerWidth: 428px;
|
|
|
|
|
2021-08-21 08:16:26 +00:00
|
|
|
overflow-y: auto;
|
|
|
|
flex: 1;
|
|
|
|
|
2021-03-01 18:10:17 +00:00
|
|
|
.mx_MainSplit > div:first-child {
|
|
|
|
padding: 80px 60px;
|
|
|
|
flex-grow: 1;
|
2021-03-11 11:49:43 +00:00
|
|
|
max-height: 100%;
|
|
|
|
overflow-y: auto;
|
2021-03-01 18:10:17 +00:00
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: $font-24px;
|
2023-06-29 10:30:25 +00:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-08-12 09:27:12 +00:00
|
|
|
color: $primary-content;
|
2021-03-01 18:10:17 +00:00
|
|
|
width: max-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_description {
|
|
|
|
font-size: $font-15px;
|
2021-08-12 09:30:35 +00:00
|
|
|
color: $secondary-content;
|
2021-03-01 18:10:17 +00:00
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 24px;
|
2023-06-06 11:09:04 +00:00
|
|
|
max-width: var(--innerWidth);
|
2021-03-01 18:10:17 +00:00
|
|
|
}
|
|
|
|
|
2021-04-26 11:41:04 +00:00
|
|
|
.mx_AddExistingToSpace {
|
2023-06-06 11:09:04 +00:00
|
|
|
max-width: var(--innerWidth);
|
2021-04-26 11:41:04 +00:00
|
|
|
|
|
|
|
.mx_AddExistingToSpace_content {
|
|
|
|
height: calc(100vh - 360px);
|
|
|
|
max-height: 400px;
|
|
|
|
}
|
2021-03-01 18:10:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_buttons {
|
|
|
|
display: block;
|
|
|
|
margin-top: 44px;
|
2023-06-06 11:09:04 +00:00
|
|
|
width: var(--innerWidth);
|
2022-07-27 13:39:29 +00:00
|
|
|
text-align: right; /* button alignment right */
|
2021-03-01 18:10:17 +00:00
|
|
|
|
2021-03-24 13:15:31 +00:00
|
|
|
.mx_AccessibleButton_hasKind {
|
2021-03-01 18:10:17 +00:00
|
|
|
padding: 8px 22px;
|
|
|
|
margin-left: 16px;
|
|
|
|
}
|
2021-05-11 09:01:40 +00:00
|
|
|
|
|
|
|
input.mx_AccessibleButton {
|
2022-07-27 13:39:29 +00:00
|
|
|
border: none; /* override default styles */
|
2021-05-11 09:01:40 +00:00
|
|
|
}
|
2021-03-01 18:10:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Field {
|
2023-06-06 11:09:04 +00:00
|
|
|
max-width: var(--innerWidth);
|
2021-03-01 18:10:17 +00:00
|
|
|
|
|
|
|
& + .mx_Field {
|
|
|
|
margin-top: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_errorText {
|
2023-06-29 10:30:25 +00:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-03-01 18:10:17 +00:00
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2021-11-11 13:37:29 +00:00
|
|
|
color: $alert;
|
2021-03-01 18:10:17 +00:00
|
|
|
margin-bottom: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AccessibleButton_disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-11 11:49:43 +00:00
|
|
|
.mx_SpaceRoomView_landing {
|
2021-07-23 10:27:00 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-08-21 08:16:26 +00:00
|
|
|
min-width: 0;
|
2021-07-23 10:27:00 +00:00
|
|
|
|
2022-03-23 18:23:23 +00:00
|
|
|
.mx_SpaceRoomView_landing_header {
|
2022-03-14 09:11:12 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2022-01-10 11:34:42 +00:00
|
|
|
|
2022-03-14 09:11:12 +00:00
|
|
|
.mx_BaseAvatar {
|
|
|
|
width: 80px;
|
|
|
|
}
|
2021-03-01 18:10:17 +00:00
|
|
|
}
|
|
|
|
|
2022-03-23 18:23:23 +00:00
|
|
|
.mx_SpaceRoomView_landing_name {
|
2021-03-01 18:10:17 +00:00
|
|
|
margin: 24px 0 16px;
|
|
|
|
font-size: $font-15px;
|
2021-08-12 09:30:35 +00:00
|
|
|
color: $secondary-content;
|
2021-03-01 18:10:17 +00:00
|
|
|
|
|
|
|
> span {
|
2022-03-23 17:17:25 +00:00
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
gap: 12px 0;
|
2021-03-01 18:10:17 +00:00
|
|
|
|
2022-03-23 17:17:25 +00:00
|
|
|
h1 {
|
2021-03-01 18:10:17 +00:00
|
|
|
display: inline-block;
|
2022-08-17 15:13:04 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
2021-03-01 18:10:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_landing_inviter {
|
|
|
|
.mx_BaseAvatar {
|
|
|
|
margin-right: 4px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
2021-03-26 13:11:57 +00:00
|
|
|
}
|
|
|
|
|
2022-03-23 18:23:23 +00:00
|
|
|
.mx_SpaceRoomView_landing_infoBar {
|
2021-03-26 13:11:57 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-03-23 17:17:25 +00:00
|
|
|
justify-content: space-between;
|
|
|
|
gap: 12px;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
line-height: $font-24px;
|
2021-03-26 13:11:57 +00:00
|
|
|
|
2022-03-23 17:17:25 +00:00
|
|
|
.mx_SpaceRoomView_landing_infoBar_interactive {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
gap: 12px 12px;
|
2021-05-05 16:25:29 +00:00
|
|
|
|
2022-03-23 17:17:25 +00:00
|
|
|
.mx_FacePile {
|
|
|
|
display: inline-block;
|
2023-10-06 06:54:25 +00:00
|
|
|
cursor: pointer;
|
2022-03-23 17:17:25 +00:00
|
|
|
}
|
|
|
|
|
2022-03-23 21:56:16 +00:00
|
|
|
.mx_SpaceRoomView_landing_inviteButton,
|
|
|
|
.mx_SpaceRoomView_landing_settingsButton {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
mask-position: center;
|
|
|
|
mask-repeat: no-repeat;
|
2022-03-23 17:17:25 +00:00
|
|
|
}
|
2022-03-23 21:56:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_landing_inviteButton {
|
|
|
|
padding: 4px 18px 4px 40px;
|
|
|
|
height: min-content;
|
2022-03-23 17:17:25 +00:00
|
|
|
|
2022-03-23 21:56:16 +00:00
|
|
|
&::before {
|
|
|
|
left: 8px;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2024-03-05 04:25:47 +00:00
|
|
|
background: var(--cpd-color-icon-on-solid-primary);
|
2022-03-23 21:56:16 +00:00
|
|
|
mask-size: 16px;
|
|
|
|
mask-image: url("$(res)/img/element-icons/room/invite.svg");
|
2022-03-23 17:17:25 +00:00
|
|
|
}
|
2022-03-23 21:56:16 +00:00
|
|
|
}
|
2022-03-23 17:17:25 +00:00
|
|
|
|
2022-03-23 21:56:16 +00:00
|
|
|
.mx_SpaceRoomView_landing_settingsButton {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2022-03-23 17:17:25 +00:00
|
|
|
|
2022-03-23 21:56:16 +00:00
|
|
|
&::before {
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
background: $tertiary-content;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-image: url("$(res)/img/element-icons/settings.svg");
|
2022-03-23 17:17:25 +00:00
|
|
|
}
|
2021-05-05 16:25:29 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-01 18:10:17 +00:00
|
|
|
}
|
|
|
|
|
2022-03-23 18:23:23 +00:00
|
|
|
.mx_SpaceRoomView_landing_topic {
|
2021-03-01 18:10:17 +00:00
|
|
|
font-size: $font-15px;
|
2021-03-26 13:11:57 +00:00
|
|
|
margin-top: 12px;
|
2021-03-26 13:46:01 +00:00
|
|
|
margin-bottom: 16px;
|
2021-06-14 21:18:02 +00:00
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
2021-03-26 13:46:01 +00:00
|
|
|
}
|
|
|
|
|
2021-03-26 09:44:52 +00:00
|
|
|
.mx_SearchBox {
|
2021-03-26 13:46:01 +00:00
|
|
|
margin: 0 0 20px;
|
2021-07-23 10:27:00 +00:00
|
|
|
flex: 0;
|
2021-03-02 14:37:28 +00:00
|
|
|
}
|
2021-03-01 18:10:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_privateScope {
|
2021-05-11 16:01:31 +00:00
|
|
|
> .mx_AccessibleButton {
|
2021-03-19 13:16:36 +00:00
|
|
|
@mixin SpacePillButton;
|
2021-03-01 18:10:17 +00:00
|
|
|
}
|
|
|
|
|
2022-03-23 18:23:23 +00:00
|
|
|
.mx_SpaceRoomView_privateScope_justMeButton::before {
|
2021-03-01 18:10:17 +00:00
|
|
|
mask-image: url("$(res)/img/element-icons/room/members.svg");
|
|
|
|
}
|
|
|
|
|
2022-03-23 18:23:23 +00:00
|
|
|
.mx_SpaceRoomView_privateScope_meAndMyTeammatesButton::before {
|
2022-03-24 19:51:18 +00:00
|
|
|
mask-image: url("$(res)/img/element-icons/group-members.svg");
|
2021-03-01 18:10:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_inviteTeammates {
|
2022-03-23 18:23:23 +00:00
|
|
|
.mx_SpaceRoomView_inviteTeammates_buttons {
|
2021-08-12 09:30:35 +00:00
|
|
|
color: $secondary-content;
|
2021-03-01 18:10:17 +00:00
|
|
|
margin-top: 28px;
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
padding-left: 32px;
|
2022-07-27 13:39:29 +00:00
|
|
|
line-height: 24px; /* to center icons */
|
2021-03-01 18:10:17 +00:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-08-12 09:30:35 +00:00
|
|
|
background-color: $secondary-content;
|
2021-03-01 18:10:17 +00:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
}
|
|
|
|
|
|
|
|
& + .mx_AccessibleButton {
|
|
|
|
margin-left: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-11 09:43:37 +00:00
|
|
|
.mx_SpaceRoomView_inviteTeammates_inviteDialogButton {
|
2024-03-05 04:25:47 +00:00
|
|
|
color: var(--cpd-color-text-primary);
|
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
|
|
|
text-decoration: underline;
|
2021-10-11 09:43:37 +00:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
mask-image: url("$(res)/img/element-icons/room/invite.svg");
|
2024-03-05 04:25:47 +00:00
|
|
|
background-color: var(--cpd-color-icon-primary);
|
2021-10-11 09:43:37 +00:00
|
|
|
}
|
2021-03-01 18:10:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|