SorrowTea commited on
Commit
adb9650
·
1 Parent(s): 8eef095

Update nav to scheme C: Raw Images: obox · Google Drive

Browse files
Files changed (1) hide show
  1. src/about.py +24 -9
src/about.py CHANGED
@@ -309,16 +309,31 @@ input:focus, textarea:focus, select:focus {
309
  transform: translateX(20px) !important;
310
  }
311
 
312
- /* Refresh button vertical alignment */
 
 
 
 
 
 
313
  .refresh-btn {
314
- margin-top: 30px !important;
315
- width: 60px !important;
316
- height: 60px !important;
317
- border-radius: 12px !important;
318
- padding: 0 !important;
319
- font-size: 0.65em !important;
320
- line-height: 1.1 !important;
321
- white-space: normal !important;
 
 
 
 
 
 
 
 
 
322
  }
323
 
324
  /* Hide ag-grid header menu button and tooltips to prevent mixed CN/EN UI */
 
309
  transform: translateX(20px) !important;
310
  }
311
 
312
+ /* Leaderboard controls alignment */
313
+ .leaderboard-controls {
314
+ align-items: flex-end !important; /* Align items to the bottom */
315
+ gap: 12px !important; /* Add space between controls */
316
+ }
317
+
318
+ /* Refresh button styling */
319
  .refresh-btn {
320
+ min-width: 0 !important; /* Override gradio default min-width */
321
+ height: 42px !important; /* Match dropdown height */
322
+ width: auto !important;
323
+ padding: 8px 20px !important; /* Adjust padding */
324
+ margin: 0 !important; /* Reset margin */
325
+ font-size: 0.95em !important; /* Match other inputs */
326
+ line-height: normal !important; /* Reset line-height */
327
+ border-radius: 10px !important; /* Ensure all corners are rounded */
328
+ background: #f0ebe5 !important;
329
+ color: #555 !important;
330
+ border: 1px solid #d4ccc4 !important;
331
+ transition: all 0.2s ease !important;
332
+ }
333
+
334
+ .refresh-btn:hover {
335
+ background: #e8e0d8 !important;
336
+ border-color: #c8b8ae !important;
337
  }
338
 
339
  /* Hide ag-grid header menu button and tooltips to prevent mixed CN/EN UI */