Update app.css
Browse files
app.css
CHANGED
|
@@ -24,11 +24,44 @@ body {
|
|
| 24 |
line-height: 1.5;
|
| 25 |
}
|
| 26 |
|
| 27 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
.ant-input-textarea-large textarea,
|
| 29 |
.ant-input-textarea textarea,
|
| 30 |
#component-0 textarea,
|
| 31 |
-
textarea
|
|
|
|
| 32 |
height: 300px !important;
|
| 33 |
min-height: 300px !important;
|
| 34 |
max-height: 300px !important;
|
|
@@ -39,20 +72,30 @@ textarea {
|
|
| 39 |
padding: 1rem;
|
| 40 |
}
|
| 41 |
|
| 42 |
-
/*
|
| 43 |
.html_content,
|
| 44 |
-
.html_content
|
| 45 |
-
iframe {
|
| 46 |
height: 800px !important;
|
| 47 |
min-height: 800px !important;
|
| 48 |
max-height: 800px !important;
|
| 49 |
-
overflow
|
| 50 |
border-radius: 12px;
|
| 51 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
| 52 |
background: var(--surface);
|
| 53 |
}
|
| 54 |
|
| 55 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
.right_panel {
|
| 57 |
position: relative;
|
| 58 |
height: 900px !important;
|
|
@@ -62,12 +105,47 @@ iframe {
|
|
| 62 |
overflow: hidden !important;
|
| 63 |
}
|
| 64 |
|
| 65 |
-
/*
|
| 66 |
-
.
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
}
|
| 72 |
|
| 73 |
.left_header {
|
|
@@ -160,19 +238,40 @@ iframe {
|
|
| 160 |
color: white;
|
| 161 |
}
|
| 162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
.ant-btn-default {
|
| 164 |
background: var(--surface);
|
| 165 |
border: 1px solid var(--primary);
|
| 166 |
color: var(--primary);
|
| 167 |
}
|
| 168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 169 |
.ant-btn-default[title="Code ์คํ"] {
|
| 170 |
background-color: var(--success);
|
| 171 |
color: white;
|
| 172 |
border: none;
|
| 173 |
}
|
| 174 |
|
| 175 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
::-webkit-scrollbar {
|
| 177 |
width: 8px;
|
| 178 |
height: 8px;
|
|
@@ -215,6 +314,14 @@ iframe {
|
|
| 215 |
background: var(--surface);
|
| 216 |
}
|
| 217 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 218 |
/* Responsive adjustments */
|
| 219 |
@media (max-width: 768px) {
|
| 220 |
.left_header {
|
|
@@ -229,6 +336,22 @@ iframe {
|
|
| 229 |
min-width: 60px;
|
| 230 |
font-size: 0.9rem;
|
| 231 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
}
|
| 233 |
|
| 234 |
footer, .footer, div[class*="footer"], #footer {
|
|
|
|
| 24 |
line-height: 1.5;
|
| 25 |
}
|
| 26 |
|
| 27 |
+
/* MOUSE ํญ ๋์ด ๊ด๋ จ ์คํ์ผ */
|
| 28 |
+
.main-tabs {
|
| 29 |
+
min-height: 100vh !important;
|
| 30 |
+
display: flex !important;
|
| 31 |
+
flex-direction: column !important;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.main-tabs > div[role="tabpanel"] {
|
| 35 |
+
flex: 1 !important;
|
| 36 |
+
min-height: calc(100vh - 60px) !important;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
.mouse-tab {
|
| 40 |
+
height: 100% !important;
|
| 41 |
+
display: flex !important;
|
| 42 |
+
flex-direction: column !important;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
/* ๋ ์ด์์ ์ปจํ
์ด๋ ๋์ด ์กฐ์ */
|
| 46 |
+
.ant-row {
|
| 47 |
+
min-height: calc(100vh - 100px) !important;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
/* ์ข์ธก ํจ๋ ๋์ด ์กฐ์ */
|
| 51 |
+
.ant-col-md-8 {
|
| 52 |
+
height: 100% !important;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.ant-flex {
|
| 56 |
+
height: 100% !important;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
/* ํ๋กฌํํธ ์
๋ ฅ์ฐฝ ๊ฐ์ ๋์ด ์ค์ */
|
| 60 |
.ant-input-textarea-large textarea,
|
| 61 |
.ant-input-textarea textarea,
|
| 62 |
#component-0 textarea,
|
| 63 |
+
textarea,
|
| 64 |
+
.ant-input textarea {
|
| 65 |
height: 300px !important;
|
| 66 |
min-height: 300px !important;
|
| 67 |
max-height: 300px !important;
|
|
|
|
| 72 |
padding: 1rem;
|
| 73 |
}
|
| 74 |
|
| 75 |
+
/* iframe ์ปจํ
์ด๋ ๊ฐ์ ๋์ด ์ค์ */
|
| 76 |
.html_content,
|
| 77 |
+
.html_content > div {
|
|
|
|
| 78 |
height: 800px !important;
|
| 79 |
min-height: 800px !important;
|
| 80 |
max-height: 800px !important;
|
| 81 |
+
overflow: hidden !important;
|
| 82 |
border-radius: 12px;
|
| 83 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
| 84 |
background: var(--surface);
|
| 85 |
}
|
| 86 |
|
| 87 |
+
/* iframe ์์ฒด ๊ฐ์ ๋์ด ์ค์ */
|
| 88 |
+
.html_content iframe,
|
| 89 |
+
iframe {
|
| 90 |
+
height: 800px !important;
|
| 91 |
+
min-height: 800px !important;
|
| 92 |
+
max-height: 800px !important;
|
| 93 |
+
width: 100% !important;
|
| 94 |
+
border: none !important;
|
| 95 |
+
overflow: auto !important;
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
/* ์ฐ์ธก ํจ๋ ๊ฐ์ ๋์ด ์ค์ */
|
| 99 |
.right_panel {
|
| 100 |
position: relative;
|
| 101 |
height: 900px !important;
|
|
|
|
| 105 |
overflow: hidden !important;
|
| 106 |
}
|
| 107 |
|
| 108 |
+
/* ์ปจํ
์ธ ์์ญ ๊ฐ์ ๋์ด ์ค์ */
|
| 109 |
+
.right_content {
|
| 110 |
+
height: 800px !important;
|
| 111 |
+
min-height: 800px !important;
|
| 112 |
+
max-height: 800px !important;
|
| 113 |
+
overflow: auto !important;
|
| 114 |
+
display: flex;
|
| 115 |
+
flex-direction: column;
|
| 116 |
+
justify-content: center;
|
| 117 |
+
align-items: center;
|
| 118 |
+
background: var(--surface);
|
| 119 |
+
border-radius: 0 0 8px 8px;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
/* ํญ ์ปจํ
์ธ ์์ญ ๋์ด ์กฐ์ */
|
| 123 |
+
.ant-tabs-content {
|
| 124 |
+
height: 100% !important;
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
.ant-tabs-tabpane {
|
| 128 |
+
height: 100% !important;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
/* ๋ชจ๋ ๊ฐ๋ฅํ ์ปจํ
์ด๋์ ๋ํ ๋์ด ์ ํ */
|
| 132 |
+
.gradio-container,
|
| 133 |
+
.contain,
|
| 134 |
+
.contain > div,
|
| 135 |
+
.content-wrap,
|
| 136 |
+
.content {
|
| 137 |
+
max-height: 900px !important;
|
| 138 |
+
overflow: hidden !important;
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
/* ์ถ๊ฐ์ ์ธ ๋ ์ด์์ ์์ ์ฑ์ ์ํ ์คํ์ผ */
|
| 142 |
+
.ms-application {
|
| 143 |
+
height: 100% !important;
|
| 144 |
+
min-height: 100vh !important;
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
.ant-config-provider {
|
| 148 |
+
height: 100% !important;
|
| 149 |
}
|
| 150 |
|
| 151 |
.left_header {
|
|
|
|
| 238 |
color: white;
|
| 239 |
}
|
| 240 |
|
| 241 |
+
.ant-btn-primary:hover {
|
| 242 |
+
transform: translateY(-2px);
|
| 243 |
+
box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
.ant-btn-default {
|
| 247 |
background: var(--surface);
|
| 248 |
border: 1px solid var(--primary);
|
| 249 |
color: var(--primary);
|
| 250 |
}
|
| 251 |
|
| 252 |
+
.ant-btn-default:hover {
|
| 253 |
+
color: var(--secondary);
|
| 254 |
+
border-color: var(--secondary);
|
| 255 |
+
transform: translateY(-2px);
|
| 256 |
+
box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
.ant-btn-default[title="Code ์คํ"] {
|
| 260 |
background-color: var(--success);
|
| 261 |
color: white;
|
| 262 |
border: none;
|
| 263 |
}
|
| 264 |
|
| 265 |
+
.ant-btn-default[title="Code ์คํ"]:hover {
|
| 266 |
+
background-color: #40d869;
|
| 267 |
+
}
|
| 268 |
+
|
| 269 |
+
/* ์คํฌ๋กค๋ฐ ์ค์ */
|
| 270 |
+
* {
|
| 271 |
+
scrollbar-width: thin;
|
| 272 |
+
scrollbar-color: var(--neutral-300) var(--neutral-100);
|
| 273 |
+
}
|
| 274 |
+
|
| 275 |
::-webkit-scrollbar {
|
| 276 |
width: 8px;
|
| 277 |
height: 8px;
|
|
|
|
| 314 |
background: var(--surface);
|
| 315 |
}
|
| 316 |
|
| 317 |
+
/* ์
๋ ฅ์ฐฝ ํฌ์ปค์ค ์คํ์ผ */
|
| 318 |
+
#component-0 textarea:focus,
|
| 319 |
+
.gradio-container textarea:focus,
|
| 320 |
+
.ant-input-textarea-large textarea:focus {
|
| 321 |
+
border-color: var(--accent);
|
| 322 |
+
box-shadow: 0 0 0 3px rgba(102, 163, 255, 0.2);
|
| 323 |
+
}
|
| 324 |
+
|
| 325 |
/* Responsive adjustments */
|
| 326 |
@media (max-width: 768px) {
|
| 327 |
.left_header {
|
|
|
|
| 336 |
min-width: 60px;
|
| 337 |
font-size: 0.9rem;
|
| 338 |
}
|
| 339 |
+
|
| 340 |
+
/* ๋ชจ๋ฐ์ผ์์์ ๋์ด ์ค์ */
|
| 341 |
+
.ant-input-textarea-large textarea,
|
| 342 |
+
.ant-input-textarea textarea {
|
| 343 |
+
height: 300px !important;
|
| 344 |
+
min-height: 300px !important;
|
| 345 |
+
max-height: 300px !important;
|
| 346 |
+
}
|
| 347 |
+
|
| 348 |
+
.html_content,
|
| 349 |
+
.html_content iframe,
|
| 350 |
+
iframe {
|
| 351 |
+
height: 800px !important;
|
| 352 |
+
min-height: 800px !important;
|
| 353 |
+
max-height: 800px !important;
|
| 354 |
+
}
|
| 355 |
}
|
| 356 |
|
| 357 |
footer, .footer, div[class*="footer"], #footer {
|