Spaces:
Sleeping
Sleeping
| /* style.css - Professional Medical Aesthetic Theme */ | |
| /* 1. Define the Color Palette */ | |
| :root { | |
| --color-primary-blue: #007BFF; /* A calming, professional blue */ | |
| --color-accent-teal: #17A2B8; /* A modern, clean teal for highlights */ | |
| --color-background-white: #FFFFFF; /* Clean white background */ | |
| --color-background-light-gray: #F8F9FA; /* A very light gray for subtle contrast */ | |
| --color-text-dark: #212529; /* High-contrast, readable dark text */ | |
| --color-text-light: #6C757D; /* Lighter text for secondary info */ | |
| --color-border: #DEE2E6; /* Subtle borders for components */ | |
| --font-primary: 'Inter', 'Helvetica Neue', sans-serif; /* Modern, clean sans-serif font */ | |
| } | |
| /* 2. General Body and Layout Styling */ | |
| body, #root { | |
| background-color: var(--color-background-light-gray); | |
| font-family: var(--font-primary); | |
| color: var(--color-text-dark); | |
| } | |
| /* 3. Dashboard Component Styling */ | |
| .gradio-container { | |
| border-radius: 12px ; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) ; | |
| background: var(--color-background-white) ; | |
| } | |
| /* Make buttons match the theme */ | |
| .gradio-button { | |
| background-color: var(--color-primary-blue) ; | |
| color: white ; | |
| border: none ; | |
| border-radius: 8px ; | |
| font-weight: 600 ; | |
| transition: background-color 0.3s ease ; | |
| } | |
| .gradio-button:hover { | |
| background-color: #0056b3 ; /* Darker blue on hover */ | |
| } | |
| .gradio-button.secondary { | |
| background-color: var(--color-accent-teal) ; | |
| } | |
| .gradio-button.secondary:hover { | |
| background-color: #117a8b ; /* Darker teal on hover */ | |
| } | |
| /* Style the text boxes and chat */ | |
| textarea, .gradio-chatbot { | |
| border: 1px solid var(--color-border) ; | |
| border-radius: 8px ; | |
| } | |
| /* Style the headings and titles for a professional look */ | |
| h1, h2 { | |
| color: var(--color-primary-blue); | |
| font-weight: 700; | |
| } | |
| /* Style the tabs for the results area */ | |
| .tab-nav button { | |
| background-color: var(--color-background-light-gray) ; | |
| border-radius: 8px 8px 0 0 ; | |
| border-bottom: 2px solid transparent ; | |
| } | |
| .tab-nav button.selected { | |
| background-color: var(--color-background-white) ; | |
| border-bottom: 2px solid var(--color-primary-blue) ; | |
| } | |
| /* Generous spacing for a modern feel */ | |
| .gradio-container .form { | |
| padding: 20px ; | |
| gap: 20px ; | |
| } |