dangmanhtruong's picture
Clean commit with LFS-tracked images
845d5aa
/* Main container styling */
.gradio-container {
max-width: 1400px !important;
margin: 0 auto;
}
/* Header styling */
.header-container {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 20px;
border-radius: 15px;
margin-bottom: 20px;
text-align: center;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.header-container h1 {
color: white;
margin: 10px 0 5px 0;
font-size: 2.2em;
font-weight: 600;
}
.header-container p {
color: rgba(255,255,255,0.9);
margin: 5px 0;
font-size: 1.1em;
}
.header-flex {
display: flex;
align-items: center;
gap: 20px;
}
.logo-wrapper img {
max-height: 170px;
border-radius: 10px;
}
.title-wrapper {
flex: 1;
align-items: center;
}
/* Status text styling - make it white for better visibility */
.status-text {
color: white !important;
font-weight: 500;
}
.status-bar {
display: flex;
align-items: center;
justify-content: center;
margin-top: 10px;
}
/* Logo styling */
.logo-img {
max-height: 80px; # NEW - much smaller
max-width: 80px; # NEW - prevent wide logos
height: auto; # NEW - maintain aspect ratio
width: auto; # NEW - maintain aspect ratio
margin-bottom: 15px;
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
/* Chat interface improvements */
.chat-container {
border-radius: 15px;
border: 1px solid #e1e5e9;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* Input box styling */
.input-container {
background: #f8f9fa;
border-radius: 12px;
/*padding: 10px;*/
/*margin-top: 10px; */
}
/* Fix input/button height alignment */
.input-container input,
.input-container textarea {
min-height: 50px !important;
height: 50px !important;
}
/* Make sure button matches the input height */
button {
min-height: 50px !important;
height: 50px !important;
}
/* Feature cards */
.features-container {
display: grid;
grid-template-columns: repeat(3, 1fr); /* Always 3 columns on desktop */
gap: 15px;
margin: 20px 0;
}
.feature-card {
background: white;
padding: 20px;
border-radius: 12px;
border: 1px solid #e1e5e9;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
transition: transform 0.2s ease;
min-height: 120px; /* Ensure consistent card heights */
display: flex;
flex-direction: column;
}
.feature-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.feature-card h3 {
color: #2c3e50;
margin-bottom: 10px;
font-size: 1.1em;
flex-shrink: 0; /* Prevent title from shrinking */
}
.feature-card p {
color: #6c757d;
font-size: 0.9em;
line-height: 1.4;
flex-grow: 1; /* Allow description to fill remaining space */
}
/* Responsive breakpoints for balanced layouts */
@media (max-width: 1200px) {
.features-container {
grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets - creates 3 rows */
}
}
@media (max-width: 768px) {
.features-container {
grid-template-columns: 1fr; /* 1 column on mobile - stacked vertically */
}
.feature-card {
min-height: auto;
padding: 15px;
}
}
/* For larger screens, ensure max width so cards don't get too wide */
@media (min-width: 1400px) {
.features-container {
max-width: 1200px;
margin: 20px auto;
}
}
/* .features-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
margin: 20px 0;
}
.feature-card {
background: white;
padding: 20px;
border-radius: 12px;
border: 1px solid #e1e5e9;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
transition: transform 0.2s ease;
}
.feature-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.feature-card h3 {
color: #2c3e50;
margin-bottom: 10px;
font-size: 1.1em;
}
.feature-card p {
color: #6c757d;
font-size: 0.9em;
line-height: 1.4;
} */
/* Button improvements */
.primary-button {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
border-radius: 8px;
color: white;
padding: 10px 20px;
font-weight: 500;
transition: all 0.2s ease;
}
.primary-button:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
/* Sidebar styling */
.sidebar {
background: #f8f9fa;
border-radius: 12px;
padding: 20px;
margin-right: 20px;
}
/* Plot container */
.plot-container {
border-radius: 12px;
border: 1px solid #e1e5e9;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
height: 400px !important;
min-height: 400px !important;
max-height: 400px !important;
width: 100% !important;
max-width: 100% !important;
}
/* Ensure the HTML content inside doesn't overflow */
.plot-container > div {
height: 100% !important;
width: 100% !important;
max-width: 100% !important;
overflow: hidden !important;
}
/* Status indicators */
.status-indicator {
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
margin-right: 8px;
}
.status-online {
background-color: #28a745;
}
.status-processing {
background-color: #ffc107;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
@media (max-width: 768px) {
.feature-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.feature-grid {
grid-template-columns: 1fr;
}
}