Daniel Brötzmann pushed to branch mainwindow at gajim / gajim
Commits: f764114c by Daniel Brötzmann at 2021-03-10T11:47:30+01:00 AccountSidebar: Improve icons
- - - - -
2 changed files:
- gajim/data/style/gajim.css - gajim/gtk/account_side_bar.py
Changes:
===================================== gajim/data/style/gajim.css ===================================== @@ -107,13 +107,13 @@
/* Account sidebar */ .account-sidebar { - background: transparent; - margin-right: 12px; + background: transparent; + margin-right: 6px; margin-bottom: 6px; } .account-sidebar-item { - padding-top: 6px; - padding-bottom: 6px; + padding-top: 3px; + padding-bottom: 3px; } .account-sidebar-item:hover, .account-sidebar-item:selected, @@ -124,10 +124,15 @@ } .account-sidebar-item:selected image, .account-sidebar-item:hover image { - box-shadow: 0 0 5px @theme_selected_bg_color; + background-color: shade(@theme_base_color, 0.8); } .account-sidebar-item image { border-radius: 9px; + padding: 3px; +} +.account-sidebar-item .account-identifier-bar { + padding: 0 3px; + margin: 3px 0; } .account-box > separator { background-color: darker(@theme_bg_color);
===================================== gajim/gtk/account_side_bar.py ===================================== @@ -52,7 +52,7 @@ def __init__(self, account): self._account_color_bar.get_style_context().add_class( 'account-identifier-bar')
- account_box = Gtk.Box(spacing=6) + account_box = Gtk.Box(spacing=3) account_box.set_tooltip_text( _('Account: %s') % app.get_account_label(account)) account_box.add(self._account_color_bar)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f764114cfa9875244d9ceb1977e9df11d...