Improve support for LibAdwaita widgets:
+Improve support for LibAdwaita widgets:
diff --git a/src/gtk-4.0/widgets/adw/AboutWindow.scss b/src/gtk-4.0/widgets/adw/AboutWindow.scss index 09d8e001..19a939b8 100644 --- a/src/gtk-4.0/widgets/adw/AboutWindow.scss +++ b/src/gtk-4.0/widgets/adw/AboutWindow.scss @@ -2,6 +2,7 @@ * AdwAboutWindow * ******************/ +dialog.about, window.about { @extend .dialog; diff --git a/src/gtk-4.0/widgets/adw/Dialog.scss b/src/gtk-4.0/widgets/adw/Dialog.scss new file mode 100644 index 00000000..a6fbcb3d --- /dev/null +++ b/src/gtk-4.0/widgets/adw/Dialog.scss @@ -0,0 +1,23 @@ +bottom-sheet, +floating-sheet { + > dimming { + background: rgba(black, 0.4); + } + + sheet { + @extend window, .dialog, .csd; + } +} + +bottom-sheet sheet { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + + > stack > widget > drag-handle { + background: rgba($fg-color, 0.5); + min-width: 3em; + min-height: 0.5em; + margin: 1em; + border-radius: 1em; + } +} diff --git a/src/gtk-4.0/widgets/adw/_index.scss b/src/gtk-4.0/widgets/adw/_index.scss index 9de6ee97..675aa5c0 100644 --- a/src/gtk-4.0/widgets/adw/_index.scss +++ b/src/gtk-4.0/widgets/adw/_index.scss @@ -1,4 +1,5 @@ @import 'AboutWindow.scss'; +@import 'Dialog.scss'; @import 'List.scss'; @import 'MessageDialog.scss'; @import 'PreferencesWindow.scss';