Spaces:
Running
Running
| /* Minimal essential styling */ | |
| /* Processing status container */ | |
| .processing-status-container { | |
| margin: 10px 0; | |
| padding: 8px 12px; | |
| border-left: 3px solid #5c6bc0; | |
| font-size: 0.9rem; | |
| } | |
| /* Result card styling */ | |
| .previous-results-container { | |
| margin-bottom: 20px; | |
| } | |
| .result-card { | |
| border: 1px solid #e0e0e0; | |
| border-radius: 4px; | |
| padding: 15px; | |
| margin-bottom: 15px; | |
| } | |
| .result-header { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-bottom: 10px; | |
| padding-bottom: 5px; | |
| border-bottom: 1px solid #e0e0e0; | |
| } | |
| .result-filename { | |
| font-weight: bold; | |
| font-size: 1.1rem; | |
| } | |
| .result-date { | |
| font-size: 0.9rem; | |
| color: #666; | |
| } | |
| .result-metadata { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| margin-bottom: 10px; | |
| } | |
| .result-tag { | |
| background-color: #e3f2fd; | |
| border-radius: 16px; | |
| padding: 3px 10px; | |
| font-size: 0.85rem; | |
| color: #1565c0; | |
| } | |
| .selected-result-container { | |
| border: 1px solid #e0e0e0; | |
| border-radius: 4px; | |
| padding: 20px; | |
| margin: 15px 0; | |
| } | |
| .selected-result-title { | |
| font-size: 1.3rem; | |
| font-weight: bold; | |
| margin-bottom: 15px; | |
| } | |
| /* Fix for image preprocessing preview */ | |
| .stExpander { | |
| overflow: hidden ; | |
| } | |
| .stExpander img { | |
| max-width: 100% ; | |
| height: auto ; | |
| object-fit: contain ; | |
| } | |
| /* Additional fixes for image preprocessing preview in expanders */ | |
| .streamlit-expanderContent { | |
| overflow: hidden ; | |
| } | |
| .streamlit-expanderContent img { | |
| max-width: 95% ; | |
| height: auto ; | |
| object-fit: contain ; | |
| } | |
| /* Metadata container styling */ | |
| .metadata-container { | |
| background-color: #f8f9fa; | |
| border-radius: 4px; | |
| padding: 12px; | |
| margin-bottom: 20px; | |
| border-left: 3px solid #4285f4; | |
| } | |
| /* Fix fullscreen button styling */ | |
| button[title="View fullscreen"], | |
| button.streamlit-expanderHeader { | |
| z-index: 10 ; | |
| background-color: rgba(255, 255, 255, 0.8) ; | |
| visibility: visible ; | |
| opacity: 1 ; | |
| display: flex ; | |
| } | |
| /* Make text visible in Previous Results tab */ | |
| .previous-results-container h3, | |
| .previous-results-container p, | |
| .previous-results-container .result-filename, | |
| .previous-results-container .result-date, | |
| .previous-results-container .result-tag { | |
| color: #212121 ; | |
| } | |
| /* Additional image fixes for all containers */ | |
| .document-content img, | |
| .markdown-text-container img, | |
| .page-text-content img, | |
| .image-container img { | |
| max-width: 100% ; | |
| height: auto ; | |
| object-fit: contain ; | |
| } | |
| /* Responsive design rules */ | |
| @media (max-width: 768px) { | |
| .stExpander img, | |
| .document-content img, | |
| .markdown-text-container img, | |
| .page-text-content img, | |
| .image-container img { | |
| max-width: 95% ; | |
| } | |
| } |