2020-10-21 14:22:35 +02:00
|
|
|
/*
|
2021-01-05 13:29:48 +01:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
2020-10-21 14:22:35 +02:00
|
|
|
|
|
|
|
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-01-12 16:08:42 +01:00
|
|
|
.mx_HostSignupDialog {
|
2021-02-10 14:13:01 +01:00
|
|
|
width: 90vw;
|
|
|
|
max-width: 580px;
|
|
|
|
height: 80vh;
|
2021-01-11 14:47:21 +01:00
|
|
|
max-height: 600px;
|
2022-07-27 15:39:29 +02:00
|
|
|
/* Ensure dialog borders are always white as the HostSignupDialog */
|
|
|
|
/* does not yet support dark mode or theming in general. */
|
|
|
|
/* In the future we might want to pass the theme to the called */
|
|
|
|
/* iframe, should some hosting provider have that need. */
|
2021-03-04 10:07:14 +01:00
|
|
|
background-color: #ffffff;
|
2021-01-11 14:47:21 +01:00
|
|
|
|
2021-01-14 10:53:20 +01:00
|
|
|
.mx_HostSignupDialog_info {
|
|
|
|
text-align: center;
|
2020-10-21 14:22:35 +02:00
|
|
|
|
2021-01-15 14:32:30 +01:00
|
|
|
.mx_HostSignupDialog_content_top {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_HostSignupDialog_paragraphs {
|
|
|
|
text-align: left;
|
|
|
|
padding-left: 25%;
|
|
|
|
padding-right: 25%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_HostSignupDialog_buttons {
|
|
|
|
margin-bottom: 24px;
|
2021-01-15 14:57:14 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2021-01-15 14:32:30 +01:00
|
|
|
|
|
|
|
button {
|
|
|
|
padding: 12px;
|
2021-01-15 14:57:14 +01:00
|
|
|
margin: 0 16px;
|
2021-01-15 14:32:30 +01:00
|
|
|
}
|
2021-01-11 14:47:21 +01:00
|
|
|
}
|
2021-01-15 16:02:28 +01:00
|
|
|
|
|
|
|
.mx_HostSignupDialog_footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: baseline;
|
|
|
|
|
|
|
|
img {
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2020-10-21 14:22:35 +02:00
|
|
|
}
|
2021-01-12 13:08:09 +01:00
|
|
|
|
2021-01-14 10:53:20 +01:00
|
|
|
iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border: none;
|
|
|
|
background-color: #fff;
|
2021-02-09 11:22:58 +01:00
|
|
|
min-height: 540px;
|
2021-01-14 10:53:20 +01:00
|
|
|
}
|
2021-01-12 13:08:09 +01:00
|
|
|
}
|
2021-01-12 16:08:42 +01:00
|
|
|
|
2021-01-15 14:32:30 +01:00
|
|
|
.mx_HostSignupDialog_text_dark {
|
2021-08-12 11:27:12 +02:00
|
|
|
color: $primary-content;
|
2021-01-15 14:32:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_HostSignupDialog_text_light {
|
2021-08-12 11:30:35 +02:00
|
|
|
color: $secondary-content;
|
2021-01-15 14:32:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_HostSignup_maximize_button {
|
2021-11-16 15:43:18 +01:00
|
|
|
mask: url("$(res)/img/element-icons/maximise-expand.svg");
|
2021-01-15 14:32:30 +01:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: cover;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
background-color: $dialog-close-fg-color;
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
|
2021-02-04 22:09:58 +01:00
|
|
|
.mx_HostSignup_minimize_button {
|
2021-11-16 15:43:18 +01:00
|
|
|
mask: url("$(res)/img/element-icons/minimise-collapse.svg");
|
2021-02-04 22:09:58 +01:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: cover;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
background-color: $dialog-close-fg-color;
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
2021-02-09 11:40:12 +01:00
|
|
|
right: 25px;
|
2021-02-04 22:09:58 +01:00
|
|
|
}
|
|
|
|
|
2021-01-14 10:53:20 +01:00
|
|
|
.mx_HostSignupDialog_minimized {
|
|
|
|
position: fixed;
|
2021-01-15 14:32:30 +01:00
|
|
|
bottom: 80px;
|
|
|
|
right: 26px;
|
|
|
|
width: 314px;
|
|
|
|
height: 217px;
|
2021-01-14 10:53:20 +01:00
|
|
|
overflow: hidden;
|
2021-01-15 14:32:30 +01:00
|
|
|
|
|
|
|
&.mx_Dialog {
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Dialog_title {
|
|
|
|
text-align: left !important;
|
|
|
|
padding-left: 20px;
|
|
|
|
font-size: $font-15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border: none;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
2021-01-12 16:08:42 +01:00
|
|
|
}
|