db7648eb4d
- 新增微信小程序版个人收藏夹全套功能,包含聚合首页、收藏列表、编辑、详情页面与配套后端API - 新增web版时光助手门户与个人收藏夹工具,支持与小程序共享后端数据 - 优化日历提醒工具:替换本地bootstrap资源为公共CDN版本,新增批量生成循环提醒的前端界面与后端逻辑,新增数据库batch_id字段,更新鉴权配置文件 - 补充项目配置、站点地图、调试诊断脚本等配套文件 - 完善各模块的页面配置与样式文件
180 lines
3.8 KiB
CSS
180 lines
3.8 KiB
CSS
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
|
background: radial-gradient(1200px 800px at 10% 0%, #1a1a33 0%, #0f0f1a 60%, #0b0b15 100%);
|
|
min-height: 100vh;
|
|
color: #e8e8f0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.app-root {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 40px 24px 80px;
|
|
}
|
|
|
|
.app-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 48px;
|
|
padding: 24px 32px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(108, 122, 224, 0.15);
|
|
border-radius: 24px;
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.app-header-left .app-title {
|
|
font-size: 32px;
|
|
font-weight: 600;
|
|
letter-spacing: 1px;
|
|
background: linear-gradient(135deg, #6c7ae0 0%, #b06be0 100%);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.app-header-left .app-subtitle {
|
|
font-size: 14px;
|
|
color: #8a8aa8;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.app-header-right .status-tag {
|
|
padding: 8px 16px;
|
|
border-radius: 999px;
|
|
font-size: 13px;
|
|
background: rgba(108, 122, 224, 0.12);
|
|
color: #a8b4ff;
|
|
border: 1px solid rgba(108, 122, 224, 0.25);
|
|
}
|
|
|
|
.app-header-right .status-tag.ok {
|
|
background: rgba(0, 216, 167, 0.1);
|
|
color: #00d8a7;
|
|
border-color: rgba(0, 216, 167, 0.3);
|
|
}
|
|
|
|
.app-header-right .status-tag.err {
|
|
background: rgba(255, 80, 100, 0.1);
|
|
color: #ff8595;
|
|
border-color: rgba(255, 80, 100, 0.3);
|
|
}
|
|
|
|
.kit-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.kit-empty {
|
|
grid-column: 1 / -1;
|
|
text-align: center;
|
|
padding: 80px 0;
|
|
color: #8a8aa8;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.kit-card {
|
|
position: relative;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 22px;
|
|
padding: 28px;
|
|
cursor: pointer;
|
|
transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
|
|
border-color 0.3s ease,
|
|
background 0.3s ease,
|
|
box-shadow 0.35s ease;
|
|
backdrop-filter: blur(8px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.kit-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, rgba(108, 122, 224, 0) 0%, rgba(176, 107, 224, 0) 100%);
|
|
transition: opacity 0.4s ease;
|
|
opacity: 0;
|
|
z-index: 0;
|
|
}
|
|
|
|
.kit-card:hover {
|
|
transform: translateY(-6px);
|
|
border-color: rgba(108, 122, 224, 0.35);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
box-shadow: 0 20px 40px rgba(108, 122, 224, 0.15);
|
|
}
|
|
|
|
.kit-card:hover::before {
|
|
opacity: 1;
|
|
background: linear-gradient(135deg, rgba(108, 122, 224, 0.08) 0%, rgba(176, 107, 224, 0.04) 100%);
|
|
}
|
|
|
|
.kit-icon {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 28px;
|
|
background: linear-gradient(135deg, rgba(108, 122, 224, 0.22) 0%, rgba(176, 107, 224, 0.18) 100%);
|
|
border: 1px solid rgba(108, 122, 224, 0.3);
|
|
margin-bottom: 18px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.kit-name {
|
|
font-size: 19px;
|
|
font-weight: 600;
|
|
color: #f0f0f8;
|
|
margin-bottom: 8px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.kit-desc {
|
|
font-size: 13.5px;
|
|
color: #9b9bb5;
|
|
line-height: 1.7;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.kit-arrow {
|
|
margin-top: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
color: #a8b4ff;
|
|
position: relative;
|
|
z-index: 1;
|
|
opacity: 0.75;
|
|
transition: gap 0.3s ease, opacity 0.3s ease;
|
|
}
|
|
|
|
.kit-card:hover .kit-arrow {
|
|
gap: 12px;
|
|
opacity: 1;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.app-root { padding: 20px 16px 60px; }
|
|
.app-header {
|
|
padding: 18px 20px;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
.app-header-left .app-title { font-size: 24px; }
|
|
.kit-grid { grid-template-columns: 1fr; gap: 16px; }
|
|
.kit-card { padding: 22px; }
|
|
}
|