From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 36CF71FF0B4 for ; Fri, 27 Nov 2026 17:13:06 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 543F5217D0; Fri, 27 Nov 2026 17:12:49 +0100 (CET) From: Dominik Csapak To: pdm-devel@lists.proxmox.com Subject: [PATCH yew-widget-toolkit-assets 11/38] charts: map: add class for the status of a map Date: Fri, 27 Nov 2026 17:12:08 +0100 Message-ID: <20261127161241.3713494-12-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261127161241.3713494-1-d.csapak@proxmox.com> References: <20261127161241.3713494-1-d.csapak@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.256 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: WZ4M2TAEKGVYGJKZB4OXRRQXFU25ADMK X-Message-ID-Hash: WZ4M2TAEKGVYGJKZB4OXRRQXFU25ADMK X-MailFrom: d.csapak@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: A Map can now show a status about itself. Place it in the lower left corner and let it look like the panel with the buttons in the upper right one. It has no padding of its own, so that it can contain buttons too. Signed-off-by: Dominik Csapak --- scss/_charts.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/scss/_charts.scss b/scss/_charts.scss index 2fafea6..5e1c962 100644 --- a/scss/_charts.scss +++ b/scss/_charts.scss @@ -413,3 +413,18 @@ $map-connection-gap: 148; stroke-width: calc(3 * var(--pwt-map-pixel-size)); stroke-linejoin: round; } + +/// Class `pwt-map-status` +/// +/// Used for what a map shows about itself in its lower left corner. It looks like the panel with +/// the buttons, and can contain buttons itself. +.pwt-map-status { + @include color-scheme-vars("surface"); + @include elevation-box-shadow(1); + + position: absolute; + inset: auto auto var(--pwt-spacer-2) var(--pwt-spacer-2); + background-color: var(--pwt-color-background); + color: var(--pwt-color); + border-radius: var(--pwt-button-corner-shape); +} -- 2.47.3