This commit is contained in:
天クマ 2026-07-13 16:47:32 -03:00
commit 1c586b6bcb
7 changed files with 357 additions and 130 deletions

View file

@ -7,7 +7,7 @@
--border-hover: rgba(255, 255, 255, 0.15);
--text-primary: #f8fafc;
--text-secondary: #94a3b8;
--text-muted: #64748b;
--text-muted: rgb(134, 134, 134);
--accent: white;
--accent-gradient: black;
--accent-hover: #4f46e5;
@ -26,6 +26,7 @@
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
user-select: none;
}
body {
@ -38,6 +39,10 @@ body {
radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.12) 0px, transparent 50%);
}
a {
color: var(--text-primary);
}
button {
background-color: var(--bg-main);
border: none;
@ -159,7 +164,7 @@ input:focus {
height: 38px;
border: none;
background: var(--bg-main);
color: var(--text-secondary);
color: var(--text-primary);
display: flex;
align-items: center;
justify-content: center;
@ -171,7 +176,6 @@ input:focus {
background: rgba(255, 255, 255, 0.08);
color: var(--text-primary);
border-color: var(--border-hover);
transform: translateY(-1px);
}
.icon-btn:active {
@ -415,15 +419,15 @@ input:focus {
.empty-state-icon {
width: 80px;
height: 80px;
border-radius: 24px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border-color);
background: var(--bg-secondary);
/* border: 1px solid var(--border-color); */
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 24px auto;
color: var(--accent);
font-size: 2rem;
align-content: center;
}
.empty-state-content h2 {
@ -494,6 +498,7 @@ input:focus {
display: flex;
flex-direction: column;
gap: 16px;
user-select: text;
background-image:
radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 40%),
radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.03) 0%, transparent 40%);
@ -559,6 +564,16 @@ input:focus {
border-bottom: 10px solid var(--bubble-incoming);
}
.message-content {
display: flex;
flex-direction: column;
gap: .4em;
}
.message-content * {
user-select: text;
}
.message-meta {
display: flex;
align-items: center;
@ -568,6 +583,11 @@ input:focus {
margin-top: 4px;
}
.message-image-attachement {
max-width: 100%;
max-height: 10em;
}
/* Chat Input Panel */
.chat-input-panel {
padding: 20px 24px;
@ -590,6 +610,7 @@ input:focus {
display: flex;
gap: 12px;
align-items: center;
min-width: 0;
}
#message-input {
@ -600,6 +621,7 @@ input:focus {
color: var(--bg-main);
font-size: 0.95rem;
transition: all 0.2s ease;
min-width: 0;
}
#message-input:focus {
@ -624,11 +646,6 @@ input:focus {
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.send-btn:hover {
transform: scale(1.05) translateY(-1px);
box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}
.send-btn:active {
transform: scale(0.98) translateY(0);
}
@ -679,7 +696,7 @@ input:focus {
.sidebar.hidden {
transform: translateX(-100%);
display: flex !important; /* overrides standard .hidden */
display: flex !important;
}
.chat-area {
@ -690,6 +707,14 @@ input:focus {
display: flex;
margin-right: 8px;
}
.message-group {
max-width: 100%;
}
.message-image-attachement {
max-height: 20em;
}
}
/* Modal Styling */
@ -707,10 +732,13 @@ input:focus {
}
.modal-content {
width: 100%;
background: var(--bg-main);
padding: 24px;
box-shadow: var(--shadow-lg);
backdrop-filter: var(--glass-blur);
display: flex;
flex-direction: column;
}
.modal-header {
@ -770,11 +798,6 @@ input:focus {
color: white;
}
.primary-btn:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.secondary-btn {
background: var(--bg-secondary);
color: var(--text-primary);