优化登录页面

This commit is contained in:
hdm 2022-06-11 22:49:01 +08:00
parent ff5b60eb4b
commit c20c1755bd
3 changed files with 5 additions and 7 deletions

View File

@ -8,18 +8,16 @@
<title>{:get_system_config('web','admin_title')}</title>
<link rel="stylesheet" href="{__GOUGU__}/layui/css/layui.css?v={:get_system_config('web','version')}" media="all">
<style type="text/css">
html,body {width: 100%;height: 100%;background: #34a853;}
html,body {width: 100%;height: 100%;background: #EAF3FF;}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px white inset;
}
#container {width: 100%;height: 100%;position: fixed;top: 0;left: 0;z-index: 999;color: #ffffff;
background: url({__IMG__}/bg.jpg);
background: url({__IMG__}/bg.png);
background-size: cover;
background: url("{__IMG__}/bg_pattern.png"), -webkit-linear-gradient(to left, #34a853, #4285f4);
background: url("{__IMG__}/bg_pattern.png"), linear-gradient(to left, #34a853, #4285f4);
}
.container h2 {font-size: 36px;padding: 36px 0;font-weight: 500;}
.login {width: 400px;text-align: center;position: absolute;top: 50%;left: 50%;margin-top: -240px;margin-left: -200px;border-radius: 12px;box-shadow: 0 2px 6px rgba(26, 26, 26, .36);
.login {width: 400px;text-align: center;position: absolute;top: 50%;left: 50%;margin-top: -240px;margin-left: -200px;border-radius: 12px;box-shadow: 0 3px 8px rgba(92, 110, 136, .32);
}
.login .top {width: 400px;height: 117px;background-color: #fbbc05;border-radius: 12px 12px 0 0;line-height: 117px;text-align: center;overflow: hidden;
-webkit-transform: rotate(0deg);
@ -35,7 +33,7 @@
.layui-input,.layui-textarea {height: 44px;border: 1px solid #ddd;}
.captcha_img img{width:142px; height:44px; cursor:pointer;}
.layui-btn {height: 48px;font-size: 16px;margin-top: 5px;background-color: #FF6347!important}
.foot {position: absolute; font-size: 12px; bottom: 28px;text-align: center;width: 100%;color: #d3e8fa;}
.foot {position: absolute; font-size: 12px; bottom: 28px;text-align: center;width: 100%;color: #458BF3;}
</style>
</head>
<body>
@ -70,7 +68,7 @@
</div>
<div class="foot">
{:get_system_config('web','copyright')} <a id="beian" href="//www.beian.miit.gov.cn" target="_blank"
rel="nofollow" style="margin-left: 15px;color:#d3e8fa;">{:get_system_config('web','icp')}</a>Powered by GouguCMS
rel="nofollow" style="margin-left: 12px;color:#458BF3;">{:get_system_config('web','icp')}</a>Powered by GouguCMS
</div>
</div>
<script src="{__GOUGU__}/layui/layui.js?v={:get_system_config('web','version')}"></script>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB