release: v2.0 - 完整功能管理系统
主要功能: - 完整的Flask-Admin后台管理系统 - 网站/标签/新闻管理功能 - 用户登录认证系统 - 科技感/未来风UI设计 - 标签分类系统(取代传统分类) - 详情页面展示 - 数据库迁移脚本 - 书签导入解析工具 技术栈: - Flask + SQLAlchemy - Flask-Admin管理界面 - Bootstrap 4响应式设计 - 用户认证与权限管理 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
97
static/css/admin-actions.css
Normal file
97
static/css/admin-actions.css
Normal file
@@ -0,0 +1,97 @@
|
||||
/* 管理后台操作按钮样式 - 添加中文文字 */
|
||||
|
||||
/* 表格操作列 */
|
||||
td.list-buttons-column,
|
||||
th.list-buttons-column {
|
||||
white-space: nowrap;
|
||||
min-width: 140px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* 隐藏所有图标 */
|
||||
td.list-buttons-column a.icon .glyphicon,
|
||||
td.list-buttons-column a.icon .fa,
|
||||
td.list-buttons-column a.icon span.glyphicon,
|
||||
td.list-buttons-column a.icon i,
|
||||
td.list-buttons-column form .glyphicon,
|
||||
td.list-buttons-column form .fa,
|
||||
td.list-buttons-column form span.glyphicon,
|
||||
td.list-buttons-column form i {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* 通用操作按钮样式(链接) */
|
||||
td.list-buttons-column a.icon {
|
||||
display: inline-flex !important;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 60px;
|
||||
height: 32px;
|
||||
padding: 0 12px;
|
||||
margin: 0 4px;
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s;
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||
}
|
||||
|
||||
/* 删除表单样式 */
|
||||
td.list-buttons-column form {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* 删除表单的提交按钮 */
|
||||
td.list-buttons-column form button,
|
||||
td.list-buttons-column form input[type="submit"] {
|
||||
display: inline-flex !important;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 60px;
|
||||
height: 32px;
|
||||
padding: 0 12px;
|
||||
margin: 0 4px;
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s;
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||
background: #E34D59 !important;
|
||||
color: white !important;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
td.list-buttons-column form button:hover,
|
||||
td.list-buttons-column form input[type="submit"]:hover {
|
||||
background: #C9353F !important;
|
||||
}
|
||||
|
||||
/* 使用::before添加删除文字 */
|
||||
td.list-buttons-column form button::before,
|
||||
td.list-buttons-column form input[type="submit"]::before {
|
||||
content: "删除";
|
||||
}
|
||||
|
||||
/* 编辑按钮 - 通过href匹配 */
|
||||
td.list-buttons-column a[href*="/edit/"] {
|
||||
background: #0052D9 !important;
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
td.list-buttons-column a[href*="/edit/"]:hover {
|
||||
background: #0041A8 !important;
|
||||
}
|
||||
|
||||
td.list-buttons-column a[href*="/edit/"]::after {
|
||||
content: "编辑";
|
||||
}
|
||||
|
||||
/* 查看按钮 - 完全隐藏 */
|
||||
td.list-buttons-column a[href*="/details/"] {
|
||||
display: none !important;
|
||||
}
|
||||
Reference in New Issue
Block a user