From 342bd817b8c15c65d0c48224d236fd3866afc5f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Tue, 30 Apr 2024 18:26:59 +0000 Subject: [PATCH] Adw: add Toast (#1288) --- src/gtk-4.0/widgets/adw/Toast.scss | 10 ++++++++++ src/gtk-4.0/widgets/adw/_index.scss | 1 + 2 files changed, 11 insertions(+) create mode 100644 src/gtk-4.0/widgets/adw/Toast.scss diff --git a/src/gtk-4.0/widgets/adw/Toast.scss b/src/gtk-4.0/widgets/adw/Toast.scss new file mode 100644 index 00000000..e6e4aa72 --- /dev/null +++ b/src/gtk-4.0/widgets/adw/Toast.scss @@ -0,0 +1,10 @@ +toastoverlay toast { + @extend .osd; + + border-spacing: rem(6px); + margin: rem(12px); + + > widget { + margin: 0 rem(6px); + } +} diff --git a/src/gtk-4.0/widgets/adw/_index.scss b/src/gtk-4.0/widgets/adw/_index.scss index 8a271133..9de6ee97 100644 --- a/src/gtk-4.0/widgets/adw/_index.scss +++ b/src/gtk-4.0/widgets/adw/_index.scss @@ -6,4 +6,5 @@ @import 'ToolbarView.scss'; @import 'TabBar.scss'; @import 'TabOverview.scss'; +@import 'Toast.scss'; @import 'ViewSwitcher.scss';