element-web-Github/res/css/views/auth/_AuthPage.pcss

33 lines
702 B
Plaintext
Raw Normal View History

/*
Copyright 2019-2024 New Vector Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
Please see LICENSE files in the repository root for full details.
*/
.mx_AuthPage {
2019-01-23 01:50:11 +08:00
width: 100%;
min-height: 100%;
2019-01-23 01:50:11 +08:00
display: flex;
flex-direction: column;
background-color: $authpage-bg-color;
2023-04-14 22:15:21 +08:00
height: 100vh;
overflow: auto;
}
.mx_AuthPage_modal {
display: flex;
margin: 100px auto auto;
border-radius: 4px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.33);
background-color: $authpage-modal-bg-color;
@media only screen and (max-height: 768px) {
margin-top: 50px;
}
@media only screen and (max-width: 480px) {
margin-top: 0;
}
}