2021-07-21 10:57:10 +02: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-09-17 16:34:49 +02:00
|
|
|
height: 520px;
|
2021-07-21 11:39:04 +02:00
|
|
|
|
2021-07-21 10:57:10 +02:00
|
|
|
.mx_Dialog_content {
|
|
|
|
flex-grow: 1;
|
2021-07-29 16:50:18 +02:00
|
|
|
margin: 0;
|
2021-07-21 10:57:10 +02:00
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
.mx_LeaveSpaceDialog_section_warning {
|
|
|
|
position: relative;
|
|
|
|
border-radius: 8px;
|
2021-07-29 16:50:18 +02:00
|
|
|
margin: 12px 0 0;
|
2021-07-21 10:57:10 +02:00
|
|
|
padding: 12px 8px 12px 42px;
|
|
|
|
background-color: $header-panel-bg-color;
|
|
|
|
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2021-08-12 11:30:35 +02:00
|
|
|
color: $secondary-content;
|
2021-07-21 10:57:10 +02:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: 10px;
|
|
|
|
top: calc(50% - 8px); // vertical centering
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2021-08-12 11:30:35 +02:00
|
|
|
background-color: $secondary-content;
|
2021-07-21 10:57:10 +02: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 11:27:12 +02:00
|
|
|
color: $primary-content;
|
2021-07-21 10:57:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Dialog_buttons {
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
|
|
.mx_Dialog_primary {
|
2021-11-11 14:37:29 +01:00
|
|
|
background-color: $alert !important; // override default colour
|
|
|
|
border-color: $alert;
|
2021-07-21 10:57:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|