mobile app database models admin_contests admin_dashboard admin_exams admin_posts admin_teacher_applications admin_users apply_contest apply_teacher base chat contest_detail contest_list exam_result forum notifications profile themes

This commit is contained in:
2026-03-03 16:02:23 +08:00
parent 0764566742
commit 9a08140623
30 changed files with 1531 additions and 834 deletions

View File

@@ -1,6 +1,54 @@
/* 自定义样式 */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
background-attachment: fixed;
}
/* 科幻背景动画 */
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
@keyframes glow-pulse {
0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); }
50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.8); }
}
@keyframes shimmer {
0% { background-position: -1000px 0; }
100% { background-position: 1000px 0; }
}
/* 高级卡片样式 */
.futuristic-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.futuristic-card:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.futuristic-card-dark {
background: rgba(15, 23, 42, 0.85);
backdrop-filter: blur(20px);
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.futuristic-card-dark:hover {
transform: translateY(-8px);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
border-color: rgba(59, 130, 246, 0.5);
}
/* 自定义滚动条 */
@@ -181,4 +229,247 @@ button[onclick^="quickScore"]:active {
max-height: 120px;
overflow-y: auto;
}
}
/* 高级按钮样式 */
.btn-futuristic {
position: relative;
overflow: hidden;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
border-radius: 16px;
padding: 14px 32px;
color: white;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.btn-futuristic:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}
.btn-futuristic::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: left 0.5s;
}
.btn-futuristic:hover::before {
left: 100%;
}
.btn-outline-futuristic {
background: transparent;
border: 2px solid rgba(102, 126, 234, 0.5);
color: #667eea;
border-radius: 16px;
padding: 12px 30px;
font-weight: 600;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.btn-outline-futuristic:hover {
background: rgba(102, 126, 234, 0.1);
border-color: #667eea;
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
/* 输入框样式 */
.input-futuristic {
background: rgba(255, 255, 255, 0.9);
border: 2px solid rgba(102, 126, 234, 0.2);
border-radius: 12px;
padding: 12px 16px;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.input-futuristic:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
background: rgba(255, 255, 255, 1);
}
/* 导航栏样式 */
.navbar-futuristic {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(102, 126, 234, 0.1);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
/* 标签样式 */
.badge-futuristic {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 6px 14px;
border-radius: 20px;
font-size: 0.875rem;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 6px;
box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}
.badge-outline-futuristic {
background: transparent;
border: 2px solid rgba(102, 126, 234, 0.5);
color: #667eea;
padding: 4px 12px;
border-radius: 20px;
font-size: 0.875rem;
font-weight: 600;
}
/* 分隔线 */
.divider-futuristic {
height: 2px;
background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
margin: 2rem 0;
}
/* 加载动画 */
.loading-spinner {
width: 50px;
height: 50px;
border: 4px solid rgba(102, 126, 234, 0.2);
border-top-color: #667eea;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* 通知提示 */
.notification-futuristic {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
border-left: 4px solid #667eea;
border-radius: 12px;
padding: 16px 20px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
/* 表格样式 */
.table-futuristic {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.table-futuristic thead {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.table-futuristic tbody tr {
border-bottom: 1px solid rgba(102, 126, 234, 0.1);
transition: all 0.2s ease;
}
.table-futuristic tbody tr:hover {
background: rgba(102, 126, 234, 0.05);
}
/* 模态框样式 */
.modal-futuristic {
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(30px);
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
/* 进度条 */
.progress-futuristic {
height: 8px;
background: rgba(102, 126, 234, 0.2);
border-radius: 10px;
overflow: hidden;
}
.progress-bar-futuristic {
height: 100%;
background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
border-radius: 10px;
transition: width 0.3s ease;
box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}
/* 工具提示 */
.tooltip-futuristic {
background: rgba(15, 23, 42, 0.95);
backdrop-filter: blur(10px);
color: white;
padding: 8px 12px;
border-radius: 8px;
font-size: 0.875rem;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
/* 头像样式 */
.avatar-futuristic {
border: 3px solid rgba(102, 126, 234, 0.5);
border-radius: 50%;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
transition: all 0.3s ease;
}
.avatar-futuristic:hover {
transform: scale(1.1);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}
/* 侧边栏 */
.sidebar-futuristic {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
border-right: 1px solid rgba(102, 126, 234, 0.1);
box-shadow: 4px 0 20px rgba(0, 0, 0, 0.05);
}
/* 页脚 */
.footer-futuristic {
background: rgba(15, 23, 42, 0.95);
backdrop-filter: blur(20px);
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.8);
}
/* 粒子背景容器 */
.particles-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
pointer-events: none;
}