2021-03-01 20:27:09 +03: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.
|
|
|
|
*/
|
|
|
|
|
2021-09-28 13:05:03 +03:00
|
|
|
$spacePanelWidth: 68px;
|
2021-03-01 20:27:09 +03:00
|
|
|
|
|
|
|
.mx_SpaceCreateMenu_wrapper {
|
|
|
|
// background blur everything except SpacePanel
|
|
|
|
.mx_ContextualMenu_background {
|
|
|
|
background-color: $dialog-backdrop-color;
|
|
|
|
opacity: 0.6;
|
|
|
|
left: $spacePanelWidth;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ContextualMenu {
|
|
|
|
padding: 24px;
|
|
|
|
width: 480px;
|
|
|
|
box-sizing: border-box;
|
2021-08-12 12:10:47 +03:00
|
|
|
background-color: $background;
|
2021-04-28 14:10:03 +03:00
|
|
|
position: relative;
|
2021-03-01 20:27:09 +03:00
|
|
|
|
|
|
|
> div {
|
|
|
|
> h2 {
|
|
|
|
font-weight: $font-semi-bold;
|
|
|
|
font-size: $font-18px;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> p {
|
|
|
|
font-size: $font-15px;
|
2021-08-12 12:30:35 +03:00
|
|
|
color: $secondary-content;
|
2021-03-01 20:27:09 +03:00
|
|
|
}
|
2021-07-29 17:13:02 +03:00
|
|
|
|
|
|
|
.mx_SpaceFeedbackPrompt {
|
|
|
|
border-top: 1px solid $input-border-color;
|
|
|
|
padding-top: 12px;
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
2021-03-01 20:27:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceCreateMenuType {
|
2021-03-19 16:16:36 +03:00
|
|
|
@mixin SpacePillButton;
|
2021-03-01 20:27:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceCreateMenuType_public::before {
|
|
|
|
mask-image: url('$(res)/img/globe.svg');
|
|
|
|
}
|
|
|
|
.mx_SpaceCreateMenuType_private::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/lock.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceCreateMenu_back {
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
position: relative;
|
2021-05-12 12:48:06 +03:00
|
|
|
background-color: $roomlist-button-bg-color;
|
2021-03-01 20:27:09 +03:00
|
|
|
border-radius: 14px;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-08-12 12:53:54 +03:00
|
|
|
background-color: $tertiary-content;
|
2021-03-01 20:27:09 +03:00
|
|
|
transform: rotate(90deg);
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: 2px 3px;
|
|
|
|
mask-size: 24px;
|
|
|
|
mask-image: url('$(res)/img/feather-customised/chevron-down.svg');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-24 16:15:31 +03:00
|
|
|
.mx_AccessibleButton_kind_primary {
|
2021-03-01 20:27:09 +03:00
|
|
|
padding: 8px 22px;
|
|
|
|
margin-left: auto;
|
|
|
|
display: block;
|
|
|
|
width: min-content;
|
|
|
|
}
|
|
|
|
|
2021-08-10 13:30:00 +03:00
|
|
|
.mx_AccessibleButton_kind_link {
|
|
|
|
padding: 0;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2021-03-01 20:27:09 +03:00
|
|
|
.mx_AccessibleButton_disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-23 17:56:00 +03:00
|
|
|
|
|
|
|
.mx_SpaceFeedbackPrompt {
|
2021-07-28 19:56:57 +03:00
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
2021-07-23 17:56:00 +03:00
|
|
|
|
2021-07-28 19:56:57 +03:00
|
|
|
> span {
|
2021-08-12 12:30:35 +03:00
|
|
|
color: $secondary-content;
|
2021-07-28 19:56:57 +03:00
|
|
|
position: relative;
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2021-07-23 17:56:00 +03:00
|
|
|
|
2021-07-28 19:56:57 +03:00
|
|
|
.mx_AccessibleButton_kind_link {
|
2021-11-11 16:37:29 +03:00
|
|
|
color: $accent;
|
2021-07-28 19:56:57 +03:00
|
|
|
position: relative;
|
|
|
|
padding: 0;
|
|
|
|
margin-left: 8px;
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
2021-07-23 17:56:00 +03:00
|
|
|
}
|
|
|
|
}
|