Spaces:
Running
Running
| /* ===== Flat Minimal theme (no shadows, no glass, no gradients) ===== */ | |
| /* ํ์ด์ง ๊ธฐ๋ณธํค */ | |
| :root{ | |
| --bg: #f6f7fb; | |
| --card-bg: #ffffff; | |
| --text: #0f172a; | |
| --muted: #64748b; | |
| --grid: #e5e7eb; | |
| --radius: 12px; | |
| } | |
| /* ์ ์ฒด ํ์ด์ง */ | |
| html, body{ | |
| background: var(--bg) ; | |
| color: var(--text); | |
| font-family: Inter, Pretendard, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", Arial, sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| /* ํค๋/์ปจํธ๋กค/์นด๋: ๊ทธ๋ฆผ์ยท๋ธ๋ฌ ์ ๊ฑฐ, ํ๋ซ ๋ณด๋๋ง */ | |
| .header, | |
| .control-card, | |
| .chart-card, | |
| .datacard{ | |
| background: var(--card-bg) ; | |
| border: 1px solid #eaecef ; | |
| border-radius: var(--radius) ; | |
| box-shadow: none ; | |
| backdrop-filter: none ; | |
| } | |
| /* Plotly ๊ทธ๋ํ ์ปจํ ์ด๋: ํ๋ซ ์นด๋ */ | |
| .js-plotly-plot{ | |
| background: var(--card-bg) ; | |
| border: 1px solid #eaecef ; | |
| border-radius: var(--radius) ; | |
| box-shadow: none ; | |
| padding: 8px ; | |
| } | |
| /* Sankey ๋์ด ๋ฝ(ํ์ ์ ์ ์ง) */ | |
| #fig-sankey .js-plotly-plot, | |
| #fig-sankey .plot-container, | |
| #fig-sankey .main-svg{ | |
| height: 420px ; | |
| } | |
| /* Dash DataTable */ | |
| .dash-table-container{ | |
| background: var(--card-bg) ; | |
| border: 1px solid #eaecef ; | |
| border-radius: var(--radius) ; | |
| box-shadow: none ; | |
| padding: 8px 10px ; | |
| } | |
| .dash-table-container .dash-spreadsheet-container{ | |
| border: none ; | |
| } | |
| /* Tabs (์ํฐํด/PPC) */ | |
| .tab, .tab--selected{ | |
| background: var(--card-bg) ; | |
| border: 1px solid #eaecef ; | |
| border-radius: 10px ; | |
| box-shadow: none ; | |
| margin-right: 8px; | |
| } | |
| /* ์ ํ/๋๋กญ๋ค์ด ๋ฑ(์ฌ์ฉ ์ค์ด๋ฉด) */ | |
| .continent-select .mantine-Select-input, | |
| .country-select .mantine-Select-input{ | |
| background: #fff ; | |
| border: 1px solid #eaecef ; | |
| color: var(--text) ; | |
| } | |
| .mantine-Select-dropdown{ | |
| background: #fff ; | |
| border: 1px solid #eaecef ; | |
| } | |
| /* ๋ฐ์ํ ์ฌ๋ฐฑ */ | |
| @media (max-width: 768px){ | |
| .control-card, .chart-card{ margin: 10px 0 ; } | |
| } | |
| /* ---- Clean Tabs (์ํฐํด/PPC) : ๋ณด๋/์ธ๊ณฝ์ ์ ๊ฑฐ + ๋ฐ์คํ ์ ํ ํ์ ---- */ | |
| #tab-right{ /* dcc.Tabs(id="tab-right") */ | |
| border: none ; | |
| background: transparent ; | |
| box-shadow: none ; | |
| } | |
| /* ๊ฐ๋ณ ํญ ๋ฒํผ: ๋ณด๋/๋ฐฐ๊ฒฝ ์ ๊ฑฐ, ํ ์คํธ๋ง */ | |
| #tab-right .tab{ | |
| background: transparent ; | |
| border: none ; | |
| box-shadow: none ; | |
| border-radius: 0 ; | |
| color: #0f172a ; | |
| padding: 10px 14px ; | |
| margin-right: 8px ; | |
| border-bottom: 2px solid transparent ; /* ๊ธฐ๋ณธ์ ๋ฐ์ค ์์ */ | |
| } | |
| /* ์ ํ๋ ํญ: ์งํ ๋ฐ์ค๋ง */ | |
| #tab-right .tab--selected{ | |
| background: transparent ; | |
| border: none ; | |
| box-shadow: none ; | |
| border-bottom: 2px solid #0f172a ; | |
| font-weight: 600 ; | |
| } | |
| /* ํฌ์ปค์ค ์ธ๊ณฝ์ (ํ์ ๋ง) ์ ๊ฑฐ โ ์ ๊ทผ์ฑ์ focus-visible๋ก ๋์ฒด */ | |
| #tab-right .tab:focus{ outline: none ; box-shadow: none ; } | |
| #tab-right .tab:focus-visible{ outline: 2px solid #2563eb ; outline-offset: 2px; } | |
| /* ํญ ์ปจํ ์ธ ๋ฐ์ค ๋ณด๋ ์ ๊ฑฐ */ | |
| #tab-right .tab-content{ | |
| border: none ; | |
| background: transparent ; | |
| box-shadow: none ; | |
| } | |
| /* Plotly ์ปจํ ์ด๋ ์ธ๊ณฝ์ /๊ทธ๋ฆผ์ ์ ๊ฑฐ */ | |
| .js-plotly-plot{ | |
| border: none ; | |
| box-shadow: none ; | |
| padding: 8px ; /* ๋ด๋ถ ์ฌ๋ฐฑ๋ง ์ ์ง */ | |
| } | |
| /* ์นด๋ ์ปจํ ์ด๋(ํน์ ํด๋์ค๋ก ์ฐ๋ฉด) */ | |
| .chart-card, .control-card, .datacard{ | |
| border: none ; | |
| box-shadow: none ; | |
| } | |