Jay1121's picture
Update assets/styles.css
95c0803 verified
/* ===== 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) !important;
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) !important;
border: 1px solid #eaecef !important;
border-radius: var(--radius) !important;
box-shadow: none !important;
backdrop-filter: none !important;
}
/* Plotly ๊ทธ๋ž˜ํ”„ ์ปจํ…Œ์ด๋„ˆ: ํ”Œ๋žซ ์นด๋“œ */
.js-plotly-plot{
background: var(--card-bg) !important;
border: 1px solid #eaecef !important;
border-radius: var(--radius) !important;
box-shadow: none !important;
padding: 8px !important;
}
/* Sankey ๋†’์ด ๋ฝ(ํ•„์š” ์‹œ ์œ ์ง€) */
#fig-sankey .js-plotly-plot,
#fig-sankey .plot-container,
#fig-sankey .main-svg{
height: 420px !important;
}
/* Dash DataTable */
.dash-table-container{
background: var(--card-bg) !important;
border: 1px solid #eaecef !important;
border-radius: var(--radius) !important;
box-shadow: none !important;
padding: 8px 10px !important;
}
.dash-table-container .dash-spreadsheet-container{
border: none !important;
}
/* Tabs (์›Œํ„ฐํด/PPC) */
.tab, .tab--selected{
background: var(--card-bg) !important;
border: 1px solid #eaecef !important;
border-radius: 10px !important;
box-shadow: none !important;
margin-right: 8px;
}
/* ์„ ํƒ/๋“œ๋กญ๋‹ค์šด ๋“ฑ(์‚ฌ์šฉ ์ค‘์ด๋ฉด) */
.continent-select .mantine-Select-input,
.country-select .mantine-Select-input{
background: #fff !important;
border: 1px solid #eaecef !important;
color: var(--text) !important;
}
.mantine-Select-dropdown{
background: #fff !important;
border: 1px solid #eaecef !important;
}
/* ๋ฐ˜์‘ํ˜• ์—ฌ๋ฐฑ */
@media (max-width: 768px){
.control-card, .chart-card{ margin: 10px 0 !important; }
}
/* ---- Clean Tabs (์›Œํ„ฐํด/PPC) : ๋ณด๋”/์™ธ๊ณฝ์„  ์ œ๊ฑฐ + ๋ฐ‘์ค„ํ˜• ์„ ํƒ ํ‘œ์‹œ ---- */
#tab-right{ /* dcc.Tabs(id="tab-right") */
border: none !important;
background: transparent !important;
box-shadow: none !important;
}
/* ๊ฐœ๋ณ„ ํƒญ ๋ฒ„ํŠผ: ๋ณด๋”/๋ฐฐ๊ฒฝ ์ œ๊ฑฐ, ํ…์ŠคํŠธ๋งŒ */
#tab-right .tab{
background: transparent !important;
border: none !important;
box-shadow: none !important;
border-radius: 0 !important;
color: #0f172a !important;
padding: 10px 14px !important;
margin-right: 8px !important;
border-bottom: 2px solid transparent !important; /* ๊ธฐ๋ณธ์€ ๋ฐ‘์ค„ ์—†์Œ */
}
/* ์„ ํƒ๋œ ํƒญ: ์ง„ํ•œ ๋ฐ‘์ค„๋งŒ */
#tab-right .tab--selected{
background: transparent !important;
border: none !important;
box-shadow: none !important;
border-bottom: 2px solid #0f172a !important;
font-weight: 600 !important;
}
/* ํฌ์ปค์Šค ์™ธ๊ณฝ์„ (ํšŒ์ƒ‰ ๋ง) ์ œ๊ฑฐ โ€“ ์ ‘๊ทผ์„ฑ์€ focus-visible๋กœ ๋Œ€์ฒด */
#tab-right .tab:focus{ outline: none !important; box-shadow: none !important; }
#tab-right .tab:focus-visible{ outline: 2px solid #2563eb !important; outline-offset: 2px; }
/* ํƒญ ์ปจํ…์ธ  ๋ฐ•์Šค ๋ณด๋” ์ œ๊ฑฐ */
#tab-right .tab-content{
border: none !important;
background: transparent !important;
box-shadow: none !important;
}
/* Plotly ์ปจํ…Œ์ด๋„ˆ ์™ธ๊ณฝ์„ /๊ทธ๋ฆผ์ž ์ œ๊ฑฐ */
.js-plotly-plot{
border: none !important;
box-shadow: none !important;
padding: 8px !important; /* ๋‚ด๋ถ€ ์—ฌ๋ฐฑ๋งŒ ์œ ์ง€ */
}
/* ์นด๋“œ ์ปจํ…Œ์ด๋„ˆ(ํ˜น์‹œ ํด๋ž˜์Šค๋กœ ์“ฐ๋ฉด) */
.chart-card, .control-card, .datacard{
border: none !important;
box-shadow: none !important;
}