From bff7a3a4a6512f48a7b58c2b20404e2d3173050e Mon Sep 17 00:00:00 2001 From: frosty Date: Tue, 27 Oct 2026 12:35:27 -0400 Subject: feat: begin working on account switcher --- main/data/main_window.ui | 50 +++++++++++++++++++++++++++----------------- main/data/style.css | 54 ++++++++++++++++++++++++++++++------------------ 2 files changed, 65 insertions(+), 39 deletions(-) (limited to 'main/data') diff --git a/main/data/main_window.ui b/main/data/main_window.ui index e62c952b..ee094714 100644 --- a/main/data/main_window.ui +++ b/main/data/main_window.ui @@ -28,32 +28,44 @@ - - 6 - + - - False - center + + 6 + 6 + 6 + - - dino-open-menu-symbolic - normal + + False + center + + + dino-open-menu-symbolic + normal + + + + + + + True + center + Search conversations + - - + + + end True - center - Search conversations - diff --git a/main/data/style.css b/main/data/style.css index 7038f901..12000b12 100644 --- a/main/data/style.css +++ b/main/data/style.css @@ -30,6 +30,7 @@ window.dino-main .dino-conversation-list-toolbar { margin: 0; background-color: @window_bg_color; background-image: none; + padding: 0; } window.dino-main .dino-conversation-list-toolbar { @@ -37,26 +38,6 @@ window.dino-main .dino-conversation-list-toolbar { box-shadow: 0 3px 12px alpha(black, 0.18); } -window.dino-main headerbar.dino-chat-headerbar { - border-bottom: none; - box-shadow: 0 3px 12px alpha(black, 0.18); -} - -window.dino-main headerbar.dino-chat-headerbar windowtitle { - min-height: 2.5em; -} - -window.dino-main headerbar.dino-chat-headerbar > windowhandle > box, -window.dino-main .dino-conversation-list-toolbar { - padding-top: 0; - padding-bottom: 0; -} - -window.dino-main .dino-conversation-list-toolbar { - padding-left: 6px; - padding-right: 6px; -} - window.dino-main headerbar button, window.dino-main .dino-conversation-list-toolbar entry, window.dino-main .dino-conversation-list-toolbar button, @@ -70,6 +51,39 @@ window.dino-main popover row { window.dino-main .dino-conversation-list-toolbar entry.dino-conversation-search-entry { border-radius: 6px; + min-height: 28px; +} + +window.dino-main .dino-conversation-list-toolbar menubutton, +window.dino-main .dino-conversation-list-toolbar menubutton > button { + min-height: 28px; +} + +window.dino-main .dino-account-switcher { + min-height: 6px; + background-color: transparent; + margin: 0; + padding: 0; +} + +window.dino-main .dino-account-switcher-box, +window.dino-main .dino-account-switcher-bars { + margin: 0; + padding: 0; +} + +window.dino-main .dino-account-color-bar { + min-height: 6px; + margin: 0; + padding: 0; +} + +window.dino-main .dino-account-all-bar { + min-width: 44px; +} + +window.dino-main .dino-account-all-bar.dimmed { + opacity: 0.4; } window.dino-main button.circular, -- cgit v1.3