seawolf2357 commited on
Commit
1fff333
ยท
verified ยท
1 Parent(s): ddb8214

Update app.css

Browse files
Files changed (1) hide show
  1. app.css +21 -86
app.css CHANGED
@@ -49,10 +49,6 @@
49
  /* Footer ์ˆจ๊ธฐ๊ธฐ */
50
  footer, .footer, div[class*="footer"], #footer {
51
  display: none !important;
52
- visibility: hidden !important;
53
- height: 0 !important;
54
- padding: 0 !important;
55
- margin: 0 !important;
56
  }
57
 
58
  /* Textarea ์Šคํƒ€์ผ๋ง */
@@ -61,17 +57,9 @@ footer, .footer, div[class*="footer"], #footer {
61
  .ant-input-textarea-large textarea {
62
  height: 300px !important;
63
  min-height: 300px !important;
64
- max-height: none !important;
65
  resize: vertical !important;
66
  }
67
 
68
- #component-0 .ant-input-textarea,
69
- .gradio-container .ant-input-textarea,
70
- .ant-input-textarea-large {
71
- height: auto !important;
72
- min-height: 300px !important;
73
- }
74
-
75
  /* Setting ๋ฒ„ํŠผ ์Šคํƒ€์ผ๋ง */
76
  .setting-buttons {
77
  position: absolute;
@@ -95,11 +83,6 @@ footer, .footer, div[class*="footer"], #footer {
95
  height: 100%;
96
  }
97
 
98
- /* ๋ฒ„ํŠผ ์ปจํ…Œ์ด๋„ˆ ์Šคํƒ€์ผ๋ง */
99
- .ant-flex {
100
- width: 100%;
101
- }
102
-
103
  /* ๋ฒ„ํŠผ ์Šคํƒ€์ผ๋ง */
104
  .ant-btn {
105
  flex: 1;
@@ -115,7 +98,7 @@ footer, .footer, div[class*="footer"], #footer {
115
  border-color: #1890ff;
116
  }
117
 
118
- /* Code ์‹คํ–‰ ๋ฒ„ํŠผ ํŠน๋ณ„ ์Šคํƒ€์ผ */
119
  .ant-btn-default[title="Code ์‹คํ–‰"] {
120
  background-color: #52c41a;
121
  color: white;
@@ -124,49 +107,14 @@ footer, .footer, div[class*="footer"], #footer {
124
 
125
  .ant-btn-default[title="Code ์‹คํ–‰"]:hover {
126
  background-color: #73d13d;
127
- color: white;
128
  }
129
 
130
- /* Example ๋ฒ„ํŠผ ์Šคํƒ€์ผ๋ง */
131
- .ant-btn-block {
132
- margin-top: 8px;
133
- text-align: left;
134
- height: auto !important;
135
- padding: 10px !important;
136
- white-space: normal !important;
137
- line-height: 1.5 !important;
138
- transition: all 0.3s ease;
139
- }
140
-
141
- .ant-btn-block:hover {
142
- background-color: #f0f0f0;
143
- transform: translateY(-1px);
144
- box-shadow: 0 2px 4px rgba(0,0,0,0.1);
145
- }
146
-
147
- /* ๋ฒ„ํŠผ ์‚ฌ์ด ๊ฐ„๊ฒฉ */
148
- .ant-btn-block + .ant-btn-block {
149
- margin-top: 6px;
150
- }
151
-
152
- .ant-row {
153
- margin: 0 !important;
154
- } /* ์ค‘๊ด„ํ˜ธ ๋‹ซ๊ธฐ ์ถ”๊ฐ€ */
155
-
156
- /* ์„ธ์…˜ ๋“œ๋กœ์–ด ๊ด€๋ จ ์Šคํƒ€์ผ */
157
  .session-drawer .chatbot {
158
  height: calc(100vh - 200px);
159
  overflow-y: auto;
160
  }
161
 
162
- .session-list {
163
- margin-bottom: 1rem;
164
- }
165
-
166
- .close-btn {
167
- margin-top: 1rem;
168
- }
169
-
170
  .session-history {
171
  height: 700px;
172
  overflow-y: auto;
@@ -174,7 +122,7 @@ footer, .footer, div[class*="footer"], #footer {
174
 
175
  .prompt-grid {
176
  display: grid;
177
- grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
178
  gap: 20px;
179
  padding: 20px;
180
  }
@@ -187,6 +135,7 @@ footer, .footer, div[class*="footer"], #footer {
187
  cursor: pointer;
188
  transition: all 0.3s ease;
189
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
 
190
  }
191
 
192
  .prompt-card:hover {
@@ -194,39 +143,25 @@ footer, .footer, div[class*="footer"], #footer {
194
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
195
  }
196
 
197
- #code-display {
198
- margin-top: 20px;
199
- padding: 20px;
200
- background: #f5f5f5;
201
- border-radius: 8px;
202
- font-family: monospace;
203
- white-space: pre-wrap;
204
- }
205
-
206
- #code-display.visible {
207
- display: block;
208
- }
209
-
210
-
211
- .session-history {
212
- height: 700px;
213
- overflow-y: auto;
214
- }
215
-
216
- .prompt-card {
217
- background: white;
218
- border: 1px solid #eee;
219
- border-radius: 8px;
220
- padding: 15px;
221
- cursor: pointer;
222
- transition: all 0.3s ease;
223
  }
