Spaces:
Sleeping
Sleeping
| /* --- Page background: Top header + mid repeating --- */ | |
| html, body { | |
| background-color: rgb(40,9,109) ; | |
| background-image: | |
| url('background_top.png'), | |
| url('background_mid.png') ; | |
| background-position: | |
| top center, | |
| top center ; | |
| background-repeat: | |
| no-repeat, | |
| repeat-y ; | |
| background-size: | |
| 100% auto, | |
| 100% auto ; | |
| margin: 0 ; | |
| padding: 0 ; | |
| min-height: 100vh ; | |
| } | |
| /* --- Fixed bottom banner using ::after on body --- */ | |
| body::after { | |
| content: '' ; | |
| position: fixed ; | |
| bottom: 0 ; | |
| left: 0 ; | |
| right: 0 ; | |
| height: 130px ; | |
| background-image: url('background_bottom.png') ; | |
| background-size: 100% 100% ; | |
| background-repeat: no-repeat ; | |
| background-position: bottom center ; | |
| pointer-events: none ; | |
| z-index: 9999 ; | |
| } | |
| /* --- Main container: float over the banner --- */ | |
| .gradio-container { | |
| max-width: 1400px ; | |
| width: 94vw ; | |
| margin: 0 auto ; | |
| padding-top: 220px ; | |
| padding-bottom: 150px ; /* Space for bottom banner */ | |
| background: transparent ; | |
| } | |
| /* --- Title in ESCP gold --- */ | |
| #escp_title h1 { | |
| color: rgb(242,198,55) ; | |
| font-size: 3rem ; | |
| font-weight: 800 ; | |
| text-align: center ; | |
| margin: 0 0 12px 0 ; | |
| } | |
| /* --- Subtitle --- */ | |
| #escp_title p, #escp_title em { | |
| color: rgba(255,255,255,0.85) ; | |
| text-align: center ; | |
| } | |
| /* --- Tab bar background --- */ | |
| .tabs > .tab-nav, | |
| .tab-nav, | |
| div[role="tablist"], | |
| .svelte-tabs > .tab-nav { | |
| background: rgba(40,9,109,0.6) ; | |
| border-radius: 10px 10px 0 0 ; | |
| padding: 4px ; | |
| } | |
| /* --- ALL tab buttons: force white text --- */ | |
| .tabs > .tab-nav button, | |
| .tab-nav button, | |
| div[role="tablist"] button, | |
| button[role="tab"], | |
| .svelte-tabs button, | |
| .tab-nav > button, | |
| .tabs button { | |
| color: #ffffff ; | |
| font-weight: 600 ; | |
| border: none ; | |
| background: transparent ; | |
| padding: 10px 20px ; | |
| border-radius: 8px 8px 0 0 ; | |
| opacity: 1 ; | |
| } | |
| /* --- Selected tab: ESCP gold --- */ | |
| .tabs > .tab-nav button.selected, | |
| .tab-nav button.selected, | |
| button[role="tab"][aria-selected="true"], | |
| button[role="tab"].selected, | |
| div[role="tablist"] button[aria-selected="true"], | |
| .svelte-tabs button.selected { | |
| color: rgb(242,198,55) ; | |
| background: rgba(255,255,255,0.12) ; | |
| } | |
| /* --- Unselected tabs: ensure visibility --- */ | |
| .tabs > .tab-nav button:not(.selected), | |
| .tab-nav button:not(.selected), | |
| button[role="tab"][aria-selected="false"], | |
| button[role="tab"]:not(.selected), | |
| div[role="tablist"] button:not([aria-selected="true"]) { | |
| color: #ffffff ; | |
| opacity: 1 ; | |
| } | |
| /* --- White card panels --- */ | |
| .gradio-container .gr-block, | |
| .gradio-container .gr-box, | |
| .gradio-container .gr-panel, | |
| .gradio-container .gr-group { | |
| background: #ffffff ; | |
| border-radius: 10px ; | |
| } | |
| /* --- Tab content area --- */ | |
| .tabitem { | |
| background: rgba(255,255,255,0.95) ; | |
| border-radius: 0 0 10px 10px ; | |
| padding: 16px ; | |
| } | |
| /* --- Inputs --- */ | |
| .gradio-container input, | |
| .gradio-container textarea, | |
| .gradio-container select { | |
| background: #ffffff ; | |
| border: 1px solid #d1d5db ; | |
| border-radius: 8px ; | |
| } | |
| /* --- Buttons: ESCP purple primary --- */ | |
| .gradio-container button:not([role="tab"]) { | |
| font-weight: 600 ; | |
| padding: 10px 16px ; | |
| border-radius: 10px ; | |
| } | |
| button.primary { | |
| background-color: rgb(40,9,109) ; | |
| color: #ffffff ; | |
| border: none ; | |
| } | |
| button.primary:hover { | |
| background-color: rgb(60,20,140) ; | |
| } | |
| button.secondary { | |
| background-color: #ffffff ; | |
| color: rgb(40,9,109) ; | |
| border: 2px solid rgb(40,9,109) ; | |
| } | |
| button.secondary:hover { | |
| background-color: rgb(240,238,250) ; | |
| } | |
| /* --- Dataframes --- */ | |
| [data-testid="dataframe"] { | |
| background-color: #ffffff ; | |
| border-radius: 10px ; | |
| } | |
| table { | |
| font-size: 0.85rem ; | |
| } | |
| /* --- Chatbot (AI Dashboard tab) --- */ | |
| .gr-chatbot { | |
| min-height: 380px ; | |
| background-color: #ffffff ; | |
| border-radius: 12px ; | |
| } | |
| .gr-chatbot .message.user { | |
| background-color: rgb(232,225,250) ; | |
| border-radius: 12px ; | |
| } | |
| .gr-chatbot .message.bot { | |
| background-color: #f3f4f6 ; | |
| border-radius: 12px ; | |
| } | |
| /* --- Gallery --- */ | |
| .gallery { | |
| background: #ffffff ; | |
| border-radius: 10px ; | |
| } | |
| /* --- Log textbox --- */ | |
| textarea { | |
| font-family: monospace ; | |
| font-size: 0.8rem ; | |
| } | |
| /* --- Markdown headings inside tabs --- */ | |
| .tabitem h3 { | |
| color: rgb(40,9,109) ; | |
| font-weight: 700 ; | |
| } | |
| .tabitem h4 { | |
| color: #374151 ; | |
| } | |
| /* --- Examples row (AI Dashboard) --- */ | |
| .examples-row button { | |
| background: rgb(240,238,250) ; | |
| color: rgb(40,9,109) ; | |
| border: 1px solid rgb(40,9,109) ; | |
| border-radius: 8px ; | |
| font-size: 0.85rem ; | |
| } | |
| .examples-row button:hover { | |
| background: rgb(232,225,250) ; | |
| } | |
| /* --- Header / footer: transparent over banner --- */ | |
| header, header *, | |
| footer, footer * { | |
| background: transparent ; | |
| box-shadow: none ; | |
| } | |
| footer a, footer button, | |
| header a, header button { | |
| background: transparent ; | |
| border: none ; | |
| box-shadow: none ; | |
| } | |
| #footer, #footer *, | |
| [class*="footer"], [class*="footer"] *, | |
| [class*="chip"], [class*="pill"], [class*="chip"] *, [class*="pill"] * { | |
| background: transparent ; | |
| border: none ; | |
| box-shadow: none ; | |
| } | |
| [data-testid*="api"], [data-testid*="settings"], | |
| [id*="api"], [id*="settings"], | |
| [class*="api"], [class*="settings"], | |
| [class*="bottom"], [class*="toolbar"], [class*="controls"] { | |
| background: transparent ; | |
| box-shadow: none ; | |
| } | |
| [data-testid*="api"] *, [data-testid*="settings"] *, | |
| [id*="api"] *, [id*="settings"] *, | |
| [class*="api"] *, [class*="settings"] * { | |
| background: transparent ; | |
| box-shadow: none ; | |
| } | |
| section footer { | |
| background: transparent ; | |
| } | |
| section footer button, | |
| section footer a { | |
| background: transparent ; | |
| background-color: transparent ; | |
| border: none ; | |
| box-shadow: none ; | |
| color: white ; | |
| } | |
| section footer button:hover, | |
| section footer button:focus, | |
| section footer a:hover, | |
| section footer a:focus { | |
| background: transparent ; | |
| background-color: transparent ; | |
| box-shadow: none ; | |
| } | |
| section footer button, | |
| section footer button * { | |
| background: transparent ; | |
| background-color: transparent ; | |
| background-image: none ; | |
| box-shadow: none ; | |
| filter: none ; | |
| } | |
| section footer button::before, | |
| section footer button::after { | |
| background: transparent ; | |
| background-color: transparent ; | |
| background-image: none ; | |
| box-shadow: none ; | |
| filter: none ; | |
| } | |
| section footer a, | |
| section footer a * { | |
| background: transparent ; | |
| background-color: transparent ; | |
| box-shadow: none ; | |
| } | |
| .gradio-container footer button, | |
| .gradio-container footer button *, | |
| .gradio-container .footer button, | |
| .gradio-container .footer button * { | |
| background: transparent ; | |
| background-color: transparent ; | |
| background-image: none ; | |
| box-shadow: none ; | |
| } | |
| .gradio-container footer button::before, | |
| .gradio-container footer button::after, | |
| .gradio-container .footer button::before, | |
| .gradio-container .footer button::after { | |
| background: transparent ; | |
| background-color: transparent ; | |
| background-image: none ; | |
| box-shadow: none ; | |
| } |