/* www/styles.css */ /* Modern sleek theme with dark mode elements */ body { background-color: white; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; } /* Image display styling for footer images */ .footer img { border-radius: 10px; object-fit: cover; max-height: 300px; width: 100%; margin: 10px 0; /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/ } #bloomberg > img:nth-child(1) { padding-top: 35px; } .container-fluid { padding-left: 10px; padding-right: 10px; max-width: 1400px; margin: 0 auto; } /* Nav-bar styling */ .nav-bar { /*position: sticky; */ top: 0px; background: white; z-index: 10; } /* Header styling */ .navbar-logo { color: #2c3e50 !important; font-weight: 700; font-size: 1.8rem; padding: 0px 0; text-align: center; } /*To align text at the bottom of the navbar*/ .navbar-text { display: table-cell; vertical-align: bottom; } .navbar-col{ display: table; padding-left: 0; padding-right: 0; } .body-bar { top: 0px; background: white; font-size: 1.1rem; border-bottom: 2px solid #ddd; z-index: 10; margin-bottom: 10px; padding: 10px; text-align: left; } .side-bar { position: sticky; top: 0px; font-size: 1.1rem; background: white; z-index: 10; } .footer { border-top: 2px solid #ddd; background: white; } .analysis-separator { border-top: 2px solid #ddd; background: white; } /* Sidebar styling */ .card.shiny-input-container { background-color: #ffffff; border-radius: 12px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); padding: 20px; margin-bottom: 20px; } /* Upload button styling */ .btn-file { background-color: #2F6BA7; color: white !important; border-radius: 8px; padding: 10px 20px; transition: all 0.3s ease; } .btn-file:hover { background-color: #2c3e50; } /* Analyze button styling */ .btn-success { background-color: #2F6BA7 !important; border: none; border-radius: 8px; padding: 12px 25px; font-weight: 600; transition: all 0.3s ease; } .btn-success:hover { background-color: #2c3e50 !important; } /* Image cards styling */ .card { background: white; border: none; border-radius: 15px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); margin-bottom: 25px; overflow: hidden; transition: transform 0.2s ease; } /* Results text styling */ .results-text { color: #2c3e50; font-family: 'Courier New', monospace; font-size: 1.1rem; margin: 15px 0; padding: 12px; background-color: #f8f9fa; border-radius: 6px; border-left: 4px solid #4a90e2; } /* Focus styling */ /* High contrast focus ring for buttons */ button:focus, .btn:focus, .btn-default:focus, .btn-file:focus, .form-control:focus, .irs-line:focus, .btn-success:focus, input[type="button"]:focus, input[type="submit"]:focus { outline: 5px solid #ffab00 !important; /* Highly visible gold/orange outline */ outline-offset: 1px; box-shadow: 0 0 0 6px rgba(255, 171, 0, 0.25); /* Soft glow for extra contrast */ z-index: 2; transition: outline-color 0.2s, box-shadow 0.2s; } /* Optionally, use :focus-visible for modern browsers only */ button:focus-visible, .btn:focus-visible, .btn-default:focus-visible, .btn-file:focus-visible, .btn-success:focus-visible, .form-control:focus-visible, .irs-line:focus-visible, input[type="button"]:focus-visible, input[type="submit"]:focus-visible { outline: 5px solid #ffab00 !important; outline-offset: 1px; box-shadow: 0 0 0 6px rgba(255, 171, 0, 0.25); z-index: 2; } button:focus-within, .btn:focus-within, .btn-default:focus-within, .btn-file:focus-within, .btn-success:focus-within, .form-control:focus-within, .irs-line:focus-within, input[type="button"]:focus-within, input[type="submit"]:focus-within { outline: 5px solid #ffab00 !important; outline-offset: 1px; box-shadow: 0 0 0 6px rgba(255, 171, 0, 0.25); z-index: 2; } /* Responsive design */ @media (max-width: 768px) { .col-md-4 { flex: 0 0 100%; max-width: 100%; } img { max-height: 200px; } }