224
 
225
- .prompt-card:hover {
226
- transform: translateY(-2px);
227
- box-shadow: 0 4px 10px rgba(0,0,0,0.15);
 
228
  }
229
 
230
- #code-display {
231
- display: none;
 
 
 
 
 
232
  }
 
49
  /* Footer ์ˆจ๊ธฐ๊ธฐ */
50
  footer, .footer, div[class*="footer"], #footer {
51
  display: none !important;
 
 
 
 
52
  }
53
 
54
  /* Textarea ์Šคํƒ€์ผ๋ง */
 
57
  .ant-input-textarea-large textarea {
58
  height: 300px !important;
59
  min-height: 300px !important;
 
60
  resize: vertical !important;
61
  }
62
 
 
 
 
 
 
 
 
63
  /* Setting ๋ฒ„ํŠผ ์Šคํƒ€์ผ๋ง */
64
  .setting-buttons {
65
  position: absolute;
 
83
  height: 100%;
84
  }
85
 
 
 
 
 
 
86
  /* ๋ฒ„ํŠผ ์Šคํƒ€์ผ๋ง */
87
  .ant-btn {
88
  flex: 1;
 
98
  border-color: #1890ff;
99
  }
100
 
101
+ /* Code ์‹คํ–‰ ๋ฒ„ํŠผ ์Šคํƒ€์ผ */
102
  .ant-btn-default[title="Code ์‹คํ–‰"] {
103
  background-color: #52c41a;
104
  color: white;
 
107
 
108
  .ant-btn-default[title="Code ์‹คํ–‰"]:hover {
109
  background-color: #73d13d;
 
110
  }
111
 
112
+ /* ์„ธ์…˜ ๋“œ๋กœ์–ด ์Šคํƒ€์ผ */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  .session-drawer .chatbot {
114
  height: calc(100vh - 200px);
115
  overflow-y: auto;
116
  }
117
 
 
 
 
 
 
 
 
 
118
  .session-history {
119
  height: 700px;
120
  overflow-y: auto;
 
122
 
123
  .prompt-grid {
124
  display: grid;
125
+ grid-template-columns: repeat(3, 1fr);
126
  gap: 20px;
127
  padding: 20px;
128
  }
 
135
  cursor: pointer;
136
  transition: all 0.3s ease;
137
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
138
+ min-height: 300px;
139
  }
140
 
141
  .prompt-card:hover {
 
143
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
144
  }
145
 
146
+ .card-image {
147
+ width: 100%;
148
+ height: 200px;
149
+ object-fit: cover;
150
+ border-radius: 4px;
151
+ margin-bottom: 10px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
152
  }
153
 
154
+ .card-name {
155
+ font-weight: bold;
156
+ margin-bottom: 8px;
157
+ font-size: 16px;
158
  }
159
 
160
+ .card-prompt {
161
+ font-size: 0.9em;
162
+ color: #666;
163
+ display: -webkit-box;
164
+ -webkit-line-clamp: 4; /* 3์—์„œ 4๋กœ ๋ณ€๊ฒฝ */
165
+ -webkit-box-orient: vertical;
166
+ overflow: hidden;
167
  }