Spaces:
Runtime error

echem-agent / frontend /src /index.css
SII-gelingli
UI redesign: modern gradient theme, improved chat interface, better login page
c1b740a
Raw History Blame Contribute Delete
3.54 kB
/* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.15);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.25);
}
/* Markdown styles */
.markdown-body {
line-height: 1.6;
}
.markdown-body p {
margin-bottom: 0.5em;
}
.markdown-body code {
background: rgba(0, 0, 0, 0.06);
padding: 2px 6px;
border-radius: 4px;
font-size: 0.9em;
}
.markdown-body pre {
background: #1e1e1e;
color: #d4d4d4;
padding: 12px 16px;
border-radius: 8px;
overflow-x: auto;
margin: 8px 0;
}
.markdown-body pre code {
background: none;
padding: 0;
color: inherit;
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
@keyframes gradientFlow {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.fade-in {
animation: fadeIn 0.3s ease-out;
}
.pulse {
animation: pulse 1.5s ease-in-out infinite;
}
/* Glass effect */
.glass {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
/* Gradient backgrounds */
.gradient-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.gradient-secondary {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.gradient-success {
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
/* Card hover effect */
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
/* Button styles */
.btn-gradient {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
color: white;
transition: all 0.3s ease;
}
.btn-gradient:hover {
background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
transform: translateY(-1px);
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
/* Message bubble styles */
.message-user {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 18px 18px 4px 18px;
}
.message-assistant {
background: #f8f9fa;
color: #1a1a1a;
border-radius: 18px 18px 18px 4px;
border: 1px solid #e9ecef;
}
/* Input styles */
.chat-input {
border-radius: 24px;
border: 2px solid #e9ecef;
transition: all 0.3s ease;
}
.chat-input:focus {
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
/* Sidebar styles */
.sidebar-item {
border-radius: 8px;
transition: all 0.2s ease;
}
.sidebar-item:hover {
background: rgba(102, 126, 234, 0.1);
}
.sidebar-item.active {
background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
border-left: 3px solid #667eea;
}
/* Tool cards */
.tool-card {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-radius: 12px;
border: 1px solid #dee2e6;
transition: all 0.3s ease;
}
.tool-card:hover {
border-color: #667eea;
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}