207 lines
4.9 KiB
CSS
207 lines
4.9 KiB
CSS
/* Base Theme (Dark Modern) */
|
|
:root, [data-theme="theme-dark-modern"] {
|
|
--bg-color: #0f172a;
|
|
--sidebar-bg: #1e293b;
|
|
--main-bg: #0f172a;
|
|
--text-color: #f8fafc;
|
|
--text-muted: #94a3b8;
|
|
--border-color: #334155;
|
|
--accent-color: #3b82f6;
|
|
--hover-bg: #334155;
|
|
--active-bg: #1e293b;
|
|
--user-msg-bg: #3b82f6;
|
|
--user-msg-text: #ffffff;
|
|
--assistant-msg-bg: #1e293b;
|
|
--assistant-msg-text: #f8fafc;
|
|
--input-bg: #1e293b;
|
|
}
|
|
|
|
[data-theme="theme-light-minimal"] {
|
|
--bg-color: #ffffff;
|
|
--sidebar-bg: #f8fafc;
|
|
--main-bg: #ffffff;
|
|
--text-color: #0f172a;
|
|
--text-muted: #64748b;
|
|
--border-color: #e2e8f0;
|
|
--accent-color: #2563eb;
|
|
--hover-bg: #f1f5f9;
|
|
--active-bg: #e2e8f0;
|
|
--user-msg-bg: #2563eb;
|
|
--user-msg-text: #ffffff;
|
|
--assistant-msg-bg: #f1f5f9;
|
|
--assistant-msg-text: #0f172a;
|
|
--input-bg: #f8fafc;
|
|
}
|
|
|
|
[data-theme="theme-midnight"] {
|
|
--bg-color: #000000;
|
|
--sidebar-bg: #111111;
|
|
--main-bg: #000000;
|
|
--text-color: #ffffff;
|
|
--text-muted: #666666;
|
|
--border-color: #222222;
|
|
--accent-color: #ffffff;
|
|
--hover-bg: #222222;
|
|
--active-bg: #111111;
|
|
--user-msg-bg: #ffffff;
|
|
--user-msg-text: #000000;
|
|
--assistant-msg-bg: #111111;
|
|
--assistant-msg-text: #ffffff;
|
|
--input-bg: #111111;
|
|
}
|
|
|
|
[data-theme="theme-forest"] {
|
|
--bg-color: #064e3b;
|
|
--sidebar-bg: #065f46;
|
|
--main-bg: #064e3b;
|
|
--text-color: #ecfdf5;
|
|
--text-muted: #a7f3d0;
|
|
--border-color: #065f46;
|
|
--accent-color: #10b981;
|
|
--hover-bg: #065f46;
|
|
--active-bg: #047857;
|
|
--user-msg-bg: #10b981;
|
|
--user-msg-text: #ffffff;
|
|
--assistant-msg-bg: #065f46;
|
|
--assistant-msg-text: #ecfdf5;
|
|
--input-bg: #065f46;
|
|
}
|
|
|
|
[data-theme="theme-ocean"] {
|
|
--bg-color: #0c4a6e;
|
|
--sidebar-bg: #075985;
|
|
--main-bg: #0c4a6e;
|
|
--text-color: #f0f9ff;
|
|
--text-muted: #bae6fd;
|
|
--border-color: #075985;
|
|
--accent-color: #0ea5e9;
|
|
--hover-bg: #075985;
|
|
--active-bg: #0369a1;
|
|
--user-msg-bg: #0ea5e9;
|
|
--user-msg-text: #ffffff;
|
|
--assistant-msg-bg: #075985;
|
|
--assistant-msg-text: #f0f9ff;
|
|
--input-bg: #075985;
|
|
}
|
|
|
|
[data-theme="theme-slate"] {
|
|
--bg-color: #334155;
|
|
--sidebar-bg: #475569;
|
|
--main-bg: #334155;
|
|
--text-color: #f8fafc;
|
|
--text-muted: #cbd5e1;
|
|
--border-color: #475569;
|
|
--accent-color: #64748b;
|
|
--hover-bg: #475569;
|
|
--active-bg: #1e293b;
|
|
--user-msg-bg: #64748b;
|
|
--user-msg-text: #ffffff;
|
|
--assistant-msg-bg: #475569;
|
|
--assistant-msg-text: #f8fafc;
|
|
--input-bg: #475569;
|
|
}
|
|
|
|
[data-theme="theme-nord"] {
|
|
--bg-color: #2e3440;
|
|
--sidebar-bg: #3b4252;
|
|
--main-bg: #2e3440;
|
|
--text-color: #eceff4;
|
|
--text-muted: #d8dee9;
|
|
--border-color: #434c5e;
|
|
--accent-color: #88c0d0;
|
|
--hover-bg: #434c5e;
|
|
--active-bg: #3b4252;
|
|
--user-msg-bg: #81a1c1;
|
|
--user-msg-text: #2e3440;
|
|
--assistant-msg-bg: #3b4252;
|
|
--assistant-msg-text: #eceff4;
|
|
--input-bg: #3b4252;
|
|
}
|
|
|
|
[data-theme="theme-sepia"] {
|
|
--bg-color: #fdf6e3;
|
|
--sidebar-bg: #eee8d5;
|
|
--main-bg: #fdf6e3;
|
|
--text-color: #657b83;
|
|
--text-muted: #93a1a1;
|
|
--border-color: #eee8d5;
|
|
--accent-color: #b58900;
|
|
--hover-bg: #eee8d5;
|
|
--active-bg: #93a1a1;
|
|
--user-msg-bg: #b58900;
|
|
--user-msg-text: #fdf6e3;
|
|
--assistant-msg-bg: #eee8d5;
|
|
--assistant-msg-text: #657b83;
|
|
--input-bg: #eee8d5;
|
|
}
|
|
|
|
[data-theme="theme-cyberpunk"] {
|
|
--bg-color: #1a1a1a;
|
|
--sidebar-bg: #000000;
|
|
--main-bg: #1a1a1a;
|
|
--text-color: #f3f;
|
|
--text-muted: #0ff;
|
|
--border-color: #f3f;
|
|
--accent-color: #0ff;
|
|
--hover-bg: #333;
|
|
--active-bg: #000;
|
|
--user-msg-bg: #f3f;
|
|
--user-msg-text: #000;
|
|
--assistant-msg-bg: #000;
|
|
--assistant-msg-text: #0ff;
|
|
--input-bg: #000;
|
|
}
|
|
|
|
[data-theme="theme-matrix"] {
|
|
--bg-color: #000000;
|
|
--sidebar-bg: #000000;
|
|
--main-bg: #000000;
|
|
--text-color: #00ff00;
|
|
--text-muted: #008800;
|
|
--border-color: #00ff00;
|
|
--accent-color: #00ff00;
|
|
--hover-bg: #002200;
|
|
--active-bg: #000000;
|
|
--user-msg-bg: #00ff00;
|
|
--user-msg-text: #000000;
|
|
--assistant-msg-bg: #000000;
|
|
--assistant-msg-text: #00ff00;
|
|
--input-bg: #000000;
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.animate-fade-in {
|
|
animation: fadeIn 0.3s ease-out forwards;
|
|
}
|
|
|
|
/* Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--border-color);
|
|
border-radius: 10px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--text-muted);
|
|
}
|
|
|
|
/* Transitions */
|
|
body, #sidebar, #main-content, .message, #chat-input {
|
|
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
|
|
}
|
|
|
|
/* Hover effects */
|
|
.btn-success:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
}
|