dlouapre HF Staff commited on
Commit
997cd71
·
1 Parent(s): e91abfb

Tweaking UI

Browse files
Files changed (1) hide show
  1. app.py +9 -13
app.py CHANGED
@@ -108,26 +108,22 @@ def create_demo():
108
  .gradio-container {
109
  font-family: 'Arial', sans-serif;
110
  }
 
111
  #chatbot {
112
  height: 600px;
 
 
 
 
113
  }
114
- /* Improve chat bubble contrast */
115
- #chatbot .message {
116
- border: 1px solid rgba(0, 0, 0, 0.15) !important;
117
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
118
- }
119
- #chatbot .user {
120
- background-color: rgba(33, 150, 243, 0.08) !important;
121
- }
122
- #chatbot .bot {
123
- background-color: rgba(0, 0, 0, 0.03) !important;
124
- }
125
- /* Ensure input is visible and properly positioned */
126
  .input-container {
127
  margin-top: 1rem;
128
  padding: 1rem;
129
  background: white;
130
- border-top: 1px solid rgba(0, 0, 0, 0.1);
 
 
131
  }
132
  """
133
 
 
108
  .gradio-container {
109
  font-family: 'Arial', sans-serif;
110
  }
111
+ /* Make the entire chat area have better contrast */
112
  #chatbot {
113
  height: 600px;
114
+ border: 2px solid rgba(0, 0, 0, 0.2) !important;
115
+ border-radius: 8px !important;
116
+ background-color: white !important;
117
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
118
  }
119
+ /* Ensure input area is visible and properly positioned */
 
 
 
 
 
 
 
 
 
 
 
120
  .input-container {
121
  margin-top: 1rem;
122
  padding: 1rem;
123
  background: white;
124
+ border: 2px solid rgba(0, 0, 0, 0.2);
125
+ border-radius: 8px;
126
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
127
  }
128
  """
129