diff --git a/src/api/dashboard/static/index.html b/src/api/dashboard/static/index.html index 8743ac1..489bc02 100644 --- a/src/api/dashboard/static/index.html +++ b/src/api/dashboard/static/index.html @@ -190,6 +190,7 @@ background: var(--tv-panel-bg); border-top: 1px solid var(--tv-border); display: flex; + flex-direction: column; } /* Right Sidebar - Strategy Simulation */ @@ -521,12 +522,52 @@ background: rgba(0,0,0,0.7); z-index: 9999; } - flex-direction: column; - min-height: 200px; - max-height: 400px; + + /* Price Scale Controls */ + .price-scale-controls { + position: absolute; + right: 10px; + bottom: 10px; + display: flex; + flex-direction: row; + gap: 2px; + z-index: 10; + opacity: 0; + transition: opacity 0.2s; } - .ta-header { + .chart-wrapper:hover .price-scale-controls { + opacity: 1; + } + + .ps-control-btn { + width: 20px; + height: 20px; + background: rgba(42, 46, 57, 0.9); + border: 1px solid #363c4e; + color: #d1d4dc; + font-size: 10px; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + border-radius: 2px; + transition: all 0.2s; + padding: 0; + } + + .ps-control-btn:hover { + background: #363c4e; + border-color: #4a4f5e; + } + + .ps-control-btn.active { + background: #2962ff; + border-color: #2962ff; + color: white; + } + + .ha-header { display: flex; justify-content: space-between; align-items: center; @@ -947,10 +988,14 @@
+
+ + +
-
+
Technical Analysis 1D @@ -1006,22 +1051,7 @@
- - -
- -
- +