style: 移动端隐藏 Login-Footer

This commit is contained in:
Argo Zhang 2020-03-14 16:01:08 +08:00
parent bcf426bfda
commit efb02ff3bb
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
5 changed files with 22 additions and 15 deletions

View File

@ -1,9 +1,9 @@
@model LoginModel @model LoginModel
<div class="login-footer" asp-condition="@Model.IsDemo"> <div class="login-footer" asp-condition="@Model.IsDemo">
<ui class="login-footer-body"> <ui class="login-footer-body">
<li><a href="https://ba.sdgxgz.com" target="_blank">@@Bootstrap Admin</a></li> <li><a href="https://ba.sdgxgz.com"><i class="fa fa-copyright"></i> Bootstrap Admin</a></li>
<li><a href="https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis" target="_blank">帮助文档</a></li> <li><a href="https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis" target="_blank">帮助文档</a></li>
<li><a href="./Login?View=Login">系统默认登录页</a></li> <li><a href="./Login?View=Login">系统默认</a></li>
<li><a href="./Login?View=Login-Gitee">高仿码云登录页</a></li> <li><a href="./Login?View=Login-Gitee">高仿码云</a></li>
</ui> </ui>
</div> </div>

View File

@ -1,4 +1,10 @@
.login-footer { .login-footer {
display: none;
}
@media (min-width: 768px) {
.login-footer {
display: block;
position: absolute; position: absolute;
bottom: 40px; bottom: 40px;
} }
@ -16,3 +22,4 @@
.login-footer .login-footer-body li a { .login-footer .login-footer-body li a {
color: #7e8392; color: #7e8392;
} }
}

View File

@ -1,4 +1,4 @@
body { body {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }

View File

@ -48,4 +48,14 @@
.slidercaptcha.card .card-body { .slidercaptcha.card .card-body {
padding: 15px 15px 0 15px; padding: 15px 15px 0 15px;
} }
.login-footer {
width: 100%;
display: flex;
justify-content: space-around;
}
.login-footer .login-footer-body li a {
color: #e0e0e0;
}
} }

View File

@ -1,4 +1,4 @@
body { body {
color: #797979; color: #797979;
background-color: #f1f2f7; background-color: #f1f2f7;
} }
@ -139,13 +139,3 @@ body {
.login-wrap .btn-sms { .login-wrap .btn-sms {
width: 140px; width: 140px;
} }
.login-footer {
width: 100%;
display: flex;
justify-content: space-around;
}
.login-footer .login-footer-body li a {
color: #e0e0e0;
}