mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 05:01:46 +03:00
575cd1e37b
This changes the auth screens to use the modal-like style of the redesign. This does not attempt to style the actual body content of each screen. Instead, it covers the header area with logo, footer links, and overall modal container only.
40 lines
1.1 KiB
SCSS
40 lines
1.1 KiB
SCSS
/*
|
|
Copyright 2019 New Vector Ltd
|
|
|
|
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_AuthPage {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: auto;
|
|
background-color: $authpage-bg-color;
|
|
}
|
|
|
|
.mx_AuthPage h2 {
|
|
font-weight: 300;
|
|
margin-top: 32px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.mx_AuthPage_modal {
|
|
display: flex;
|
|
margin: 100px auto auto;
|
|
border-radius: 4px;
|
|
// Not currently supported in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1178765
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.33);
|
|
background-color: $authpage-modal-bg-color;
|
|
}
|