show both models at the same time

This commit is contained in:
Tobias Brunner 2025-07-23 11:16:15 +02:00
parent aa57082a1b
commit 4746cfac25
Signed by: tobru
SSH key fingerprint: SHA256:kOXg1R6c11XW3/Pt9dbLdQvOJGFAy+B2K6v6PtRWBGQ
6 changed files with 488 additions and 326 deletions

View file

@ -352,4 +352,147 @@
padding: 0.75rem;
margin-bottom: 0.75rem;
}
}
/* Clean Dual Model Layout */
.model-comparison-indicator {
font-size: 1.2rem;
color: #6c757d;
}
/* Scenario selection enhancements */
.form-check {
margin-bottom: 0.25rem;
}
.form-check-label {
cursor: pointer;
user-select: none;
}
.form-check-input:checked {
background-color: #0d6efd;
border-color: #0d6efd;
}
/* Model result boxes */
.model-result-box {
transition: all 0.2s ease;
background: #fafafa;
}
.model-result-box:hover {
background: #f0f0f0;
transform: translateY(-1px);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* Model comparison box */
.model-comparison-box {
border: 1px solid #dee2e6;
transition: all 0.2s ease;
}
.model-comparison-box:hover {
border-color: #adb5bd;
background-color: #f8f9fa !important;
}
/* Control section styling */
.controls-section {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-radius: 8px;
padding: 1rem;
}
/* Enhanced form controls */
.form-range {
height: 4px;
margin-top: 0.5rem;
}
.form-range::-webkit-slider-thumb {
background: #0d6efd;
border: 2px solid #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.form-range::-moz-range-thumb {
background: #0d6efd;
border: 2px solid #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
/* Button group styling */
.btn-group-enhanced .btn {
border-radius: 4px;
margin-right: 0.25rem;
}
.btn-group-enhanced .btn:last-child {
margin-right: 0;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.controls-section {
padding: 0.75rem;
}
.model-result-box {
margin-bottom: 1rem;
}
}
/* Enhanced table styling for financial analysis */
.table-hover tbody tr:hover {
background-color: rgba(0, 0, 0, 0.05);
}
.table-success {
--bs-table-bg: rgba(40, 167, 69, 0.1);
}
.table-warning {
--bs-table-bg: rgba(255, 193, 7, 0.1);
}
/* Tab styling improvements */
.nav-tabs .nav-link {
border: 1px solid transparent;
border-top-left-radius: 0.375rem;
border-top-right-radius: 0.375rem;
}
.nav-tabs .nav-link.active {
color: #495057;
background-color: #fff;
border-color: #dee2e6 #dee2e6 #fff;
}
.nav-tabs .nav-link:hover:not(.active) {
border-color: #e9ecef #e9ecef #dee2e6;
isolation: isolate;
}
/* Table cell improvements */
.table td {
vertical-align: middle;
}
.table th {
border-top: none;
font-weight: 600;
font-size: 0.875rem;
}
/* Better responsive tables */
@media (max-width: 768px) {
.table-responsive {
font-size: 0.8rem;
}
.table th, .table td {
padding: 0.5rem 0.25rem;
}
}