Files
yangxiangyuan db7648eb4d feat(mp, web, calendar): 新增微信收藏夹与日历批量生成功能
- 新增微信小程序版个人收藏夹全套功能,包含聚合首页、收藏列表、编辑、详情页面与配套后端API
- 新增web版时光助手门户与个人收藏夹工具,支持与小程序共享后端数据
- 优化日历提醒工具:替换本地bootstrap资源为公共CDN版本,新增批量生成循环提醒的前端界面与后端逻辑,新增数据库batch_id字段,更新鉴权配置文件
- 补充项目配置、站点地图、调试诊断脚本等配套文件
- 完善各模块的页面配置与样式文件
2026-09-02 22:20:37 +08:00

297 lines
7.6 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;
font-size: 15px;
}
button {
font-family: inherit;
border: none;
cursor: pointer;
outline: none;
transition: all 0.2s ease;
}
input, textarea, select {
font-family: inherit;
outline: none;
}
input::placeholder, textarea::placeholder {
color: #555570;
}
.app-shell {
max-width: 1100px;
margin: 0 auto;
padding: 32px 24px 80px;
}
.app-topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 20px 28px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(108, 122, 224, 0.15);
border-radius: 22px;
backdrop-filter: blur(12px);
margin-bottom: 28px;
}
.app-topbar-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.app-topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.back-btn {
width: 40px;
height: 40px;
border-radius: 12px;
background: rgba(108, 122, 224, 0.14);
color: #a8b4ff;
font-size: 18px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid rgba(108, 122, 224, 0.25);
flex-shrink: 0;
}
.back-btn:hover { background: rgba(108, 122, 224, 0.22); transform: translateX(-2px); }
.page-title {
font-size: 22px;
font-weight: 600;
color: #f0f0f8;
letter-spacing: 0.5px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.page-subtitle {
font-size: 13px;
color: #8a8aa8;
margin-top: 2px;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 10px 18px;
border-radius: 12px;
font-size: 14px;
font-weight: 500;
letter-spacing: 0.3px;
}
.btn.primary {
background: linear-gradient(135deg, #6c7ae0 0%, #8a6be0 100%);
color: #fff;
border: 1px solid rgba(108, 122, 224, 0.5);
box-shadow: 0 8px 20px rgba(108, 122, 224, 0.25);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(108, 122, 224, 0.32); }
.btn.primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.secondary {
background: rgba(255, 255, 255, 0.05);
color: #cfcfe0;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn.secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(108, 122, 224, 0.25); }
.btn.danger {
background: rgba(255, 80, 100, 0.12);
color: #ff8595;
border: 1px solid rgba(255, 80, 100, 0.25);
}
.btn.danger:hover { background: rgba(255, 80, 100, 0.2); }
.btn.ghost {
background: transparent;
color: #9b9bb5;
padding: 8px 12px;
}
.btn.ghost:hover { color: #e8e8f0; background: rgba(255,255,255,0.04); }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 14px; }
.card {
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 22px;
padding: 24px;
backdrop-filter: blur(8px);
transition: border-color 0.3s ease;
}
.card:hover { border-color: rgba(108, 122, 224, 0.22); }
.tag {
display: inline-block;
padding: 4px 10px;
border-radius: 999px;
background: rgba(108, 122, 224, 0.12);
color: #a8b4ff;
font-size: 12px;
border: 1px solid rgba(108, 122, 224, 0.22);
margin-right: 6px;
margin-bottom: 4px;
}
.empty-state {
text-align: center;
padding: 100px 20px;
color: #8a8aa8;
}
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.6; }
.empty-state-text { font-size: 15px; margin-bottom: 8px; }
.empty-state-hint { font-size: 13px; opacity: 0.7; }
.search-bar {
display: flex;
align-items: center;
gap: 10px;
padding: 14px 18px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
margin-bottom: 20px;
transition: border-color 0.2s ease;
}
.search-bar:focus-within { border-color: rgba(108, 122, 224, 0.4); }
.search-bar .search-icon { font-size: 17px; color: #8a8aa8; flex-shrink: 0; }
.search-bar input {
flex: 1;
background: transparent;
border: none;
color: #ffffff;
font-size: 15px;
padding: 6px 0;
}
.form-group {
margin-bottom: 22px;
}
.form-label {
display: block;
font-size: 14px;
font-weight: 500;
color: #c8c8e0;
margin-bottom: 10px;
letter-spacing: 0.3px;
}
.form-control {
width: 100%;
background: rgba(18, 18, 31, 0.7);
border: 1px solid rgba(255, 255, 255, 0.09);
border-radius: 14px;
padding: 14px 18px;
color: #ffffff !important;
font-size: 15px;
line-height: 1.6;
transition: border-color 0.2s ease, background 0.2s ease;
}
.form-control:focus {
background: rgba(18, 18, 31, 0.9);
border-color: rgba(108, 122, 224, 0.45);
}
textarea.form-control { resize: vertical; min-height: 140px; }
.modal-mask {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
padding: 20px;
}
.modal-card {
width: 100%;
max-width: 440px;
background: linear-gradient(180deg, #1a1a2e 0%, #141425 100%);
border: 1px solid rgba(108, 122, 224, 0.2);
border-radius: 20px;
padding: 28px;
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.modal-title {
font-size: 18px;
font-weight: 600;
color: #f0f0f8;
margin-bottom: 10px;
}
.modal-title.danger { color: #ff8595; }
.modal-desc { color: #a8a8c0; font-size: 14px; line-height: 1.7; margin-bottom: 22px; white-space: pre-wrap; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.fab {
position: fixed;
right: 28px;
bottom: 36px;
width: 60px;
height: 60px;
border-radius: 50%;
background: linear-gradient(135deg, #6c7ae0 0%, #b06be0 100%);
color: #fff;
font-size: 28px;
box-shadow: 0 14px 30px rgba(108, 122, 224, 0.4);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
}
.fab:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 38px rgba(108, 122, 224, 0.5); }
.interaction-dialog {
position: fixed;
bottom: 24px;
right: 24px;
width: min(460px, calc(100vw - 48px));
max-height: 55vh;
overflow-y: auto;
background: linear-gradient(180deg, rgba(18, 18, 34, 0.98) 0%, rgba(14, 14, 28, 0.98) 100%);
border: 1px solid rgba(108, 122, 224, 0.25);
border-radius: 16px;
padding: 16px 18px;
z-index: 10000;
backdrop-filter: blur(12px);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
font-size: 12.5px;
line-height: 1.6;
}
.interaction-dialog.hidden { display: none; }
.interaction-dialog .id-title {
font-size: 13px; font-weight: 600; color: #a8b4ff;
margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center;
}
.interaction-dialog .id-body {
color: #b8b8d0; white-space: pre-wrap; word-break: break-all;
font-family: 'Consolas', 'SFMono-Regular', monospace;
background: rgba(0,0,0,0.2); border-radius: 8px; padding: 10px; max-height: 38vh; overflow-y: auto;
}
.interaction-dialog .id-actions {
margin-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.interaction-dialog .id-countdown { color: #8a8aa8; font-size: 12px; }
@media (max-width: 600px) {
.app-shell { padding: 20px 14px 96px; }
.app-topbar { padding: 16px 18px; flex-direction: column; align-items: flex-start; }
.app-topbar-right { width: 100%; justify-content: flex-end; }
.page-title { font-size: 18px; }
.card { padding: 18px; }
.fab { right: 20px; bottom: 26px; width: 54px; height: 54px; font-size: 24px; }
}