openfree commited on
Commit
c709733
β€’
1 Parent(s): 16674b2

Update app.css

Browse files
Files changed (1) hide show
  1. app.css +137 -14
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 iframe,
45
- iframe {
46
  height: 800px !important;
47
  min-height: 800px !important;
48
  max-height: 800px !important;
49
- overflow-y: auto !important;
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
- /* iframe λ‚΄λΆ€ 슀크둀 μ„€μ • */
66
- .html_content iframe {
67
- width: 100% !important;
68
- border: none !important;
69
- overflow-y: scroll !important;
70
- display: block !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
- /* Custom scrollbar */
 
 
 
 
 
 
 
 
 
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 {