* [yew-devel] [PATCH widget-toolkit-assets 1/2] dialog: side dialog: add drag handle to bottom dialog
@ 2025-07-01 8:38 Dominik Csapak
2025-07-01 8:38 ` [yew-devel] [PATCH widget-toolkit-assets 2/2] add mobile theme Dominik Csapak
2025-07-01 9:26 ` [yew-devel] applied: [PATCH widget-toolkit-assets 1/2] dialog: side dialog: add drag handle to bottom dialog Dietmar Maurer
0 siblings, 2 replies; 3+ messages in thread
From: Dominik Csapak @ 2025-07-01 8:38 UTC (permalink / raw)
To: yew-devel
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-01 9:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-01 8:38 [yew-devel] [PATCH widget-toolkit-assets 1/2] dialog: side dialog: add drag handle to bottom dialog Dominik Csapak
2025-07-01 8:38 ` [yew-devel] [PATCH widget-toolkit-assets 2/2] add mobile theme Dominik Csapak
2025-07-01 9:26 ` [yew-devel] applied: [PATCH widget-toolkit-assets 1/2] dialog: side dialog: add drag handle to bottom dialog Dietmar Maurer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.