File size: 3,810 Bytes
d5ee3c5
f1c699d
d5ee3c5
40d4b64
d5ee3c5
 
40d4b64
 
 
d5ee3c5
40d4b64
 
d5ee3c5
 
40d4b64
 
 
d5ee3c5
 
40d4b64
 
d5ee3c5
 
 
 
 
 
 
 
 
 
 
 
 
40d4b64
d5ee3c5
 
 
 
 
 
 
 
 
 
 
 
40d4b64
 
 
 
d5ee3c5
 
 
 
 
40d4b64
 
 
 
 
d5ee3c5
40d4b64
 
d5ee3c5
40d4b64
d5ee3c5
40d4b64
 
d5ee3c5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
438a17d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95c0803
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/* ===== 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;
}