From 689273838228828884a049ac9784cfba3b5a8658 Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 29 Apr 2026 22:07:16 +0100 Subject: [PATCH] slide show and shortcuts working --- dashboard.html | 210 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 153 insertions(+), 57 deletions(-) diff --git a/dashboard.html b/dashboard.html index c76a761..c00a852 100644 --- a/dashboard.html +++ b/dashboard.html @@ -185,51 +185,45 @@ #clock-empty svg { opacity: 0.25; } #clock-empty p { font-size: 17px; text-align: center; line-height: 1.5; } - /* ─── CRYPTO PANEL ─── */ - .crypto-body { - flex: 1; - padding: 0; + .icon-btn.slideshow-active { color: var(--accent2); background: rgba(48,209,88,0.15); } + + /* ─── WIDGET PANELS (tabs 2-6): compact bar + full-height widget ─── */ + .widget-bar { display: flex; - flex-direction: column; - overflow: hidden; - min-height: 0; + align-items: center; + justify-content: space-between; + padding: 6px 12px 6px 16px; + flex-shrink: 0; + border-bottom: 1px solid var(--divider); + background: rgba(0,0,0,0.9); + height: 38px; } - gecko-coin-list-widget { - display: block; - width: 100% !important; - height: 100% !important; - flex: 1; - min-height: 0; + .widget-bar-title { + font-size: 13px; + font-weight: 600; + letter-spacing: 0.02em; + color: var(--subtext); + text-transform: uppercase; } - /* ─── CHART & HEATMAP PANELS ─── */ - .chart-body { + .widget-fill { flex: 1; display: flex; flex-direction: column; - padding: 0; - overflow: hidden; min-height: 0; + overflow: hidden; } + gecko-coin-list-widget, gecko-coin-price-chart-widget, gecko-coin-heatmap-widget { display: block; width: 100% !important; - height: 100% !important; flex: 1; min-height: 0; } - /* Force the inner iframe/shadow content to fill */ - gecko-coin-price-chart-widget > *, - gecko-coin-heatmap-widget > *, - gecko-coin-list-widget > * { - width: 100% !important; - height: 100% !important; - } - /* ─── PLACEHOLDER PANELS ─── */ .placeholder-body { flex: 1; @@ -357,6 +351,11 @@

World Clock

+ -
-
-
- - +
+ Crypto + +
+
+
-
-

Heatmap

-
+
+ Heatmap + +
+
-

Bitcoin

-
+
+ Bitcoin + +
+
-

Ethereum

-
+
+ Ethereum + +
+
-

PAX Gold

-
+
+ PAX Gold + +
+
@@ -485,22 +483,30 @@