ginipick commited on
Commit
d41568a
·
verified ·
1 Parent(s): de8d7d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -14
app.py CHANGED
@@ -272,31 +272,27 @@ def create_ui():
272
  }
273
 
274
  /* AI 코딩 탭의 Chatbot 스타일 수정 */
275
- .chatbot {
276
- background-color: #ffffff !important;
277
- }
278
- .chatbot .message {
279
  background-color: transparent !important;
280
  border: none !important;
281
  box-shadow: none !important;
282
  }
283
- .chatbot .user-message, .chatbot .bot-message {
284
  background-color: transparent !important;
285
  color: #000000 !important;
286
  padding: 10px 15px;
287
  margin: 5px 0;
288
  border-radius: 0;
289
- border-left: 4px solid #ddd;
290
  }
291
  .chatbot .user-message {
292
- border-left-color: #4caf50;
293
  }
294
  .chatbot .bot-message {
295
- border-left-color: #2196f3;
296
  }
297
  .chatbot pre {
298
  background-color: #f5f5f5 !important;
299
- border: 1px solid #ddd;
300
  border-radius: 4px;
301
  padding: 10px;
302
  overflow-x: auto;
@@ -307,17 +303,14 @@ def create_ui():
307
  border-radius: 4px;
308
  font-family: monospace;
309
  }
310
- .chatbot p {
311
- margin: 5px 0;
312
  background-color: transparent !important;
 
313
  }
314
  .chatbot * {
315
  word-wrap: break-word !important;
316
  white-space: pre-wrap !important;
317
  }
318
- .chatbot .md-message {
319
- background-color: transparent !important;
320
- }
321
  """
322
 
323
  with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
 
272
  }
273
 
274
  /* AI 코딩 탭의 Chatbot 스타일 수정 */
275
+ .chatbot, .chatbot *, .wrap, .wrap * {
 
 
 
276
  background-color: transparent !important;
277
  border: none !important;
278
  box-shadow: none !important;
279
  }
280
+ .chatbot .message, .chatbot .user-message, .chatbot .bot-message {
281
  background-color: transparent !important;
282
  color: #000000 !important;
283
  padding: 10px 15px;
284
  margin: 5px 0;
285
  border-radius: 0;
 
286
  }
287
  .chatbot .user-message {
288
+ border-left: 4px solid #4caf50 !important;
289
  }
290
  .chatbot .bot-message {
291
+ border-left: 4px solid #2196f3 !important;
292
  }
293
  .chatbot pre {
294
  background-color: #f5f5f5 !important;
295
+ border: 1px solid #ddd !important;
296
  border-radius: 4px;
297
  padding: 10px;
298
  overflow-x: auto;
 
303
  border-radius: 4px;
304
  font-family: monospace;
305
  }
306
+ .chatbot p, .chatbot span, .chatbot div {
 
307
  background-color: transparent !important;
308
+ margin: 5px 0;
309
  }
310
  .chatbot * {
311
  word-wrap: break-word !important;
312
  white-space: pre-wrap !important;
313
  }
 
 
 
314
  """
315
 
316
  with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo: