NEON / frontend /src /styles.css
picklefried706's picture
Upload folder using huggingface_hub
40a9423 verified
:root {
color-scheme: light dark;
--bg: #0e0f13;
--bg-muted: #16181f;
--panel: #1d2029;
--text: #f6f4f0;
--text-muted: #b9becb;
--accent: #f68b1f;
--accent-soft: rgba(246, 139, 31, 0.18);
--border: rgba(255, 255, 255, 0.08);
--shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
--mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--sans: "Space Grotesk", "Segoe UI", sans-serif;
}
:root[data-theme="light"] {
--bg: #f6f3ee;
--bg-muted: #efe8de;
--panel: #ffffff;
--text: #1b1a19;
--text-muted: #5f5b56;
--accent: #db3a2f;
--accent-soft: rgba(219, 58, 47, 0.15);
--border: rgba(0, 0, 0, 0.1);
--shadow: 0 30px 60px rgba(12, 12, 12, 0.15);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: var(--sans);
background: radial-gradient(circle at top left, rgba(246, 139, 31, 0.12), transparent 55%),
radial-gradient(circle at 20% 20%, rgba(115, 143, 255, 0.15), transparent 45%),
var(--bg);
color: var(--text);
min-height: 100vh;
}
.app {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 24px 40px;
border-bottom: 1px solid var(--border);
backdrop-filter: blur(14px);
position: sticky;
top: 0;
z-index: 10;
}
.brand {
display: flex;
align-items: center;
gap: 16px;
}
.brand-mark {
width: 44px;
height: 44px;
border-radius: 14px;
background: linear-gradient(135deg, var(--accent), #f7c975);
box-shadow: 0 12px 30px rgba(246, 139, 31, 0.35);
}
.brand-title {
font-weight: 600;
letter-spacing: 0.04em;
}
.brand-subtitle {
font-size: 0.85rem;
color: var(--text-muted);
}
.topbar-actions {
display: flex;
gap: 12px;
}
.layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 320px;
gap: 28px;
padding: 28px 40px 40px;
flex: 1;
}
.chat {
background: var(--panel);
border-radius: 28px;
box-shadow: var(--shadow);
display: flex;
flex-direction: column;
min-height: 70vh;
border: 1px solid var(--border);
}
.chat-header {
padding: 28px 28px 16px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--border);
}
.chat-title {
font-size: 1.2rem;
font-weight: 600;
}
.chat-subtitle {
font-size: 0.9rem;
color: var(--text-muted);
}
.status {
display: flex;
align-items: center;
gap: 10px;
font-size: 0.85rem;
color: var(--text-muted);
}
.dot,
.pulse {
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--accent);
}
.pulse {
position: relative;
}
.pulse::after {
content: "";
position: absolute;
inset: -4px;
border-radius: 50%;
border: 1px solid var(--accent);
animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
0% {
transform: scale(0.6);
opacity: 0.6;
}
100% {
transform: scale(1.6);
opacity: 0;
}
}
.chat-body {
padding: 24px 28px;
display: flex;
flex-direction: column;
gap: 22px;
overflow-y: auto;
flex: 1;
}
.empty {
padding: 40px 0 20px;
}
.empty h2 {
font-size: 1.8rem;
margin-bottom: 12px;
}
.empty p {
color: var(--text-muted);
max-width: 520px;
}
.shortcut-grid {
margin-top: 24px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 12px;
}
.shortcut-card {
background: var(--bg-muted);
padding: 14px;
border-radius: 16px;
border: 1px solid var(--border);
}
.shortcut-combo {
font-family: var(--mono);
font-size: 0.85rem;
color: var(--accent);
}
.shortcut-action {
font-size: 0.85rem;
color: var(--text-muted);
}
.message-group {
display: flex;
flex-direction: column;
gap: 10px;
}
.message-group.user {
align-items: flex-end;
}
.message-group.assistant {
align-items: flex-start;
}
.message-meta {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--text-muted);
}
.message-stack {
display: flex;
flex-direction: column;
gap: 10px;
}
.message-bubble {
padding: 14px 18px;
border-radius: 18px;
max-width: 520px;
line-height: 1.5;
background: var(--bg-muted);
border: 1px solid var(--border);
}
.message-group.user .message-bubble {
background: linear-gradient(135deg, var(--accent), #f4b36c);
color: #1b1a19;
border: none;
}
.typing {
display: flex;
gap: 6px;
align-items: center;
padding-left: 8px;
}
.typing span {
width: 8px;
height: 8px;
background: var(--accent);
border-radius: 50%;
animation: bounce 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) {
animation-delay: 0.2s;
}
.typing span:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes bounce {
0%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-6px);
}
}
.chat-input {
border-top: 1px solid var(--border);
padding: 18px 24px 24px;
display: flex;
flex-direction: column;
gap: 12px;
}
.chat-input textarea {
width: 100%;
border: 1px solid var(--border);
border-radius: 16px;
padding: 14px;
font-family: var(--sans);
font-size: 1rem;
background: var(--bg);
color: var(--text);
resize: none;
min-height: 74px;
}
.input-actions {
display: flex;
justify-content: space-between;
align-items: center;
}
.input-hint {
font-family: var(--mono);
font-size: 0.75rem;
color: var(--text-muted);
}
button {
font-family: var(--sans);
border: none;
border-radius: 12px;
padding: 10px 18px;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
button.primary {
background: var(--accent);
color: #121212;
font-weight: 600;
box-shadow: 0 14px 30px rgba(246, 139, 31, 0.3);
}
button.primary:hover:not(:disabled) {
transform: translateY(-1px);
}
button.ghost {
background: transparent;
border: 1px solid var(--border);
color: var(--text);
}
button.ghost.full {
width: 100%;
}
.sidebar {
display: flex;
flex-direction: column;
gap: 18px;
}
.card {
background: var(--panel);
border-radius: 24px;
padding: 20px;
border: 1px solid var(--border);
box-shadow: var(--shadow);
}
.card h3 {
margin-top: 0;
}
.card p {
color: var(--text-muted);
}
.metric {
display: flex;
justify-content: space-between;
margin-top: 12px;
font-size: 0.9rem;
}
.badge-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.badge-row span {
font-size: 0.75rem;
padding: 4px 10px;
border-radius: 999px;
border: 1px solid var(--border);
background: var(--bg-muted);
}
@media (max-width: 1024px) {
.layout {
grid-template-columns: 1fr;
}
.sidebar {
order: -1;
}
}
@media (max-width: 720px) {
.topbar {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.layout {
padding: 20px;
}
.chat {
border-radius: 20px;
}
}