diff --git a/xReleaseAssistant_6.html b/BKP/xReleaseAssistant_6.html similarity index 95% rename from xReleaseAssistant_6.html rename to BKP/xReleaseAssistant_6.html index e235d52..5ea7380 100644 --- a/xReleaseAssistant_6.html +++ b/BKP/xReleaseAssistant_6.html @@ -1869,7 +1869,11 @@ display: flex; justify-content: center; align-items: center; - min-height: 220px; + height: 320px; + min-height: 320px; + max-height: 320px; + overflow: auto; + position: relative; } .dashboard-chart-body svg { @@ -1889,6 +1893,63 @@ padding: 20px; } + .chart-zoom-container { + transform-origin: center center; + transition: transform 0.15s ease; + cursor: grab; + } + + .chart-zoom-container:active { + cursor: grabbing; + } + + .chart-zoom-indicator { + position: absolute; + bottom: 8px; + right: 8px; + background: rgba(26, 54, 93, 0.85); + color: #fff; + padding: 3px 8px; + border-radius: 10px; + font-size: 10px; + font-weight: 700; + pointer-events: none; + opacity: 0; + transition: opacity 0.3s; + z-index: 5; + } + + .chart-zoom-indicator.visible { + opacity: 1; + } + + .chart-zoom-reset { + position: absolute; + top: 8px; + right: 8px; + background: rgba(26, 54, 93, 0.85); + color: #fff; + border: none; + padding: 4px 8px; + border-radius: 6px; + font-size: 10px; + font-weight: 700; + cursor: pointer; + opacity: 0; + transition: opacity 0.3s; + z-index: 5; + font-family: inherit; + } + + .chart-zoom-reset.visible { + opacity: 1; + } + + .chart-zoom-reset:hover { + background: var(--accent); + color: var(--primary-dark); + } + .dashboard-empty-chart span { font-size: 32px; opacity: 0.4; @@ -1913,20 +1974,39 @@ .d3-tooltip { position: fixed; - background: var(--primary-dark); + background: rgba(15, 35, 65, 0.95); color: #fff; padding: 8px 12px; border-radius: 6px; font-size: 11px; font-weight: 600; pointer-events: none; - z-index: 3000; + z-index: 10000; display: none; font-family: "Vazirmatn", sans-serif; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); + border: 1px solid rgba(201, 169, 97, 0.4); + max-width: 280px; + word-wrap: break-word; + direction: rtl; + backdrop-filter: none; } .d3-tooltip.visible { display: block; + animation: tooltipFadeIn 0.15s ease; + } + + @keyframes tooltipFadeIn { + from { + opacity: 0; + transform: translateY(2px); + } + + to { + opacity: 1; + transform: translateY(0); + } } .rb-toolbar { @@ -3581,8 +3661,8 @@
@@ -4053,6 +4133,7 @@ + + + + + +