Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 9,232 Bytes
edfb46b c98a86d edfb46b e898e0a 18fcdbd 4494b96 1246f3d ac2f7f2 0a1a02f 1246f3d 4494b96 18fcdbd 4494b96 18fcdbd 3d958b8 18fcdbd 4494b96 57b3c59 3d958b8 c98a86d 57b3c59 0a1a02f ac2f7f2 1246f3d ac2f7f2 1246f3d c98a86d ac2f7f2 1246f3d ac2f7f2 c709733 edfb46b c709733 edfb46b c709733 edfb46b c709733 edfb46b c709733 ac2f7f2 c709733 edfb46b 0a1a02f edfb46b c98a86d 45265fb edfb46b |
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 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
/* Modern color scheme */
:root {
--primary: #0066cc;
--secondary: #3385ff;
--accent: #66a3ff;
--background: #f7f9fc;
--surface: #ffffff;
--text-primary: #2c3e50;
--text-secondary: #546e7a;
--text-tertiary: #78909c;
--success: #34c759;
--warning: #ff9500;
--error: #ff3b30;
--neutral-100: #f8f9fa;
--neutral-200: #e9ecef;
--neutral-300: #dee2e6;
--neutral-400: #ced4da;
}
body {
font-family: 'Inter', system-ui, sans-serif;
background: var(--background);
color: var(--text-primary);
line-height: 1.5;
}
/* ํญ ์คํ์ผ ๊ฐํ */
.main-tabs > div.tab-nav {
background: rgba(255, 255, 255, 0.95);
padding: 10px 10px 0 10px;
border-radius: 12px 12px 0 0;
box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}
.main-tabs > div.tab-nav > button {
font-size: 1.2em !important;
padding: 0.8em 1.5em !important;
background: rgba(255, 255, 255, 0.9) !important;
border: 1px solid #eef2f6 !important;
border-bottom: none !important;
border-radius: 12px 12px 0 0 !important;
margin-right: 8px !important;
color: #94a3b8 !important;
font-weight: 500 !important;
transition: all 0.3s ease !important;
position: relative !important;
top: 1px !important;
}
.main-tabs > div.tab-nav > button:hover {
background: linear-gradient(to bottom, #ffffff, #f8fafc) !important;
color: #64748b !important;
transform: translateY(-2px);
}
.main-tabs > div.tab-nav > button.selected {
background: linear-gradient(45deg, #0084ff, #00a3ff) !important;
color: white !important;
border: none !important;
box-shadow: 0 4px 15px rgba(0,132,255,0.3) !important;
transform: translateY(-2px);
}
.main-tabs {
margin-top: -20px !important;
border-radius: 0 0 15px 15px !important;
box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
border: 1px solid rgba(255,255,255,0.8) !important;
background: white !important;
}
/* ํญ ์ปจํ
์ธ ์์ญ */
.main-tabs > div[role="tabpanel"] {
background: white;
border-radius: 0 0 12px 12px;
padding: 20px;
box-shadow: inset 0 2px 10px rgba(0,0,0,0.03);
}
/* ํ๋กฌํํธ ์
๋ ฅ์ฐฝ ์คํ์ผ - ๋ ๊ตฌ์ฒด์ ์ธ ์ ํ์ */
.mouse-tab .ant-input-textarea .ant-input,
.mouse-tab .ant-input-textarea-large .ant-input,
#mouse-tab .ant-input-textarea .ant-input,
#mouse-tab .ant-input-textarea-large .ant-input,
.ant-input-textarea .ant-input,
.ant-input-textarea-large .ant-input,
div[class*="ant-input"] textarea,
textarea.ant-input {
height: 300px !important;
min-height: 300px !important;
max-height: 300px !important;
resize: none !important;
border: 2px solid var(--neutral-200) !important;
border-radius: 12px !important;
padding: 1rem !important;
font-size: 14px !important;
line-height: 1.5 !important;
width: 100% !important;
box-sizing: border-box !important;
overflow-y: auto !important;
}
/* ์ปจํ
์ด๋ ์คํ์ผ๋ ๊ฐ์ ์ ์ฉ */
.mouse-tab .ant-input-textarea,
.mouse-tab .ant-input-textarea-large,
#mouse-tab .ant-input-textarea,
#mouse-tab .ant-input-textarea-large,
.ant-input-textarea,
.ant-input-textarea-large,
div[class*="ant-input-textarea"] {
height: 300px !important;
min-height: 300px !important;
max-height: 300px !important;
}
/* ์ถ๊ฐ์ ์ธ ์คํ์ผ ์ค๋ฒ๋ผ์ด๋ */
.ant-input-textarea-large .ant-input {
height: 300px !important;
min-height: 300px !important;
max-height: 300px !important;
}
/* Gradio ์ปดํฌ๋ํธ ์คํ์ผ ์ค๋ฒ๋ผ์ด๋ */
.gradio-container .gr-text-input,
.gradio-container textarea {
height: 300px !important;
min-height: 300px !important;
max-height: 300px !important;
}
/* ์
๋ ฅ์ฐฝ ๋ถ๋ชจ ์์๋ค์ ๋์ด ์ ํ ํด์ */
.ant-input-textarea-show-count::after,
.ant-input-textarea-large::after,
.ant-input-textarea::after {
height: auto !important;
min-height: auto !important;
max-height: none !important;
}
/* iframe ์ปจํ
์ด๋ */
.html_content {
height: 800px !important;
max-height: 800px !important;
min-height: 800px !important;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
background: var(--surface);
}
/* iframe ์์ฒด */
iframe {
height: 800px !important;
max-height: 800px !important;
min-height: 800px !important;
width: 100% !important;
border: none !important;
}
.left_header {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, var(--surface), var(--neutral-100));
backdrop-filter: blur(10px);
border-radius: 24px;
padding: 2rem;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
border: 1px solid var(--neutral-200);
text-align: center;
margin-bottom: 2rem;
}
.left_header img {
width: 180px;
margin-bottom: 1rem;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.left_header h1 {
margin: 0.5rem 0;
font-weight: 600;
color: var(--text-primary);
}
.render_header {
height: 30px;
width: 100%;
padding: 5px 16px;
background-color: var(--neutral-100);
margin-top: 50px;
border-radius: 8px 8px 0 0;
}
.header_btn {
display: inline-block;
height: 10px;
width: 10px;
border-radius: 50%;
margin-right: 4px;
}
.render_header > .header_btn:nth-child(1) {
background-color: var(--error);
}
.render_header > .header_btn:nth-child(2) {
background-color: var(--warning);
}
.render_header > .header_btn:nth-child(3) {
background-color: var(--success);
}
.setting-buttons {
position: sticky;
top: 1rem;
right: 0;
z-index: 1000;
display: flex;
gap: 8px;
padding: 12px;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(8px);
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
border: 1px solid var(--neutral-200);
}
.ant-btn {
flex: 1;
min-width: 80px;
border-radius: 8px;
font-weight: 500;
transition: all 0.3s;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.ant-btn-primary {
background: linear-gradient(to right, var(--primary), var(--secondary));
border: none;
color: white;
}
.ant-btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}
.ant-btn-default {
background: var(--surface);
border: 1px solid var(--primary);
color: var(--primary);
}
.ant-btn-default:hover {
color: var(--secondary);
border-color: var(--secondary);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}
.ant-btn-default[title="Code ์คํ"] {
background-color: var(--success);
color: white;
border: none;
}
.ant-btn-default[title="Code ์คํ"]:hover {
background-color: #40d869;
}
/* ์คํฌ๋กค๋ฐ ์ค์ */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--neutral-100);
}
::-webkit-scrollbar-thumb {
background: var(--neutral-300);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--neutral-400);
}
/* Drawer customization */
.ant-drawer-content-wrapper {
border-radius: 16px 0 0 16px;
}
.ant-drawer-header {
background: var(--primary);
color: white;
border-radius: 16px 0 0 0;
}
.ant-drawer-title {
color: white;
font-weight: 500;
}
.ant-drawer-close {
color: white;
}
.ant-drawer-body {
background: var(--surface);
}
/* ์
๋ ฅ์ฐฝ ํฌ์ปค์ค ์คํ์ผ */
.ant-input-textarea textarea:focus {
border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(102, 163, 255, 0.2);
}
/* Responsive adjustments */
@media (max-width: 768px), screen and (max-height: 900px) {
.left_header {
padding: 1rem;
}
.setting-buttons {
flex-wrap: wrap;
}
.ant-btn {
min-width: 60px;
font-size: 0.9rem;
}
/* ๋ชจ๋ฐ์ผ์์๋ ๋์ผํ ๋์ด ์ ์ง */
div[class*="ant-input-textarea"],
div[class*="ant-input-textarea"] textarea,
.ant-input-textarea,
.ant-input-textarea textarea,
.ant-input-textarea-large,
.ant-input-textarea-large textarea,
.ant-input.ant-input-textarea-large,
.ant-input.ant-input-textarea-large textarea,
textarea.ant-input,
.ant-input-textarea .ant-input,
.ant-input-textarea-large .ant-input,
#mouse-tab textarea,
.mouse-tab textarea,
[class*="textbox"] textarea,
.gradio-container textarea,
.gr-text-input,
textarea.gr-text-input,
.gr-panel textarea {
height: 300px !important;
min-height: 300px !important;
max-height: 300px !important;
}
.html_content,
iframe {
height: 800px !important;
min-height: 800px !important;
max-height: 800px !important;
}
.right_panel {
height: calc(100vh - 80px);
min-height: 600px;
}
.html_content {
height: calc(100vh - 160px);
min-height: 500px;
}
}
footer, .footer, div[class*="footer"], #footer {
display: none !important;
}
/* ์ฐ์ธก ํจ๋ ์คํ์ผ */
.right_panel {
background: white;
border-radius: 15px;
padding: 20px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
height: calc(100vh - 100px);
min-height: 800px;
} |