Spaces:
Building
Building
Update app.css
Browse files
app.css
CHANGED
@@ -17,6 +17,12 @@
|
|
17 |
--neutral-400: #ced4da;
|
18 |
}
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
body {
|
21 |
font-family: 'Inter', system-ui, sans-serif;
|
22 |
background: var(--background);
|
@@ -24,71 +30,58 @@ body {
|
|
24 |
line-height: 1.5;
|
25 |
}
|
26 |
|
27 |
-
/*
|
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 |
-
div[class*="ant-input"] textarea
|
|
|
66 |
height: 300px !important;
|
67 |
min-height: 300px !important;
|
68 |
max-height: 300px !important;
|
69 |
resize: none !important;
|
70 |
overflow-y: auto !important;
|
|
|
71 |
border: 2px solid var(--neutral-200);
|
72 |
border-radius: 12px;
|
73 |
padding: 1rem;
|
74 |
}
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
/* μλλ°μ€ 컨ν
μ΄λ μ€μ */
|
77 |
.sandbox-container {
|
|
|
78 |
height: 800px !important;
|
79 |
max-height: 800px !important;
|
80 |
overflow: hidden !important;
|
81 |
-
position:
|
|
|
|
|
|
|
|
|
82 |
}
|
83 |
|
84 |
/* iframe μ€μ */
|
|
|
85 |
.sandbox-container iframe,
|
86 |
-
.html_content iframe
|
87 |
-
iframe {
|
88 |
width: 100% !important;
|
89 |
height: 800px !important;
|
|
|
90 |
max-height: 800px !important;
|
91 |
border: none !important;
|
|
|
92 |
position: absolute !important;
|
93 |
top: 0 !important;
|
94 |
left: 0 !important;
|
@@ -96,29 +89,31 @@ iframe {
|
|
96 |
bottom: 0 !important;
|
97 |
}
|
98 |
|
99 |
-
/* μ°μΈ‘ ν¨λ μ€μ */
|
100 |
-
.right_panel {
|
101 |
-
height: 900px !important;
|
102 |
-
max-height: 900px !important;
|
103 |
-
overflow: hidden !important;
|
104 |
-
display: flex !important;
|
105 |
-
flex-direction: column !important;
|
106 |
-
padding-top: 50px;
|
107 |
-
}
|
108 |
-
|
109 |
/* HTML 컨ν
μΈ μμ μ€μ */
|
110 |
.html_content {
|
111 |
-
|
112 |
height: 800px !important;
|
|
|
113 |
max-height: 800px !important;
|
114 |
overflow: hidden !important;
|
115 |
position: relative !important;
|
|
|
116 |
border-radius: 12px;
|
117 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
118 |
background: var(--surface);
|
119 |
}
|
120 |
|
121 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
.right_content {
|
123 |
height: 800px !important;
|
124 |
min-height: 800px !important;
|
@@ -132,35 +127,17 @@ iframe {
|
|
132 |
border-radius: 0 0 8px 8px;
|
133 |
}
|
134 |
|
135 |
-
/*
|
136 |
-
.ant-tabs-content {
|
137 |
-
height: 100% !important;
|
138 |
-
}
|
139 |
-
|
140 |
-
.ant-tabs-tabpane {
|
141 |
-
height: 100% !important;
|
142 |
-
}
|
143 |
-
|
144 |
-
/* 컨ν
μΈ μ€ν¬λ‘€ λ°©μ§ */
|
145 |
.gradio-container,
|
146 |
.contain,
|
147 |
-
.contain > div,
|
148 |
.content-wrap,
|
149 |
-
.content
|
|
|
|
|
150 |
max-height: 900px !important;
|
151 |
overflow: hidden !important;
|
152 |
}
|
153 |
|
154 |
-
/* μΆκ°μ μΈ λ μ΄μμ μμ μ±μ μν μ€νμΌ */
|
155 |
-
.ms-application {
|
156 |
-
height: 100% !important;
|
157 |
-
min-height: 100vh !important;
|
158 |
-
}
|
159 |
-
|
160 |
-
.ant-config-provider {
|
161 |
-
height: 100% !important;
|
162 |
-
}
|
163 |
-
|
164 |
.left_header {
|
165 |
display: flex;
|
166 |
flex-direction: column;
|
@@ -362,10 +339,16 @@ iframe {
|
|
362 |
.html_content,
|
363 |
iframe {
|
364 |
height: 800px !important;
|
|
|
365 |
max-height: 800px !important;
|
366 |
}
|
367 |
}
|
368 |
|
369 |
footer, .footer, div[class*="footer"], #footer {
|
370 |
display: none !important;
|
|
|
|
|
|
|
|
|
|
|
371 |
}
|
|
|
17 |
--neutral-400: #ced4da;
|
18 |
}
|
19 |
|
20 |
+
/* μ μ λμ΄ μ μ΄ */
|
21 |
+
html, body {
|
22 |
+
overflow-y: auto !important;
|
23 |
+
max-height: 100vh !important;
|
24 |
+
}
|
25 |
+
|
26 |
body {
|
27 |
font-family: 'Inter', system-ui, sans-serif;
|
28 |
background: var(--background);
|
|
|
30 |
line-height: 1.5;
|
31 |
}
|
32 |
|
33 |
+
/* ν둬ννΈ μ
λ ₯μ°½ κ°μ λμ΄ μ€μ */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
.ant-input-textarea-large textarea,
|
35 |
.ant-input-textarea textarea,
|
36 |
#component-0 textarea,
|
37 |
textarea,
|
38 |
.ant-input textarea,
|
39 |
+
div[class*="ant-input"] textarea,
|
40 |
+
[class*="textbox"] textarea {
|
41 |
height: 300px !important;
|
42 |
min-height: 300px !important;
|
43 |
max-height: 300px !important;
|
44 |
resize: none !important;
|
45 |
overflow-y: auto !important;
|
46 |
+
display: block !important;
|
47 |
border: 2px solid var(--neutral-200);
|
48 |
border-radius: 12px;
|
49 |
padding: 1rem;
|
50 |
}
|
51 |
|
52 |
+
/* μλλ°μ€ λνΌ μ€μ */
|
53 |
+
.sandbox-wrapper {
|
54 |
+
width: 100% !important;
|
55 |
+
height: 800px !important;
|
56 |
+
max-height: 800px !important;
|
57 |
+
overflow: hidden !important;
|
58 |
+
position: relative !important;
|
59 |
+
display: block !important;
|
60 |
+
}
|
61 |
+
|
62 |
/* μλλ°μ€ 컨ν
μ΄λ μ€μ */
|
63 |
.sandbox-container {
|
64 |
+
width: 100% !important;
|
65 |
height: 800px !important;
|
66 |
max-height: 800px !important;
|
67 |
overflow: hidden !important;
|
68 |
+
position: absolute !important;
|
69 |
+
top: 0 !important;
|
70 |
+
left: 0 !important;
|
71 |
+
right: 0 !important;
|
72 |
+
bottom: 0 !important;
|
73 |
}
|
74 |
|
75 |
/* iframe μ€μ */
|
76 |
+
iframe,
|
77 |
.sandbox-container iframe,
|
78 |
+
.html_content iframe {
|
|
|
79 |
width: 100% !important;
|
80 |
height: 800px !important;
|
81 |
+
min-height: 800px !important;
|
82 |
max-height: 800px !important;
|
83 |
border: none !important;
|
84 |
+
display: block !important;
|
85 |
position: absolute !important;
|
86 |
top: 0 !important;
|
87 |
left: 0 !important;
|
|
|
89 |
bottom: 0 !important;
|
90 |
}
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
/* HTML 컨ν
μΈ μμ μ€μ */
|
93 |
.html_content {
|
94 |
+
width: 100% !important;
|
95 |
height: 800px !important;
|
96 |
+
min-height: 800px !important;
|
97 |
max-height: 800px !important;
|
98 |
overflow: hidden !important;
|
99 |
position: relative !important;
|
100 |
+
display: block !important;
|
101 |
border-radius: 12px;
|
102 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
103 |
background: var(--surface);
|
104 |
}
|
105 |
|
106 |
+
/* μ°μΈ‘ ν¨λ μ€μ */
|
107 |
+
.right_panel {
|
108 |
+
height: 900px !important;
|
109 |
+
min-height: 900px !important;
|
110 |
+
max-height: 900px !important;
|
111 |
+
overflow: hidden !important;
|
112 |
+
position: relative !important;
|
113 |
+
padding-top: 50px;
|
114 |
+
}
|
115 |
+
|
116 |
+
/* 컨ν
μΈ μμ μ€μ */
|
117 |
.right_content {
|
118 |
height: 800px !important;
|
119 |
min-height: 800px !important;
|
|
|
127 |
border-radius: 0 0 8px 8px;
|
128 |
}
|
129 |
|
130 |
+
/* λͺ¨λ 컨ν
μ΄λ λμ΄ μ ν */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
.gradio-container,
|
132 |
.contain,
|
|
|
133 |
.content-wrap,
|
134 |
+
.content,
|
135 |
+
[class*="container"],
|
136 |
+
[class*="content"] {
|
137 |
max-height: 900px !important;
|
138 |
overflow: hidden !important;
|
139 |
}
|
140 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
.left_header {
|
142 |
display: flex;
|
143 |
flex-direction: column;
|
|
|
339 |
.html_content,
|
340 |
iframe {
|
341 |
height: 800px !important;
|
342 |
+
min-height: 800px !important;
|
343 |
max-height: 800px !important;
|
344 |
}
|
345 |
}
|
346 |
|
347 |
footer, .footer, div[class*="footer"], #footer {
|
348 |
display: none !important;
|
349 |
+
}
|
350 |
+
|
351 |
+
/* μ€ν¬λ‘€ λ°©μ§ */
|
352 |
+
.no-scroll {
|
353 |
+
overflow: hidden !important;
|
354 |
}
|