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:
@@ -1,295 +1,459 @@
|
||||
/* ========== Flask-Admin 后台科技感主题 - ZJPB焦提示词 ========== */
|
||||
/* ========== Flask-Admin TDesign主题 - ZJPB焦提示词 (亮色主题) ========== */
|
||||
|
||||
/* 深色主题覆盖 */
|
||||
body.admin-theme {
|
||||
background: #111618 !important;
|
||||
background-image:
|
||||
radial-gradient(at 20% 20%, rgba(37, 192, 244, 0.08) 0px, transparent 50%),
|
||||
radial-gradient(at 80% 80%, rgba(124, 58, 237, 0.08) 0px, transparent 50%);
|
||||
color: #ffffff !important;
|
||||
font-family: 'Space Grotesk', 'Noto Sans', sans-serif !important;
|
||||
/* TDesign 色彩系统 */
|
||||
:root {
|
||||
--td-brand-color: #0052D9;
|
||||
--td-brand-color-hover: #266FE8;
|
||||
--td-brand-color-active: #0034B5;
|
||||
--td-brand-color-light: #ECF2FE;
|
||||
--td-success-color: #00A870;
|
||||
--td-warning-color: #E37318;
|
||||
--td-error-color: #D54941;
|
||||
--td-bg-color-page: #F3F3F3;
|
||||
--td-bg-color-container: #FFFFFF;
|
||||
--td-bg-color-container-hover: #F5F5F5;
|
||||
--td-text-color-primary: #000000;
|
||||
--td-text-color-secondary: #606266;
|
||||
--td-text-color-placeholder: #C0C4CC;
|
||||
--td-border-color: #DCDFE6;
|
||||
--td-border-color-light: #E4E7ED;
|
||||
--td-border-radius: 3px;
|
||||
--td-border-radius-medium: 6px;
|
||||
--td-shadow-1: 0 1px 10px rgba(0, 0, 0, .05);
|
||||
--td-shadow-2: 0 2px 20px rgba(0, 0, 0, .08);
|
||||
}
|
||||
|
||||
/* 亮色模式 - 全局覆盖 */
|
||||
body, body.admin-theme, .admin-theme {
|
||||
background: var(--td-bg-color-page) !important;
|
||||
color: var(--td-text-color-primary) !important;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif !important;
|
||||
}
|
||||
|
||||
/* 主容器 */
|
||||
.container-fluid, .container {
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
/* 导航栏 */
|
||||
.navbar-admin {
|
||||
background: rgba(27, 36, 39, 0.95) !important;
|
||||
backdrop-filter: blur(20px);
|
||||
border-bottom: 1px solid #283539;
|
||||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
|
||||
.navbar, .navbar-default, .navbar-inverse, .navbar-admin {
|
||||
background: #FFFFFF !important;
|
||||
border-bottom: 1px solid var(--td-border-color) !important;
|
||||
box-shadow: var(--td-shadow-1) !important;
|
||||
border: none !important;
|
||||
min-height: 64px !important;
|
||||
}
|
||||
|
||||
.navbar-admin .navbar-brand {
|
||||
background: linear-gradient(to right, #25c0f4, #c084fc);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
font-weight: 700;
|
||||
font-family: 'Space Grotesk', sans-serif !important;
|
||||
.navbar-brand, .navbar .navbar-brand {
|
||||
color: var(--td-brand-color) !important;
|
||||
font-weight: 600 !important;
|
||||
font-size: 18px !important;
|
||||
}
|
||||
|
||||
.navbar-nav .nav-link, .navbar-nav > li > a {
|
||||
color: var(--td-text-color-secondary) !important;
|
||||
font-size: 14px !important;
|
||||
padding: 8px 16px !important;
|
||||
border-radius: var(--td-border-radius) !important;
|
||||
transition: all 0.2s ease !important;
|
||||
}
|
||||
|
||||
.navbar-nav .nav-link:hover, .navbar-nav > li > a:hover,
|
||||
.navbar-nav .nav-link:focus, .navbar-nav > li > a:focus {
|
||||
color: var(--td-text-color-primary) !important;
|
||||
background: var(--td-bg-color-container-hover) !important;
|
||||
}
|
||||
|
||||
/* 侧边栏 */
|
||||
.nav-sidebar {
|
||||
background: rgba(27, 36, 39, 0.8) !important;
|
||||
.nav-sidebar, .nav.nav-pills {
|
||||
background: #FFFFFF !important;
|
||||
border-right: 1px solid var(--td-border-color) !important;
|
||||
}
|
||||
|
||||
.nav-sidebar .nav-link {
|
||||
color: #9cb2ba !important;
|
||||
transition: all 0.3s ease;
|
||||
.nav-sidebar .nav-link, .nav-sidebar > li > a,
|
||||
.nav-pills > li > a {
|
||||
color: var(--td-text-color-secondary) !important;
|
||||
padding: 12px 16px !important;
|
||||
margin: 4px 8px !important;
|
||||
border-radius: var(--td-border-radius-medium) !important;
|
||||
font-size: 14px !important;
|
||||
transition: all 0.2s cubic-bezier(0.38, 0, 0.24, 1) !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.nav-sidebar .nav-link:hover,
|
||||
.nav-sidebar .nav-link.active {
|
||||
color: #ffffff !important;
|
||||
background: rgba(37, 192, 244, 0.15) !important;
|
||||
border-left: 3px solid #25c0f4;
|
||||
.nav-sidebar .nav-link:hover, .nav-sidebar > li > a:hover,
|
||||
.nav-pills > li > a:hover {
|
||||
color: var(--td-text-color-primary) !important;
|
||||
background: var(--td-brand-color-light) !important;
|
||||
}
|
||||
|
||||
.nav-sidebar .nav-link.active, .nav-sidebar > li.active > a,
|
||||
.nav-pills > li.active > a {
|
||||
color: var(--td-brand-color) !important;
|
||||
background: var(--td-brand-color-light) !important;
|
||||
font-weight: 500 !important;
|
||||
}
|
||||
|
||||
/* 卡片和面板 */
|
||||
.card, .panel {
|
||||
background: rgba(27, 36, 39, 0.6) !important;
|
||||
backdrop-filter: blur(20px);
|
||||
border: 1px solid #283539 !important;
|
||||
border-radius: 12px !important;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||
background: var(--td-bg-color-container) !important;
|
||||
border: 1px solid var(--td-border-color) !important;
|
||||
border-radius: var(--td-border-radius-medium) !important;
|
||||
box-shadow: var(--td-shadow-1);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.card-header, .panel-heading {
|
||||
background: rgba(37, 192, 244, 0.08) !important;
|
||||
border-bottom: 1px solid #283539 !important;
|
||||
color: #ffffff !important;
|
||||
background: transparent !important;
|
||||
border-bottom: 1px solid var(--td-border-color) !important;
|
||||
color: var(--td-text-color-primary) !important;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
padding: 16px !important;
|
||||
}
|
||||
|
||||
/* 表格 */
|
||||
.table {
|
||||
color: #ffffff !important;
|
||||
color: var(--td-text-color-primary) !important;
|
||||
font-size: 14px;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
.table thead th {
|
||||
background: rgba(30, 39, 44, 0.8) !important;
|
||||
border-color: #283539 !important;
|
||||
color: #9cb2ba !important;
|
||||
font-size: 11px;
|
||||
background: var(--td-bg-color-container-hover) !important;
|
||||
border: none !important;
|
||||
color: var(--td-text-color-secondary) !important;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
letter-spacing: 0.5px;
|
||||
padding: 12px 16px !important;
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
.table thead th:first-child {
|
||||
border-top-left-radius: var(--td-border-radius);
|
||||
}
|
||||
|
||||
.table thead th:last-child {
|
||||
border-top-right-radius: var(--td-border-radius);
|
||||
}
|
||||
|
||||
.table tbody tr {
|
||||
background: transparent !important;
|
||||
border-color: #283539 !important;
|
||||
transition: all 0.2s ease;
|
||||
border-bottom: 1px solid var(--td-border-color-light) !important;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.table tbody tr:hover {
|
||||
background: rgba(30, 39, 44, 0.5) !important;
|
||||
background: var(--td-brand-color-light) !important;
|
||||
}
|
||||
|
||||
.table td, .table th {
|
||||
border-color: #283539 !important;
|
||||
color: #ffffff !important;
|
||||
.table tbody tr:last-child {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
.table td {
|
||||
border: none !important;
|
||||
color: var(--td-text-color-primary) !important;
|
||||
padding: 16px !important;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.table th {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
/* 表单 */
|
||||
.form-control {
|
||||
background: #111618 !important;
|
||||
border: 1px solid #283539 !important;
|
||||
color: #ffffff !important;
|
||||
border-radius: 8px !important;
|
||||
transition: all 0.3s ease;
|
||||
background: var(--td-bg-color-container) !important;
|
||||
border: 1px solid var(--td-border-color) !important;
|
||||
color: var(--td-text-color-primary) !important;
|
||||
border-radius: var(--td-border-radius) !important;
|
||||
padding: 8px 12px !important;
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
transition: all 0.2s cubic-bezier(0.38, 0, 0.24, 1);
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
background: rgba(27, 36, 39, 0.8) !important;
|
||||
border-color: #25c0f4 !important;
|
||||
box-shadow: 0 0 0 3px rgba(37, 192, 244, 0.1) !important;
|
||||
background: var(--td-bg-color-container) !important;
|
||||
border-color: var(--td-brand-color) !important;
|
||||
box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.1) !important;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.form-control::placeholder {
|
||||
color: #9cb2ba !important;
|
||||
color: var(--td-text-color-placeholder) !important;
|
||||
}
|
||||
|
||||
.form-label, label {
|
||||
color: #9cb2ba !important;
|
||||
color: var(--td-text-color-primary) !important;
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.form-text {
|
||||
color: var(--td-text-color-secondary) !important;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* 按钮 */
|
||||
.btn {
|
||||
border-radius: var(--td-border-radius) !important;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
padding: 8px 16px !important;
|
||||
line-height: 22px;
|
||||
transition: all 0.2s cubic-bezier(0.38, 0, 0.24, 1);
|
||||
border: none;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: #25c0f4 !important;
|
||||
border: none !important;
|
||||
color: #111618 !important;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 0 20px rgba(37, 192, 244, 0.3);
|
||||
transition: all 0.3s ease;
|
||||
background: var(--td-brand-color) !important;
|
||||
color: #FFFFFF !important;
|
||||
box-shadow: 0 2px 4px rgba(0, 82, 217, 0.2);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: #1fa8d8 !important;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 0 30px rgba(37, 192, 244, 0.5);
|
||||
background: var(--td-brand-color-hover) !important;
|
||||
box-shadow: 0 4px 8px rgba(0, 82, 217, 0.3);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.btn-primary:active {
|
||||
background: var(--td-brand-color-active) !important;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.btn-success {
|
||||
background: var(--td-success-color) !important;
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
.btn-warning {
|
||||
background: var(--td-warning-color) !important;
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
.btn-danger {
|
||||
background: var(--td-error-color) !important;
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
.btn-info {
|
||||
background: linear-gradient(135deg, #25c0f4 0%, #00f2fe 100%) !important;
|
||||
border: none !important;
|
||||
color: #111618 !important;
|
||||
font-weight: 600;
|
||||
background: #029CD4 !important;
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
.btn-secondary, .btn-default {
|
||||
background: rgba(40, 53, 57, 0.6) !important;
|
||||
border: 1px solid #283539 !important;
|
||||
color: #ffffff !important;
|
||||
transition: all 0.3s ease;
|
||||
background: #FFFFFF !important;
|
||||
border: 1px solid var(--td-border-color) !important;
|
||||
color: var(--td-text-color-primary) !important;
|
||||
}
|
||||
|
||||
.btn-secondary:hover, .btn-default:hover {
|
||||
background: rgba(52, 66, 71, 0.8) !important;
|
||||
border-color: #4a5a60 !important;
|
||||
background: var(--td-bg-color-container-hover) !important;
|
||||
border-color: var(--td-border-color) !important;
|
||||
}
|
||||
|
||||
/* 模态框 */
|
||||
.modal-content {
|
||||
background: rgba(27, 36, 39, 0.95) !important;
|
||||
backdrop-filter: blur(20px);
|
||||
border: 1px solid #283539 !important;
|
||||
border-radius: 12px !important;
|
||||
background: var(--td-bg-color-container) !important;
|
||||
border: 1px solid var(--td-border-color) !important;
|
||||
border-radius: var(--td-border-radius-medium) !important;
|
||||
box-shadow: var(--td-shadow-2);
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
border-bottom-color: #283539 !important;
|
||||
background: rgba(37, 192, 244, 0.05);
|
||||
border-bottom: 1px solid var(--td-border-color) !important;
|
||||
padding: 20px 24px;
|
||||
}
|
||||
|
||||
.modal-title {
|
||||
color: var(--td-text-color-primary) !important;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
border-top-color: #283539 !important;
|
||||
border-top: 1px solid var(--td-border-color) !important;
|
||||
padding: 16px 24px;
|
||||
}
|
||||
|
||||
/* 分页 */
|
||||
.pagination {
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.pagination .page-link {
|
||||
background: rgba(27, 36, 39, 0.6) !important;
|
||||
border-color: #283539 !important;
|
||||
color: #9cb2ba !important;
|
||||
background: var(--td-bg-color-container) !important;
|
||||
border: 1px solid var(--td-border-color) !important;
|
||||
color: var(--td-text-color-primary) !important;
|
||||
border-radius: var(--td-border-radius) !important;
|
||||
padding: 6px 12px;
|
||||
margin: 0;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.pagination .page-link:hover {
|
||||
background: rgba(37, 192, 244, 0.1) !important;
|
||||
border-color: #25c0f4 !important;
|
||||
color: #ffffff !important;
|
||||
background: var(--td-brand-color-light) !important;
|
||||
border-color: var(--td-brand-color) !important;
|
||||
color: var(--td-brand-color) !important;
|
||||
}
|
||||
|
||||
.pagination .page-item.active .page-link {
|
||||
background: #25c0f4 !important;
|
||||
border-color: #25c0f4 !important;
|
||||
color: #111618 !important;
|
||||
background: var(--td-brand-color) !important;
|
||||
border-color: var(--td-brand-color) !important;
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
.pagination .page-item.disabled .page-link {
|
||||
background: var(--td-bg-color-container) !important;
|
||||
border-color: var(--td-border-color) !important;
|
||||
color: var(--td-text-color-placeholder) !important;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* 警告框 */
|
||||
.alert {
|
||||
background: rgba(27, 36, 39, 0.8) !important;
|
||||
border: 1px solid #283539 !important;
|
||||
color: #ffffff !important;
|
||||
border-radius: 8px !important;
|
||||
border-radius: var(--td-border-radius-medium) !important;
|
||||
border: none !important;
|
||||
padding: 12px 16px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
background: rgba(34, 197, 94, 0.1) !important;
|
||||
border-color: rgba(34, 197, 94, 0.3) !important;
|
||||
color: #4ade80 !important;
|
||||
background: rgba(0, 168, 112, 0.1) !important;
|
||||
color: #00A870 !important;
|
||||
}
|
||||
|
||||
.alert-danger {
|
||||
background: rgba(239, 68, 68, 0.1) !important;
|
||||
border-color: rgba(239, 68, 68, 0.3) !important;
|
||||
color: #f87171 !important;
|
||||
background: rgba(213, 73, 65, 0.1) !important;
|
||||
color: #D54941 !important;
|
||||
}
|
||||
|
||||
.alert-info {
|
||||
background: rgba(37, 192, 244, 0.1) !important;
|
||||
border-color: rgba(37, 192, 244, 0.3) !important;
|
||||
color: #25c0f4 !important;
|
||||
background: rgba(2, 156, 212, 0.1) !important;
|
||||
color: #029CD4 !important;
|
||||
}
|
||||
|
||||
.alert-warning {
|
||||
background: rgba(251, 191, 36, 0.1) !important;
|
||||
border-color: rgba(251, 191, 36, 0.3) !important;
|
||||
color: #fbbf24 !important;
|
||||
background: rgba(227, 115, 24, 0.1) !important;
|
||||
color: #E37318 !important;
|
||||
}
|
||||
|
||||
/* 链接 */
|
||||
a {
|
||||
color: #25c0f4 !important;
|
||||
color: var(--td-brand-color) !important;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #1fa8d8 !important;
|
||||
color: var(--td-brand-color-hover) !important;
|
||||
}
|
||||
|
||||
/* 文本颜色 */
|
||||
.text-muted {
|
||||
color: #9cb2ba !important;
|
||||
color: var(--td-text-color-secondary) !important;
|
||||
}
|
||||
|
||||
/* 输入组 */
|
||||
.input-group-text {
|
||||
background: rgba(27, 36, 39, 0.6) !important;
|
||||
border-color: #283539 !important;
|
||||
color: #9cb2ba !important;
|
||||
background: var(--td-bg-color-container-hover) !important;
|
||||
border: 1px solid var(--td-border-color) !important;
|
||||
color: var(--td-text-color-secondary) !important;
|
||||
}
|
||||
|
||||
/* Select2 下拉框 */
|
||||
.select2-container--bootstrap4 .select2-selection {
|
||||
background: #111618 !important;
|
||||
border-color: #283539 !important;
|
||||
color: #ffffff !important;
|
||||
background: var(--td-bg-color-container) !important;
|
||||
border: 1px solid var(--td-border-color) !important;
|
||||
color: var(--td-text-color-primary) !important;
|
||||
border-radius: var(--td-border-radius) !important;
|
||||
}
|
||||
|
||||
.select2-dropdown {
|
||||
background: rgba(27, 36, 39, 0.95) !important;
|
||||
border-color: #283539 !important;
|
||||
backdrop-filter: blur(10px);
|
||||
background: var(--td-bg-color-container) !important;
|
||||
border: 1px solid var(--td-border-color) !important;
|
||||
border-radius: var(--td-border-radius-medium) !important;
|
||||
box-shadow: var(--td-shadow-2);
|
||||
}
|
||||
|
||||
.select2-results__option {
|
||||
color: #ffffff !important;
|
||||
color: var(--td-text-color-primary) !important;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
.select2-results__option--highlighted {
|
||||
background: rgba(37, 192, 244, 0.2) !important;
|
||||
background: var(--td-brand-color-light) !important;
|
||||
color: var(--td-brand-color) !important;
|
||||
}
|
||||
|
||||
/* 徽章 */
|
||||
.badge {
|
||||
border-radius: 2px !important;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
padding: 2px 8px;
|
||||
}
|
||||
|
||||
.badge-primary {
|
||||
background: #25c0f4 !important;
|
||||
color: #111618 !important;
|
||||
background: var(--td-brand-color) !important;
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
.badge-success {
|
||||
background: var(--td-success-color) !important;
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
.badge-warning {
|
||||
background: var(--td-warning-color) !important;
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
.badge-danger {
|
||||
background: var(--td-error-color) !important;
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
.badge-secondary {
|
||||
background: #283539 !important;
|
||||
color: #9cb2ba !important;
|
||||
background: var(--td-bg-color-container-hover) !important;
|
||||
color: var(--td-text-color-secondary) !important;
|
||||
}
|
||||
|
||||
/* 进度条 */
|
||||
.progress {
|
||||
background: rgba(27, 36, 39, 0.6) !important;
|
||||
background: var(--td-bg-color-container-hover) !important;
|
||||
border-radius: 2px !important;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
background: #25c0f4 !important;
|
||||
background: var(--td-brand-color) !important;
|
||||
}
|
||||
|
||||
/* 额外优化 */
|
||||
.navbar-nav .nav-link {
|
||||
color: #9cb2ba !important;
|
||||
/* 复选框和单选框 */
|
||||
.form-check-input {
|
||||
background-color: var(--td-bg-color-container) !important;
|
||||
border: 1px solid var(--td-border-color) !important;
|
||||
}
|
||||
|
||||
.navbar-nav .nav-link:hover {
|
||||
color: #ffffff !important;
|
||||
.form-check-input:checked {
|
||||
background-color: var(--td-brand-color) !important;
|
||||
border-color: var(--td-brand-color) !important;
|
||||
}
|
||||
|
||||
.form-check-input:focus {
|
||||
box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.1) !important;
|
||||
}
|
||||
|
||||
/* 自定义滚动条 */
|
||||
@@ -299,15 +463,123 @@ a:hover {
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: #111618;
|
||||
background: var(--td-bg-color-page);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #283539;
|
||||
background: var(--td-border-color);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #3a4b50;
|
||||
background: var(--td-text-color-placeholder);
|
||||
}
|
||||
|
||||
/* 工具提示 */
|
||||
.tooltip-inner {
|
||||
background: var(--td-text-color-primary) !important;
|
||||
color: #FFFFFF !important;
|
||||
border-radius: var(--td-border-radius) !important;
|
||||
padding: 6px 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* 面包屑 */
|
||||
.breadcrumb {
|
||||
background: transparent !important;
|
||||
padding: 0;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.breadcrumb-item {
|
||||
color: var(--td-text-color-secondary) !important;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.breadcrumb-item.active {
|
||||
color: var(--td-text-color-primary) !important;
|
||||
}
|
||||
|
||||
.breadcrumb-item + .breadcrumb-item::before {
|
||||
color: var(--td-text-color-placeholder) !important;
|
||||
}
|
||||
|
||||
/* 标签页 */
|
||||
.nav-tabs {
|
||||
border-bottom: 1px solid var(--td-border-color) !important;
|
||||
}
|
||||
|
||||
.nav-tabs .nav-link {
|
||||
border: none !important;
|
||||
color: var(--td-text-color-secondary) !important;
|
||||
padding: 12px 24px;
|
||||
margin-bottom: -1px;
|
||||
border-bottom: 2px solid transparent;
|
||||
}
|
||||
|
||||
.nav-tabs .nav-link:hover {
|
||||
color: var(--td-text-color-primary) !important;
|
||||
border-bottom-color: var(--td-border-color) !important;
|
||||
}
|
||||
|
||||
.nav-tabs .nav-link.active {
|
||||
color: var(--td-brand-color) !important;
|
||||
background: transparent !important;
|
||||
border-bottom-color: var(--td-brand-color) !important;
|
||||
}
|
||||
|
||||
/* 下拉菜单 */
|
||||
.dropdown-menu {
|
||||
background: var(--td-bg-color-container) !important;
|
||||
border: 1px solid var(--td-border-color) !important;
|
||||
border-radius: var(--td-border-radius-medium) !important;
|
||||
box-shadow: var(--td-shadow-2);
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
color: var(--td-text-color-primary) !important;
|
||||
padding: 8px 16px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.dropdown-item:hover {
|
||||
background: var(--td-brand-color-light) !important;
|
||||
color: var(--td-brand-color) !important;
|
||||
}
|
||||
|
||||
/* 表格操作按钮 */
|
||||
.table .btn-sm {
|
||||
padding: 4px 12px !important;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* 空状态 */
|
||||
.empty-state {
|
||||
text-align: center;
|
||||
padding: 48px 24px;
|
||||
color: var(--td-text-color-secondary);
|
||||
}
|
||||
|
||||
.empty-state-icon {
|
||||
font-size: 48px;
|
||||
color: var(--td-text-color-placeholder);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
/* 加载状态 */
|
||||
.spinner-border {
|
||||
border-color: var(--td-brand-color);
|
||||
border-right-color: transparent;
|
||||
}
|
||||
|
||||
/* 响应式优化 */
|
||||
@media (max-width: 768px) {
|
||||
.table {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.table td, .table th {
|
||||
padding: 8px !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user