2021-03-01 17:27:09 +00:00
|
|
|
/*
|
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_SpaceCreateMenu_wrapper {
|
2022-07-27 13:39:29 +00:00
|
|
|
/* background blur everything except SpacePanel */
|
2021-03-01 17:27:09 +00:00
|
|
|
.mx_ContextualMenu_background {
|
|
|
|
background-color: $dialog-backdrop-color;
|
|
|
|
opacity: 0.6;
|
2023-06-06 11:09:04 +00:00
|
|
|
left: 68px;
|
2021-03-01 17:27:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ContextualMenu {
|
|
|
|
padding: 24px;
|
|
|
|
width: 480px;
|
|
|
|
box-sizing: border-box;
|
2021-08-12 09:10:47 +00:00
|
|
|
background-color: $background;
|
2021-04-28 11:10:03 +00:00
|
|
|
position: relative;
|
2021-03-01 17:27:09 +00:00
|
|
|
|
|
|
|
> div {
|
|
|
|
> h2 {
|
2023-04-21 14:16:00 +00:00
|
|
|
font-weight: var(--font-semi-bold);
|
2021-03-01 17:27:09 +00:00
|
|
|
font-size: $font-18px;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> p {
|
|
|
|
font-size: $font-15px;
|
2021-08-12 09:30:35 +00:00
|
|
|
color: $secondary-content;
|
2021-03-01 17:27:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceCreateMenuType {
|
2021-03-19 13:16:36 +00:00
|
|
|
@mixin SpacePillButton;
|
2021-03-01 17:27:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceCreateMenuType_public::before {
|
2022-12-12 11:24:14 +00:00
|
|
|
mask-image: url("$(res)/img/globe.svg");
|
2021-03-01 17:27:09 +00:00
|
|
|
}
|
2023-01-05 08:19:54 +00:00
|
|
|
|
2021-03-01 17:27:09 +00:00
|
|
|
.mx_SpaceCreateMenuType_private::before {
|
2022-12-12 11:24:14 +00:00
|
|
|
mask-image: url("$(res)/img/element-icons/lock.svg");
|
2023-01-05 08:19:54 +00:00
|
|
|
mask-size: 18px;
|
2021-03-01 17:27:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceCreateMenu_back {
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
position: relative;
|
2021-11-29 12:52:09 +00:00
|
|
|
background-color: $panel-actions;
|
2021-03-01 17:27:09 +00:00
|
|
|
border-radius: 14px;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-08-12 09:53:54 +00:00
|
|
|
background-color: $tertiary-content;
|
2021-03-01 17:27:09 +00:00
|
|
|
transform: rotate(90deg);
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: 2px 3px;
|
|
|
|
mask-size: 24px;
|
2022-12-12 11:24:14 +00:00
|
|
|
mask-image: url("$(res)/img/feather-customised/chevron-down.svg");
|
2021-03-01 17:27:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-24 13:15:31 +00:00
|
|
|
.mx_AccessibleButton_kind_primary {
|
2021-03-01 17:27:09 +00:00
|
|
|
padding: 8px 22px;
|
|
|
|
margin-left: auto;
|
|
|
|
display: block;
|
|
|
|
width: min-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AccessibleButton_disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|