DawnC commited on
Commit
3b6bb8b
โ€ข
1 Parent(s): 3e92d7f

Update search_history.py

Browse files
Files changed (1) hide show
  1. 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: 1em !important;
193
  cursor: pointer !important;
194
  width: 100% !important;
195
- min-height: 45px !important;
196
  }
197
 
198
- /* Clear History ๆŒ‰้ˆ• - ็ด…่‰ฒๆผธๅฑค */
199
  .clear-btn {
200
- background: linear-gradient(135deg, #FF6B6B, #FF8E72) !important;
201
- box-shadow: 0 2px 4px rgba(255, 107, 107, 0.2) !important;
202
  }
203
 
204
- /* Clear History ๆŒ‰้ˆ•ๆ‡ธๆตฎๆ•ˆๆžœ */
205
  .clear-btn:hover {
206
- background: linear-gradient(135deg, #FF5252, #FF7B69) !important;
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, #FF6B59) !important;
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, #4FACFE, #00F2FE) !important;
221
- box-shadow: 0 2px 4px rgba(79, 172, 254, 0.2) !important;
222
  }
223
 
224
- /* Refresh ๆŒ‰้ˆ•ๆ‡ธๆตฎๆ•ˆๆžœ */
225
  .refresh-btn:hover {
226
- background: linear-gradient(135deg, #4295EA, #00E1FE) !important;
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, #3285DA, #00D1EE) !important;
235
- box-shadow: 0 1px 2px rgba(79, 172, 254, 0.2) !important;
 
 
 
 
 
 
 
 
 
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