Jose Salazar commited on
Commit
2ca3cf7
·
1 Parent(s): 62978e6

Cambios menores en UI

Browse files
Files changed (2) hide show
  1. frontend/index.html +2 -3
  2. frontend/src/style.css +33 -10
frontend/index.html CHANGED
@@ -119,10 +119,9 @@
119
  <div class="panel-header" data-panel="map">
120
  <div class="panel-title">
121
  <span>◈</span>
122
- Mapa global de predicciones
123
- <span class="panel-subtitle">· tamaño = volumen · color = señal IA</span>
124
  </div>
125
- <div class="map-legend desktop-only">
126
  <div class="legend-item"><div class="legend-dot green"></div>alcista</div>
127
  <div class="legend-item"><div class="legend-dot red"></div>bajista</div>
128
  <div class="legend-item"><div class="legend-dot gray"></div>neutral</div>
 
119
  <div class="panel-header" data-panel="map">
120
  <div class="panel-title">
121
  <span>◈</span>
122
+ Mapa global
 
123
  </div>
124
+ <div class="map-legend">
125
  <div class="legend-item"><div class="legend-dot green"></div>alcista</div>
126
  <div class="legend-item"><div class="legend-dot red"></div>bajista</div>
127
  <div class="legend-item"><div class="legend-dot gray"></div>neutral</div>
frontend/src/style.css CHANGED
@@ -467,13 +467,16 @@ h6 { font-size: var(--fs-h6); line-height: 1.4; font-weight: 500; }
467
  display: none;
468
  }
469
 
470
- /* Map panel legend (desktop only) */
471
  .map-legend {
472
  display: flex;
473
  align-items: center;
474
  gap: 12px;
 
 
 
 
475
  margin-left: auto;
476
- margin-right: 8px;
477
  }
478
 
479
  /* Panel mapa */
@@ -1457,6 +1460,15 @@ td {
1457
 
1458
  /* ─── Responsive ─── */
1459
  @media (max-width: 1024px) {
 
 
 
 
 
 
 
 
 
1460
  .dashboard-grid {
1461
  grid-template-columns: 1fr;
1462
  grid-template-rows: auto auto auto;
@@ -1621,14 +1633,8 @@ td {
1621
  display: none;
1622
  }
1623
 
1624
- /* Restore duplicate stats (and their legend) for the scroll animation */
1625
- .stats-track .legend.end ~ .stat,
1626
- .stats-track .legend.end ~ .legend {
1627
- display: flex;
1628
- }
1629
-
1630
- /* Restore the primary legend in the scroll track */
1631
- .topbar-stats .legend.end {
1632
  display: flex;
1633
  }
1634
 
@@ -1667,6 +1673,23 @@ td {
1667
  font-size: 1rem;
1668
  }
1669
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1670
  /* Sticky signals header — stays below topbar while list scrolls */
1671
  #panel-signals .panel-header {
1672
  position: sticky;
 
467
  display: none;
468
  }
469
 
470
+ /* Map panel legend */
471
  .map-legend {
472
  display: flex;
473
  align-items: center;
474
  gap: 12px;
475
+ }
476
+
477
+ /* Always pin the toggle to the far right of the map panel header */
478
+ #panel-map .panel-header .panel-toggle {
479
  margin-left: auto;
 
480
  }
481
 
482
  /* Panel mapa */
 
1460
 
1461
  /* ─── Responsive ─── */
1462
  @media (max-width: 1024px) {
1463
+ * {
1464
+ scrollbar-width: none;
1465
+ -ms-overflow-style: none;
1466
+ }
1467
+
1468
+ *::-webkit-scrollbar {
1469
+ display: none;
1470
+ }
1471
+
1472
  .dashboard-grid {
1473
  grid-template-columns: 1fr;
1474
  grid-template-rows: auto auto auto;
 
1633
  display: none;
1634
  }
1635
 
1636
+ /* Restore duplicate stats for the scroll animation (legend stays hidden) */
1637
+ .stats-track .legend.end ~ .stat {
 
 
 
 
 
 
1638
  display: flex;
1639
  }
1640
 
 
1673
  font-size: 1rem;
1674
  }
1675
 
1676
+ /* Map panel header: title + toggle on row 1, legend right-aligned on row 2 */
1677
+ #panel-map .panel-header {
1678
+ flex-wrap: wrap;
1679
+ gap: 6px 0;
1680
+ }
1681
+
1682
+ #panel-map .panel-title {
1683
+ flex: 1;
1684
+ }
1685
+
1686
+ .map-legend {
1687
+ width: 100%;
1688
+ margin: 0;
1689
+ justify-content: flex-end;
1690
+ order: 1;
1691
+ }
1692
+
1693
  /* Sticky signals header — stays below topbar while list scrolls */
1694
  #panel-signals .panel-header {
1695
  position: sticky;