Spaces:
Running
Running
Update assets/styles.css
Browse files- assets/styles.css +59 -136
assets/styles.css
CHANGED
|
@@ -1,163 +1,86 @@
|
|
| 1 |
-
|
| 2 |
-
font-family: 'Outfit', sans-serif;
|
| 3 |
-
background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 100%);
|
| 4 |
-
margin: 0;
|
| 5 |
-
padding: 20px;
|
| 6 |
-
min-height: 100vh;
|
| 7 |
-
}
|
| 8 |
-
|
| 9 |
-
.header {
|
| 10 |
-
background: linear-gradient(135deg, #ff6b35, #d43425);
|
| 11 |
-
padding: 20px 30px;
|
| 12 |
-
border-radius: 15px;
|
| 13 |
-
box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
|
| 14 |
-
margin-bottom: 20px;
|
| 15 |
-
}
|
| 16 |
-
|
| 17 |
-
.control-card {
|
| 18 |
-
background: rgba(15, 15, 20, 0.9);
|
| 19 |
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 20 |
-
backdrop-filter: blur(10px);
|
| 21 |
-
border-radius: 15px;
|
| 22 |
-
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
|
| 23 |
-
}
|
| 24 |
-
|
| 25 |
-
.chart-card {
|
| 26 |
-
background: rgba(15, 15, 20, 0.9);
|
| 27 |
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 28 |
-
backdrop-filter: blur(10px);
|
| 29 |
-
border-radius: 15px;
|
| 30 |
-
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
|
| 31 |
-
}
|
| 32 |
-
|
| 33 |
-
.datacard {
|
| 34 |
-
background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(212, 52, 37, 0.1));
|
| 35 |
-
border: 1px solid rgba(255, 107, 53, 0.3);
|
| 36 |
-
border-radius: 12px;
|
| 37 |
-
transition: all 0.3s ease;
|
| 38 |
-
backdrop-filter: blur(10px);
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
.datacard:hover {
|
| 42 |
-
transform: translateY(-2px);
|
| 43 |
-
box-shadow: 0 12px 30px rgba(255, 107, 53, 0.2);
|
| 44 |
-
}
|
| 45 |
-
|
| 46 |
-
.year-slider .mantine-Slider-track {
|
| 47 |
-
background: rgba(255, 255, 255, 0.2);
|
| 48 |
-
}
|
| 49 |
-
|
| 50 |
-
.year-slider .mantine-Slider-bar {
|
| 51 |
-
background: linear-gradient(90deg, #ff6b35, #d43425);
|
| 52 |
-
}
|
| 53 |
-
|
| 54 |
-
.year-slider .mantine-Slider-thumb {
|
| 55 |
-
background: #ff6b35;
|
| 56 |
-
border: 2px solid white;
|
| 57 |
-
}
|
| 58 |
-
|
| 59 |
-
.continent-select .mantine-Select-input,
|
| 60 |
-
.country-select .mantine-Select-input {
|
| 61 |
-
background: rgba(255, 255, 255, 0.1);
|
| 62 |
-
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 63 |
-
color: white;
|
| 64 |
-
}
|
| 65 |
-
|
| 66 |
-
.continent-select .mantine-Select-input:focus,
|
| 67 |
-
.country-select .mantine-Select-input:focus {
|
| 68 |
-
border-color: #ff6b35;
|
| 69 |
-
box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
|
| 70 |
-
}
|
| 71 |
-
|
| 72 |
-
/* Custom scrollbar for dropdowns */
|
| 73 |
-
.mantine-Select-dropdown {
|
| 74 |
-
background: rgba(15, 15, 20, 0.95);
|
| 75 |
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 76 |
-
backdrop-filter: blur(10px);
|
| 77 |
-
}
|
| 78 |
-
|
| 79 |
-
.mantine-Select-item {
|
| 80 |
-
color: white;
|
| 81 |
-
}
|
| 82 |
-
|
| 83 |
-
.mantine-Select-item:hover {
|
| 84 |
-
background: rgba(255, 107, 53, 0.2);
|
| 85 |
-
}
|
| 86 |
|
| 87 |
-
/*
|
| 88 |
-
.js-plotly-plot {
|
| 89 |
-
border-radius: 10px;
|
| 90 |
-
overflow: hidden;
|
| 91 |
-
}
|
| 92 |
-
|
| 93 |
-
/* Responsive design */
|
| 94 |
-
@media (max-width: 768px) {
|
| 95 |
-
body {
|
| 96 |
-
padding: 10px;
|
| 97 |
-
}
|
| 98 |
-
|
| 99 |
-
.header {
|
| 100 |
-
padding: 15px 20px;
|
| 101 |
-
}
|
| 102 |
-
|
| 103 |
-
.control-card,
|
| 104 |
-
.chart-card {
|
| 105 |
-
margin: 10px 0;
|
| 106 |
-
}
|
| 107 |
-
}
|
| 108 |
-
|
| 109 |
-
/* Sankey ๊ทธ๋ํ id๊ฐ fig-sankey ๋ผ๊ณ ๊ฐ์ */
|
| 110 |
-
#fig-sankey .js-plotly-plot,
|
| 111 |
-
#fig-sankey .plot-container,
|
| 112 |
-
#fig-sankey .main-svg{
|
| 113 |
-
height: 420px !important; /* ์ปจํ
์ด๋ ๊ฐ์ ๊ณ ์ */
|
| 114 |
-
}
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
/* ===== Global look & feel ===== */
|
| 118 |
:root{
|
| 119 |
-
--bg: #
|
| 120 |
-
--card-bg: #ffffff;
|
| 121 |
--text: #0f172a;
|
| 122 |
--muted: #64748b;
|
| 123 |
--grid: #e5e7eb;
|
| 124 |
-
--
|
| 125 |
-
--radius: 14px;
|
| 126 |
}
|
| 127 |
|
| 128 |
-
/*
|
| 129 |
-
body{
|
| 130 |
background: var(--bg) !important;
|
| 131 |
color: var(--text);
|
| 132 |
font-family: Inter, Pretendard, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", Arial, sans-serif;
|
|
|
|
|
|
|
| 133 |
}
|
| 134 |
|
| 135 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
.js-plotly-plot{
|
| 137 |
-
background: var(--card-bg);
|
| 138 |
-
border
|
| 139 |
-
|
| 140 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
}
|
| 142 |
|
| 143 |
/* Dash DataTable */
|
| 144 |
.dash-table-container{
|
| 145 |
-
background: var(--card-bg);
|
| 146 |
-
border
|
| 147 |
-
|
| 148 |
-
|
|
|
|
| 149 |
}
|
| 150 |
.dash-table-container .dash-spreadsheet-container{
|
| 151 |
border: none !important;
|
| 152 |
}
|
| 153 |
-
.dash-table-container .dash-table-tooltip{
|
| 154 |
-
font-size: 12px;
|
| 155 |
-
}
|
| 156 |
|
| 157 |
-
/* Tabs (์ํฐํด/PPC)
|
| 158 |
.tab, .tab--selected{
|
| 159 |
background: var(--card-bg) !important;
|
|
|
|
| 160 |
border-radius: 10px !important;
|
| 161 |
-
box-shadow:
|
| 162 |
margin-right: 8px;
|
| 163 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* ===== Flat Minimal theme (no shadows, no glass, no gradients) ===== */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
/* ํ์ด์ง ๊ธฐ๋ณธํค */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
:root{
|
| 5 |
+
--bg: #f6f7fb;
|
| 6 |
+
--card-bg: #ffffff;
|
| 7 |
--text: #0f172a;
|
| 8 |
--muted: #64748b;
|
| 9 |
--grid: #e5e7eb;
|
| 10 |
+
--radius: 12px;
|
|
|
|
| 11 |
}
|
| 12 |
|
| 13 |
+
/* ์ ์ฒด ํ์ด์ง */
|
| 14 |
+
html, body{
|
| 15 |
background: var(--bg) !important;
|
| 16 |
color: var(--text);
|
| 17 |
font-family: Inter, Pretendard, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", Arial, sans-serif;
|
| 18 |
+
margin: 0;
|
| 19 |
+
padding: 0;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
/* ํค๋/์ปจํธ๋กค/์นด๋: ๊ทธ๋ฆผ์ยท๋ธ๋ฌ ์ ๊ฑฐ, ํ๋ซ ๋ณด๋๋ง */
|
| 23 |
+
.header,
|
| 24 |
+
.control-card,
|
| 25 |
+
.chart-card,
|
| 26 |
+
.datacard{
|
| 27 |
+
background: var(--card-bg) !important;
|
| 28 |
+
border: 1px solid #eaecef !important;
|
| 29 |
+
border-radius: var(--radius) !important;
|
| 30 |
+
box-shadow: none !important;
|
| 31 |
+
backdrop-filter: none !important;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
/* Plotly ๊ทธ๋ํ ์ปจํ
์ด๋: ํ๋ซ ์นด๋ */
|
| 35 |
.js-plotly-plot{
|
| 36 |
+
background: var(--card-bg) !important;
|
| 37 |
+
border: 1px solid #eaecef !important;
|
| 38 |
+
border-radius: var(--radius) !important;
|
| 39 |
+
box-shadow: none !important;
|
| 40 |
+
padding: 8px !important;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
/* Sankey ๋์ด ๋ฝ(ํ์ ์ ์ ์ง) */
|
| 44 |
+
#fig-sankey .js-plotly-plot,
|
| 45 |
+
#fig-sankey .plot-container,
|
| 46 |
+
#fig-sankey .main-svg{
|
| 47 |
+
height: 420px !important;
|
| 48 |
}
|
| 49 |
|
| 50 |
/* Dash DataTable */
|
| 51 |
.dash-table-container{
|
| 52 |
+
background: var(--card-bg) !important;
|
| 53 |
+
border: 1px solid #eaecef !important;
|
| 54 |
+
border-radius: var(--radius) !important;
|
| 55 |
+
box-shadow: none !important;
|
| 56 |
+
padding: 8px 10px !important;
|
| 57 |
}
|
| 58 |
.dash-table-container .dash-spreadsheet-container{
|
| 59 |
border: none !important;
|
| 60 |
}
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
+
/* Tabs (์ํฐํด/PPC) */
|
| 63 |
.tab, .tab--selected{
|
| 64 |
background: var(--card-bg) !important;
|
| 65 |
+
border: 1px solid #eaecef !important;
|
| 66 |
border-radius: 10px !important;
|
| 67 |
+
box-shadow: none !important;
|
| 68 |
margin-right: 8px;
|
| 69 |
}
|
| 70 |
+
|
| 71 |
+
/* ์ ํ/๋๋กญ๋ค์ด ๋ฑ(์ฌ์ฉ ์ค์ด๋ฉด) */
|
| 72 |
+
.continent-select .mantine-Select-input,
|
| 73 |
+
.country-select .mantine-Select-input{
|
| 74 |
+
background: #fff !important;
|
| 75 |
+
border: 1px solid #eaecef !important;
|
| 76 |
+
color: var(--text) !important;
|
| 77 |
+
}
|
| 78 |
+
.mantine-Select-dropdown{
|
| 79 |
+
background: #fff !important;
|
| 80 |
+
border: 1px solid #eaecef !important;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
/* ๋ฐ์ํ ์ฌ๋ฐฑ */
|
| 84 |
+
@media (max-width: 768px){
|
| 85 |
+
.control-card, .chart-card{ margin: 10px 0 !important; }
|
| 86 |
+
}
|