优化后台登录界面、完善后台附件管理、编辑器上传视频增加封面 、合并安装时执行mysql脚本

This commit is contained in:
2026-01-06 16:16:45 +08:00
parent 5e2e12e670
commit b5aa465248
29 changed files with 13663 additions and 3442 deletions
+113 -77
View File
@@ -1,93 +1,129 @@
html{height: 100%;}
body.signin {
background: #18c8f6;
height: auto;
background:url("../img/login-background.jpg") no-repeat center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
color: rgba(255,255,255,.95);
/* login-tech.css */
/* 定义主色调变量 */
:root {
--primary-color: #1ab394;
--primary-glow: rgba(26, 179, 148, 0.5);
--bg-dark: #0f1319;
--text-color: #e0e0e0;
}
.signinpanel {
width: 750px;
margin: 10% auto 0 auto;
body.gray-bg {
background: var(--bg-dark);
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: var(--text-color);
overflow: hidden; /* 防止滚动条出现 */
}
.signinpanel .logopanel {
/* 动态背景 Canvas */
#canvas-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
/* 登录框主体 - 毛玻璃特效 */
.middle-box {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px); /* 毛玻璃模糊 */
-webkit-backdrop-filter: blur(10px);
padding: 40px;
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
margin: 50px auto auto auto; /* 调整垂直位置 */
max-width: 400px;
width: 100%;
float: none;
width: auto;
padding: 0;
background: none;
/* display: inline-block;*/
position: relative;
z-index: 10;
top: 50px
}
.signinpanel .signin-info ul {
list-style: none;
padding: 0;
margin: 20px 0;
/* 标题样式 */
.logo-name {
color: var(--primary-color);
font-size: 60px;
font-weight: 800;
letter-spacing: 2px;
margin-bottom: 10px;
text-shadow: 0 0 10px var(--primary-glow);
}
.signinpanel .form-control {
display: block;
margin-top: 15px;
.middle-box h3 {
color: #fff;
font-weight: 300;
margin-bottom: 30px;
}
.signinpanel .uname {
background: #fff url(../img/user.png) no-repeat 95% center;color:#333;
/* 输入框重写 - 科技感下划线风格 */
.form-control {
background-color: transparent !important;
border: none;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 0;
color: #fff !important;
box-shadow: none;
padding-left: 0;
transition: all 0.3s ease;
height: 40px;
}
.signinpanel .pword {
background: #fff url(../img/locked.png) no-repeat 95% center;color:#333;
}
.signinpanel .btn {
margin-top: 15px;
}
.signinpanel form {
background: rgba(255, 255, 255, 0.2);
border: 1px solid rgba(255,255,255,.3);
-moz-box-shadow: 0 3px 0 rgba(12, 12, 12, 0.03);
-webkit-box-shadow: 0 3px 0 rgba(12, 12, 12, 0.03);
box-shadow: 0 3px 0 rgba(12, 12, 12, 0.03);
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
padding: 30px;
}
.signup-footer{border-top: solid 1px rgba(255,255,255,.3);margin:20px 0;padding-top: 15px;}
@media screen and (max-width: 768px) {
.signinpanel,
.signuppanel {
margin: 0 auto;
width: 420px!important;
padding: 20px;
}
.signinpanel form {
margin-top: 20px;
}
.signup-footer {
margin-bottom: 10px;
}
.signuppanel .form-control {
margin-bottom: 10px;
}
.signup-footer .pull-left,
.signup-footer .pull-right {
float: none !important;
text-align: center;
}
.signinpanel .signin-info ul {
display: none;
.form-control:focus {
border-bottom: 1px solid var(--primary-color);
box-shadow: 0 1px 0 0 var(--primary-glow);
color: #fff;
}
/* 针对浏览器自动填充背景色的 Hack */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 30px #151a23 inset !important;
-webkit-text-fill-color: white !important;
transition: background-color 5000s ease-in-out 0s;
}
@media screen and (max-width: 320px) {
.signinpanel,
.signuppanel {
margin:0 20px;
width:auto;
.form-control::-webkit-input-placeholder {
color: rgba(255,255,255,0.4);
}
.form-control:-moz-placeholder {
color: rgba(255,255,255,0.4);
}
/* 验证码输入框调整 */
.input-group-addon {
background: transparent;
border: none;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
/* 按钮样式 - 霓虹光效 */
.btn-primary {
background-color: var(--primary-color);
border-color: var(--primary-color);
color: #fff;
font-weight: bold;
border-radius: 25px; /* 圆角按钮 */
transition: all 0.3s ease;
box-shadow: 0 4px 15px var(--primary-glow);
margin-top: 20px;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
background-color: #15947a !important;
border-color: #15947a !important;
box-shadow: 0 6px 20px rgba(26, 179, 148, 0.8);
transform: translateY(-2px);
}
}
/* 底部文字 */
.text-muted {
color: rgba(255, 255, 255, 0.5) !important;
}