From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id E43B71FF16B for ; Tue, 1 Jul 2025 10:38:25 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 45F5E39632; Tue, 1 Jul 2025 10:39:05 +0200 (CEST) From: Dominik Csapak To: yew-devel@lists.proxmox.com Date: Tue, 1 Jul 2025 10:38:31 +0200 Message-Id: <20250701083832.2075506-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.022 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [yew-devel] [PATCH widget-toolkit-assets 1/2] dialog: side dialog: add drag handle to bottom dialog X-BeenThere: yew-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Yew framework devel list at Proxmox List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Yew framework devel list at Proxmox Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: yew-devel-bounces@lists.proxmox.com Sender: "yew-devel" Signed-off-by: Dominik Csapak --- scss/_dialog.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/scss/_dialog.scss b/scss/_dialog.scss index cd9d533..8121b75 100644 --- a/scss/_dialog.scss +++ b/scss/_dialog.scss @@ -230,6 +230,8 @@ dialog.pwt-outer-dialog { bottom: 0px; left: 0px; right: 0px; + // for the drag handle + padding-top: var(--pwt-spacer-2); &.visible { transform: translateY(0); @@ -238,5 +240,18 @@ dialog.pwt-outer-dialog { &.hidden { transform: translateY(100%); } + + // drag handle + &:before { + content: ""; + height: 4px; + position: absolute; + opacity: 0.4; + width: var(--pwt-spacer-3); + background-color: var(--pwt-color-on-surface); + border-radius: var(--pwt-dialog-corner-shape); + inset-inline-start: calc(50% - var(--pwt-spacer-3) / 2); + inset-block-start: calc((var(--pwt-spacer-2) - 4px) / 2); + } } } -- 2.39.5 _______________________________________________ yew-devel mailing list yew-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel