Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -125,8 +125,8 @@ def demo():
|
|
125 |
/* Global styles */
|
126 |
body {
|
127 |
font-family: 'Inter', sans-serif;
|
128 |
-
color: #
|
129 |
-
background-color: #
|
130 |
}
|
131 |
|
132 |
.container {
|
@@ -139,7 +139,7 @@ def demo():
|
|
139 |
text-align: center;
|
140 |
padding: 20px 0;
|
141 |
margin-bottom: 20px;
|
142 |
-
background: linear-gradient(90deg, #
|
143 |
color: white;
|
144 |
border-radius: 10px;
|
145 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
@@ -171,7 +171,7 @@ def demo():
|
|
171 |
font-size: 1.25rem;
|
172 |
font-weight: 600;
|
173 |
margin-bottom: 15px;
|
174 |
-
color: #
|
175 |
display: flex;
|
176 |
align-items: center;
|
177 |
}
|
@@ -182,7 +182,7 @@ def demo():
|
|
182 |
|
183 |
/* Buttons */
|
184 |
.primary-button {
|
185 |
-
background: linear-gradient(90deg, #
|
186 |
color: white !important;
|
187 |
border: none !important;
|
188 |
padding: 10px 20px !important;
|
@@ -194,7 +194,7 @@ def demo():
|
|
194 |
}
|
195 |
|
196 |
.primary-button:hover {
|
197 |
-
background: linear-gradient(90deg, #
|
198 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
|
199 |
transform: translateY(-1px);
|
200 |
}
|
@@ -209,7 +209,7 @@ def demo():
|
|
209 |
|
210 |
.status-success {
|
211 |
background-color: #d1fae5 !important;
|
212 |
-
color: #065f46 !important;
|
213 |
}
|
214 |
|
215 |
.status-waiting {
|
@@ -219,13 +219,13 @@ def demo():
|
|
219 |
|
220 |
.status-error {
|
221 |
background-color: #fee2e2 !important;
|
222 |
-
color: #
|
223 |
}
|
224 |
|
225 |
/* Chat container */
|
226 |
.chat-container {
|
227 |
border-radius: 10px !important;
|
228 |
-
border: 1px solid #
|
229 |
overflow: hidden !important;
|
230 |
}
|
231 |
|
@@ -240,7 +240,7 @@ def demo():
|
|
240 |
}
|
241 |
|
242 |
.upload-area:hover {
|
243 |
-
border-color: #
|
244 |
background-color: #eff6ff !important;
|
245 |
}
|
246 |
|
@@ -252,7 +252,7 @@ def demo():
|
|
252 |
/* Reference boxes */
|
253 |
.reference-box {
|
254 |
background-color: #f3f4f6 !important;
|
255 |
-
border-left: 4px solid #
|
256 |
padding: 10px 15px !important;
|
257 |
margin-bottom: 10px !important;
|
258 |
border-radius: 4px !important;
|
@@ -260,7 +260,7 @@ def demo():
|
|
260 |
|
261 |
.reference-box-title {
|
262 |
font-weight: 600 !important;
|
263 |
-
color: #
|
264 |
margin-bottom: 5px !important;
|
265 |
display: flex !important;
|
266 |
justify-content: space-between !important;
|
@@ -268,7 +268,7 @@ def demo():
|
|
268 |
|
269 |
.page-number {
|
270 |
background-color: #dbeafe !important;
|
271 |
-
color: #
|
272 |
padding: 2px 8px !important;
|
273 |
border-radius: 12px !important;
|
274 |
font-size: 0.8rem !important;
|
|
|
125 |
/* Global styles */
|
126 |
body {
|
127 |
font-family: 'Inter', sans-serif;
|
128 |
+
color: #333333; /* Dark Gray Text */
|
129 |
+
background-color: #f7f7f7; /* Light Gray Background */
|
130 |
}
|
131 |
|
132 |
.container {
|
|
|
139 |
text-align: center;
|
140 |
padding: 20px 0;
|
141 |
margin-bottom: 20px;
|
142 |
+
background: linear-gradient(90deg, #3171c7, #24599b); /* Primary & Secondary Blue */
|
143 |
color: white;
|
144 |
border-radius: 10px;
|
145 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
|
171 |
font-size: 1.25rem;
|
172 |
font-weight: 600;
|
173 |
margin-bottom: 15px;
|
174 |
+
color: #3171c7; /* Primary Blue */
|
175 |
display: flex;
|
176 |
align-items: center;
|
177 |
}
|
|
|
182 |
|
183 |
/* Buttons */
|
184 |
.primary-button {
|
185 |
+
background: linear-gradient(90deg, #3171c7, #24599b); /* Primary & Secondary Blue */
|
186 |
color: white !important;
|
187 |
border: none !important;
|
188 |
padding: 10px 20px !important;
|
|
|
194 |
}
|
195 |
|
196 |
.primary-button:hover {
|
197 |
+
background: linear-gradient(90deg, #24599b, #1d4a83); /* Darker Blue on Hover */
|
198 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
|
199 |
transform: translateY(-1px);
|
200 |
}
|
|
|
209 |
|
210 |
.status-success {
|
211 |
background-color: #d1fae5 !important;
|
212 |
+
color: #065f46 !important; /* Teal */
|
213 |
}
|
214 |
|
215 |
.status-waiting {
|
|
|
219 |
|
220 |
.status-error {
|
221 |
background-color: #fee2e2 !important;
|
222 |
+
color: #d9534f !important; /* Red */
|
223 |
}
|
224 |
|
225 |
/* Chat container */
|
226 |
.chat-container {
|
227 |
border-radius: 10px !important;
|
228 |
+
border: 1px solid #e0e0e0 !important; /* Medium Gray Border */
|
229 |
overflow: hidden !important;
|
230 |
}
|
231 |
|
|
|
240 |
}
|
241 |
|
242 |
.upload-area:hover {
|
243 |
+
border-color: #3171c7 !important; /* Primary Blue on Hover */
|
244 |
background-color: #eff6ff !important;
|
245 |
}
|
246 |
|
|
|
252 |
/* Reference boxes */
|
253 |
.reference-box {
|
254 |
background-color: #f3f4f6 !important;
|
255 |
+
border-left: 4px solid #3171c7 !important; /* Primary Blue */
|
256 |
padding: 10px 15px !important;
|
257 |
margin-bottom: 10px !important;
|
258 |
border-radius: 4px !important;
|
|
|
260 |
|
261 |
.reference-box-title {
|
262 |
font-weight: 600 !important;
|
263 |
+
color: #3171c7 !important; /* Primary Blue */
|
264 |
margin-bottom: 5px !important;
|
265 |
display: flex !important;
|
266 |
justify-content: space-between !important;
|
|
|
268 |
|
269 |
.page-number {
|
270 |
background-color: #dbeafe !important;
|
271 |
+
color: #3171c7 !important; /* Primary Blue */
|
272 |
padding: 2px 8px !important;
|
273 |
border-radius: 12px !important;
|
274 |
font-size: 0.8rem !important;
|