modified: .gitignore
modified: QUICKSTART.md modified: app.py new file: output/.gitkeep modified: static/css/style.css modified: static/js/images-to-pdf.js modified: templates/images_to_pdf.html new file: uploads/.gitkeep
This commit is contained in:
@@ -411,4 +411,101 @@ footer {
|
||||
/* File Type Icons */
|
||||
.file-type-pdf { color: #dc3545; }
|
||||
.file-type-image { color: #28a745; }
|
||||
.file-type-zip { color: #ffc107; }
|
||||
.file-type-zip { color: #ffc107; }
|
||||
|
||||
/* Image Preview */
|
||||
.image-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;
|
||||
}
|
||||
|
||||
.image-preview:hover {
|
||||
border-color: var(--primary-color);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.image-preview.size-small {
|
||||
max-width: 80px;
|
||||
max-height: 80px;
|
||||
}
|
||||
|
||||
.image-preview.size-medium {
|
||||
max-width: 120px;
|
||||
max-height: 120px;
|
||||
}
|
||||
|
||||
.image-preview.size-large {
|
||||
max-width: 160px;
|
||||
max-height: 160px;
|
||||
}
|
||||
|
||||
.image-preview-large {
|
||||
max-width: 200px;
|
||||
max-height: 200px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Rotation controls */
|
||||
.rotation-controls {
|
||||
display: flex;
|
||||
gap: 0.25rem;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.rotation-btn {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
/* Image rotation classes */
|
||||
.rotate-0 { transform: rotate(0deg); }
|
||||
.rotate-90 { transform: rotate(90deg); }
|
||||
.rotate-180 { transform: rotate(180deg); }
|
||||
.rotate-270 { transform: rotate(270deg); }
|
||||
|
||||
/* Image modal */
|
||||
.image-modal .modal-body {
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.image-modal .modal-body img {
|
||||
max-width: 100%;
|
||||
max-height: 80vh;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
/* File item enhanced */
|
||||
.file-item-enhanced {
|
||||
padding: 1rem;
|
||||
border-radius: var(--border-radius);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.file-item-enhanced:hover {
|
||||
background-color: rgba(0, 123, 255, 0.05);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--box-shadow-lg);
|
||||
}
|
||||
|
||||
.image-info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.image-controls {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
align-items: flex-end;
|
||||
}
|
||||
Reference in New Issue
Block a user