Spaces:
Running
on
Zero
Running
on
Zero
Update search_history.py
Browse files- search_history.py +22 -20
search_history.py
CHANGED
@@ -189,50 +189,52 @@ def create_history_tab(history_component: SearchHistoryComponent):
|
|
189 |
font-weight: 500 !important;
|
190 |
transition: all 0.2s ease !important;
|
191 |
color: white !important;
|
192 |
-
font-size:
|
193 |
cursor: pointer !important;
|
194 |
width: 100% !important;
|
195 |
-
min-height:
|
196 |
}
|
197 |
|
198 |
-
/* Clear History
|
199 |
.clear-btn {
|
200 |
-
background: linear-gradient(135deg, #FF6B6B
|
201 |
-
box-shadow: 0 2px 4px rgba(255, 107, 107, 0.
|
202 |
}
|
203 |
|
204 |
-
/* Clear History ๆ้ๆธๆตฎๆๆ */
|
205 |
.clear-btn:hover {
|
206 |
-
background: linear-gradient(135deg, #FF5252, #
|
207 |
transform: translateY(-1px);
|
208 |
-
box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3) !important;
|
209 |
}
|
210 |
|
211 |
-
/* Clear History ๆ้้ปๆๆๆ */
|
212 |
.clear-btn:active {
|
213 |
transform: translateY(1px) scale(0.98);
|
214 |
-
background: linear-gradient(135deg, #FF4242, #
|
215 |
-
box-shadow: 0 1px 2px rgba(255, 107, 107, 0.2) !important;
|
216 |
}
|
217 |
|
218 |
-
/* Refresh
|
219 |
.refresh-btn {
|
220 |
-
background: linear-gradient(135deg, #
|
221 |
-
box-shadow: 0 2px 4px rgba(79,
|
222 |
}
|
223 |
|
224 |
-
/* Refresh ๆ้ๆธๆตฎๆๆ */
|
225 |
.refresh-btn:hover {
|
226 |
-
background: linear-gradient(135deg, #
|
227 |
transform: translateY(-1px);
|
228 |
-
box-shadow: 0 4px 8px rgba(79, 172, 254, 0.3) !important;
|
229 |
}
|
230 |
|
231 |
-
/* Refresh ๆ้้ปๆๆๆ */
|
232 |
.refresh-btn:active {
|
233 |
transform: translateY(1px) scale(0.98);
|
234 |
-
background: linear-gradient(135deg, #
|
235 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
236 |
}
|
237 |
</style>
|
238 |
|
|
|
189 |
font-weight: 500 !important;
|
190 |
transition: all 0.2s ease !important;
|
191 |
color: white !important;
|
192 |
+
font-size: 0.95em !important;
|
193 |
cursor: pointer !important;
|
194 |
width: 100% !important;
|
195 |
+
min-height: 42px !important;
|
196 |
}
|
197 |
|
198 |
+
/* Clear History ็ๆ้ */
|
199 |
.clear-btn {
|
200 |
+
background: linear-gradient(135deg, #FF6B6B 0%, #FF9B8B 100%) !important;
|
201 |
+
box-shadow: 0 2px 4px rgba(255, 107, 107, 0.15) !important;
|
202 |
}
|
203 |
|
|
|
204 |
.clear-btn:hover {
|
205 |
+
background: linear-gradient(135deg, #FF5252, #FF8B7B) !important;
|
206 |
transform: translateY(-1px);
|
|
|
207 |
}
|
208 |
|
|
|
209 |
.clear-btn:active {
|
210 |
transform: translateY(1px) scale(0.98);
|
211 |
+
background: linear-gradient(135deg, #FF4242, #FF7B6B) !important;
|
|
|
212 |
}
|
213 |
|
214 |
+
/* Refresh ็ๆ้ */
|
215 |
.refresh-btn {
|
216 |
+
background: linear-gradient(135deg, #4FB5E5 0%, #32CCBC 100%) !important;
|
217 |
+
box-shadow: 0 2px 4px rgba(79, 181, 229, 0.15) !important;
|
218 |
}
|
219 |
|
|
|
220 |
.refresh-btn:hover {
|
221 |
+
background: linear-gradient(135deg, #45A5D5, #2DBCAC) !important;
|
222 |
transform: translateY(-1px);
|
|
|
223 |
}
|
224 |
|
|
|
225 |
.refresh-btn:active {
|
226 |
transform: translateY(1px) scale(0.98);
|
227 |
+
background: linear-gradient(135deg, #3B95C5, #28AC9C) !important;
|
228 |
+
}
|
229 |
+
|
230 |
+
/* ๆธๆตฎ็ๆๆ */
|
231 |
+
.custom-btn:hover {
|
232 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
|
233 |
+
}
|
234 |
+
|
235 |
+
/* ้ปๆ็ๆๆ */
|
236 |
+
.custom-btn:active {
|
237 |
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
|
238 |
}
|
239 |
</style>
|
240 |
|