Spaces:
Running
Running
Upload style.css with huggingface_hub
Browse files12345678910111213141516171819202122232425262728body {padding: 2rem;font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;}h1 {font-size: 16px;margin-top: 0;}p {color: rgb(107, 114, 128);font-size: 15px;margin-bottom: 10px;margin-top: 5px;}.card {max-width: 620px;margin: 0 auto;padding: 16px;border: 1px solid lightgray;border-radius: 16px;}.card p:last-child {margin-bottom: 0;}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445:root {--primary-color: #2563eb;--secondary-color: #0ea5e9;--success-color: #10b981;--warning-color: #f59e0b;--error-color: #ef4444;--bg-color: #f8fafc;--card-bg: #ffffff;--text-primary: #1e293b;--text-secondary: #64748b;--border-color: #e2e8f0;--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);--shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.1);}* {margin: 0;padding: 0;box-sizing: border-box;}body {font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;background-color: var(--bg-color);color: var(--text-primary);line-height: 1.6;}header {background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));color: white;padding: 2rem;text-align: center;box-shadow: var(--shadow-lg);}header h1 {font-size: 2.5rem;margin-bottom: 0.5rem;}header p {font-size: 1.1rem;opacity: 0.9;}.attribution {margin-top: 1rem;font-size: 0.9rem;}.attribution a {color: white;text-decoration: underline;font-weight: 500;}main {max-width: 1200px;margin: 2rem auto;padding: 0 1rem;}section {background: var(--card-bg);padding: 1.5rem;margin-bottom: 1.5rem;border-radius: 12px;box-shadow: var(--shadow);}h2 {color: var(--text-primary);margin-bottom: 1rem;font-size: 1.5rem;}.model-status {background: linear-gradient(135deg, #f0f9ff, #e0f2fe);}.status-container {display: flex;flex-direction: column;gap: 0.5rem;}.status-item {display: flex;justify-content: space-between;align-items: center;padding: 0.5rem;background: white;border-radius: 6px;}.status {font-weight: 600;padding: 0.25rem 0.75rem;border-radius: 20px;font-size: 0.9rem;}.status.pending {background: #fef3c7;color: #92400e;}.status.ready {background: #d1fae5;color: #065f46;}.progress-container {margin-top: 1rem;background: var(--border-color);border-radius: 8px;height: 24px;position: relative;overflow: hidden;}.progress-bar {height: 100%;background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));width: 0%;transition: width 0.3s ease;}#progressText {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);font-size: 0.8rem;font-weight: 600;color: var(--text-primary);}.hidden {display: none !important;}.upload-area {border: 2px dashed var(--border-color);border-radius: 8px;padding: 2rem;text-align: center;transition: all 0.3s ease;cursor: pointer;}.upload-area:hover, .upload-area.dragover {border-color: var(--primary-color);background: #f0f9ff;}.upload-label {display: flex;flex-direction: column;gap: 0.5rem;cursor: pointer;}.upload-label span {font-size: 1.1rem;font-weight: 500;}.upload-label small {color: var(--text-secondary);}#fileInput {display: none;}.content-grid {display: grid;grid-template-columns: 1fr 1fr;gap: 1.5rem;}.panel {max-height: 500px;overflow-y: auto;}.document-list, .axiom-list {display: flex;flex-direction: column;gap: 1rem;}.document-item, .axiom-item {background: #f8fafc;padding: 1rem;border-radius: 8px;border-left: 4px solid var(--primary-color);}.doc-header, .axiom-header {display: flex;justify-content: space-between;align-items: center;margin-bottom: 0.5rem;}.remove-btn {background: var(--error-color);color: white;border: none;padding: 0.25rem 0.75rem;border-radius: 4px;cursor: pointer;font-size: 0.8rem;}.remove-btn:hover {opacity: 0.9;}.doc-info {display: flex;gap: 1rem;font-size: 0.9rem;color: var(--text-secondary);margin-bottom: 0.5rem;}.doc-preview, .axiom-text {font-size: 0.9rem;color: var(--text-secondary);line-height: 1.5;}.generation-controls {display: flex;flex-direction: column;gap: 1rem;}#queryInput {padding: 1rem;border: 2px solid var(--border-color);border-radius: 8px;font-size: 1rem;resize: vertical;font-family: inherit;}#queryInput:focus {outline: none;border-color: var(--primary-color);}.generation-options {display: flex;gap: 1.5rem;flex-wrap: wrap;}.generation-options label {display: flex;align-items: center;gap: 0.5rem;cursor: pointer;}#generateBtn {background: var(--primary-color);color: white;border: none;padding: 0.75rem 2rem;border-radius: 8px;font-size: 1rem;font-weight: 600;cursor: pointer;transition: all 0.3s ease;}#generateBtn:hover:not(:disabled) {background: var(--secondary-color);transform: translateY(-2px);box-shadow: var(--shadow-lg);}#generateBtn:disabled {opacity: 0.5;cursor: not-allowed;}.result-container {margin-top: 1.5rem;padding: 1.5rem;background: #f0f9ff;border-radius: 8px;border: 1px solid #bae6fd;}.response-text {background: white;padding: 1rem;border-radius: 6px;margin-top: 0.5rem;white-space: pre-wrap;line-height: 1.6;}.context-info {margin-top: 1rem;}.context-info summary {cursor: pointer;font-weight: 600;color: var(--primary-color);}.context-item {background: white;padding: 0.75rem;margin: 0.5rem 0;border-radius: 6px;border-left: 3px solid var(--secondary-color);}.context-header {display: flex;justify-content: space-between;margin-bottom: 0.5rem;font-size: 0.9rem;}.similarity {color: var(--success-color);font-weight: 600;}.context-text {font-size: 0.85rem;color: var(--text-secondary);}.actions {display: flex;gap: 1rem;justify-content: center;}button {padding: 0.75rem 1.5rem;border: none;border-radius: 8px;font-size: 1rem;cursor: pointer;transition: all 0.3s ease;}.danger {background: var(--error-color);color: white;}button:not(.danger) {background: var(--success-color);color: white;}button:hover {opacity: 0.9;transform: translateY(-1px);}.empty-state {text-align: center;color: var(--text-secondary);font-style: italic;padding: 2rem;}.notification {position: fixed;top: 1rem;right: 1rem;padding: 1rem 1.5rem;border-radius: 8px;color: white;font-weight: 600;box-shadow: var(--shadow-lg);transform: translateX(400px);transition: transform 0.3s ease;z-index: 1000;}.notification.show {transform: translateX(0);}.notification.success {background: var(--success-color);}.notification.error {background: var(--error-color);}.notification.warning {background: var(--warning-color);}.notification.info {background: var(--primary-color);}.loading {color: var(--primary-color);font-weight: 600;}.loading::after {content: '...';animation: dots 1.5s infinite;}@keyframes dots {0%, 20% { content: '.'; }40% { content: '..'; }60%, 100% { content: '...'; }}@media (max-width: 768px) {.content-grid {grid-template-columns: 1fr;}header h1 {font-size: 2rem;}.generation-options {flex-direction: column;gap: 0.5rem;}}
style.css+435-18