Esvanth commited on
Commit
328a764
·
1 Parent(s): bbbeb77

Fix Terminal output expander arrow, verified all task values

Browse files
Files changed (1) hide show
  1. app.py +29 -2
app.py CHANGED
@@ -354,8 +354,35 @@ div[data-testid="stButton"] > button[kind="primary"]:hover {
354
  /* Dataframe */
355
  .stDataFrame { border-radius: 14px !important; overflow: hidden !important; box-shadow: 0 2px 12px rgba(0,0,0,.04) !important; }
356
 
357
- /* Expander */
358
- summary { border-radius: 10px !important; font-size: .8rem !important; font-weight: 600 !important; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359
 
360
  /* Slider */
361
  .stSlider [data-testid="stTickBarMin"], .stSlider [data-testid="stTickBarMax"] { font-size: .72rem !important; }
 
354
  /* Dataframe */
355
  .stDataFrame { border-radius: 14px !important; overflow: hidden !important; box-shadow: 0 2px 12px rgba(0,0,0,.04) !important; }
356
 
357
+ /* Expander - hide default arrow, style cleanly */
358
+ details > summary { list-style: none !important; }
359
+ details > summary::-webkit-details-marker { display: none !important; }
360
+ details > summary::marker { display: none !important; }
361
+ [data-testid="stExpanderToggleIcon"] { display: none !important; }
362
+ [data-testid="stExpander"] details summary {
363
+ background: #f8fafc !important;
364
+ border-radius: 12px !important;
365
+ padding: 11px 18px !important;
366
+ font-size: .81rem !important;
367
+ font-weight: 600 !important;
368
+ color: #475569 !important;
369
+ border: 1px solid #e2e8f0 !important;
370
+ cursor: pointer !important;
371
+ }
372
+ [data-testid="stExpander"] details summary:hover {
373
+ background: #f1f5f9 !important;
374
+ color: #0f172a !important;
375
+ }
376
+ [data-testid="stExpander"] details summary::after {
377
+ content: '▾';
378
+ float: right;
379
+ color: #94a3b8;
380
+ font-size: .9rem;
381
+ transition: transform .2s;
382
+ }
383
+ [data-testid="stExpander"] details[open] summary::after {
384
+ transform: rotate(-180deg);
385
+ }
386
 
387
  /* Slider */
388
  .stSlider [data-testid="stTickBarMin"], .stSlider [data-testid="stTickBarMax"] { font-size: .72rem !important; }