重构优化框架

这是一个大版本的更新
现在,框架更加稳定
This commit is contained in:
橙子
2022-02-21 15:00:15 +08:00
parent 769cf2285a
commit 8d90abd22e
146 changed files with 801 additions and 15635 deletions

View File

@@ -0,0 +1,55 @@
.auth-wrapper {
display: flex;
min-height: calc(var(--vh, 1vh) * 100);
width: 100%;
flex-basis: 100%;
align-items: center;
background-color: #F4F5FA;
// common style for both v1 and v2
a {
text-decoration: unset;
}
// auth v1
&.auth-v1 {
align-items: center;
justify-content: center;
overflow: hidden;
padding: 1.5rem;
.auth-mask-bg {
position: absolute;
bottom: 0;
width: 100%;
}
.auth-tree,
.auth-tree-3 {
position: absolute;
}
.auth-tree {
bottom: 0;
left: 0;
}
.auth-tree-3 {
bottom: 0;
right: 0;
}
// auth card
.auth-inner {
width: 28rem;
z-index: 1;
.auth-card {
padding: 0.9375rem 0.875rem;
}
}
}
}
@media (max-width: 600px) {
// auth bg and tree hide in sm screen
.auth-v1 {
.auth-tree,
.auth-tree-3,
.auth-mask-bg {
display: none;
}
}
}