Spaces:
Running
Running
File size: 1,758 Bytes
5d66d3c f3e618e 5d66d3c f3e618e 5d66d3c f3e618e 5d66d3c f3e618e 5d66d3c f3e618e 5d66d3c d9e45b7 3a12466 4b28095 d9e45b7 4b28095 d9e45b7 4b28095 bfa635c 4b28095 bfa635c d9e45b7 4b28095 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.spinner {
animation: spin 1s linear infinite;
}
.file-card {
transition: all 0.2s ease-in-out;
}
.file-card:hover {
transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
.preview-image {
max-height: 150px;
object-fit: contain;
}
#resultsContainer pre {
background-color: #f8f9fa;
padding: 16px;
border-radius: 8px;
overflow-x: auto;
white-space: pre-wrap;
word-wrap: break-word;
max-height: 500px;
overflow-y: auto;
font-family: 'Courier New', monospace;
line-height: 1.6;
unicode-bidi: embed;
direction: ltr;
}
/* OCR confidence styling */
pre [confidence-low] {
background-color: #ffebee;
color: #c62828;
padding: 0 2px;
}
pre [confidence-medium] {
background-color: #fff8e1;
color: #f57f17;
padding: 0 2px;
}
/* Turkish specific OCR styling */
.turkish-text {
font-family: 'Segoe UI', 'Tahoma', 'Arial Unicode MS', 'Noto Sans', sans-serif;
line-height: 1.8;
letter-spacing: 0.3px;
unicode-bidi: embed;
}
.pdf-ocr-warning {
background-color: #fff3cd;
color: #856404;
padding: 12px;
border-radius: 4px;
margin-bottom: 16px;
border-left: 4px solid #ffeeba;
}
.ocr-result {
white-space: pre-wrap;
font-size: 1rem;
font-family: 'Segoe UI', 'Tahoma', 'Arial Unicode MS', sans-serif;
unicode-bidi: embed;
direction: ltr;
color: #2d3748;
}
/* Ensure proper Turkish character rendering */
@supports (font-variation-settings: normal) {
.turkish-text, .ocr-result {
font-family: 'Segoe UI Variable', 'Segoe UI', 'Tahoma', 'Arial Unicode MS', 'Noto Sans', sans-serif;
}
}
|