modified: QUICKSTART.md
modified: app.py deleted: output/.gitkeep modified: static/css/style.css modified: static/js/pdf-tools.js modified: templates/pdf_tools.html deleted: uploads/.gitkeep
This commit is contained in:
@@ -485,6 +485,75 @@ footer {
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
/* PDF Preview */
|
||||
.pdf-preview {
|
||||
max-width: 120px;
|
||||
max-height: 120px;
|
||||
object-fit: cover;
|
||||
border-radius: var(--border-radius);
|
||||
border: 2px solid #e9ecef;
|
||||
transition: all 0.3s ease;
|
||||
cursor: pointer;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pdf-preview:hover {
|
||||
border-color: var(--danger-color);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.pdf-preview.size-small {
|
||||
max-width: 80px;
|
||||
max-height: 80px;
|
||||
}
|
||||
|
||||
.pdf-preview.size-medium {
|
||||
max-width: 120px;
|
||||
max-height: 120px;
|
||||
}
|
||||
|
||||
.pdf-preview.size-large {
|
||||
max-width: 160px;
|
||||
max-height: 160px;
|
||||
}
|
||||
|
||||
/* PDF item enhanced */
|
||||
.pdf-item-enhanced {
|
||||
padding: 1rem;
|
||||
border-radius: var(--border-radius);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.pdf-item-enhanced:hover {
|
||||
background-color: rgba(220, 53, 69, 0.05);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--box-shadow-lg);
|
||||
}
|
||||
|
||||
.pdf-info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.pdf-controls {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
/* PDF no-preview fallback */
|
||||
.pdf-no-preview {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #f8f9fa;
|
||||
border: 2px dashed #dee2e6;
|
||||
border-radius: var(--border-radius);
|
||||
color: var(--danger-color);
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
/* File item enhanced */
|
||||
.file-item-enhanced {
|
||||
padding: 1rem;
|
||||
|
||||
Reference in New Issue
Block a user