2021-07-21 08:57:10 +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_LeaveSpaceDialog_wrapper {
|
|
|
|
.mx_Dialog {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 24px 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_LeaveSpaceDialog {
|
|
|
|
width: 440px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: nowrap;
|
2021-07-29 14:50:18 +00:00
|
|
|
max-height: 520px;
|
2021-07-21 09:39:04 +00:00
|
|
|
|
2021-07-21 08:57:10 +00:00
|
|
|
.mx_Dialog_content {
|
|
|
|
flex-grow: 1;
|
2021-07-29 14:50:18 +00:00
|
|
|
margin: 0;
|
2021-07-21 08:57:10 +00:00
|
|
|
overflow-y: auto;
|
|
|
|
|
2021-07-29 14:50:18 +00:00
|
|
|
.mx_RadioButton + .mx_RadioButton {
|
|
|
|
margin-top: 16px;
|
2021-07-21 08:57:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SearchBox {
|
|
|
|
// To match the space around the title
|
|
|
|
margin: 0 0 15px 0;
|
|
|
|
flex-grow: 0;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_LeaveSpaceDialog_noResults {
|
|
|
|
display: block;
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_LeaveSpaceDialog_section {
|
|
|
|
margin: 16px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_LeaveSpaceDialog_section_warning {
|
|
|
|
position: relative;
|
|
|
|
border-radius: 8px;
|
2021-07-29 14:50:18 +00:00
|
|
|
margin: 12px 0 0;
|
2021-07-21 08:57:10 +00:00
|
|
|
padding: 12px 8px 12px 42px;
|
|
|
|
background-color: $header-panel-bg-color;
|
|
|
|
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2021-08-12 09:30:35 +00:00
|
|
|
color: $secondary-content;
|
2021-07-21 08:57:10 +00:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: 10px;
|
|
|
|
top: calc(50% - 8px); // vertical centering
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2021-08-12 09:30:35 +00:00
|
|
|
background-color: $secondary-content;
|
2021-07-21 08:57:10 +00:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-image: url('$(res)/img/element-icons/room/room-summary.svg');
|
|
|
|
mask-position: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> p {
|
2021-08-12 09:27:12 +00:00
|
|
|
color: $primary-content;
|
2021-07-21 08:57:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Dialog_buttons {
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
|
|
.mx_Dialog_primary {
|
|
|
|
background-color: $notice-primary-color !important; // override default colour
|
|
|
|
border-color: $notice-primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|