ssboost commited on
Commit
ffd401c
Β·
verified Β·
1 Parent(s): db089f4

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +427 -0
style.css ADDED
@@ -0,0 +1,427 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :root {
2
+ --primary-color: #FB7F0D;
3
+ --secondary-color: #ff9a8b;
4
+ --accent-color: #FF6B6B;
5
+ --background-color: #FFFFFF;
6
+ --card-bg: #ffffff;
7
+ --text-color: #334155;
8
+ --border-radius: 18px;
9
+ --shadow: 0 8px 30px rgba(251, 127, 13, 0.08);
10
+ }
11
+
12
+ /* ── μ „μ—­ μŠ€νƒ€μΌ ── */
13
+ body {
14
+ font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
15
+ background-color: var(--background-color);
16
+ color: var(--text-color);
17
+ line-height: 1.6;
18
+ margin: 0;
19
+ padding: 0;
20
+ }
21
+
22
+ /* ν‘Έν„° μˆ¨κΉ€ μ„€μ • */
23
+ footer {
24
+ visibility: hidden;
25
+ }
26
+
27
+ .gradio-container {
28
+ width: 100%;
29
+ margin: 0 auto;
30
+ padding: 20px;
31
+ background-color: var(--background-color);
32
+ }
33
+
34
+ /* ── μ„Ήμ…˜ μŠ€νƒ€μΌ ── */
35
+ .custom-section-group,
36
+ .gr-block.gr-group {
37
+ background-color: var(--background-color) !important;
38
+ box-shadow: none !important;
39
+ }
40
+
41
+ .custom-section-group::before,
42
+ .custom-section-group::after,
43
+ .gr-block.gr-group::before,
44
+ .gr-block.gr-group::after {
45
+ display: none !important;
46
+ content: none !important;
47
+ }
48
+
49
+ /* μ„Ήμ…˜ ν”„λ ˆμž„ */
50
+ .custom-frame {
51
+ background-color: var(--card-bg);
52
+ border: 1px solid rgba(0, 0, 0, 0.04);
53
+ border-radius: var(--border-radius);
54
+ padding: 20px;
55
+ margin: 10px 0;
56
+ box-shadow: var(--shadow);
57
+ }
58
+
59
+ /* 접을 수 μžˆλŠ” μ„Ήμ…˜ */
60
+ .collapsible-section {
61
+ margin-bottom: 10px;
62
+ }
63
+
64
+ .collapsible-header {
65
+ background-color: var(--primary-color);
66
+ color: white;
67
+ padding: 10px 15px;
68
+ border-radius: var(--border-radius);
69
+ cursor: pointer;
70
+ display: flex;
71
+ justify-content: space-between;
72
+ align-items: center;
73
+ transition: background-color 0.3s;
74
+ }
75
+
76
+ .collapsible-header:hover {
77
+ background-color: var(--secondary-color);
78
+ }
79
+
80
+ .collapsible-content {
81
+ display: none;
82
+ padding: 15px;
83
+ background-color: var(--card-bg);
84
+ border: 1px solid rgba(0, 0, 0, 0.04);
85
+ border-radius: 0 0 var(--border-radius) var(--border-radius);
86
+ margin-top: -5px;
87
+ }
88
+
89
+ .collapsible-content.active {
90
+ display: block;
91
+ }
92
+
93
+
94
+
95
+ /* 두 λ²„νŠΌμ— κ³΅ν†΅μœΌλ‘œ μ μš©ν•  μŠ€νƒ€μΌ */
96
+ .execution-button {
97
+ font-size: 18px !important;
98
+ padding: 10px 20px !important;
99
+ height: 45px !important;
100
+ width: 100% !important;
101
+ border-radius: 30px !important;
102
+ margin: 0 !important;
103
+ display: flex !important;
104
+ align-items: center !important;
105
+ justify-content: center !important;
106
+ text-align: center !important;
107
+ color: white !important;
108
+ border: none !important;
109
+ transition: transform 0.3s ease !important;
110
+ }
111
+
112
+ /* 각 λ²„νŠΌλ³„ 고유 색상 */
113
+ .primary-button {
114
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
115
+ box-shadow: 0 4px 8px rgba(251, 127, 13, 0.25) !important;
116
+ }
117
+
118
+ .secondary-button {
119
+ background: linear-gradient(135deg, #6c757d, #495057) !important;
120
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25) !important;
121
+ }
122
+
123
+ .execution-button:hover {
124
+ transform: translateY(-2px) !important;
125
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25) !important;
126
+ }
127
+
128
+ /* μ‹€ν–‰ λ²„νŠΌ μ»¨ν…Œμ΄λ„ˆ */
129
+ .execution-section {
130
+ margin-top: 20px;
131
+ padding: 15px;
132
+ background-color: #f9f9f9;
133
+ border-radius: 8px;
134
+ border: 1px solid #e5e5e5;
135
+ }
136
+
137
+
138
+
139
+
140
+ /* ── μ»΄ν¬λ„ŒνŠΈ μŠ€νƒ€μΌ ── */
141
+ /* λ²„νŠΌ μŠ€νƒ€μΌ */
142
+ .custom-button {
143
+ border-radius: 30px !important;
144
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
145
+ color: white !important;
146
+ font-size: 18px !important;
147
+ padding: 10px 20px !important;
148
+ border: none;
149
+ box-shadow: 0 4px 8px rgba(251, 127, 13, 0.25);
150
+ transition: transform 0.3s ease;
151
+ }
152
+
153
+ .custom-button:hover {
154
+ transform: translateY(-2px);
155
+ box-shadow: 0 6px 12px rgba(251, 127, 13, 0.3);
156
+ }
157
+
158
+ /* μž‘μ€ λ²„νŠΌ */
159
+ .custom-button-small {
160
+ border-radius: 20px !important;
161
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
162
+ color: white !important;
163
+ font-size: 14px !important;
164
+ padding: 8px 15px !important;
165
+ border: none;
166
+ box-shadow: 0 2px 6px rgba(251, 127, 13, 0.25);
167
+ transition: transform 0.3s ease;
168
+ }
169
+
170
+ .custom-button-small:hover {
171
+ transform: translateY(-1px);
172
+ box-shadow: 0 4px 8px rgba(251, 127, 13, 0.3);
173
+ }
174
+
175
+ /* 리셋 λ²„νŠΌ */
176
+ .reset-button {
177
+ border-radius: 30px !important;
178
+ background: linear-gradient(135deg, #6c757d, #495057) !important;
179
+ color: white !important;
180
+ font-size: 16px !important;
181
+ padding: 8px 16px !important;
182
+ border: none;
183
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
184
+ transition: transform 0.3s ease;
185
+ margin-top: 20px;
186
+ }
187
+
188
+ .reset-button:hover {
189
+ transform: translateY(-2px);
190
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
191
+ }
192
+
193
+ /* μž…λ ₯ ν•„λ“œ μŠ€νƒ€μΌ */
194
+ .gr-input, .gr-text-input, .gr-sample-inputs {
195
+ border-radius: var(--border-radius) !important;
196
+ border: 1px solid #dddddd !important;
197
+ padding: 12px !important;
198
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05) !important;
199
+ transition: all 0.3s ease !important;
200
+ }
201
+
202
+ .gr-input:focus, .gr-text-input:focus {
203
+ border-color: var(--primary-color) !important;
204
+ outline: none !important;
205
+ box-shadow: 0 0 0 2px rgba(251, 127, 13, 0.2) !important;
206
+ }
207
+
208
+ /* μ²΄ν¬λ°•μŠ€μ™€ λΌλ””μ˜€ λ²„νŠΌ μŠ€νƒ€μΌ */
209
+ input[type="checkbox"], input[type="radio"] {
210
+ accent-color: var(--primary-color);
211
+ }
212
+
213
+ /* λ“œλ‘­λ‹€μš΄ μŠ€νƒ€μΌ */
214
+ .gr-dropdown {
215
+ border-radius: var(--border-radius) !important;
216
+ border: 1px solid #dddddd !important;
217
+ padding: 12px !important;
218
+ transition: all 0.3s ease !important;
219
+ }
220
+
221
+ .gr-dropdown:focus {
222
+ border-color: var(--primary-color) !important;
223
+ outline: none !important;
224
+ box-shadow: 0 0 0 2px rgba(251, 127, 13, 0.2) !important;
225
+ }
226
+
227
+ /* ── μ„Ήμ…˜ 제λͺ© μŠ€νƒ€μΌ ── */
228
+ .section-title {
229
+ display: flex;
230
+ align-items: center;
231
+ font-size: 20px;
232
+ font-weight: 700;
233
+ color: #333333;
234
+ margin-bottom: 10px;
235
+ padding-bottom: 5px;
236
+ border-bottom: 2px solid var(--primary-color);
237
+ font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
238
+ }
239
+
240
+ .section-title img, .section-title i {
241
+ margin-right: 10px;
242
+ font-size: 20px;
243
+ color: var(--primary-color);
244
+ }
245
+
246
+ /* μ„œλΈŒ μ„Ήμ…˜ 제λͺ© */
247
+ .subsection-title {
248
+ font-size: 18px;
249
+ font-weight: 600;
250
+ color: #444444;
251
+ margin: 15px 0 8px 0;
252
+ }
253
+
254
+ /* ── ν…Œμ΄λΈ” μŠ€νƒ€μΌ ── */
255
+ .styled-table {
256
+ width: 100%;
257
+ border-collapse: collapse;
258
+ table-layout: fixed;
259
+ margin: 0;
260
+ padding: 0;
261
+ font-size: 14px;
262
+ }
263
+
264
+ .styled-table th,
265
+ .styled-table td {
266
+ padding: 12px 15px;
267
+ text-align: left;
268
+ border-bottom: 1px solid #dddddd;
269
+ overflow: hidden;
270
+ text-overflow: ellipsis;
271
+ }
272
+
273
+ .styled-table th {
274
+ background-color: var(--primary-color);
275
+ color: white;
276
+ font-weight: bold;
277
+ position: sticky;
278
+ top: 0;
279
+ white-space: nowrap;
280
+ }
281
+
282
+ .styled-table tbody tr:nth-of-type(even) {
283
+ background-color: #f3f3f3;
284
+ }
285
+
286
+ .styled-table tbody tr:hover {
287
+ background-color: #f0f0f0;
288
+ }
289
+
290
+ .styled-table tbody tr:last-of-type {
291
+ border-bottom: 2px solid var(--primary-color);
292
+ }
293
+
294
+ /* 데이터 μ»¨ν…Œμ΄λ„ˆ */
295
+ .data-container {
296
+ max-height: 600px;
297
+ overflow-y: auto;
298
+ border-radius: var(--border-radius);
299
+ border: 1px solid #e5e5e5;
300
+ margin-top: 15px;
301
+ }
302
+
303
+ /* μŠ€ν¬λ‘€λ°” μŠ€νƒ€μΌ */
304
+ ::-webkit-scrollbar {
305
+ width: 8px;
306
+ height: 8px;
307
+ }
308
+
309
+ ::-webkit-scrollbar-track {
310
+ background: rgba(0, 0, 0, 0.05);
311
+ border-radius: 10px;
312
+ }
313
+
314
+ ::-webkit-scrollbar-thumb {
315
+ background: var(--primary-color);
316
+ border-radius: 10px;
317
+ }
318
+
319
+ /* ── 뢄석 κ²°κ³Ό μŠ€νƒ€μΌ ── */
320
+ .analysis-result {
321
+ margin-top: 30px;
322
+ border: 1px solid #ddd;
323
+ border-radius: 5px;
324
+ padding: 15px;
325
+ background-color: #f9f9f9;
326
+ }
327
+
328
+ .result-header {
329
+ font-weight: bold;
330
+ margin-bottom: 15px;
331
+ color: var(--primary-color);
332
+ font-size: 16px;
333
+ }
334
+
335
+ .summary-box {
336
+ background-color: #f5f5f5;
337
+ border-left: 4px solid var(--primary-color);
338
+ padding: 10px 15px;
339
+ margin-bottom: 20px;
340
+ font-size: 14px;
341
+ }
342
+
343
+ .summary-title {
344
+ font-weight: bold;
345
+ margin-bottom: 5px;
346
+ }
347
+
348
+ .recommendation-box {
349
+ background-color: #e7f7f3;
350
+ border-radius: 5px;
351
+ padding: 15px;
352
+ margin-bottom: 25px;
353
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
354
+ }
355
+
356
+ .recommendation-title {
357
+ font-weight: bold;
358
+ font-size: 16px;
359
+ color: var(--primary-color);
360
+ margin-bottom: 10px;
361
+ }
362
+
363
+ .recommendation-item {
364
+ padding: 6px 0;
365
+ border-bottom: 1px solid #e0e0e0;
366
+ }
367
+
368
+ .recommendation-item:last-child {
369
+ border-bottom: none;
370
+ }
371
+
372
+ /* ── ν‚€μ›Œλ“œ νƒœκ·Έ μŠ€νƒ€μΌ ── */
373
+ .keyword-tag-container {
374
+ margin-top: 20px;
375
+ padding: 10px;
376
+ border: 1px solid #ddd;
377
+ border-radius: 5px;
378
+ background-color: #f9f9f9;
379
+ }
380
+
381
+ .keyword-tag {
382
+ display: inline-block;
383
+ background-color: var(--primary-color);
384
+ color: white;
385
+ padding: 5px 10px;
386
+ margin: 5px;
387
+ border-radius: 15px;
388
+ font-size: 12px;
389
+ }
390
+
391
+ .category-tag {
392
+ display: inline-block;
393
+ background-color: #2c7fb8;
394
+ color: white;
395
+ padding: 5px 10px;
396
+ margin: 5px;
397
+ border-radius: 15px;
398
+ font-size: 12px;
399
+ }
400
+
401
+ /* ── λ ˆμ΄μ•„μ›ƒ μœ ν‹Έλ¦¬ν‹° ── */
402
+ .hidden-section {
403
+ display: none;
404
+ }
405
+
406
+ /* μ„Ήμ…˜ ν‘œμ‹œ/μˆ¨κΉ€ μ œμ–΄ */
407
+ .section-visible {
408
+ display: block;
409
+ animation: fadeIn 0.5s ease-out;
410
+ }
411
+
412
+ /* μ• λ‹ˆλ©”μ΄μ…˜ 효과 */
413
+ @keyframes fadeIn {
414
+ from { opacity: 0; transform: translateY(10px); }
415
+ to { opacity: 1; transform: translateY(0); }
416
+ }
417
+
418
+ .fade-in {
419
+ animation: fadeIn 0.5s ease-out;
420
+ }
421
+
422
+ /* λ°˜μ‘ν˜• μ‘°μ • */
423
+ @media (max-width: 768px) {
424
+ .grid-container {
425
+ grid-template-columns: 1fr;
426
+ }
427
+ }