Update app.py
Browse files
app.py
CHANGED
|
@@ -1133,19 +1133,30 @@ _MODERN_UI_CSS = """
|
|
| 1133 |
--brand-primary-hover: #0369A1;
|
| 1134 |
--brand-accent: #0D9488;
|
| 1135 |
--brand-gradient: linear-gradient(135deg, #0284C7 0%, #0D9488 100%);
|
| 1136 |
-
--surface-bg: #
|
| 1137 |
--surface-card: #FFFFFF;
|
| 1138 |
-
--surface-border: #
|
| 1139 |
--text-main: #0F172A;
|
| 1140 |
-
--text-muted: #
|
| 1141 |
}
|
| 1142 |
|
| 1143 |
-
body, .gradio-container
|
|
|
|
| 1144 |
font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
|
| 1145 |
background-color: var(--surface-bg) !important;
|
| 1146 |
color: var(--text-main) !important;
|
| 1147 |
}
|
| 1148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1149 |
/* ์๋จ ๋ค๋น๊ฒ์ด์
& ์ธ์ด ํ ๊ธ ๋ฐ */
|
| 1150 |
.landing-navbar {
|
| 1151 |
display: flex;
|
|
@@ -1217,7 +1228,7 @@ body, .gradio-container {
|
|
| 1217 |
|
| 1218 |
/* ์ง๋ ์์ญ ์ปจํ
์ด๋ */
|
| 1219 |
#landing-map-plot {
|
| 1220 |
-
max-width:
|
| 1221 |
margin: 1rem auto 2.5rem auto;
|
| 1222 |
border-radius: 20px;
|
| 1223 |
overflow: hidden;
|
|
@@ -1225,6 +1236,9 @@ body, .gradio-container {
|
|
| 1225 |
border: 1px solid var(--surface-border);
|
| 1226 |
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
|
| 1227 |
}
|
|
|
|
|
|
|
|
|
|
| 1228 |
|
| 1229 |
/* ํผ์ฒ ์นด๋ ๊ทธ๋ฆฌ๋ */
|
| 1230 |
#landing-features {
|
|
@@ -1370,7 +1384,7 @@ def _build_landing_map_figure():
|
|
| 1370 |
showcoastlines=False,
|
| 1371 |
)
|
| 1372 |
fig.update_layout(
|
| 1373 |
-
margin=dict(l=0, r=0, t=0, b=0), height=
|
| 1374 |
paper_bgcolor="rgba(0,0,0,0)", plot_bgcolor="rgba(0,0,0,0)",
|
| 1375 |
showlegend=False,
|
| 1376 |
)
|
|
|
|
| 1133 |
--brand-primary-hover: #0369A1;
|
| 1134 |
--brand-accent: #0D9488;
|
| 1135 |
--brand-gradient: linear-gradient(135deg, #0284C7 0%, #0D9488 100%);
|
| 1136 |
+
--surface-bg: #E6F4F1;
|
| 1137 |
--surface-card: #FFFFFF;
|
| 1138 |
+
--surface-border: #CBE3DD;
|
| 1139 |
--text-main: #0F172A;
|
| 1140 |
+
--text-muted: #475569;
|
| 1141 |
}
|
| 1142 |
|
| 1143 |
+
body, .gradio-container,
|
| 1144 |
+
.dark body, .dark .gradio-container {
|
| 1145 |
font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
|
| 1146 |
background-color: var(--surface-bg) !important;
|
| 1147 |
color: var(--text-main) !important;
|
| 1148 |
}
|
| 1149 |
|
| 1150 |
+
/* ์์คํ
/๋ธ๋ผ์ฐ์ ๊ฐ ๋คํฌ๋ชจ๋์ผ ๋ Gradio๊ฐ ์๋์ผ๋ก ์ด๋์ด ๋ฐฐ๊ฒฝ์ผ๋ก ๋ฐ๊พธ๋ ๊ฒ์
|
| 1151 |
+
๋ฐฉ์งํ๊ธฐ ์ํด, .dark ์ค์ฝํ์์๋ ๋์ผํ ํ์คํ
๋ฐฐ๊ฒฝ/๊ธ์์์ ๊ฐ์ ํฉ๋๋ค. */
|
| 1152 |
+
.dark {
|
| 1153 |
+
--body-background-fill: var(--surface-bg) !important;
|
| 1154 |
+
--background-fill-primary: var(--surface-card) !important;
|
| 1155 |
+
--background-fill-secondary: var(--surface-bg) !important;
|
| 1156 |
+
--block-background-fill: var(--surface-card) !important;
|
| 1157 |
+
--body-text-color: var(--text-main) !important;
|
| 1158 |
+
}
|
| 1159 |
+
|
| 1160 |
/* ์๋จ ๋ค๋น๊ฒ์ด์
& ์ธ์ด ํ ๊ธ ๋ฐ */
|
| 1161 |
.landing-navbar {
|
| 1162 |
display: flex;
|
|
|
|
| 1228 |
|
| 1229 |
/* ์ง๋ ์์ญ ์ปจํ
์ด๋ */
|
| 1230 |
#landing-map-plot {
|
| 1231 |
+
max-width: 1100px;
|
| 1232 |
margin: 1rem auto 2.5rem auto;
|
| 1233 |
border-radius: 20px;
|
| 1234 |
overflow: hidden;
|
|
|
|
| 1236 |
border: 1px solid var(--surface-border);
|
| 1237 |
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
|
| 1238 |
}
|
| 1239 |
+
#landing-map-plot > div {
|
| 1240 |
+
width: 100% !important;
|
| 1241 |
+
}
|
| 1242 |
|
| 1243 |
/* ํผ์ฒ ์นด๋ ๊ทธ๋ฆฌ๋ */
|
| 1244 |
#landing-features {
|
|
|
|
| 1384 |
showcoastlines=False,
|
| 1385 |
)
|
| 1386 |
fig.update_layout(
|
| 1387 |
+
margin=dict(l=0, r=0, t=0, b=0), height=600,
|
| 1388 |
paper_bgcolor="rgba(0,0,0,0)", plot_bgcolor="rgba(0,0,0,0)",
|
| 1389 |
showlegend=False,
|
| 1390 |
)
|