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:
83
static/css/admin-i18n.css
Normal file
83
static/css/admin-i18n.css
Normal file
@@ -0,0 +1,83 @@
|
||||
/* Flask-Admin 界面中文化样式 */
|
||||
|
||||
/* ========== 顶部导航栏中文化 ========== */
|
||||
|
||||
/* List (4) 标签页 - 只针对第一个li */
|
||||
.nav-tabs li:first-child a {
|
||||
font-size: 0 !important;
|
||||
}
|
||||
|
||||
.nav-tabs li:first-child a::after {
|
||||
font-size: 14px;
|
||||
content: "列表";
|
||||
}
|
||||
|
||||
/* 保留数字显示 */
|
||||
.nav-tabs li a .badge {
|
||||
font-size: 12px !important;
|
||||
}
|
||||
|
||||
/* Create 按钮 - 通过href精确匹配 */
|
||||
.nav.nav-tabs ~ .btn-group a.btn-primary,
|
||||
a.btn.btn-primary[href$="/new/"] {
|
||||
font-size: 0 !important;
|
||||
}
|
||||
|
||||
.nav.nav-tabs ~ .btn-group a.btn-primary::before,
|
||||
a.btn.btn-primary[href$="/new/"]::before {
|
||||
font-size: 14px;
|
||||
content: "创建";
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.nav.nav-tabs ~ .btn-group a.btn-primary .fa,
|
||||
a.btn.btn-primary[href$="/new/"] .fa {
|
||||
font-size: 14px !important;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
/* Add Filter 下拉按钮 */
|
||||
.btn-group .dropdown-toggle {
|
||||
font-size: 0 !important;
|
||||
}
|
||||
|
||||
.btn-group .dropdown-toggle::before {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* 根据位置区分不同的dropdown */
|
||||
/* Add Filter - 第一个dropdown */
|
||||
.btn-group:nth-of-type(1) .dropdown-toggle::before {
|
||||
content: "添加筛选";
|
||||
}
|
||||
|
||||
/* With selected - 第二个dropdown (通常在表格上方) */
|
||||
form[id^="action_confirmation"] ~ .btn-group .dropdown-toggle::before,
|
||||
.actions-nav .dropdown-toggle::before {
|
||||
content: "批量操作";
|
||||
}
|
||||
|
||||
/* 保留下拉箭头 */
|
||||
.btn-group .dropdown-toggle .caret {
|
||||
font-size: 0;
|
||||
margin-left: 4px;
|
||||
display: inline-block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 4px solid transparent;
|
||||
border-right: 4px solid transparent;
|
||||
border-top: 4px solid currentColor;
|
||||
}
|
||||
|
||||
/* Delete 批量删除选项 */
|
||||
.dropdown-menu li a {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
/* ========== 修正:避免影响其他链接 ========== */
|
||||
/* 重置可能被误伤的元素 */
|
||||
.admin-sidebar a,
|
||||
.nav-item a,
|
||||
table a {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
Reference in New Issue
Block a user