Daniel Brötzmann pushed to branch master at gajim / gajim
Commits: d72d04fc by wurstsalat at 2022-10-04T11:39:21+02:00 imprv: AvatarSelector: Add border to mark drag and drop zone
- - - - -
2 changed files:
- gajim/data/style/gajim.css - gajim/gtk/avatar_selector.py
Changes:
===================================== gajim/data/style/gajim.css ===================================== @@ -158,6 +158,12 @@ .preview-button {
.link-button { min-height: 0px; }
+.avatar-selector { + border: 2px dotted @theme_selected_bg_color; + border-radius: 12px; + padding: 18px; +} + /* Main Window */ .mainwindow-grid { background: @theme_base_color;
===================================== gajim/gtk/avatar_selector.py ===================================== @@ -69,7 +69,7 @@ class AvatarSelector(Gtk.Box): def __init__(self) -> None: Gtk.Box.__init__(self, orientation=Gtk.Orientation.VERTICAL, spacing=12) - self.get_style_context().add_class('padding-18') + self.get_style_context().add_class('avatar-selector')
uri_entry = Gtk.TargetEntry.new( 'text/uri-list', Gtk.TargetFlags.OTHER_APP, 80)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/d72d04fc595f5ec0aaec9b238839eb1c5...