* [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
* [yew-devel] [PATCH widget-toolkit-assets 2/2] add mobile theme
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 ` 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
1 sibling, 0 replies; 3+ messages in thread
From: Dominik Csapak @ 2025-07-01 8:38 UTC (permalink / raw)
To: yew-devel
Using the Material padding, spacing and style and the colors from the
Crsip theme.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
scss/mobile-yew-style.scss | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 scss/mobile-yew-style.scss
diff --git a/scss/mobile-yew-style.scss b/scss/mobile-yew-style.scss
new file mode 100644
index 0000000..cedadf8
--- /dev/null
+++ b/scss/mobile-yew-style.scss
@@ -0,0 +1,12 @@
+/// Default mobile theme
+///
+/// Padding/spacing from Material but with Crisps color scheme
+
+@import "theme_pre";
+@import "font_sizes_material";
+@import "crisp/theme_colors_crisp";
+@import "theme_scheme_dark";
+@import "theme_scheme_light";
+@import "material/theme_config_material";
+@import "theme_post";
+@import "material/theme_post_material";
--
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
* [yew-devel] applied: [PATCH widget-toolkit-assets 1/2] dialog: side dialog: add drag handle to bottom dialog
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 ` Dietmar Maurer
1 sibling, 0 replies; 3+ messages in thread
From: Dietmar Maurer @ 2025-07-01 9:26 UTC (permalink / raw)
To: Yew framework devel list at Proxmox, Dominik Csapak
applied both patches
_______________________________________________
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.