Implement multi-tasking (you can chat with a horny catgirl and chad thundercock at the same time)
This commit is contained in:
+323
-51
@@ -26,8 +26,8 @@ html, body {
|
||||
|
||||
body {
|
||||
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
background: radial-gradient(circle at 20% 20%, rgba(99,102,241,0.12), transparent 25%),
|
||||
radial-gradient(circle at 80% 0%, rgba(139,92,246,0.12), transparent 25%),
|
||||
background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.12), transparent 25%),
|
||||
radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.12), transparent 25%),
|
||||
linear-gradient(135deg, #0b0b1d 0%, #0f1124 40%, #0b1020 100%);
|
||||
color: var(--text-primary);
|
||||
display: flex;
|
||||
@@ -64,7 +64,7 @@ body {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.05));
|
||||
background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
|
||||
opacity: 0.5;
|
||||
pointer-events: none;
|
||||
}
|
||||
@@ -125,8 +125,8 @@ h1 {
|
||||
}
|
||||
|
||||
.auth-toggle {
|
||||
background: rgba(255,255,255,0.02);
|
||||
border: 1px solid rgba(255,255,255,0.07);
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
border: 1px solid rgba(255, 255, 255, 0.07);
|
||||
border-radius: 14px;
|
||||
padding: 6px;
|
||||
display: grid;
|
||||
@@ -148,7 +148,7 @@ h1 {
|
||||
.toggle.active {
|
||||
background: var(--gradient);
|
||||
color: white;
|
||||
box-shadow: 0 10px 20px rgba(99,102,241,0.25);
|
||||
box-shadow: 0 10px 20px rgba(99, 102, 241, 0.25);
|
||||
}
|
||||
|
||||
.auth-screen {
|
||||
@@ -234,7 +234,9 @@ button:hover:not(:disabled) {
|
||||
box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
|
||||
}
|
||||
|
||||
button:hover::before { left: 100%; }
|
||||
button:hover::before {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
opacity: 0.5;
|
||||
@@ -255,8 +257,8 @@ button:disabled {
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
transition: all 0.3s ease;
|
||||
background: rgba(255,255,255,0.02);
|
||||
border: 1px dashed rgba(255,255,255,0.05);
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
border: 1px dashed rgba(255, 255, 255, 0.05);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
@@ -273,29 +275,135 @@ button:disabled {
|
||||
}
|
||||
|
||||
#chat {
|
||||
display: grid;
|
||||
grid-template-rows: 1fr auto auto;
|
||||
row-gap: 15px;
|
||||
height: 90vh;
|
||||
width: 90%;
|
||||
max-width: 1100px;
|
||||
width: 95%;
|
||||
max-width: 1200px;
|
||||
padding: 24px;
|
||||
background: rgba(19,19,42,0.92);
|
||||
background: rgba(19, 19, 42, 0.92);
|
||||
border-radius: 24px;
|
||||
box-shadow: 0 25px 50px -12px var(--shadow);
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.chat-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 280px 1fr;
|
||||
gap: 20px;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.chat-sidebar {
|
||||
background: rgba(10, 10, 20, 0.6);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border-radius: 20px;
|
||||
padding: 18px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.sidebar-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.sidebar-header h2 {
|
||||
margin: 2px 0 0;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.secondary-action {
|
||||
background: rgba(99, 102, 241, 0.15);
|
||||
color: var(--text-primary);
|
||||
border: 1px solid rgba(99, 102, 241, 0.35);
|
||||
padding: 10px 14px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.chat-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.chat-list::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.chat-list::-webkit-scrollbar-thumb {
|
||||
background: var(--border);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.chat-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
padding: 12px 12px;
|
||||
border-radius: 14px;
|
||||
border: 1px solid transparent;
|
||||
background: rgba(15, 15, 35, 0.6);
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.chat-item:hover {
|
||||
border-color: rgba(99, 102, 241, 0.4);
|
||||
background: rgba(19, 19, 42, 0.9);
|
||||
}
|
||||
|
||||
.chat-item.active {
|
||||
border-color: rgba(99, 102, 241, 0.7);
|
||||
box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
|
||||
}
|
||||
|
||||
.chat-item span {
|
||||
font-size: 0.95rem;
|
||||
color: var(--text-primary);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.chat-item button {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--text-muted);
|
||||
padding: 6px;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.chat-item button:hover {
|
||||
color: var(--text-primary);
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.chat-main {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto auto;
|
||||
row-gap: 15px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
#messages {
|
||||
grid-row: 1;
|
||||
grid-row: 2;
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
padding: 20px;
|
||||
margin: 0;
|
||||
background: rgba(10,10,20,0.6);
|
||||
border: 1px solid rgba(255,255,255,0.05);
|
||||
background: rgba(10, 10, 20, 0.6);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border-radius: 20px;
|
||||
backdrop-filter: blur(10px);
|
||||
scroll-behavior: smooth;
|
||||
@@ -303,7 +411,7 @@ button:disabled {
|
||||
}
|
||||
|
||||
.input-container {
|
||||
grid-row: 2;
|
||||
grid-row: 3;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
gap: 12px;
|
||||
@@ -312,14 +420,23 @@ button:disabled {
|
||||
}
|
||||
|
||||
.logout-container {
|
||||
grid-row: 3;
|
||||
grid-row: 4;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#messages::-webkit-scrollbar { width: 8px; }
|
||||
#messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
|
||||
#messages::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
|
||||
#messages::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
#messages::-webkit-scrollbar-thumb {
|
||||
background: var(--border);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
#messages::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--text-muted);
|
||||
}
|
||||
|
||||
#chat h1 {
|
||||
flex-shrink: 0;
|
||||
@@ -347,8 +464,14 @@ button:disabled {
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(10px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.msg.user {
|
||||
@@ -447,13 +570,38 @@ button:disabled {
|
||||
color: #bfdbfe;
|
||||
}
|
||||
|
||||
.typing-indicator { display: flex; align-items: center; gap: 6px; height: 16px; }
|
||||
.typing-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-secondary); animation: typingAnimation 1.2s infinite ease-in-out; }
|
||||
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
|
||||
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
|
||||
.typing-indicator {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.typing-dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--text-secondary);
|
||||
animation: typingAnimation 1.2s infinite ease-in-out;
|
||||
}
|
||||
|
||||
.typing-dot:nth-child(1) {
|
||||
animation-delay: -0.32s;
|
||||
}
|
||||
|
||||
.typing-dot:nth-child(2) {
|
||||
animation-delay: -0.16s;
|
||||
}
|
||||
|
||||
@keyframes typingAnimation {
|
||||
0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
|
||||
40% { transform: scale(1); opacity: 1; }
|
||||
0%, 80%, 100% {
|
||||
transform: scale(0.8);
|
||||
opacity: 0.5;
|
||||
}
|
||||
40% {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
#msgInput {
|
||||
@@ -479,36 +627,160 @@ button:disabled {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
#send::after { content: "➤"; font-weight: bold; }
|
||||
#send.loading::after { content: ''; }
|
||||
#send.loading { animation: spin 1s linear infinite; }
|
||||
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
|
||||
#send::after {
|
||||
content: "➤";
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#logout { background: linear-gradient(135deg, #6b7280, #4b5563); border-radius: 12px; }
|
||||
#send.loading::after {
|
||||
content: '';
|
||||
}
|
||||
|
||||
.auth-buttons, .logout-container { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
|
||||
.chat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
|
||||
.model-select { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); }
|
||||
.model-select select { background: rgba(15, 15, 35, 0.8); color: var(--text-primary); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 14px; outline: none; transition: all 0.2s ease; }
|
||||
.model-select select:hover, .model-select select:focus { border-color: var(--accent); background: rgba(15, 15, 35, 1); }
|
||||
#send.loading {
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
#logout {
|
||||
background: linear-gradient(135deg, #6b7280, #4b5563);
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.auth-buttons, .logout-container {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
justify-content: center;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.chat-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.chat-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.chat-title h2 {
|
||||
margin: 0;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.icon-button {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
padding: 8px 12px;
|
||||
border-radius: 10px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.icon-button:hover {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
.danger {
|
||||
background: linear-gradient(135deg, #ef4444, #dc2626);
|
||||
}
|
||||
|
||||
.model-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 14px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.model-select select {
|
||||
background: rgba(15, 15, 35, 0.8);
|
||||
color: var(--text-primary);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: 6px 10px;
|
||||
font-size: 14px;
|
||||
outline: none;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.model-select select:hover, .model-select select:focus {
|
||||
border-color: var(--accent);
|
||||
background: rgba(15, 15, 35, 1);
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.app-shell { flex-direction: column; align-items: center; }
|
||||
#chat { width: 95vw; height: 80vh; }
|
||||
.app-shell {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#chat {
|
||||
width: 95vw;
|
||||
height: 85vh;
|
||||
}
|
||||
|
||||
.chat-layout {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.chat-sidebar {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.chat-main {
|
||||
order: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
body { padding: 16px; }
|
||||
#chat { width: 95vw; height: 85vh; padding: 16px; }
|
||||
#auth { width: 95vw; padding: 28px; }
|
||||
h1 { font-size: 1.6rem; }
|
||||
body {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
#chat {
|
||||
width: 95vw;
|
||||
height: 85vh;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
#auth {
|
||||
width: 95vw;
|
||||
padding: 28px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.brand { grid-template-columns: 1fr; }
|
||||
.logo { width: 48px; height: 48px; }
|
||||
#chat { padding: 12px; }
|
||||
#messages { padding: 14px; }
|
||||
.brand {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
#chat {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
#messages {
|
||||
padding: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.consent-container {
|
||||
|
||||
Reference in New Issue
Block a user