2021-03-01 18:27:09 +01:00
|
|
|
/*
|
2024-09-09 15:57:16 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-03-01 18:27:09 +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-01 18:27:09 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_SpaceCreateMenu_wrapper {
|
2022-07-27 15:39:29 +02:00
|
|
|
/* background blur everything except SpacePanel */
|
2021-03-01 18:27:09 +01:00
|
|
|
.mx_ContextualMenu_background {
|
|
|
|
background-color: $dialog-backdrop-color;
|
|
|
|
opacity: 0.6;
|
2023-06-06 13:09:04 +02:00
|
|
|
left: 68px;
|
2021-03-01 18:27:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ContextualMenu {
|
|
|
|
padding: 24px;
|
|
|
|
width: 480px;
|
|
|
|
box-sizing: border-box;
|
2021-08-12 11:10:47 +02:00
|
|
|
background-color: $background;
|
2021-04-28 13:10:03 +02:00
|
|
|
position: relative;
|
2021-03-01 18:27:09 +01:00
|
|
|
|
|
|
|
> div {
|
|
|
|
> h2 {
|
2023-06-29 12:30:25 +02:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-03-01 18:27:09 +01:00
|
|
|
font-size: $font-18px;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> p {
|
|
|
|
font-size: $font-15px;
|
2021-08-12 11:30:35 +02:00
|
|
|
color: $secondary-content;
|
2021-03-01 18:27:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceCreateMenuType {
|
2021-03-19 14:16:36 +01:00
|
|
|
@mixin SpacePillButton;
|
2021-03-01 18:27:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceCreateMenuType_public::before {
|
2024-11-14 13:34:27 +01:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/public.svg");
|
2021-03-01 18:27:09 +01:00
|
|
|
}
|
2023-01-05 09:19:54 +01:00
|
|
|
|
2021-03-01 18:27:09 +01:00
|
|
|
.mx_SpaceCreateMenuType_private::before {
|
2024-11-14 13:34:27 +01:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/lock-solid.svg");
|
2021-03-01 18:27:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceCreateMenu_back {
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
position: relative;
|
2021-11-29 13:52:09 +01:00
|
|
|
background-color: $panel-actions;
|
2021-03-01 18:27:09 +01:00
|
|
|
border-radius: 14px;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-08-12 11:53:54 +02:00
|
|
|
background-color: $tertiary-content;
|
2021-03-01 18:27:09 +01:00
|
|
|
transform: rotate(90deg);
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: 2px 3px;
|
|
|
|
mask-size: 24px;
|
2024-11-11 18:27:22 +01:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/chevron-down.svg");
|
2021-03-01 18:27:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-24 14:15:31 +01:00
|
|
|
.mx_AccessibleButton_kind_primary {
|
2021-03-01 18:27:09 +01:00
|
|
|
padding: 8px 22px;
|
|
|
|
margin-left: auto;
|
|
|
|
display: block;
|
|
|
|
width: min-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AccessibleButton_disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|