new file: .env.example new file: Dockerfile new file: app.py new file: blueprints/__init__.py new file: blueprints/auth.py new file: blueprints/chat.py new file: blueprints/context.py new file: blueprints/documents.py new file: blueprints/main.py new file: config.py new file: docker-compose.yml new file: models/__init__.py new file: models/chat_session.py new file: models/document.py new file: models/user.py new file: requirements.txt new file: services/__init__.py new file: services/document_parser.py new file: services/llm_service.py new file: services/rag_service.py new file: services/url_scraper.py new file: static/css/style.css new file: static/js/chat.js new file: static/js/inline_chat.js new file: static/js/main.js new file: templates/base.html new file: templates/document_view.html new file: templates/index.html new file: templates/login.html new file: templates/register.html
70 lines
1.6 KiB
CSS
70 lines
1.6 KiB
CSS
/* Custom overrides on top of Tailwind — Copilot-style dark theme */
|
|
|
|
:root {
|
|
--scrollbar-thumb: #313244;
|
|
--scrollbar-track: #1e1e2e;
|
|
}
|
|
|
|
/* Scrollbars */
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
|
|
}
|
|
*::-webkit-scrollbar { width: 6px; height: 6px; }
|
|
*::-webkit-scrollbar-track { background: var(--scrollbar-track); }
|
|
*::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 3px; }
|
|
*::-webkit-scrollbar-thumb:hover { background: #45475a; }
|
|
|
|
/* Smooth selection highlight */
|
|
::selection { background: rgba(137, 180, 250, 0.3); }
|
|
|
|
/* Textarea — no resize handle */
|
|
textarea { resize: none; }
|
|
|
|
/* Pre block in document view */
|
|
#doc-content {
|
|
user-select: text;
|
|
cursor: text;
|
|
}
|
|
|
|
/* Inline popup fade-in */
|
|
#inline-popup {
|
|
animation: fadeIn 120ms ease;
|
|
}
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: scale(0.97) translateY(-4px); }
|
|
to { opacity: 1; transform: scale(1) translateY(0); }
|
|
}
|
|
|
|
/* Chat bubble animations */
|
|
#messages > div {
|
|
animation: slideIn 150ms ease;
|
|
}
|
|
@keyframes slideIn {
|
|
from { opacity: 0; transform: translateY(6px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* Fix Tailwind's accent color for checkboxes */
|
|
input[type="checkbox"] {
|
|
cursor: pointer;
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
/* Sidebar resize handle (visual only) */
|
|
#sidebar {
|
|
transition: width 200ms ease;
|
|
}
|
|
|
|
/* Flash messages */
|
|
.flash-msg {
|
|
animation: fadeIn 200ms ease, fadeOut 300ms 3700ms ease forwards;
|
|
}
|
|
@keyframes fadeOut {
|
|
to { opacity: 0; transform: translateY(-8px); }
|
|
}
|
|
|
|
/* Remove default focus outline on editor mount */
|
|
#editor-mount:focus { outline: none; }
|