/* 浏览历史页面样式 */ .history-item { transition: all 0.3s ease; border: 1px solid #e9ecef; } .history-item:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.1); transform: translateY(-2px); } .history-image { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid #e9ecef; } .history-image-placeholder { width: 80px; height: 80px; background-color: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #6c757d; font-size: 2rem; } .history-checkbox { transform: scale(1.2); } .empty-state { min-height: 300px; display: flex; align-items: center; justify-content: center; } /* 卡片底部按钮区域样式 */ .history-item .card-footer { background-color: #f8f9fa; border-top: 1px solid #e9ecef; padding: 0.75rem; margin-top: auto; } .history-item .card-footer .btn-group { display: flex; gap: 0.25rem; } .history-item .card-footer .btn { font-size: 0.8rem; padding: 0.375rem 0.75rem; border-radius: 4px; transition: all 0.2s ease; flex: 1; } .history-item .card-footer .btn:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .history-item .card-footer .btn-outline-primary:hover { background-color: #007bff; border-color: #007bff; color: white; } .history-item .card-footer .btn-outline-danger:hover { background-color: #dc3545; border-color: #dc3545; color: white; } .history-item .card-footer .btn-outline-secondary:hover { background-color: #6c757d; border-color: #6c757d; color: white; } .card-title a { color: #212529; font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .card-title a:hover { color: #007bff; } .history-item .card-body { padding: 1rem; } .badge { font-size: 0.75rem; } /* 响应式设计 */ @media (max-width: 768px) { .history-image, .history-image-placeholder { width: 60px; height: 60px; } .card-title a { font-size: 0.9rem; } .history-item .card-footer .btn { font-size: 0.75rem; padding: 0.25rem 0.5rem; } }