feat: 自动提交 - 周二 2025/09/23 15:32:55.51
This commit is contained in:
@@ -11,6 +11,256 @@ body {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
/* ===== 图标和按钮优化样式 ===== */
|
||||
/* 操作按钮组优化 */
|
||||
.btn-group .btn {
|
||||
position: relative;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.btn-group .btn:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
|
||||
}
|
||||
|
||||
/* 小尺寸按钮优化 */
|
||||
.btn-sm {
|
||||
padding: 0.375rem 0.5rem;
|
||||
font-size: 0.75rem;
|
||||
border-radius: 0.375rem;
|
||||
min-width: 2rem;
|
||||
height: 2rem;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* 操作按钮图标优化 */
|
||||
.btn-sm i {
|
||||
font-size: 0.875rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* 按钮组间距优化 */
|
||||
.btn-group .btn:not(:last-child) {
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
/* 表格操作按钮优化 */
|
||||
.table .btn-group {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.table .btn-group .btn {
|
||||
margin: 0 0.125rem;
|
||||
}
|
||||
|
||||
/* 悬停效果优化 */
|
||||
.btn-outline-info:hover {
|
||||
background-color: #0dcaf0;
|
||||
border-color: #0dcaf0;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-outline-primary:hover {
|
||||
background-color: #0d6efd;
|
||||
border-color: #0d6efd;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-outline-danger:hover {
|
||||
background-color: #dc3545;
|
||||
border-color: #dc3545;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-outline-success:hover {
|
||||
background-color: #198754;
|
||||
border-color: #198754;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-outline-warning:hover {
|
||||
background-color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/* 工具提示优化 */
|
||||
.btn[title] {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.btn[title]:hover::after {
|
||||
content: attr(title);
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
background-color: rgba(0,0,0,0.8);
|
||||
color: white;
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-radius: 0.25rem;
|
||||
font-size: 0.75rem;
|
||||
white-space: nowrap;
|
||||
z-index: 1000;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
/* 快速操作按钮优化 */
|
||||
.quick-action-btn {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
transition: all 0.3s ease;
|
||||
margin: 0.25rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.quick-action-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
|
||||
background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
|
||||
}
|
||||
|
||||
/* 批量操作按钮优化 */
|
||||
.btn-group .btn-sm {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.btn-group .btn-sm i {
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
/* 空状态图标优化 */
|
||||
.empty-state i {
|
||||
font-size: 3rem;
|
||||
color: #6c757d;
|
||||
margin-bottom: 1rem;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* 状态指示器优化 */
|
||||
.health-dot {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background-color: #ffc107;
|
||||
animation: pulse 2s infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% { opacity: 1; }
|
||||
50% { opacity: 0.5; }
|
||||
100% { opacity: 1; }
|
||||
}
|
||||
|
||||
.health-dot.normal {
|
||||
background-color: #28a745;
|
||||
}
|
||||
|
||||
.health-dot.warning {
|
||||
background-color: #ffc107;
|
||||
}
|
||||
|
||||
.health-dot.error {
|
||||
background-color: #dc3545;
|
||||
}
|
||||
|
||||
/* 加载动画优化 */
|
||||
.loading-spinner i {
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* 可点击统计数字样式 */
|
||||
.clickable-stat {
|
||||
transition: all 0.2s ease;
|
||||
border-radius: 0.375rem;
|
||||
padding: 0.25rem 0.5rem;
|
||||
margin: -0.25rem -0.5rem;
|
||||
}
|
||||
|
||||
.clickable-stat:hover {
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
transform: scale(1.05);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.clickable-stat:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
/* 预览模态框优化 */
|
||||
.modal-xl {
|
||||
max-width: 90vw;
|
||||
}
|
||||
|
||||
.modal-xl .modal-body {
|
||||
max-height: 70vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* 表格预览优化 */
|
||||
.table-responsive {
|
||||
border-radius: 0.5rem;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.table-hover tbody tr:hover {
|
||||
background-color: rgba(0, 123, 255, 0.05);
|
||||
}
|
||||
|
||||
/* 空状态样式 */
|
||||
.empty-state {
|
||||
padding: 3rem 1rem;
|
||||
text-align: center;
|
||||
color: #6c757d;
|
||||
}
|
||||
|
||||
.empty-state i {
|
||||
font-size: 4rem;
|
||||
margin-bottom: 1rem;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
/* 响应式图标优化 */
|
||||
@media (max-width: 768px) {
|
||||
.btn-sm {
|
||||
min-width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
padding: 0.25rem 0.375rem;
|
||||
}
|
||||
|
||||
.btn-sm i {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.btn-group .btn:not(:last-child) {
|
||||
margin-right: 0.125rem;
|
||||
}
|
||||
|
||||
.table .btn-group .btn {
|
||||
margin: 0 0.0625rem;
|
||||
}
|
||||
|
||||
.clickable-stat {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.modal-xl {
|
||||
max-width: 95vw;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-size: var(--font-size-2xl);
|
||||
font-weight: var(--font-weight-bold);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user